Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:lookup_undo

Proto:static struct sem_undo *lookup_undo(struct sem_undo_list *ulp, int semid)

Type:struct sem_undo

Parameter:

TypeParameterName
struct sem_undo_list *ulp
intsemid
1867  assert_spin_locked( & lock)
1869  un = __lookup_undo(ulp, semid)
1870  If un Then
1871  list_del_rcu - deletes entry from list without re-initialization*@entry: the element to delete from the list
1872  list_add_rcu - add a new entry to rcu-protected list*@new: new entry to be added*@head: list head to add it after* Insert a new entry after the specified head
1874  Return un
Caller
NameDescribe
find_alloc_undod_alloc_undo - lookup (and if not present create) undo array*@ns: namespace*@semid: semaphore array id* The function looks up (and if not present creates) the undo structure.* The size of the undo structure depends on the size of the semaphore