函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\refcount.h Create Date:2022-07-27 06:40:40
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

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

函数原型:static inline void refcount_inc(refcount_t *r)

返回类型:void

参数:

类型参数名称
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
调用者
名称描述
threshold_create_bank
copy_sighand复制信号句柄
copy_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_semundo重置信号量
__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.
get_pid
get_task_struct
__key_get
get_uid
kref_get对象增加引用
sock_zerocopy_get
skb_get引用缓存
get_cgroup_ns
qdisc_refcount_inc
neigh_parms_clone
neigh_clone
fib_rule_get
sock_holdGrab socket reference count. This operation is valid onlywhen sk is ALREADY grabbed f.e. it is found in hash tableor a list and the lookup is made under lock preventing hash tablemodifications.
in6_dev_get从inet6_dev netdevice得到指针
in6_dev_hold
in6_ifa_hold
fib_info_hold
posix_acl_dupDuplicate an ACL handle.
wb_congested_get_create
get_ipc_ns
get_css_seted get/put for css_set objects
sctp_auth_key_hold
fib6_info_hold
xfrm_pol_hold
xfrm_state_hold
pde_get