Lines Matching defs:shp
97 #define shm_unlock(shp) \ argument
124 struct shmid_kernel *shp; in do_shm_rmid() local
232 struct shmid_kernel *shp = container_of(ptr, struct shmid_kernel, in shm_rcu_free() local
242 static inline void shm_clist_rm(struct shmid_kernel *shp) in shm_clist_rm()
280 struct shmid_kernel *shp; in __shm_open() local
328 static void shm_destroy(struct ipc_namespace *ns, struct shmid_kernel *shp) in shm_destroy()
355 static bool shm_may_destroy(struct shmid_kernel *shp) in shm_may_destroy()
370 struct shmid_kernel *shp; in __shm_close() local
412 struct shmid_kernel *shp = container_of(ipcp, struct shmid_kernel, shm_perm); in shm_try_destroy_orphaned() local
442 struct shmid_kernel *shp; in exit_shm() local
711 struct shmid_kernel *shp; in newseg() local
822 struct shmid_kernel *shp; in shm_more_checks() local
937 static void shm_add_rss_swap(struct shmid_kernel *shp, in shm_add_rss_swap()
978 struct shmid_kernel *shp; in shm_get_stat() local
1000 struct shmid_kernel *shp; in shmctl_down() local
1088 struct shmid_kernel *shp; in shmctl_stat() local
1171 struct shmid_kernel *shp; in shmctl_do_lock() local
1525 struct shmid_kernel *shp; in do_shmat() local
1848 struct shmid_kernel *shp; in sysvipc_shm_proc_show() local