Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\sched\swait.c Create Date:2022-07-28 09:41:07
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Does not allow usage from IRQ disabled, since we must be able to* release IRQs to guarantee bounded hold time.

Proto:void swake_up_all(struct swait_queue_head *q)

Type:void

Parameter:

TypeParameterName
struct swait_queue_head *q
52  LIST_HEAD(tmp)
54  raw_spin_lock_irq( & lock)
55  list_splice_init - join two lists and reinitialise the emptied list.*@list: the new list to add.*@head: the place to add it in the first list.* The list at @list is reinitialised
56  When Not list_empty - tests whether a list is empty*@head: the list to test. cycle
57  curr = list_first_entry - get the first element from a list*@ptr: the list head to take the element from.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.* Note, that list is expected to be not empty.( & tmp, typeof( * curr), task_list)
59  wake_up_state(task, Convenience macros for the sake of wake_up(): )
60  list_del_init - deletes entry from list and reinitialize it.*@entry: the element to delete from the list.
62  If list_empty - tests whether a list is empty*@head: the list to test. Then Break
65  raw_spin_unlock_irq( & lock)
66  raw_spin_lock_irq( & lock)
68  raw_spin_unlock_irq( & lock)