Home
last modified time | relevance | path

Searched refs:key (Results 1 – 6 of 6) sorted by relevance

/ipc/
Dutil.c102 .key_offset = offsetof(struct kern_ipc_perm, key),
103 .key_len = FIELD_SIZEOF(struct kern_ipc_perm, key),
171 static struct kern_ipc_perm *ipc_findkey(struct ipc_ids *ids, key_t key) in ipc_findkey() argument
175 ipcp = rhashtable_lookup_fast(&ids->key_ht, &key, in ipc_findkey()
307 if (idx >= 0 && new->key != IPC_PRIVATE) { in ipc_addid()
408 ipcp = ipc_findkey(ids, params->key); in ipcget_public()
448 if (ipcp->key != IPC_PRIVATE) in ipc_kht_remove()
491 ipcp->key = IPC_PRIVATE; in ipc_set_key_private()
555 out->key = in->key; in kernel_to_ipc64_perm()
574 out->key = in->key; in ipc64_perm_to_ipc_perm()
[all …]
Dcompat.c64 to->key = from->key; in to_compat_ipc64_perm()
75 to->key = from->key; in to_compat_ipc_perm()
Dmsg.c137 key_t key = params->key; in newque() local
145 msq->q_perm.key = key; in newque()
276 long ksys_msgget(key_t key, int msgflg) in ksys_msgget() argument
287 msg_params.key = key; in ksys_msgget()
293 SYSCALL_DEFINE2(msgget, key_t, key, int, msgflg) in SYSCALL_DEFINE2() argument
295 return ksys_msgget(key, msgflg); in SYSCALL_DEFINE2()
1296 msq->q_perm.key, in sysvipc_msg_proc_show()
Dshm.c602 key_t key = params->key; in newseg() local
626 shp->shm_perm.key = key; in newseg()
637 sprintf(name, "SYSV%08x", key); in newseg()
726 long ksys_shmget(key_t key, size_t size, int shmflg) in ksys_shmget() argument
738 shm_params.key = key; in ksys_shmget()
745 SYSCALL_DEFINE3(shmget, key_t, key, size_t, size, int, shmflg) in SYSCALL_DEFINE3() argument
747 return ksys_shmget(key, size, shmflg); in SYSCALL_DEFINE3()
1310 v.shm_perm.key = in->shm_perm.key; in copy_compat_shmid_to_user()
1760 shp->shm_perm.key, in sysvipc_shm_proc_show()
Dsem.c513 key_t key = params->key; in newary() local
528 sma->sem_perm.key = key; in newary()
581 long ksys_semget(key_t key, int nsems, int semflg) in ksys_semget() argument
596 sem_params.key = key; in ksys_semget()
603 SYSCALL_DEFINE3(semget, key_t, key, int, nsems, int, semflg) in SYSCALL_DEFINE3() argument
605 return ksys_semget(key, nsems, semflg); in SYSCALL_DEFINE3()
2433 sma->sem_perm.key, in sysvipc_sem_proc_show()
Dutil.h88 key_t key; member
258 key_t key; member