taglinefilesource code
shm_nattch13include/linux/shm.hshort  shm_nattch;    /* no. of current attaches */
shm_nattch119ipc/shm.cshp->shm_lpid = shp->shm_nattch = 0;
shm_nattch276ipc/shm.ctbuf.shm_nattch = shp->shm_nattch;
shm_nattch321ipc/shm.ctbuf.shm_nattch = shp->shm_nattch;
shm_nattch339ipc/shm.cif (shp->shm_nattch <= 0)
shm_nattch519ipc/shm.cshp->shm_nattch++;            /* prevent destruction */
shm_nattch521ipc/shm.cif (--shp->shm_nattch <= 0 && shp->shm_perm.mode & SHM_DEST)
shm_nattch549ipc/shm.cshp->shm_nattch++;
shm_nattch573ipc/shm.cif (--shp->shm_nattch <= 0 && shp->shm_perm.mode & SHM_DEST)