Searched refs:shm (Results 1 - 25 of 40) sorted by relevance

12

/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dt-shm.c13 SM_RCSID("@(#)$Id: t-shm.c,v 1.22 2005/01/14 02:14:10 ca Exp $")
25 # include <sm/shm.h>
49 int *shm, shmid; local
52 shm = (int *) sm_shmstart(T_SHMKEY, SHMSIZE, 0, &shmid, owner);
53 if (shm == (int *) 0)
64 *shm = 0;
67 ++*shm;
70 --*shm;
76 t = *shm;
79 ++*shm;
117 int *shm, shmid; local
160 int *shm, shmid; local
[all...]
H A Dshm.c13 SM_RCSID("@(#)$Id: shm.c,v 1.19 2005/07/14 22:34:28 ca Exp $")
20 # include <sm/shm.h>
50 void *shm = SM_SHM_NULL; local
61 shm = shmat(*shmid, (void *) 0, 0);
62 if (shm == SM_SHM_NULL)
65 return shm;
69 if (shm != SM_SHM_NULL || *shmid >= 0)
70 sm_shmstop(shm, *shmid, owner);
81 ** shm -- pointer to shared memory.
95 sm_shmstop(shm, shmi
[all...]
H A DMakefile44 sem.o shm.o signal.o smstdio.o snprintf.o sscanf.o stdio.o \
52 t-fopen t-strl t-strrevcmp t-path t-float t-scanf t-sem t-shm \
/illumos-gate/usr/src/cmd/sendmail/include/sm/
H A Dshm.h9 * $Id: shm.h,v 1.11 2005/01/13 22:57:04 ca Exp $
20 # include <sys/shm.h>
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dshmsys.c41 #include <sys/shm.h>
/illumos-gate/usr/src/uts/common/sys/
H A Dshm_impl.h33 #include <sys/shm.h>
64 /* pages that back shm */
/illumos-gate/usr/src/cmd/zonecfg/
H A Dzonecfg_lex.l286 <TSTATE>max-shm-memory { return MAXSHMMEM; }
287 <CSTATE>max-shm-memory { return MAXSHMMEM; }
289 <TSTATE>max-shm-ids { return MAXSHMIDS; }
290 <CSTATE>max-shm-ids { return MAXSHMIDS; }
/illumos-gate/usr/src/cmd/avs/sdbc/
H A Dsd_diag.c36 #include <sys/shm.h>
565 } *shm; variable in typeref:struct:shm_struct
567 #define WRITEBUF (shm->writebuf)
568 #define WRITEPOS (shm->writepos)
570 #define QUIT (shm->quit)
571 #define ERR (shm->err)
572 #define ERRMUTEX (shm->err_mutex)
573 #define RD_DONE (shm->rd_done)
574 #define RD_DONE_MASK (shm->rd_done_mask)
700 bzero(shm, sizeo
[all...]
/illumos-gate/usr/src/lib/efcode/engine/
H A Dextend.c30 #include <sys/shm.h>
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dshmsys.c36 #include <sys/shm.h>
/illumos-gate/usr/src/cmd/vntsd/
H A Dqueue.c38 #include <sys/shm.h>
H A Dvntsd.h174 #include <sys/shm.h>
H A Dcommon.c39 #include <sys/shm.h>
H A Dvntsdvcc.c44 #include <sys/shm.h>
/illumos-gate/usr/src/man/man3head/
H A DMakefile72 shm.h.3head \
161 shm.3head \
250 shm.3head := LINKSRC = shm.h.3head
/illumos-gate/usr/src/lib/efcode/fcdriver/
H A Dload_node.c36 #include <sys/shm.h>
/illumos-gate/usr/src/cmd/sendmail/db/os/
H A Dos_map.c22 #include <sys/shm.h>
/illumos-gate/usr/src/cmd/ipcrm/
H A Dipcrm.c41 #include <sys/shm.h>
/illumos-gate/usr/src/uts/common/c2/
H A Daudit.h38 #include <sys/shm.h> /* for shmid_ds structure */
459 * audit token IPC types (shm, sem, msg) [for ipc attribute]
/illumos-gate/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c1137 uint64_t lwps_cap, uint64_t lwps, uint64_t shm_cap, uint64_t shm,
1187 zone->zsz_shm = shm;
1199 sys->zss_shm += shm;
2204 uint64_t *lwps_cap, uint64_t *lwps, uint64_t *shm_cap, uint64_t *shm,
2234 *shm = 0;
2291 vals[i++] = zsd_get_zone_rctl_limit("zone.max-shm-memory");
2292 vals[i++] = zsd_get_zone_rctl_usage("zone.max-shm-memory");
2293 vals[i++] = zsd_get_zone_rctl_limit("zone.max-shm-ids");
2294 vals[i++] = zsd_get_zone_rctl_usage("zone.max-shm-ids");
2336 *shm
1134 zsd_mark_zone_found(zsd_ctl_t *ctl, zsd_zone_t *zone, uint64_t cpu_shares, uint64_t cpu_cap, uint64_t ram_cap, uint64_t locked_cap, uint64_t vm_cap, uint64_t processes_cap, uint64_t processes, uint64_t lwps_cap, uint64_t lwps, uint64_t shm_cap, uint64_t shm, uint64_t shmids_cap, uint64_t shmids, uint64_t semids_cap, uint64_t semids, uint64_t msgids_cap, uint64_t msgids, uint64_t lofi_cap, uint64_t lofi, char *poolname, char *psetname, uint_t sched, uint_t cputype, uint_t iptype) argument
2201 zsd_get_zone_caps(zsd_ctl_t *ctl, zsd_zone_t *zone, uint64_t *cpu_shares, uint64_t *cpu_cap, uint64_t *ram_cap, uint64_t *locked_cap, uint64_t *vm_cap, uint64_t *processes_cap, uint64_t *processes, uint64_t *lwps_cap, uint64_t *lwps, uint64_t *shm_cap, uint64_t *shm, uint64_t *shmids_cap, uint64_t *shmids, uint64_t *semids_cap, uint64_t *semids, uint64_t *msgids_cap, uint64_t *msgids, uint64_t *lofi_cap, uint64_t *lofi, uint_t *sched) argument
2393 uint64_t shm; local
[all...]
/illumos-gate/usr/src/cmd/ipcs/
H A Dipcs.c51 #include <sys/shm.h>
/illumos-gate/usr/src/lib/madv/common/
H A Dmadv.c31 #include <sys/shm.h>
101 "shm",
692 * Options ism, dism take precedence over option shm.
/illumos-gate/usr/src/lib/libsmedia/plugins/scsi/common/
H A Ds_generic.c40 #include <sys/shm.h>
/illumos-gate/usr/src/tools/cscope-fast/
H A Dinvlib.c40 #include <sys/shm.h>
/illumos-gate/usr/src/uts/common/os/
H A Dshm.c47 * Control: zone.max-shm-ids (rc_zone_shmmni)
55 * Control: project.max-shm-ids (rc_project_shmmni)
63 * Control: zone.max-shm-memory (rc_zone_shmmax)
73 * Control: project.max-shm-memory (rc_project_shmmax)
113 #include <sys/shm.h>

Completed in 1658 milliseconds

12