Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:list_is_singular - tests whether a list has just one entry.*@head: the list to test.

Proto:static inline int list_is_singular(const struct list_head *head)

Type:int

Parameter:

TypeParameterName
const struct list_head *head
328  Return Not list_empty - tests whether a list is empty*@head: the list to test. && next == prev
Caller
NameDescribe
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.