函数逻辑报告

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_empty_careful(const struct list_head *head)

返回类型:int

参数:

类型参数名称
const struct list_head *head
286  next等于链表后项
287  返回:next恒等于headnext恒等于链表前项
调用者
名称描述
list_test_list_init
list_test_list_replace_init
list_test_list_del_init
list_test_list_empty_careful
list_test_list_splice_init
list_test_list_splice_tail_init
finish_waitsh_wait - clean up after waiting in a queue*@wq_head: waitqueue waited on*@wq_entry: wait descriptor* Sets current thread back to running state and removes* the wait descriptor from the given waitqueue if still* queued.
finish_swait
blk_mq_hctx_has_pendingCheck if any of the ctx, dispatch list or elevator* have pending work in this hardware queue.
blk_mq_mark_tag_waitMark us waiting for a tag. For shared tags, this involves hooking us into* the tag wakeups. For non-shared tags, we can simply mark us needing a* restart. For both cases, take care to check the condition again after* marking us as waiting.
blk_mq_dispatch_rq_listReturns true if we did some work AND can potentially do more.
blk_mq_sched_dispatch_requests
__blk_mq_sched_bio_merge
dd_has_work
kyber_get_domain_token
kyber_has_work
bfq_has_work
inode_free_security
ep_events_availablep_events_available - Checks if ready events might be available.*@ep: Pointer to the eventpoll context.* Returns: Returns a value different than zero if ready events are available,* or zero otherwise.
handle_userfaultThe locking rules involved in returning VM_FAULT_RETRY depending on* FAULT_FLAG_ALLOW_RETRY, FAULT_FLAG_RETRY_NOWAIT and* FAULT_FLAG_KILLABLE are not straightforward
aio_complete_rw
io_cqring_overflow_flushReturns true if there are no backlogged entries after the flush
io_uring_cancel_files
SYSCALL_DEFINE6
posix_test_lock
lease_get_mtimelease_get_mtime - update modified time of an inode with exclusive lease*@inode: the inode*@time: pointer to a timespec which contains the last modified time* This is to force NFS clients to flush their caches for files with* exclusive leases
fcntl_getlease获取当前文件租约
break_lease
break_deleg
break_layout