taglinefilesource code
shm_nattch16include/linux/shm.hshort  shm_nattch;    /* no. of current attaches */
shm_nattch118ipc/shm.cshp->shm_lpid = shp->shm_nattch = 0;
shm_nattch275ipc/shm.ctbuf.shm_nattch = shp->shm_nattch;
shm_nattch320ipc/shm.ctbuf.shm_nattch = shp->shm_nattch;
shm_nattch338ipc/shm.cif (shp->shm_nattch <= 0)
shm_nattch528ipc/shm.cshp->shm_nattch++;            /* prevent destruction */
shm_nattch530ipc/shm.cif (--shp->shm_nattch <= 0 && shp->shm_perm.mode & SHM_DEST)
shm_nattch558ipc/shm.cshp->shm_nattch++;
shm_nattch580ipc/shm.cif (--shp->shm_nattch <= 0 && shp->shm_perm.mode & SHM_DEST)