Lines Matching refs:shm_nattch
56 unsigned long shm_nattch; member
129 if (shp->shm_nattch) { in do_shm_rmid()
297 shp->shm_nattch++; in __shm_open()
351 return (shp->shm_nattch == 0) && in shm_may_destroy()
382 shp->shm_nattch--; in shm_close()
762 shp->shm_nattch = 0; in newseg()
856 out.shm_nattch = in->shm_nattch; in copy_shmid_to_user()
1131 tbuf->shm_nattch = shp->shm_nattch; in shmctl_stat()
1312 unsigned short shm_nattch; member
1391 v.shm_nattch = in->shm_nattch; in copy_compat_shmid_to_user()
1404 v.shm_nattch = in->shm_nattch; in copy_compat_shmid_to_user()
1602 shp->shm_nattch++; in do_shmat()
1665 shp->shm_nattch--; in do_shmat()
1855 shp->shm_nattch, in sysvipc_shm_proc_show()