Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:_inc - increment a refcount*@r: the refcount to increment* Similar to atomic_inc(), but will saturate at REFCOUNT_SATURATED and WARN

Proto:static inline void refcount_inc(refcount_t *r)

Type:void

Parameter:

TypeParameterName
refcount_t *r
228  _add - add a value to a refcount*@i: the value to add to the refcount*@r: the refcount* Similar to atomic_add(), but will saturate at REFCOUNT_SATURATED and WARN.* Provides no memory ordering, it is assumed the caller has guaranteed the
Caller
NameDescribe
threshold_create_bank
copy_sighand
copy_processCreate a new process
uid_hash_find
audit_get_watch
get_tree
kcov_get
buffer_pipe_buf_get
bpf_trampoline_lookup
btf_get_by_fd
get_ctx
get_uprobe
copy_semundoIf CLONE_SYSVSEM is set, establish sharing of SEM_UNDO state between* parent and child tasks.
__bsg_get_device
key_user_lookupGet the key quota record for a user, allocating a new record if one doesn't* already exist.
key_allockey_alloc - Allocate a key of the specified type.*@type: The type of key to allocate.*@desc: The key description to allow the key to be searched out.*@uid: The owner of the new key.*@gid: The group ID for the new key's group permissions.
vfs_dup_fs_contextvfs_dup_fc_config: Duplicate a filesystem context.*@src_fc: The context to copy.
fsnotify_get_groupGet reference to a group.
fsnotify_get_mark
userfaultfd_ctx_getserfaultfd_ctx_get - Acquires a reference to the internal userfaultfd* context.*@ctx: [in] Pointer to the userfaultfd context.
io_cqring_fill_event
io_get_work
fscrypt_get_encryption_info
find_or_insert_direct_keyFind/insert the given key into the fscrypt_direct_keys table. If found, it* is returned with elevated refcount, and 'to_insert' is freed if non-NULL. If* not found, 'to_insert' is inserted and returned if it's non-NULL; otherwise* NULL is returned.