Home
last modified time | relevance | path

Searched refs:params (Results 1 – 5 of 5) sorted by relevance

/ipc/
Dutil.c339 const struct ipc_ops *ops, struct ipc_params *params) in ipcget_new() argument
344 err = ops->getnew(ns, params); in ipcget_new()
367 struct ipc_params *params) in ipc_check_perms() argument
371 if (ipcperms(ns, ipcp, params->flg)) in ipc_check_perms()
374 err = ops->associate(ipcp, params->flg); in ipc_check_perms()
397 const struct ipc_ops *ops, struct ipc_params *params) in ipcget_public() argument
400 int flg = params->flg; in ipcget_public()
408 ipcp = ipc_findkey(ids, params->key); in ipcget_public()
414 err = ops->getnew(ns, params); in ipcget_public()
423 err = ops->more_checks(ipcp, params); in ipcget_public()
[all …]
Dshm.c692 static int newseg(struct ipc_namespace *ns, struct ipc_params *params) in newseg() argument
694 key_t key = params->key; in newseg()
695 int shmflg = params->flg; in newseg()
696 size_t size = params->u.size; in newseg()
810 static int shm_more_checks(struct kern_ipc_perm *ipcp, struct ipc_params *params) in shm_more_checks() argument
815 if (shp->shm_segsz < params->u.size) in shm_more_checks()
Dsem.c528 static int newary(struct ipc_namespace *ns, struct ipc_params *params) in newary() argument
532 key_t key = params->key; in newary()
533 int nsems = params->u.nsems; in newary()
534 int semflg = params->flg; in newary()
588 static int sem_more_checks(struct kern_ipc_perm *ipcp, struct ipc_params *params) in sem_more_checks() argument
593 if (params->u.nsems > sma->sem_nsems) in sem_more_checks()
Dutil.h242 const struct ipc_ops *ops, struct ipc_params *params);
Dmsg.c143 static int newque(struct ipc_namespace *ns, struct ipc_params *params) in newque() argument
147 key_t key = params->key; in newque()
148 int msgflg = params->flg; in newque()