Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:ipc\util.c Create Date:2022-07-28 16:39:29
Last Modify:2022-05-23 18:05:07 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:void ipc_init_ids(struct ipc_ids *ids)

Type:void

Parameter:

TypeParameterName
struct ipc_ids *ids
116  in_use = 0
117  seq = 0
118  init_rwsem( & rwsem)
119  hashtable_init - initialize a new hash table*@ht: hash table to be initialized*@params: configuration parameters* Initializes a new hash table based on the provided configuration* parameters
120  dr_init() - Initialise an IDR.*@idr: IDR handle.* Initialise a dynamically allocated IDR. To initialise a* statically allocated IDR, use DEFINE_IDR().
121  max_idx = -1
122  last_idx = -1
Caller
NameDescribe
msg_init_ns
sem_init_ns
shm_init_ns