/titanic_50/usr/src/man/man2/ |
H A D | shmget.2 | 9 shmget \- get shared memory segment identifier 23 The \fBshmget()\fR function returns the shared memory identifier associated 27 A shared memory identifier and associated data structure and shared memory 40 The \fIkey\fR argument does not already have a shared memory identifier 45 Upon creation, the data structure associated with the new shared memory 78 Shared memory segments must be explicitly removed after the last reference to 83 Upon successful completion, a non-negative integer representing a shared memory 96 A shared memory identifier exists for \fIkey\fR but operation permission (see 97 \fBIntro\fR(2)) as specified by the low-order 9 bits of \fIshmflg\fR would not 107 A shared memory identifier exists for \fIkey\fR but both [all …]
|
H A D | shmop.2 | 9 shmop, shmat, shmdt \- shared memory operations 33 The \fBshmat()\fR function attaches the shared memory segment associated with 34 the shared memory identifier specified by \fIshmid\fR to the data segment of 38 The permission required for a shared memory control operation is given as 55 See the \fIShared Memory Operation Permissions\fR section of \fBIntro\fR(2) for 59 For shared memory segments created with the \fBSHM_SHARE_MMU\fR or 61 prevent a single process from affecting other processes sharing the same shared 65 When (\fIshmflg\fR\fB&SHM_SHARE_MMU\fR) is true, virtual memory resources in 66 addition to shared memory itself are shared among processes that use the same 67 shared memory. [all …]
|
H A D | shmctl.2 | 9 shmctl \- shared memory control operations 23 The \fBshmctl()\fR function provides a variety of shared memory control 24 operations as specified by \fIcmd\fR. The permission required for a shared 25 memory control operation is given as {\fItoken\fR}, where \fItoken\fR is the 41 See the \fIShared Memory Operation Permissions\fR section of \fBIntro\fR(2) for 86 Remove the shared memory identifier specified by \fIshmid\fR from the system. 102 Lock the shared memory segment specified by \fIshmid\fR in memory. This command 112 Unlock the shared memory segment specified by \fIshmid\fR. This command can be 118 A shared memory segment must be explicitly removed using \fBIPC_RMID\fR before 154 The \fIshmid\fR argument is not a valid shared memory identifier; or the [all …]
|
H A D | shmids.2 | 8 shmids \- discover all shared memory identifiers 20 The \fBshmids()\fR function copies all active shared memory identifiers from 21 the system into the user-defined buffer specified by \fIbuf\fR, provided that 24 insufficient to contain all of the active shared memory identifiers in the 29 number of active shared memory identifiers in the system is copied into the 33 If \fInids\fR is 0 or less than the number of active shared memory identifiers 56 The \fBshmids()\fR function returns a snapshot of all the active shared memory 109 MT-Level Async-Signal-Safe
|
/titanic_50/usr/src/man/man3c/ |
H A D | shm_open.3c | 7 …formation Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifica… 14 shm_open \- open a shared memory object 26 The \fBshm_open()\fR function establishes a connection between a shared memory 28 to the shared memory object and a file descriptor that refers to that open file 30 shared memory object. The \fIname\fR argument points to a string naming a 31 shared memory object. It is unspecified whether the name appears in the file 40 If successful, \fBshm_open()\fR returns a file descriptor for the shared memory 81 If the shared memory object exists, this flag has no effect, except as noted 82 under \fBO_EXCL\fR below. Otherwise the shared memory object is created; the 83 user \fBID\fR of the shared memory object will be set to the effective user [all …]
|
H A D | shm_unlink.3c | 7 …formation Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifica… 14 shm_unlink \- remove a shared memory object 26 The \fBshm_unlink()\fR function removes the name of the shared memory object 28 shared memory object exists when the object is unlinked, the name is removed 29 before \fBshm_unlink()\fR returns, but the removal of the memory object 30 contents will be postponed until all open and mapped references to the shared 31 memory object have been removed. 37 the named shared memory object is not affected by this function call. 48 Permission is denied to unlink the named shared memory object. 68 The named shared memory object does not exist. [all …]
|
H A D | mutex_init.3c | 8 …formation Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifica… 16 mutex_destroy \- mutual exclusion locks 20 cc -mt [ \fIflag\fR... ] \fIfile\fR... [ \fIlibrary\fR... ] 55 executing critical sections of code that access shared data (that is, mutexes 65 allocated in writable memory and shared among the cooperating processes (see 69 Mutexes are either intra-process or inter-process, depending upon the argument 76 For inter-process synchronization, a mutex needs to be allocated in memory 77 shared between these processes. Since the memory for such a mutex must be 105 object initialized with this attribute must be allocated in memory shared 106 between processes, either in System V shared memory (see \fBshmop\fR(2)) or in [all …]
|
H A D | truncate.3c | 5 …formation Technology -- Portable Operating System Interface (POSIX), The Open Group Base Specifica… 12 truncate, ftruncate \- set a file to a specified length 35 increased, and the extended area appears as if it were zero-filled. 50 appearing as if it were zero-filled. The value of the seek pointer is not 54 The \fBftruncate()\fR function works only with regular files and shared memory. 55 If \fIfildes\fR refers to a shared memory object, \fBftruncate()\fR sets the 56 size of the shared memory object to \fIlength\fR. If \fIfildes\fR refers to a 61 If the effect of \fBftruncate()\fR is to decrease the size of a shared memory 62 object or memory mapped file and whole pages beyond the new end were previously 66 If the effect of \fBftruncate()\fR is to increase the size of a shared memory [all …]
|
H A D | dldump.3c | 8 dldump \- create a new file from a dynamic object component of the calling 24 file. Relocations can be applied to the new object to pre-bind it to other 25 dynamic objects, or fix the object to a specific memory location. In addition, 26 data elements within the new object can be obtained from the objects' memory 36 limitations in regards to data usage can make dumping a memory image 49 into two basic types: \fInon-symbolic\fR and \fIsymbolic\fR. 52 The \fInon-symbolic\fR relocation is a simple \fIrelative\fR relocation that 69 affect the relocations that are applied to the new object. \fINon-symbolic\fR 174 The new object \fIopath\fR is constructed from the current memory contents of 179 when processing a dynamic executable, any allocated memory that follows the end [all …]
|
H A D | rwlock.3c | 9 rw_trywrlock, rw_unlock \- multiple readers, single writer locks 13 cc -mt [ \fIflag\fR... ] \fIfile\fR...[ \fIlibrary\fR... ] 53 Many threads can have simultaneous read-only access to data, while only one 60 processes if they are allocated in writable memory and shared among 83 allocated in memory shared between processses, i.e. either in Sys V shared 84 memory (see \fBshmop\fR(2)) or in memory mapped to a file (see \fBmmap\fR(2)). 86 shared memory. 102 memory. A \fItype\fR of \fBUSYNC_THREAD\fR is assumed in this case. Multiple 104 readers/writer lock must not be re-initialized while in use by other threads. 107 The following are default readers/writer lock initialization (intra-process): [all …]
|
/titanic_50/usr/src/man/man1/ |
H A D | ipcs.1 | 9 ipcs \- report inter-process communication facilities status 13 \fBipcs\fR [\fB-aAbciJmopqstZ\fR] [\fB-D\fR \fImtype\fR] [\fB-z\fR \fIzone\fR] 19 The \fBipcs\fR utility prints information about active inter-process 22 for message queues, shared memory, and semaphores that are currently active in 31 \fB\fB-m\fR\fR 34 Prints information about active shared memory segments. 40 \fB\fB-q\fR\fR 49 \fB\fB-s\fR\fR 57 If \fB-m\fR, \fB-q\fR, or \fB-s\fR are specified, information about only those 63 \fB\fB-a\fR\fR [all …]
|
H A D | pmap.1 | 8 pmap \- display information about the address space of a process 12 \fB/usr/bin/pmap\fR [\fB-rslF\fR] [\fB-A\fR \fIaddress_range\fR] [\fIpid\fR | \fIcore\fR]... 17 \fB/usr/bin/pmap\fR \fB-L\fR [\fB-rslF\fR] [\fB-A\fR \fIaddress_range\fR] [\fIpid\fR] ... 22 \fB/usr/bin/pmap\fR \fB-x\fR [\fB-aslF\fR] [\fB-A\fR \fIaddress_range\fR] [\fIpid\fR | \fIcore\fR].… 27 \fB/usr/bin/pmap\fR \fB-S\fR [\fB-alF\fR] [\fB-A\fR \fIaddress_range\fR] [\fIpid\fR | \fIcore\fR]... 41 \fB\fB-a\fR\fR 44 Prints anonymous and swap reservations for shared mappings. 50 \fB\fB-A\fR \fIaddress_range\fR\fR 62 A single address limits the output to the segment (or the page if the \fB-L\fR 65 the whole segment even when the \fB-L\fR option is specified. [all …]
|
H A D | ipcrm.1 | 9 ipcrm \- remove a message queue, semaphore set, or shared memory ID 13 \fBipcrm\fR [\fB-z\fR \fIzone\fR] [\fB-m\fR \fIshmid\fR] [\fB-q\fR \fImsqid\fR] [\fB-s\fR \fIsemid\… 14 [\fB-M\fR \fIshmkey\fR] [\fB-Q\fR \fImsgkey\fR] [\fB-S\fR \fIsemkey\fR] 20 \fBipcrm\fR removes one or more messages, semaphores, or shared memory 29 \fB\fB-z\fR \fIzone\fR\fR 43 \fB\fB-m\fR \fIshmid\fR\fR 46 Removes the shared memory identifier \fIshmid\fR from the system. The shared 47 memory segment and data structure associated with it are destroyed after the 54 \fB\fB-q\fR \fImsqid\fR\fR 64 \fB\fB-s\fR \fIsemid\fR\fR [all …]
|
H A D | madv.so.1.1 | 8 madv.so.1 \- madv library 18 The \fBmadv.so.1\fR shared object provides a means by which the VM advice can 34 If the \fBmadv.so.1\fR shared object is specified in the \fBLD_PRELOAD\fR list, 35 the following environment variables are read by the \fBmadv\fR shared object to 43 \fBMADV\fR specifies the VM advice to use for all heap, shared memory, and mmap 48 \fBmadvise\fR(3C) to specify memory access patterns: 78 \fB\fBMADVCFGFILE\fR=\fIconfig-file\fR\fR 81 \fIconfig-file\fR is a text file which contains one or more \fBmadv\fR 86 \fIexec-name\fR \fIexec-args\fR:\fIadvice-opts\fR 91 Advice specified in \fIconfig-file\fR takes precedence over that specified by [all …]
|
/titanic_50/usr/src/man/man3dat/ |
H A D | dat_lmr_create.3dat | 9 dat_lmr_create \- register a memory region with an IA 13 cc [ \fIflag\fR\&.\|.\|. ] \fIfile\fR\&.\|.\|. \fB-ldat\fR [ \fIlibrary\fR\&.\|.\|. ] 50 Type of memory to be registered. The following list outlines the memory type 59 Consumer virtual memory. 63 Length: Length of the Memory Region. 73 Consumer virtual memory with strong memory ordering. This type is a Solaris 80 Length: Length of the Memory Region. 104 Shared memory region. All DAT Consumers of the same uDAPL Provider specify the 105 same Consumer cookie to indicate who is sharing the shared memory region. This 106 supports a peer-to-peer model of shared memory. All DAT Consumers of the shared [all …]
|
/titanic_50/usr/src/lib/libtnfctl/ |
H A D | prb_shmem.c | 29 * Interfaces to allocate, control, and free a shared memory lock 30 * XXXX Could we use a semaphore or a shared memory condition variable 47 * prb_shmem_init() - Allocates and initializes the shared memory region 58 if (shmem_fd == -1) { in prb_shmem_init() 66 if (smp == (struct shmem_msg *) - 1) { in prb_shmem_init() 72 /* sets the shared memory region to cause waiting */ in prb_shmem_init() 73 smp->spin = B_TRUE; in prb_shmem_init() 81 * prb_shmem_wait() - spins until the shared memory flag is cleared 86 return (smp->spin); in getspin() 106 * prb_shmem_clear() - clears the shared memory flag and allows waiters to [all …]
|
/titanic_50/usr/src/cmd/sendmail/libsm/ |
H A D | shm.c | 2 * Copyright (c) 2000-2001, 2003, 2005 Sendmail, Inc. and its suppliers. 24 ** SM_SHMSTART -- initialize shared memory segment. 27 ** key -- key for shared memory. 28 ** size -- size of segment. 29 ** shmflag -- initial flags. 30 ** shmid -- pointer to return id. 31 ** owner -- create segment. 34 ** pointer to shared memory segment, 38 ** attaches shared memory segment. 78 ** SM_SHMSTOP -- stop using shared memory segment. [all …]
|
/titanic_50/usr/src/cmd/sendmail/db/include/ |
H A D | txn.h | 1 /*- 15 * The name of the transaction shared memory region is DEFAULT_TXN_FILE and 28 * Internal data maintained in shared memory for each transaction. 69 * track of the shared memory region. 72 /* These fields need to be protected for multi-threaded support. */ 83 DB_TXNREGION *region; /* address of shared memory region */ 88 * Layout of the shared memory region. 90 * pool of shalloc'd memory which is used to hold TXN_DETAIL structures 94 RLAYOUT hdr; /* Shared memory region header. */ 121 (void)__db_mutex_lock((tmgrp)->mutexp, -1) [all …]
|
H A D | lock.h | 1 /*- 27 if ((lt)->region->hdr.panic) \ 41 RLAYOUT hdr; /* Shared region header. */ 56 size_t mem_off; /* offset of memory region */ 57 size_t mem_bytes; /* number of bytes in memory region */ 66 (void)__db_mutex_lock(&(lt)->region->hdr.lock, (lt)->reginfo.fd) 68 (void)__db_mutex_unlock(&(lt)->region->hdr.lock, (lt)->reginfo.fd) 71 * Since we will be keeping DBTs in shared memory, we need the equivalent 72 * of a DBT that will work in shared memory. 79 #define SH_DBT_PTR(p) ((void *)(((u_int8_t *)(p)) + (p)->off)) [all …]
|
/titanic_50/usr/src/cmd/sendmail/db/os/ |
H A D | os_map.c | 1 /*- 41 * __db_mapanon_ok -- 42 * Return if this OS can support anonymous memory regions. 58 * get a file descriptor to lock other types of shared regions, 62 * memory among multiple processes, so we have to have a way to 87 * __db_mapinit -- 88 * Return if shared regions need to be initialized. 109 * __db_mapregion -- 110 * Attach to a shared memory region. 127 return (__db_jump.j_map(path, infop->fd, infop->size, [all …]
|
/titanic_50/usr/src/uts/common/os/ |
H A D | shm.c | 30 * University Copyright- Copyright (c) 1982, 1986, 1988 34 * University Acknowledgment- Portions of this document are derived from 40 * Inter-Process Communication Shared Memory Facility. 45 * ----------------- 47 * Control: zone.max-shm-ids (rc_zone_shmmni) 48 * Description: Maximum number of shared memory ids allowed a zone. 50 * When shmget() is used to allocate a shared memory segment, one id 55 * Control: project.max-shm-ids (rc_project_shmmni) 56 * Description: Maximum number of shared memory ids allowed a project. 58 * When shmget() is used to allocate a shared memory segment, one id [all …]
|
/titanic_50/usr/src/cmd/sendmail/db/db/ |
H A D | db_region.c | 1 /*- 28 * __db_rattach -- 29 * Optionally create and attach to a shared memory region. 49 DB_ROUNDOFF(infop->size, DB_VMPAGESIZE); 53 if (infop->size > DB_REGIONSIZE_MAX) { 54 __db_err(infop->dbenv, "__db_rattach: cache size too large"); 60 loop: infop->addr = NULL; 61 infop->fd = -1; 62 infop->segid = INVALID_SEGID; 63 if (infop->name != NULL) { [all …]
|
/titanic_50/usr/src/uts/common/avs/ns/sdbc/ |
H A D | dynmem_readme.txt | 25 TITLE: Dynamic Memory Implementation Overview 32 1.0 Dynamic Memory Implementation in the SCM Module 34 The system memory allocation required by the Storage Cache Manager (SCM) 36 OS. The previous implementation required that the total memory requirements 39 memory is required in a piecemeal manner. In addition the requisitioned 40 memory will be released back to the system at some later time. 44 2.1 Memory Allocation 46 The memory allocation involves modifications primarily to sd_alloc_buf() 51 (wctrl for FWC support) and sytem memory. The current allocation algorithim 52 for ccent and wrctl remains the same. The memory allocation has been modified [all …]
|
/titanic_50/usr/src/man/man3lib/ |
H A D | libumem.3lib | 8 libumem \- object-caching memory allocation library 12 cc [ \fIflag\fR... ] \fIfile\fR... \fB-lumem\fR [ \fIlibrary\fR... ] 19 Functions in this library provide fast, scalable object-caching memory 23 object-caching services as described in \fBumem_cache_create\fR(3MALLOC). 27 detection of memory leaks, buffer overruns, multiple frees, use of 33 The shared object \fBlibumem.so.1\fR provides the public interfaces defined 34 below. See \fBIntro\fR(3) for additional information on shared object 58 shared object 67 64-bit shared object 85 MT-Level MT-Safe
|
/titanic_50/usr/src/uts/intel/sys/ |
H A D | sysi86.h | 44 * Commands for sysi86 system call (1-?) 48 #define SI86SYM 2 /* acquire boot-built symbol table */ 49 #define SI86CONF 4 /* acquire boot-built configuration table */ 52 #define SI86AUTO 9 /* was an auto-config boot done? */ 55 #define SI86FPHW 40 /* what (if any?) floating-point hardware */ 69 #define SI86MEM 65 /* return the memory size of system */ 73 #define SI86DELMEM 69 /* Delete available memory for testing. */ 74 #define SI86ADDMEM 70 /* Add back deleted memory. */ 86 #define SI86RDBOOT 93 /* Bootable Non-SCSI Hard Disk */ 90 #define SI86BADVISE 102 /* badvise subcommand - see below for */ [all …]
|