/titanic_51/usr/src/lib/libast/common/hash/ |
H A D | hashfree.c | 50 Hash_region_f region; in hashfree() local 63 if (region = tab->root->local->region) in hashfree() 79 if (region) (*region)(handle, p->name, 0, 0); in hashfree() 84 if (region) (*region)(handle, p, 0, 0); in hashfree() 96 if (region) (*region)(handle, tab->table, 0, 0); in hashfree() 100 else region = 0; in hashfree() 103 if (!region) in hashfree() 136 if (region) (*region)(handle, tab->root, 0, 0); in hashfree() 141 if (region) (*region)(handle, tab, 0, 0); in hashfree()
|
H A D | hashsize.c | 46 Hash_region_f region; in hashsize() local 51 if (region = tab->root->local->region) in hashsize() 54 new_s = (Hash_bucket_t**)(*region)(handle, NiL, sizeof(Hash_bucket_t*) * size, 0); in hashsize() 77 if (region) (*region)(handle, tab->table, 0, 0); in hashsize()
|
H A D | hashalloc.c | 50 Hash_region_f region = 0; in hashalloc() local 62 region = va_arg(ap, Hash_region_f); in hashalloc() 65 if (!(tab = (Hash_table_t*)(*region)(handle, NiL, sizeof(Hash_table_t), 0))) in hashalloc() 80 if (region) in hashalloc() 82 if (!(tab->root = (Hash_root_t*)(*region)(handle, NiL, sizeof(Hash_root_t), 0))) in hashalloc() 90 if (tab->root->local->region = region) in hashalloc() 170 if (region) in hashalloc() 172 …if (!(tab->table = (Hash_bucket_t**)(*region)(handle, NiL, sizeof(Hash_bucket_t*) * tab->size, 0))) in hashalloc() 184 if (!region) in hashalloc()
|
H A D | hashlook.c | 192 if (tab->root->local->region) (*tab->root->local->region)(tab->root->local->handle, b, 0, 0); in hashlook() 197 …if (tab->root->local->region) (*tab->root->local->region)(tab->root->local->handle, (char*)name, 0… in hashlook() 231 …if (!(t = tab->root->local->region ? (char*)(*tab->root->local->region)(tab->root->local->handle, … in hashlook() 239 …if (tab->root->local->region) (*tab->root->local->region)(tab->root->local->handle, (char*)name, 0… in hashlook() 307 if (tab->root->local->region) in hashlook() 309 if (!(b = (Hash_bucket_t*)(*tab->root->local->region)(tab->root->local->handle, NiL, n + m, 0))) in hashlook() 320 if (tab->root->local->region) in hashlook() 322 if (!(b = (Hash_bucket_t*)(*tab->root->local->region)(tab->root->local->handle, NiL, n, 0))) in hashlook()
|
/titanic_51/usr/src/contrib/ast/src/lib/libast/hash/ |
H A D | hashfree.c | 50 Hash_region_f region; in hashfree() local 63 if (region = tab->root->local->region) in hashfree() 79 if (region) (*region)(handle, p->name, 0, 0); in hashfree() 84 if (region) (*region)(handle, p, 0, 0); in hashfree() 96 if (region) (*region)(handle, tab->table, 0, 0); in hashfree() 100 else region in hashfree() [all...] |
H A D | hashsize.c | 46 Hash_region_f region; in hashsize() local 51 if (region = tab->root->local->region) in hashsize() 54 new_s = (Hash_bucket_t**)(*region)(handle, NiL, sizeof(Hash_bucket_t*) * size, 0); in hashsize() 77 if (region) (*region)(handle, tab->table, 0, 0); in hashsize()
|
H A D | hashalloc.c | 50 Hash_region_f region = 0; in hashalloc() local 62 region = va_arg(ap, Hash_region_f); in hashalloc() 65 if (!(tab = (Hash_table_t*)(*region)(handle, NiL, sizeof(Hash_table_t), 0))) in hashalloc() 80 if (region) in hashalloc() 82 if (!(tab->root = (Hash_root_t*)(*region)(handle, NiL, sizeof(Hash_root_t), 0))) in hashalloc() 90 if (tab->root->local->region = region) in hashalloc() 170 if (region) in hashalloc() 172 if (!(tab->table = (Hash_bucket_t**)(*region)(handle, NiL, sizeof(Hash_bucket_t*) * tab->size, 0))) in hashalloc() 184 if (!region) in hashalloc() [all...] |
H A D | hashlook.c | 192 if (tab->root->local->region) (*tab->root->local->region)(tab->root->local->handle, b, 0, 0); in hashlook() 197 if (tab->root->local->region) (*tab->root->local->region)(tab->root->local->handle, (char*)name, 0, 0); in hashlook() 231 if (!(t = tab->root->local->region ? (char*)(*tab->root->local->region)(tab->root->local->handle, NiL, m, 0) : (char*)malloc(m))) in hashlook() 239 if (tab->root->local->region) (*tab->root->local->region)(tab->root->local->handle, (char*)name, 0, 0); in hashlook() 307 if (tab->root->local->region) in hashlook() 309 if (!(b = (Hash_bucket_t*)(*tab->root->local->region)(ta in hashlook() [all...] |
/titanic_51/usr/src/cmd/sendmail/db/txn/ |
H A D | txn.c | 83 * 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...] |
/titanic_51/usr/src/cmd/sendmail/db/lock/ |
H A D | lock.c | 53 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(<->region [all...] |
H A D | lock_region.c | 65 /* 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 D | lock_deadlock.c | 84 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(<->region->free_objs, 445 lt->region [all...] |
/titanic_51/usr/src/cmd/sendmail/db/include/ |
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. */ global() member [all...] |
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 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...] |
/titanic_51/usr/src/cmd/zic/ |
H A D | tzselect.ksh | 65 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...] |
/titanic_51/usr/src/lib/libast/common/misc/ |
H A D | sigcrit.c | 99 static int region; in sigcritical() local 116 region = op; in sigcritical() 150 if (region & signals[i].op) in sigcritical() 182 if (region & signals[i].op) in sigcritical() 187 if (region & signals[i].op) in sigcritical()
|
/titanic_51/usr/src/contrib/ast/src/lib/libast/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; in sigcritical() local [all...] |
/titanic_51/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) in hexdump() argument 182 for (line = region; line < (region + len); line += 16) { in hexdump() 186 if ((line + x) < (region + len)) { in hexdump() 196 if ((line + x) < (region + len)) { in hexdump()
|
/titanic_51/usr/src/uts/common/io/nxge/npi/ |
H A D | npi_zcp.h | 110 #define IS_VALID_BAM_REGION(region)\ argument 111 ((region == BAM_4BUF) || (region == BAM_8BUF) ||\ 112 (region == BAM_16BUF) || (region == BAM_32BUF))
|
/titanic_51/usr/src/cmd/sendmail/db/db/ |
H A D | db_apprec.c | 218 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);
|
/titanic_51/usr/src/lib/libcmd/common/ |
H A D | vmstate.c | 58 Vmalloc_t* region[256]; member 109 if (state->regions < elementsof(state->region)) in visit() 110 state->region[state->regions++] = vm; in visit() 157 state.vm = state.region[i]; in b_vmstate()
|
/titanic_51/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. in _find_blank_tail() 258 * Send all the characters in the region to the terminal 261 _writeRegion(int row, LineRegion region) in _writeRegion() argument 266 cchar_t *optr = &curscr->_line[row][region.col]; in _writeRegion() 267 cchar_t *nptr = &newscr->_line[row][region.col]; in _writeRegion() 269 for (i = 0; i < region.size; i++, nptr++, optr++) { in _writeRegion() 290 curscr->_curx = region in _writeRegion() 298 _deleteRegion(int row,LineRegion region) _deleteRegion() argument [all...] |
/titanic_51/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | vmstate.c | 23 #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.]" 61 Vmalloc_t* region[256]; member 77 else if (streq(s, "region")) in key() 144 if (state->regions < elementsof(state->region)) in visit() 145 state->region[state->regions++] = vm; in visit() 187 * now we can compute and list the state of each region in b_vmstate() [all...] |
/titanic_51/usr/src/uts/common/io/nxge/ |
H A D | nxge_hio.c | 983 int i, region; in nxge_hio_init() local 1050 for (region = 0; region < NXGE_VR_SR_MAX; region++) { in nxge_hio_init() 1051 nhd->vr[region].region = region; in nxge_hio_init() 1419 if ((hv_rv = (*fp->assign)(vr->region, cookie, &vr->cookie))) { in nxge_hio_share_assign() 1432 (nxge->niu_cfg_hdl, vr->region, cookie, &vr->cookie))) { in nxge_hio_share_assign() 1576 shp = &nxge->shares[vr->region]; in nxge_hio_share_alloc() 1874 int first, limit, region; nxge_hio_vr_share() local 1930 vr_region_t region; nxge_hio_unshare() local [all...] |
/titanic_51/usr/src/lib/libast/common/disc/ |
H A D | memfatal.c | 48 nomalloc(Vmalloc_t* region, int type, void* obj, Vmdisc_t* disc) in nomalloc() argument 59 vmstat(region, &st); in nomalloc()
|