Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:_read - get a refcount's value*@r: the refcount* Return: the refcount's value

Proto:static inline unsigned int refcount_read(const refcount_t *r)

Type:unsigned int

Parameter:

TypeParameterName
const refcount_t *r
134  Return atomic_read( & refs)
Caller
NameDescribe
__put_task_struct
check_unshare_flagsCheck constraints on flags passed to the unshare system call.
attach_to_pi_stateValidate that the existing waiter has a pi_state and sanity check* the pi_state against the user space value. If correct, attach to* it.
current_css_set_read
current_css_set_refcount_read
cgroup_css_links_read
audit_tree_freeing_mark
buffer_pipe_buf_get
perf_mmap_closeA buffer can be mmap()ed multiple times; either directly through the same* event, or through other events by use of perf_event_set_output().* In order to undo the VM accounting done by perf_mmap() we need to destroy
perf_event_free_taskFree a context as created by inheritance by perf_event_init_task() below,* used by fork() in case of fail.* Even though the task has never lived, the context and events have been* exposed through the child_list, so we must take care tearing it all down.
key_garbage_collectorReaper for unused keys.
key_linkkey_link - Link a key to a keyring*@keyring: The keyring to make the link in
request_key_auth_newCreate an authorisation token for /sbin/request-key or whoever to gain* access to the caller's security data.
proc_keys_show
proc_key_users_show
de_threadThis function makes sure the current process has its own signal table,* so that flush_signal_handlers can later reset the handlers without* disturbing other processes. (Other processes might share the signal* table via the CLONE_SIGHAND option to clone().)
fsnotify_get_mark
fsnotify_detach_markMark mark as detached, remove it from group list
inotify_idr_find_locked
inotify_remove_from_idrRemove the mark from the idr (if present) and drop the reference* on the mark because it was in the idr.