taglinefilesource code
shm_nattch16include/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_nattch530ipc/shm.cshp->shm_nattch++;            /* prevent destruction */
shm_nattch532ipc/shm.cif (--shp->shm_nattch <= 0 && shp->shm_perm.mode & SHM_DEST)
shm_nattch560ipc/shm.cshp->shm_nattch++;
shm_nattch582ipc/shm.cif (--shp->shm_nattch <= 0 && shp->shm_perm.mode & SHM_DEST)