函数逻辑报告 |
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 |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:_set - set a refcount's value*@r: the refcount*@n: value to which the refcount will be set
函数原型:static inline void refcount_set(refcount_t *r, int n)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
refcount_t * | r | |
int | n |
123 | atomic_set( & refs, n) |
名称 | 描述 |
---|---|
refcount_warn_saturate | |
threshold_create_bank | |
dup_task_struct | 复制进程并设置栈 |
copy_sighand | 复制信号句柄 |
copy_signal | 复制信号 |
alloc_uid | |
alloc_pid | 分配进程句柄 |
refill_pi_state_cache | PI code: |
put_pi_state | Drops a reference to the pi_state object and frees or caches it* when the last reference is gone. |
find_css_set | d_css_set - return a new css_set with one cgroup updated*@old_cset: the baseline css_set*@cgrp: the cgroup to be updated* Return a new css_set that's equivalent to @old_cset, but with @cgrp* substituted into the appropriate hierarchy. |
alloc_cgroup_ns | |
audit_init_watch | Initialize a watch entry. |
alloc_tree | |
kcov_open | |
tracing_buffers_splice_read | |
bpf_trampoline_lookup | |
btf_parse | |
btf_parse_vmlinux | |
__perf_event_init_context | Initialize the perf_event context in a task_struct: |
ring_buffer_init | |
rb_alloc_aux | |
__insert_uprobe | |
cgwb_bdi_init | |
mem_cgroup_css_online | |
ipc_addid | pc_addid - add an ipc identifier*@ids: ipc identifier set*@new: new ipc permission set*@limit: limit for the number of used ids* Add an entry 'new' to the ipc ids idr |
get_undo_list | If the task doesn't already have a undo_list, then allocate one* here. We guarantee there is only one thread using this undo list,* and current is THE ONE* If this allocation and assignment succeeds, but later |
create_ipc_ns | |
blk_rq_init | |
blk_mq_rq_ctx_init | |
bsg_add_device | |
key_user_lookup | Get the key quota record for a user, allocating a new record if one doesn't* already exist. |
key_alloc | key_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. |
de_thread | This 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().) |
fscontext_alloc_log | |
fsnotify_alloc_group | Create a new fsnotify_group and hold a reference for the group returned. |
fsnotify_init_mark | Nothing fancy, just initialize lists and locks and counters. |
dup_userfaultfd | |
SYSCALL_DEFINE1 | |
aio_get_req | aio_get_req* Allocate a slot for an aio request.* Returns NULL if no requests are free.* The refcount is initialized to 2 - one for the async op completion,* one for the synchronous code that does this. |
io_get_req | |
create_io_worker | |
io_wq_manager | Manager thread. Tasked with creating new workers, if we need them. |
add_new_master_key | Allocate a new fscrypt_master_key which contains the given secret, set it as* the payload of a new 'struct key' of type fscrypt, and link the 'struct key'* into the given keyring. Synchronized by fscrypt_add_key_mutex. |
fscrypt_get_direct_key | Prepare to encrypt directly using the master key in the given mode |
posix_acl_init | Init a fresh posix_acl |
posix_acl_clone | Clone an ACL. |
kref_init | 初始化对象 |
reqsk_alloc | |
netlbl_secattr_cache_alloc | lbl_secattr_cache_alloc - Allocate and initialize a secattr cache*@flags: the memory allocation flags* Description:* Allocate and initialize a netlbl_lsm_cache structure. Returns a pointer* on success, NULL on failure. |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |