ipc/shm.c
1012
shp = container_of(ipcp, struct shmid_kernel, shm_perm);
ipc/shm.c
105
static void shm_destroy(struct ipc_namespace *ns, struct shmid_kernel *shp);
ipc/shm.c
1087
struct shmid_kernel *shp;
ipc/shm.c
1170
struct shmid_kernel *shp;
ipc/shm.c
126
struct shmid_kernel *shp;
ipc/shm.c
128
shp = container_of(ipcp, struct shmid_kernel, shm_perm);
ipc/shm.c
1524
struct shmid_kernel *shp;
ipc/shm.c
169
static inline struct shmid_kernel *shm_obtain_object(struct ipc_namespace *ns, int id)
ipc/shm.c
176
return container_of(ipcp, struct shmid_kernel, shm_perm);
ipc/shm.c
179
static inline struct shmid_kernel *shm_obtain_object_check(struct ipc_namespace *ns, int id)
ipc/shm.c
1847
struct shmid_kernel *shp;
ipc/shm.c
1850
shp = container_of(ipcp, struct shmid_kernel, shm_perm);
ipc/shm.c
186
return container_of(ipcp, struct shmid_kernel, shm_perm);
ipc/shm.c
193
static inline struct shmid_kernel *shm_lock(struct ipc_namespace *ns, int id)
ipc/shm.c
211
return container_of(ipcp, struct shmid_kernel, shm_perm);
ipc/shm.c
225
static inline void shm_lock_by_ptr(struct shmid_kernel *ipcp)
ipc/shm.c
235
struct shmid_kernel *shp = container_of(ptr, struct shmid_kernel,
ipc/shm.c
245
static inline void shm_clist_rm(struct shmid_kernel *shp)
ipc/shm.c
274
static inline void shm_rmid(struct shmid_kernel *s)
ipc/shm.c
283
struct shmid_kernel *shp;
ipc/shm.c
331
static void shm_destroy(struct ipc_namespace *ns, struct shmid_kernel *shp)
ipc/shm.c
358
static bool shm_may_destroy(struct shmid_kernel *shp)
ipc/shm.c
373
struct shmid_kernel *shp;
ipc/shm.c
415
struct shmid_kernel *shp = container_of(ipcp, struct shmid_kernel, shm_perm);
ipc/shm.c
450
struct shmid_kernel *shp;
ipc/shm.c
460
shp = list_first_entry(&task->sysvshm.shm_clist, struct shmid_kernel,
ipc/shm.c
710
struct shmid_kernel *shp;
ipc/shm.c
821
struct shmid_kernel *shp;
ipc/shm.c
823
shp = container_of(ipcp, struct shmid_kernel, shm_perm);
ipc/shm.c
936
static void shm_add_rss_swap(struct shmid_kernel *shp,
ipc/shm.c
977
struct shmid_kernel *shp;
ipc/shm.c
982
shp = container_of(ipc, struct shmid_kernel, shm_perm);
ipc/shm.c
999
struct shmid_kernel *shp;