Lines Matching refs:id
84 int id; member
166 static inline struct shmid_kernel *shm_obtain_object(struct ipc_namespace *ns, int id) in shm_obtain_object() argument
168 struct kern_ipc_perm *ipcp = ipc_obtain_object_idr(&shm_ids(ns), id); in shm_obtain_object()
176 static inline struct shmid_kernel *shm_obtain_object_check(struct ipc_namespace *ns, int id) in shm_obtain_object_check() argument
178 struct kern_ipc_perm *ipcp = ipc_obtain_object_check(&shm_ids(ns), id); in shm_obtain_object_check()
190 static inline struct shmid_kernel *shm_lock(struct ipc_namespace *ns, int id) in shm_lock() argument
195 ipcp = ipc_obtain_object_idr(&shm_ids(ns), id); in shm_lock()
284 shp = shm_lock(sfd->ns, sfd->id); in __shm_open()
374 shp = shm_lock(ns, sfd->id); in shm_close()
395 static int shm_try_destroy_orphaned(int id, void *p, void *data) in shm_try_destroy_orphaned() argument
785 file_inode(file)->i_ino = shp->shm_perm.id; in newseg()
788 error = shp->shm_perm.id; in newseg()
1150 err = shp->shm_perm.id; in shmctl_stat()
1631 sfd->id = shp->shm_perm.id; in do_shmat()
1856 shp->shm_perm.id, in sysvipc_shm_proc_show()