函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:添加RCU保护项

函数原型:static inline void list_add_rcu(struct list_head *new, struct list_head *head)

返回类型:void

参数:

类型参数名称
struct list_head *new
struct list_head *head
97  Insert a new entry between two known consecutive entries.* This is only for internal list manipulation where we know* the prev/next entries already!
调用者
名称描述
module_bug_finalize
gen_pool_add_ownergen_pool_add_owner- add a new chunk of special memory to the pool*@pool: pool to add new memory chunk to*@virt: virtual starting address of memory chunk to add to pool*@phys: physical starting address of memory chunk to add to pool*@size: size in bytes of
__register_nmi_handler
link_pwqsync @pwq with the current state of its associated wq and link it
klp_patch_func
add_unformed_moduleWe try to place it in the list now to make sure it's unique before* we dedicate too many resources. In particular, temporary percpu* memory exhaustion.
init_and_link_css
audit_add_ruleAdd rule to given filterlist if not a duplicate.
audit_update_watchUpdate inode info in audit rules based on filesystem event.
insert_hashhash_lock & mark->group->mark_mutex is held by caller
__get_insn_slot__get_insn_slot() - Find a slot on an executable page for an instruction.* We allocate an executable page if there's no room on existing ones.
add_new_kprobeAdd the new probe to ap->list
init_aggr_kprobe
register_triggergister_trigger - Generic event_command @reg implementation*@glob: The raw string used to register the trigger*@ops: The trigger ops associated with the trigger*@data: Trigger-specific data to associate with the trigger*@file: The trace_event_file
event_enable_register_trigger
list_add_eventAdd an event from the lists for its context.* Must be called with ctx->mutex and ctx->lock held.
ring_buffer_attach
perf_pmu_register
attach_sb_event
__zswap_param_setval must be a null-terminated string
lookup_undo
find_alloc_undod_alloc_undo - lookup (and if not present create) undo array*@ns: namespace*@semid: semaphore array id* The function looks up (and if not present creates) the undo structure.* The size of the undo structure depends on the size of the semaphore
sel_netif_insertsel_netif_insert - Insert a new interface into the table*@netif: the new interface record* Description:* Add a new interface record to the network interface hash table. Returns* zero on success, negative values on failure.
sel_netnode_insertsel_netnode_insert - Insert a new node into the table*@node: the new node record* Description:* Add a new node record to the network address hash table.
sel_netport_insertsel_netport_insert - Insert a new port into the table*@port: the new port record* Description:* Add a new port record to the network address hash table.
sel_ib_pkey_insertsel_ib_pkey_insert - Insert a new pkey into the table*@pkey: the new pkey record* Description:* Add a new pkey record to the hash table.
smk_copy_rulessmk_copy_rules - copy a rule set*@nhead: new rules header pointer*@ohead: old rules header pointer*@gfp: type of the memory for the allocation* Returns 0 on success, -ENOMEM on error
smk_ipv6_port_labelsmk_ipv6_port_label - Smack port access table management*@sock: socket*@address: address* Create or update the port list entry
smk_insert_entrysmk_insert_entry - insert a smack label into a hash map,* this function must be called under smack_known_lock
smk_set_accesssmk_set_access - add a rule to the rule list or replace an old rule*@srp: the rule to add or replace*@rule_list: the list of rules*@rule_lock: the rule list lock* Looks through the current subject/object/access list for* the subject/object pair and
smk_net4addr_insertsmk_net4addr_insert*@new : netlabel to insert* This helper insert netlabel in the smack_net4addrs list* sorted by netmask length (longest to smallest)* locked by &smk_net4addr_lock in smk_write_net4addr
smk_net6addr_insertsmk_net6addr_insert*@new : entry to insert* This inserts an entry in the smack_net6addrs list* sorted by netmask length (longest to smallest)* locked by &smk_net6addr_lock in smk_write_net6addr
tomoyo_try_to_gcmoyo_try_to_gc - Try to kfree() an entry.*@type: One of values in "enum tomoyo_policy_id".*@element: Pointer to "struct list_head".* Returns nothing.* Caller holds tomoyo_policy_lock mutex.
__add_profile__add_profile - add a profiles to list and label tree*@list: list to add it to (NOT NULL)*@profile: the profile to add (NOT NULL)* refcount @profile, should be put by __list_remove_profile* Requires: namespace lock be held, or list not be shared
__replace_profile__replace_profile - replace @old with @new on a list*@old: profile to be replaced (NOT NULL)*@new: profile to replace @old with (NOT NULL)*@share_proxy: transfer @old->proxy to @new* Will duplicate and refcount elements that @new inherits from @old
__aa_create_ns
yama_ptracer_addyama_ptracer_add - add/replace an exception for this tracer/tracee pair*@tracer: the task_struct of the process doing the ptrace*@tracee: the task_struct of the process to be ptraced* Each tracee can have, at most, one tracer registered. Each time this
timerfd_setup_cancel