Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\kref.h Create Date:2022-07-28 05:44:10
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kref_get - increment refcount for object.*@kref: object.

Proto:static inline void kref_get(struct kref *kref)

Type:void

Parameter:

TypeParameterName
struct kref *kref
45  _inc - increment a refcount*@r: the refcount to increment* Similar to atomic_inc(), but will saturate at REFCOUNT_SATURATED and WARN
Caller
NameDescribe
kobject_getkobject_get() - Increment refcount for object.*@kobj: object.
klist_prevklist_prev - Ante up prev node in list.*@i: Iterator structure.* First grab list lock. Decrement the reference count of the previous* node, if there was one. Grab the prev node, increment its reference* count, drop the lock, and return that prev node.
klist_nextklist_next - Ante up next node in list.*@i: Iterator structure.* First grab list lock. Decrement the reference count of the previous* node, if there was one. Grab the next node, increment its reference* count, drop the lock, and return that next node.
cpu_rmap_getpu_rmap_get - internal helper to get new ref on a cpu_rmap*@rmap: reverse-map allocated with alloc_cpu_rmap()
autogroup_kref_get
psi_trigger_poll
relay_create_buflay_create_buf - allocate and initialize a channel buffer*@chan: the relay channel* Returns channel buffer if successful, %NULL otherwise.
relay_file_openlay_file_open - open file op for relay files*@inode: the inode*@filp: the file* Increments the channel buffer refcount.
hugetlb_vm_op_open
__z3fold_allocrns _locked_ z3fold page header or NULL
z3fold_freez3fold_free() - frees the allocation associated with the given handle*@pool: pool in which the allocation resided*@handle: handle associated with the allocation returned by z3fold_alloc()* In the case that the z3fold page in which the allocation resides
z3fold_reclaim_pagez3fold_reclaim_page() - evicts allocations from a pool page and frees it*@pool: pool from which a page will attempt to be evicted*@retries: number of pages on the LRU list for which eviction will* be attempted before failing* z3fold reclaim is different
z3fold_page_isolate
get_multi_transaction
eventfd_ctx_filegetventfd_ctx_fileget - Acquires a reference to the internal eventfd context.*@file: [in] Eventfd file pointer.* Returns a pointer to the internal eventfd context, otherwise the error* pointer:* -EINVAL : The @fd file descriptor is not an eventfd file.