Searched refs:region (Results 1 - 25 of 64) sorted by relevance

123

/illumos-gate/usr/src/lib/libast/common/hash/
H A Dhashfree.c50 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 Dhashsize.c46 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 Dhashalloc.c50 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 Dhashlook.c192 if (tab->root->local->region) (*tab->root->local->region)(tab->root->local->handle, b, 0, 0);
197 if (tab->root->local->region) (*tab->root->local->region)(tab->root->local->handle, (char*)name, 0, 0);
231 if (!(t = tab->root->local->region ? (char*)(*tab->root->local->region)(tab->root->local->handle, NiL, m, 0) : (char*)malloc(m)))
239 if (tab->root->local->region) (*tab->root->local->region)(tab->root->local->handle, (char*)name, 0, 0);
307 if (tab->root->local->region)
309 if (!(b = (Hash_bucket_t*)(*tab->root->local->region)(ta
[all...]
H A Dhashlib.h49 Hash_region_f region; /* region alloc/free routine */ member in struct:__anon2616
50 void* handle; /* region handle arg */
/illumos-gate/usr/src/cmd/sendmail/db/txn/
H A Dtxn.c83 * Initialize a transaction region in shared memory.
151 /* Join/create the txn region. */
169 /* Fill in region-related fields. */
170 tmgrp->region = tmgrp->reginfo.addr;
171 tmgrp->mem = &tmgrp->region[1];
174 tmgrp->region->maxtxns = maxtxns;
175 if ((ret = __txn_init(tmgrp->region)) != 0)
178 } else if (tmgrp->region->magic != DB_TXNMAGIC) {
179 /* Check if valid region. */
220 * Panic a transaction region
[all...]
/illumos-gate/usr/src/cmd/sendmail/db/include/
H A Dlock.h15 #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...]
H A Dtxn.h15 * 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...]
/illumos-gate/usr/src/lib/libast/common/disc/
H A Dmemfatal.c48 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/cmd/zic/
H A Dtzselect.ksh65 INFO_SELECT_CNTRY="Please select a country or region."
123 region=
281 # I18n region names
284 for region in $regions
287 iregion[c]=$region
289 iregion[c]=`${GETTEXT} ${DOMAIN2} $region`
291 oregion[c]="$region"
296 # If there's more than one region, ask the user which one.
311 region="${oregion[$c]}"
324 case $region i
[all...]
/illumos-gate/usr/src/lib/libast/common/misc/
H A Dsigcrit.c27 * 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/cmd/sendmail/db/lock/
H A Dlock_region.c65 /* Grab the values that we need to compute the region size. */
80 /* Join/create the lock region. */
100 /* Now set up the pointer to the region. */
101 lt->region = lt->reginfo.addr;
103 /* Initialize the region if we created it. */
105 lt->region->maxlocks = maxlocks;
106 lt->region->nmodes = lock_modes;
107 if ((ret = __lock_tabinit(dbenv, lt->region)) != 0)
110 /* Check for an unexpected region. */
111 if (lt->region
[all...]
H A Dlock.c53 if (lt->region->id >= DB_LOCK_MAXID)
54 lt->region->id = 0;
55 id = ++lt->region->id;
120 lt->region->nrequests++;
151 lt->region->nlockers--;
177 lt->region->nlockers--;
183 list[i].obj, sh_obj, lt->region->table_size,
198 lt->region->nreleases += lp->refcount;
208 lt->region->nreleases += lp->refcount;
213 SH_TAILQ_INSERT_HEAD(&lt->region
[all...]
H A Dlock_deadlock.c84 do_pass = dbenv->lk_info->region->need_dd != 0;
214 retry: count = lt->region->nlockers;
215 lt->region->need_dd = 0;
255 if (lt->region->nlockers > count) {
268 for (id = 0, i = 0; i < lt->region->table_size; i++)
278 for (i = 0; i < lt->region->table_size; i++) {
373 lt->region->need_dd = 0;
442 links, lockerp, lt->region->table_size, __lock_lhash);
443 SH_TAILQ_INSERT_HEAD(&lt->region->free_objs,
445 lt->region
[all...]
/illumos-gate/usr/src/lib/libcmd/common/
H A Dvmstate.c23 #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/cmd/sendmail/db/db/
H A Ddb_apprec.c218 dbenv->tx_info->region->last_ckp = ckp_lsn;
219 dbenv->tx_info->region->time_ckp = (u_int32_t)now;
222 dbenv->tx_info->region->last_txnid = TXN_MINIMUM;
230 (u_long)dbenv->tx_info->region->last_ckp.file,
231 (u_long)dbenv->tx_info->region->last_ckp.offset);
/illumos-gate/usr/src/uts/common/io/nxge/npi/
H A Dnpi_zcp.h110 #define IS_VALID_BAM_REGION(region)\
111 ((region == BAM_4BUF) || (region == BAM_8BUF) ||\
112 (region == BAM_16BUF) || (region == BAM_32BUF))
/illumos-gate/usr/src/boot/sys/boot/common/
H A Dmisc.c96 /* 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/uts/intel/io/drm/
H A Dradeon_mem.c228 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 Di915_mem.c41 * 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 Dradeon_io32.h147 int region; member in struct:drm_radeon_mem_alloc_32
H A Di915_drm.h44 /* Each region is a minimum of 16k, and there are at most 255 of them.
333 int region; member in struct:drm_i915_mem_alloc
340 int region; member in struct:drm_i915_mem_alloc32
347 int region; member in struct:drm_i915_mem_free
352 int region; member in struct:drm_i915_mem_init_heap
361 int region; member in struct:drm_i915_mem_destroy_heap
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dcharsets.c111 uint32_t index,region; local
115 __CFStringGetInstallationEncodingAndRegion(&index,&region);
121 if (region) /* anything nonzero is not US */
123 else /* US region */
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_error.c155 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/uts/common/io/nxge/
H A Dnxge_hio.c983 int i, region; local
1050 for (region = 0; region < NXGE_VR_SR_MAX; region++) {
1051 nhd->vr[region].region = region;
1419 if ((hv_rv = (*fp->assign)(vr->region, cookie, &vr->cookie))) {
1432 (nxge->niu_cfg_hdl, vr->region, cookie, &vr->cookie))) {
1576 shp = &nxge->shares[vr->region];
1874 int first, limit, region; local
1930 vr_region_t region; local
[all...]

Completed in 123 milliseconds

123