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

12

/osnet-11/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:__anon1135
50 void* handle; /* region handle arg */
H A Dhashdump.c147 if (root->local->region) sfprintf(sfstderr, "region=0x%08lx handle=0x%08lx ", (unsigned long)root->local->region, (unsigned long)root->local->handle);
/osnet-11/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...]
/osnet-11/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...]
/osnet-11/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);
/osnet-11/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...]
/osnet-11/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...]
/osnet-11/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);
/osnet-11/usr/src/lib/libcmd/common/
H A Dvmstate.c23 #define FORMAT "region=%(region)p method=%(method)s flags=%(flags)s 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]"
39 "[+size?The total region size.]"
40 "[+segments?The number of segments in the region.]"
60 Vmalloc_t* region[256]; member in struct:State_s
76 else if (streq(s, "region"))
142 if (state->regions < elementsof(state->region))
143 state->region[state->regions++] = vm;
185 * now we can compute and list the state of each region
[all...]
/osnet-11/usr/src/lib/libdtrace/common/
H A Ddt_error.c148 dt_set_errmsg(dtrace_hdl_t *dtp, const char *errtag, const char *region, argument
173 else if (region != NULL)
174 (void) snprintf(s, n, "in %s: ", region);
/osnet-11/usr/src/grub/grub2/include/grub/
H A Dgfxmenu_view.h56 const grub_video_rect_t *region);
/osnet-11/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Ddoupdate.c215 * 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...]
/osnet-11/usr/src/cmd/sendmail/db/xa/
H A Dxa.c199 td = (TXN_DETAIL *)((u_int8_t *)env->tx_info->region + off);
215 ((u_int8_t *)env->tx_info->region + env->xa_txn->off);
249 td = (TXN_DETAIL *)((u_int8_t *)env->tx_info->region + off);
264 * status in the shared region; it would have to be process local.
306 td = (TXN_DETAIL *)((u_int8_t *)env->tx_info->region + off);
358 td = (TXN_DETAIL *)((u_int8_t *)env->tx_info->region + off);
569 td = (TXN_DETAIL *)((u_int8_t *)env->tx_info->region + off);
H A Dxa_map.c120 tmr = dbenv->tx_info->region;
184 * "off" in the shared region.
198 td = (TXN_DETAIL *)((u_int8_t *)tm->region + off);
224 td = (TXN_DETAIL *)((u_int8_t *)env->tx_info->region + off);
/osnet-11/usr/src/grub/grub2/grub-core/gfxmenu/
H A Dgui_canvas.c80 canvas_paint (void *vself, const grub_video_rect_t *region) argument
139 if (grub_video_have_common_points (region, &r))
140 comp->ops->paint (comp, region);
H A Dview.c267 const grub_video_rect_t *region)
269 if (grub_video_have_common_points (&term_rect, region))
274 redraw_background (view, region);
276 view->canvas->component.ops->paint (view->canvas, region);
278 if (grub_video_have_common_points (&view->progress_message_frame, region))
266 grub_gfxmenu_view_redraw(grub_gfxmenu_view_t view, const grub_video_rect_t *region) argument
H A Dgui_circular_progress.c114 circprog_paint (void *vself, const grub_video_rect_t *region) argument
121 if (!grub_video_have_common_points (region, &self->bounds))
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Encode/KR/
H A DKR.pm61 The ASCII region (0x00-0x7f) is preserved for all encodings, even

Completed in 90 milliseconds

12