Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:waitqueue_active -- locklessly test for waiters on the queue*@wq_head: the waitqueue to test for waiters* returns true if the wait list is not empty* NOTE: this function is lockless and requires care, incorrect usage _will_

Proto:static inline int waitqueue_active(struct wait_queue_head *wq_head)

Type:int

Parameter:

TypeParameterName
struct wait_queue_head *wq_head
126  Return Not list_empty - tests whether a list is empty*@head: the list to test.
Caller
NameDescribe
sbq_wake_ptr
sbitmap_queue_wake_all
sbitmap_queue_show
__cancel_work_timer
__wake_up_bit
wake_up_klogd
relay_switch_subbuflay_switch_subbuf - switch to a new sub-buffer*@buf: channel buffer*@length: size of current event* Returns either the length passed in or 0 if full.* Performs sub-buffer-switch tasks such as invoking callbacks,
xol_free_insn_slotxol_free_insn_slot - If slot was earlier allocated by*@xol_get_insn_slot(), make the slot available for* subsequent requests.
wake_up_page_bit
allow_direct_reclaim
prepare_kswapd_sleepPrepare kswapd for sleeping. This verifies that there are no processes* waiting in throttle_direct_reclaim() and that watermarks have been met.* Returns true if kswapd is ready to sleep
balance_pgdatFor kswapd, balance_pgdat() will reclaim pages across a node from zones* that are eligible for use by the caller until at least one zone is* balanced.* Returns the order kswapd finished reclaiming at.
wakeup_kswapdA zone is low on free memory or too fragmented for high-order memory
clear_wb_congested
iocg_kick_waitq
ioc_timer_fn
ioc_rqos_throttle
wakeup_pipe_readers
wakeup_pipe_writers
ep_free
ep_poll_callbackThis is the callback that is passed to the wait queue wakeup* mechanism
ep_insertMust be called with "mtx" held.
ep_modifyModify the interest event mask by dropping an event if the new mask* has a match in the current file status. Must be called with "mtx" held.
signalfd_cleanup
eventfd_signalventfd_signal - Adds @n to the eventfd counter
eventfd_ctx_remove_wait_queueventfd_ctx_remove_wait_queue - Read the current counter and removes wait queue
eventfd_read
eventfd_write
userfaultfd_ctx_putserfaultfd_ctx_put - Releases a reference to the internal userfaultfd* context.*@ctx: [in] Pointer to userfaultfd context.* The userfaultfd context reference must have been previously acquired either* with userfaultfd_ctx_get() or userfaultfd_ctx_fdget().
find_userfault_inault_pending_wqh.lock must be hold by the caller
userfaultfd_poll
__wake_userfault
wake_userfault
aio_completeaio_complete* Called when the io request on the given iocb is complete.
__io_cqring_ev_posted
__io_free_req
dax_wake_entry@entry may no longer be the entry at the index in the mapping.* The important information it's conveying is whether the entry at* this index used to be a PMD entry.
locks_release_private
wq_has_sleeperwq_has_sleeper - check if there are any waiting processes*@wq_head: wait queue head* Returns true if wq_head has waiting processes* Please refer to the comment for waitqueue_active.