函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:ipc\util.c Create Date:2022-07-27 18:14:48
Last Modify:2022-05-23 18:05:07 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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.

函数原型:void ipc_init_ids(struct ipc_ids *ids)

返回类型:void

参数:

类型参数名称
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
调用者
名称描述
msg_init_ns
sem_init_ns
shm_init_ns