/freebsd-11-stable/contrib/sendmail/libsm/ |
H A D | t-shm.c | 11 SM_RCSID("@(#)$Id: t-shm.c,v 1.23 2013-11-22 20:51:43 ca Exp $") 23 # include <sm/shm.h> 47 int *shm, shmid; local 50 shm = (int *) sm_shmstart(T_SHMKEY, SHMSIZE, 0, &shmid, owner); 51 if (shm == (int *) 0) 62 *shm = 0; 65 ++*shm; 68 --*shm; 74 t = *shm; 77 ++*shm; 115 int *shm, shmid; local 158 int *shm, shmid; local [all...] |
H A D | shm.c | 11 SM_RCSID("@(#)$Id: shm.c,v 1.20 2013-11-22 20:51:43 ca Exp $") 18 # include <sm/shm.h> 48 void *shm = SM_SHM_NULL; local 59 shm = shmat(*shmid, (void *) 0, 0); 60 if (shm == SM_SHM_NULL) 63 return shm; 67 if (shm != SM_SHM_NULL || *shmid >= 0) 68 sm_shmstop(shm, *shmid, owner); 79 ** shm -- pointer to shared memory. 93 sm_shmstop(shm, shmi [all...] |
H A D | Makefile.m4 | 9 define(`bldSOURCES', ` assert.c debug.c errstring.c exc.c heap.c match.c rpool.c strdup.c strerror.c strl.c clrerr.c fclose.c feof.c ferror.c fflush.c fget.c fpos.c findfp.c flags.c fopen.c fprintf.c fpurge.c fput.c fread.c fscanf.c fseek.c fvwrite.c fwalk.c fwrite.c get.c makebuf.c put.c refill.c rewind.c setvbuf.c smstdio.c snprintf.c sscanf.c stdio.c strio.c ungetc.c vasprintf.c vfprintf.c vfscanf.c vprintf.c vsnprintf.c wbuf.c wsetup.c string.c stringf.c xtrap.c strto.c test.c strcasecmp.c strrevcmp.c signal.c clock.c config.c shm.c sem.c mbdb.c strexit.c cf.c ldap.c niprop.c mpeix.c memstat.c util.c inet6_ntop.c notify.c ') 32 smcheck(`t-shm', `compile-run')
|
/freebsd-11-stable/contrib/sendmail/include/sm/ |
H A D | shm.h | 9 * $Id: shm.h,v 1.12 2013-11-22 20:51:31 ca Exp $ 18 # include <sys/shm.h>
|
/freebsd-11-stable/contrib/ntp/ntpd/ |
H A D | refclock_shm.c | 35 # include <sys/shm.h> 111 struct shmTime *shm; /* pointer to shared memory segment */ member in struct:shmunit 231 up->shm = getShmTime(unit, up->forall); 237 if (up->shm != 0) { 239 up->shm->precision = PRECISION; 240 peer->precision = up->shm->precision; 241 up->shm->valid = 0; 242 up->shm->nsamples = NSAMPLES; 306 (void)shmdt((char *)up->shm); 310 UnmapViewOfFile(up->shm); 386 volatile struct shmTime *shm = shm_in; local 525 volatile struct shmTime *shm; local [all...] |
/freebsd-11-stable/contrib/apr/include/arch/unix/ |
H A D | apr_arch_shm.h | 43 #include <sys/shm.h>
|
/freebsd-11-stable/contrib/apr/include/ |
H A D | apr_shm.h | 129 * platforms without such support. Removing the file while the shm 145 * platforms without such support. Removing the file while the shm 216 APR_PERMS_SET_IMPLEMENT(shm); variable 221 APR_POOL_DECLARE_ACCESSOR(shm); variable
|
H A D | apr_portable.h | 288 * convert the shm from apr type to os specific type. 289 * @param osshm The os specific shm representation 290 * @param shm The apr shm to convert. 293 apr_shm_t *shm); 481 * @param shm The apr shm representation of osshm 482 * @param osshm The os specific shm identity 488 APR_DECLARE(apr_status_t) apr_os_shm_put(apr_shm_t **shm,
|
/freebsd-11-stable/contrib/apr-util/test/ |
H A D | testrmm.c | 37 apr_shm_t *shm; local 49 rv = apr_shm_create(&shm, size, NULL, pool); 55 rv = apr_rmm_init(&rmm, NULL, apr_shm_baseaddr_get(shm), size, pool); 174 rv = apr_shm_destroy(shm);
|
/freebsd-11-stable/contrib/sendmail/src/ |
H A D | shmticklib.c | 19 # include <sys/shm.h>
|
/freebsd-11-stable/contrib/ofed/libmlx5/ |
H A D | bitmap.h | 42 #include <sys/shm.h>
|
/freebsd-11-stable/usr.bin/fstat/ |
H A D | fstat.c | 460 struct shmstat shm; local 465 error = procstat_get_shm_info(procstat, fst, &shm, errbuf); 472 (void)snprintf(mode, sizeof(mode), "%o", shm.mode); 475 strmode(shm.mode, mode); 477 printf(" %10s %6ju", mode, shm.size);
|
/freebsd-11-stable/contrib/netbsd-tests/kernel/ |
H A D | t_sysv.c | 54 #include <sys/shm.h> 664 ATF_TC_WITH_CLEANUP(shm); variable 665 ATF_TC_HEAD(shm, tc) 672 ATF_TC_BODY(shm, tc) 796 ATF_TC_CLEANUP(shm, tc) 897 ATF_TP_ADD_TC(tp, shm);
|
/freebsd-11-stable/sys/security/mac/ |
H A D | mac_sysv_shm.c | 58 #include <sys/shm.h>
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_openbsd.cpp | 35 #include <sys/shm.h>
|
/freebsd-11-stable/lib/libsm/ |
H A D | Makefile | 34 signal.c clock.c config.c sem.c shm.c mbdb.c strexit.c cf.c ldap.c \
|
/freebsd-11-stable/lib/libprocstat/ |
H A D | libprocstat.c | 141 struct shmstat *shm, char *errbuf); 143 struct shmstat *shm, char *errbuf); 1127 struct shmstat *shm, char *errbuf) 1130 assert(shm); 1132 return (procstat_get_shm_info_kvm(procstat->kd, fst, shm, 1136 return (procstat_get_shm_info_sysctl(fst, shm, errbuf)); 1147 struct shmstat *shm, char *errbuf) 1155 assert(shm); 1157 bzero(shm, sizeof(*shm)); 1126 procstat_get_shm_info(struct procstat *procstat, struct filestat *fst, struct shmstat *shm, char *errbuf) argument 1146 procstat_get_shm_info_kvm(kvm_t *kd, struct filestat *fst, struct shmstat *shm, char *errbuf) argument 1192 procstat_get_shm_info_sysctl(struct filestat *fst, struct shmstat *shm, char *errbuf __unused) argument [all...] |
/freebsd-11-stable/tools/regression/sysvshm/ |
H A D | shmtest.c | 40 #include <sys/shm.h>
|
/freebsd-11-stable/contrib/ntp/util/ |
H A D | sht.c | 10 #include <sys/shm.h>
|
/freebsd-11-stable/usr.bin/ipcs/ |
H A D | ipc.c | 43 #include <sys/shm.h>
|
/freebsd-11-stable/usr.bin/svn/lib/libapr/ |
H A D | Makefile | 69 shm.c \
|
/freebsd-11-stable/contrib/apr/ |
H A D | apr.mak | 104 -@erase "$(INTDIR)\shm.obj"
194 "$(INTDIR)\shm.obj" \
290 -@erase "$(INTDIR)\shm.obj"
380 "$(INTDIR)\shm.obj" \
476 -@erase "$(INTDIR)\shm.obj"
566 "$(INTDIR)\shm.obj" \
662 -@erase "$(INTDIR)\shm.obj"
753 "$(INTDIR)\shm.obj" \
1164 SOURCE=.\shmem\win32\shm.c
1166 "$(INTDIR)\shm [all...] |
/freebsd-11-stable/contrib/apr/shmem/unix/ |
H A D | shm.c | 490 /* No support for anonymous shm */ 695 APR_PERMS_SET_IMPLEMENT(shm) 717 APR_POOL_IMPLEMENT_ACCESSOR(shm) 720 apr_shm_t *shm)
|
/freebsd-11-stable/sys/kern/ |
H A D | sysv_ipc.c | 45 #include <sys/shm.h>
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_mincore.c | 66 #include <sys/shm.h>
|