Home
last modified time | relevance | path

Searched refs:shm_lkcnt (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/
H A Dshm_impl.h58 ushort_t shm_lkcnt; /* number of times it is being locked */ member
115 uint16_t shm_lkcnt; /* number of times it is being locked */ member
H A Dshm.h96 ushort_t shm_lkcnt; /* number of times it is being locked */ member
/illumos-gate/usr/src/uts/common/os/
H A Dshm.c587 sp->shm_lkcnt = 0; in shm_dtor()
592 if (sp->shm_lkcnt > 0) { in shm_dtor()
594 sp->shm_lkcnt = 0; in shm_dtor()
676 STRUCT_FSET(ds, shm_lkcnt, sp->shm_lkcnt); in shmctl()
703 ds64.shmx_lkcnt = sp->shm_lkcnt; in shmctl()
724 if (sp->shm_lkcnt >= USHRT_MAX) { in shmctl()
728 if (!isspt(sp) && (sp->shm_lkcnt++ == 0)) { in shmctl()
736 sp->shm_lkcnt--; in shmctl()
746 if (sp->shm_lkcnt && (--sp->shm_lkcnt == 0)) { in shmctl()
/illumos-gate/usr/src/cmd/mdb/common/modules/ipc/
H A Dipc.c222 shmid->shm_segsz, shmid->shm_amp, shmid->shm_lkcnt, in shm_print()