函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:链表只有一项

函数原型:static inline int list_is_singular(const struct list_head *head)

返回类型:int

参数:

类型参数名称
const struct list_head *head
328  返回:非链表为空链表后项恒等于链表前项
调用者
名称描述
list_test_list_is_singular
rwsem_try_write_lockThis function must be called with the sem->wait_lock held to prevent* race conditions between checking the rwsem wait list and setting the* If wstate is WRITER_HANDOFF, it will make sure that either the handoff
klp_unpatch_func
klp_check_stack_funcDetermine whether the given stack trace includes any references to a* to-be-patched or to-be-unpatched function.
collect_one_slotReturn 1 if all garbages are collected, otherwise 0.
__unregister_kprobe_topUnregister a kprobe without a scheduler synchronization.
__unregister_kprobe_bottom
is_mergeable_anon_vma
reusable_anon_vmaDo some basic sanity checking to see if we can re-use the anon_vma* from 'old'
blk_mq_dispatch_rq_listReturns true if we did some work AND can potentially do more.
blk_add_rq_to_plug
blk_mq_del_queue_tag_set
find_topper
list_cut_positionlist_cut_position - cut a list into two*@list: a new list to add all removed entries*@head: a list with entries*@entry: an entry within head, could be the head itself* and if so we won't cut the list* This helper moves the initial part of @head, up to and
wq_has_single_sleeperwq_has_single_sleeper - check if there is only one sleeper*@wq_head: wait queue head* Returns true of wq_head has only one sleeper on the list.* Please refer to the comment for waitqueue_active.
trace_probe_has_sibling
trace_probe_has_single_file