Function report |
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 activity | Download SCCT | Chinese |
Name:_set - set a refcount's value*@r: the refcount*@n: value to which the refcount will be set
Proto:static inline void refcount_set(refcount_t *r, int n)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| refcount_t * | r | |
| int | n |
| 123 | atomic_set( & refs, n) |
| Name | Describe |
|---|---|
| refcount_warn_saturate | |
| threshold_create_bank | |
| dup_task_struct | Replication process and set stack |
| 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. |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |