| /illumos-gate/usr/src/lib/libast/common/disc/ |
| H A D | memfatal.c | 48 nomalloc(Vmalloc_t* region, int type, void* obj, Vmdisc_t* disc) argument 59 vmstat(region, &st); 60 error(ERROR_SYSTEM|3, "storage allocator out of space on %lu byte request ( region %lu segments %lu busy %lu:%lu:%lu free %lu:%lu:%lu )", (size_t)obj, st.extent, st.n_seg, st.n_busy, st.s_busy, st.m_busy, st.n_free, st.s_free, st.m_free);
|
| /illumos-gate/usr/src/lib/libast/common/hash/ |
| H A D | hashalloc.c | 50 Hash_region_f region = 0; local 62 region = va_arg(ap, Hash_region_f); 65 if (!(tab = (Hash_table_t*)(*region)(handle, NiL, sizeof(Hash_table_t), 0))) 80 if (region) 82 if (!(tab->root = (Hash_root_t*)(*region)(handle, NiL, sizeof(Hash_root_t), 0))) 90 if (tab->root->local->region = region) 170 if (region) 172 if (!(tab->table = (Hash_bucket_t**)(*region)(handle, NiL, sizeof(Hash_bucket_t*) * tab->size, 0))) 184 if (!region) [all...] |
| H A D | hashfree.c | 50 Hash_region_f region; local 63 if (region = tab->root->local->region) 79 if (region) (*region)(handle, p->name, 0, 0); 84 if (region) (*region)(handle, p, 0, 0); 96 if (region) (*region)(handle, tab->table, 0, 0); 100 else region [all...] |
| H A D | hashsize.c | 46 Hash_region_f region; local 51 if (region = tab->root->local->region) 54 new_s = (Hash_bucket_t**)(*region)(handle, NiL, sizeof(Hash_bucket_t*) * size, 0); 77 if (region) (*region)(handle, tab->table, 0, 0);
|
| H A D | hashlib.h | 49 Hash_region_f region; /* region alloc/free routine */ member in struct:__anon2616 50 void* handle; /* region handle arg */
|
| /illumos-gate/usr/src/lib/libast/common/misc/ |
| H A D | sigcrit.c | 27 * signal critical region support 38 signals[] = /* held inside critical region */ 86 * critical signal region handler 88 * op>0 new region according to SIG_REG_*, return region level 89 * op==0 pop region, return region level 90 * op<0 return non-zero if any signals held in current region 92 * signals[] held until region popped 99 static int region; local [all...] |
| /illumos-gate/usr/src/lib/libsmbfs/smb/ |
| H A D | charsets.c | 111 uint32_t index,region; local 115 __CFStringGetInstallationEncodingAndRegion(&index,®ion); 121 if (region) /* anything nonzero is not US */ 123 else /* US region */
|
| /illumos-gate/usr/src/lib/libdtrace/common/ |
| H A D | dt_error.c | 155 dt_set_errmsg(dtrace_hdl_t *dtp, const char *errtag, const char *region, argument 180 else if (region != NULL) 181 (void) snprintf(s, n, "in %s: ", region);
|
| /illumos-gate/usr/src/lib/libcmd/common/ |
| H A D | vmstate.c | 23 #define FORMAT "region=%(region)p size=%(size)d segments=%(segments)d busy=(%(busy_size)d,%(busy_blocks)d,%(busy_max)d) free=(%(free_size)d,%(free_blocks)d,%(free_max)d)" 28 "[+NAME?vmstate - list the calling process vmalloc region state]" 37 "[+size?The total region size.]" 38 "[+segments?The number of segments in the region.]" 58 Vmalloc_t* region[256]; member in struct:State_s 74 else if (streq(s, "region")) 109 if (state->regions < elementsof(state->region)) 110 state->region[state->regions++] = vm; 152 * now we can compute and list the state of each region [all...] |
| /illumos-gate/usr/src/uts/intel/io/drm/ |
| H A D | radeon_mem.c | 228 get_heap(drm_radeon_private_t *dev_priv, int region) argument 230 switch (region) { 260 alloc.region = alloc32.region; 271 heap = get_heap(dev_priv, alloc.region); 312 heap = get_heap(dev_priv, memfree.region); 343 heap = get_heap(dev_priv, initheap.region);
|
| H A D | i915_mem.c | 41 * this region is privately allocated to a client. 278 struct mem_block **get_heap(drm_i915_private_t * dev_priv, int region) argument 280 switch (region) { 307 alloc.region = alloc32.region; 314 heap = get_heap(dev_priv, alloc.region); 354 heap = get_heap(dev_priv, memfree.region); 385 heap = get_heap(dev_priv, initheap.region); 412 heap = get_heap(dev_priv, destroyheap.region);
|
| H A D | radeon_io32.h | 147 int region; member in struct:drm_radeon_mem_alloc_32
|
| /illumos-gate/usr/src/boot/sys/boot/common/ |
| H A D | misc.c | 96 /* Zero a region in kernel space. */ 171 * Display a region in traditional hexdump format. 174 hexdump(caddr_t region, size_t len) argument 182 for (line = region; line < (region + len); line += 16) { 186 if ((line + x) < (region + len)) { 196 if ((line + x) < (region + len)) {
|
| /illumos-gate/usr/src/cmd/sendmail/db/include/ |
| H A D | txn.h | 15 * The name of the transaction shared memory region is DEFAULT_TXN_FILE and 16 * the region is always created group RW of the group owning the directory. 37 size_t last_lock; /* offset in lock region of last lock 69 * track of the shared memory region. 83 DB_TXNREGION *region; /* address of shared memory region */ member in struct:__db_txnmgr 88 * Layout of the shared memory region. 89 * The region consists of a DB_TXNREGION structure followed by a large 94 RLAYOUT hdr; /* Shared memory region header. */ 111 * Make the region larg [all...] |
| H A D | lock.h | 15 #define DB_LOCK_DEFAULT_N 5000 /* Default # of locks in region. */ 25 /* Check for region catastrophic shutdown. */ 27 if ((lt)->region->hdr.panic) \ 32 * The lock region consists of: 41 RLAYOUT hdr; /* Shared region header. */ 54 size_t increment; /* how much to grow region */ 56 size_t mem_off; /* offset of memory region */ 57 size_t mem_bytes; /* number of bytes in memory region */ 64 /* Macros to lock/unlock the region. */ 66 (void)__db_mutex_lock(&(lt)->region 113 DB_LOCKREGION *region; /* Address of shared memory region. */ member in struct:__db_locktab [all...] |
| /illumos-gate/usr/src/uts/common/io/nxge/npi/ |
| H A D | npi_zcp.c | 209 npi_zcp_set_bam_region(npi_handle_t handle, zcp_buf_region_t region, argument 213 ASSERT(IS_VALID_BAM_REGION(region)); 214 if (!IS_VALID_BAM_REGION(region)) { 217 " Invalid Input: region <0x%x>", 218 region)); 222 switch (region) { 241 npi_zcp_set_dst_region(npi_handle_t handle, zcp_buf_region_t region, argument 246 ASSERT(IS_VALID_BAM_REGION(region)); 247 if (!IS_VALID_BAM_REGION(region)) { 250 " Invalid Input: region < [all...] |
| H A D | npi_vir.c | 699 * to FZC region to function zero. 763 uint8_t fn, region, id, tn, rn; local 766 region = dma_bind.sub_vir_region; 771 DMA_BIND_VADDR_VALIDATE(fn, region, id, status); 801 DMA_BIND_REG_OFFSET(fn, region, id), bind.value); 812 uint8_t function, region, slot; local 817 region = dma_bind.sub_vir_region; 820 DMA_BIND_VADDR_VALIDATE(function, region, slot, status); 825 offset = DMA_BIND_REG_OFFSET(function, region, slot);
|
| /illumos-gate/usr/src/uts/common/io/nxge/ |
| H A D | nxge_hio_guest.c | 161 * If we have been given a virtualization region (VR), 228 * the cookie is the VR region, but that could change 258 vr->region = vr_index; 518 * Release a virtualization region (VR). 851 int region; local 861 for (region = FUNC0_VIR0; region < NXGE_VR_SR_MAX; region++) { 862 if (nhd->vr[region].nxge == (uintptr_t)nxge) 868 if (region [all...] |
| /illumos-gate/usr/src/uts/common/io/sfxge/common/ |
| H A D | efx_nic.c | 401 __in efx_nic_region_t region, 417 region, offsetp, sizep)) != 0) { 399 efx_nic_get_bar_region( __in efx_nic_t *enp, __in efx_nic_region_t region, __out uint32_t *offsetp, __out size_t *sizep) argument
|
| H A D | siena_nvram.c | 314 unsigned int region; local 365 region = vpd ? vpd_offset + vpd_length : hdr_length; 366 if (region > SIENA_NVRAM_CHUNK) { 369 region - SIENA_NVRAM_CHUNK)) != 0)
|
| H A D | siena_vpd.c | 53 unsigned int region; local 95 region = vpd_offset + vpd_length; 96 if (region > SIENA_NVRAM_CHUNK) { 99 region - SIENA_NVRAM_CHUNK)) != 0)
|
| H A D | ef10_nic.c | 1525 __in efx_nic_region_t region, 1539 switch (region) { 1541 /* UC mapped memory BAR region for VI registers */ 1547 /* WC mapped memory BAR region for piobuf writes */ 1523 ef10_nic_get_bar_region( __in efx_nic_t *enp, __in efx_nic_region_t region, __out uint32_t *offsetp, __out size_t *sizep) argument
|
| /illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlge/ |
| H A D | qlge_flash.c | 528 uint8_t region; local 592 if (entry->region == FLT_REGION_FDT) { 613 region = FLT_REGION_NIC_PARAM0; 615 region = FLT_REGION_NIC_PARAM1; 618 if (entry->region == region) {
|
| /illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
| H A D | doupdate.c | 215 * is to be replaced. Each region describes a portion of the line. 220 int col; /* Starting column of region */ 221 int size; /* Size of region */ 247 * Find start of blank tail region. 258 * Send all the characters in the region to the terminal 261 _writeRegion(int row, LineRegion region) argument 266 cchar_t *optr = &curscr->_line[row][region.col]; 267 cchar_t *nptr = &newscr->_line[row][region.col]; 269 for (i = 0; i < region.size; i++, nptr++, optr++) { 290 curscr->_curx = region 298 _deleteRegion(int row, LineRegion region) argument [all...] |
| /illumos-gate/usr/src/lib/libast/common/vmalloc/ |
| H A D | vmprofile.c | 44 #define PFREGION(pf) ((pf)->data.data.region) 52 Vmulong_t max; /* max busy space for region */ 54 Vmalloc_t* vm; /* region alloc from */ 55 Pfobj_t* region; /* pointer to region record */ member in struct:_pfdata_s 79 Vmalloc_t* vm; /* region allocating from */ 134 /* get region record; note that these are ordered by vm */ 191 /* free all records related to region vm */ 223 /* let vmclose knows that there are records for region vm */ 239 { /* update region statistic [all...] |