Home
last modified time | relevance | path

Searched refs:shm_nattch (Results 1 – 11 of 11) sorted by relevance

/netbsd/src/sys/compat/sys/
Dshm.h48 short shm_nattch; /* number of current attaches */ member
60 shmatt_t shm_nattch; /* number of current attaches */ member
81 uint32_t shm_nattch; member
103 CVT(shm_nattch); in __shmid_ds14_to_native()
122 CVT(shm_nattch); in __native_to_shmid_ds14()
140 CVT(shm_nattch); in __shmid_ds13_to_native()
159 CVT(shm_nattch); in __native_to_shmid_ds13()
/netbsd/src/sys/sys/
Dshm.h104 shmatt_t shm_nattch; /* number of current attaches */ member
153 uint32_t shm_nattch; member
194 (dst).shm_nattch = (src).shm_nattch; \
/netbsd/src/sys/kern/
Dsysv_shm.c218 if ((--shmseg->shm_nattch <= 0) && in shm_delete_mapping()
445 shmseg->shm_nattch++; in sys_shmat()
541 shmbuf->shm_nattch = shmseg->shm_nattch; in shmctl1()
561 if (shmseg->shm_nattch <= 0) { in shmctl1()
753 shmseg->shm_lpid = shmseg->shm_nattch = 0; in sys_shmget()
789 shmsegs[IPCID_TO_IX(shmmap_se->shmid)].shm_nattch++; in shmfork()
813 shmsegs[IPCID_TO_IX(shmmap_se->shmid)].shm_nattch--; in shmexit()
/netbsd/src/sys/compat/netbsd32/
Dnetbsd32_conv.h691 dsp->shm_nattch = ds32p->shm_nattch; in netbsd32_to_shmid_ds50()
707 dsp->shm_nattch = ds32p->shm_nattch; in netbsd32_to_shmid_ds()
723 ds32p->shm_nattch = dsp->shm_nattch; in netbsd32_from_shmid_ds50()
739 ds32p->shm_nattch = dsp->shm_nattch; in netbsd32_from_shmid_ds()
Dnetbsd32_compat_14_sysv.c174 CVT(shm_nattch); in netbsd32_shmid_ds14_to_native()
192 CVT(shm_nattch); in native_to_netbsd32_shmid_ds14()
Dnetbsd32.h653 shmatt_t shm_nattch; /* number of current attaches */ member
666 shmatt_t shm_nattch; /* number of current attaches */ member
679 short shm_nattch; /* number of current attaches */ member
/netbsd/src/sys/compat/linux/common/
Dlinux_ipc.c507 bsp->shm_nattch = lsp->l_shm_nattch; in linux_to_bsd_shmid_ds()
521 bsp->shm_nattch = lsp->l_shm_nattch; in linux_to_bsd_shmid64_ds()
536 lsp->l_shm_nattch = bsp->shm_nattch; in bsd_to_linux_shmid_ds()
551 lsp->l_shm_nattch = bsp->shm_nattch; in bsd_to_linux_shmid64_ds()
/netbsd/src/sys/compat/linux32/common/
Dlinux32_ipccall.c564 lsp->l_shm_nattch = bsp->shm_nattch; in bsd_to_linux32_shmid_ds()
578 bsp->shm_nattch = lsp->l_shm_nattch; in linux32_to_bsd_shmid_ds()
593 lsp->l_shm_nattch = bsp->shm_nattch; in bsd_to_linux32_shmid64_ds()
607 bsp->shm_nattch = lsp->l_shm_nattch; in linux32_to_bsd_shmid64_ds()
/netbsd/src/usr.bin/ipcs/
Dipcs.c588 shmptr->shm_nattch, in shm_sysctl()
/netbsd/src/tests/kernel/
Dt_sysv.c725 sp->shm_nattch); in print_shmid_ds()
/netbsd/src/sys/miscfs/procfs/
Dprocfs_linux.c892 shmsegs[id].shm_nattch, in procfs_dosysvipc_shm()