Lines Matching defs:shp
88 #define shm_unlock(shp) \ argument
115 struct shmid_kernel *shp; in do_shm_rmid() local
222 struct shmid_kernel *shp = container_of(ptr, struct shmid_kernel, in shm_rcu_free() local
239 struct shmid_kernel *shp; in __shm_open() local
279 static void shm_destroy(struct ipc_namespace *ns, struct shmid_kernel *shp) in shm_destroy()
309 static bool shm_may_destroy(struct ipc_namespace *ns, struct shmid_kernel *shp) in shm_may_destroy()
326 struct shmid_kernel *shp; in shm_close() local
356 struct shmid_kernel *shp = container_of(ipcp, struct shmid_kernel, shm_perm); in shm_try_destroy_orphaned() local
386 struct shmid_kernel *shp, *n; in exit_shm() local
606 struct shmid_kernel *shp; in newseg() local
717 struct shmid_kernel *shp; in shm_more_checks() local
832 static void shm_add_rss_swap(struct shmid_kernel *shp, in shm_add_rss_swap()
873 struct shmid_kernel *shp; in shm_get_stat() local
895 struct shmid_kernel *shp; in shmctl_down() local
983 struct shmid_kernel *shp; in shmctl_stat() local
1066 struct shmid_kernel *shp; in shmctl_do_lock() local
1421 struct shmid_kernel *shp; in do_shmat() local
1744 struct shmid_kernel *shp; in sysvipc_shm_proc_show() local