taglinefilesource code
shm_nattch13include/linux/shm.hshort  shm_nattch;    /* no. of current attaches */
shm_nattch113ipc/shm.cshp->shm_lpid = shp->shm_nattch = 0;
shm_nattch315ipc/shm.cif (shp->shm_nattch <= 0) 
shm_nattch501ipc/shm.cshp->shm_nattch++;            /* prevent destruction */
shm_nattch504ipc/shm.cif (--shp->shm_nattch <= 0 && shp->shm_perm.mode & SHM_DEST)
shm_nattch548ipc/shm.cif (--shp->shm_nattch <= 0 && shp->shm_perm.mode & SHM_DEST)
shm_nattch621ipc/shm.cshp->shm_nattch++;