Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:sem_init_ns

Proto:void sem_init_ns(struct ipc_namespace *ns)

Type:void

Parameter:

TypeParameterName
struct ipc_namespace *ns
226  sc_semmsl = <= INT_MAX max num of semaphores per id
227  sc_semmns = <= INT_MAX max # of semaphores in system
228  sc_semopm = <= 1 000 max num of ops per semop call
229  sc_semmni = <= IPCMNI max # of semaphore identifiers
230  used_sems = 0
231  pc_init_ids - initialise ipc identifiers*@ids: ipc identifier set* Set up the sequence range to use for the ipc identifier range (limited* below ipc_mni) then initialise the keys hashtable and ids idr.
Caller
NameDescribe
sem_init
create_ipc_ns