Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sem_lock_and_putref

Proto:static inline void sem_lock_and_putref(struct sem_array *sma)

Type:void

Parameter:

TypeParameterName
struct sem_array *sma
479  If the request contains only one semaphore operation, and there are* no complex transactions pending, lock only the semaphore involved
480  ipc_rcu_putref( & permissions .. see ipc.h , sem_rcu_free)
Caller
NameDescribe
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