Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:ipc\util.h Create Date:2022-07-28 16:38:51
Last Modify:2022-05-20 10:36:20 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:ipc_assert_locked_object

Proto:static inline void ipc_assert_locked_object(struct kern_ipc_perm *perm)

Type:void

Parameter:

TypeParameterName
struct kern_ipc_perm *perm
219  assert_spin_locked( & lock)
Caller
NameDescribe
freearyFree a semaphore set. freeary() is called with sem_ids.rwsem locked* as a writer and the spinlock for this semaphore set hold. sem_ids.rwsem* remains locked on exit.
semctl_setval
semctl_main
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
exit_semadd semadj values to semaphores, free undo structures