/titanic_41/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_41/usr/src/cmd/sendmail/db/txn/ |
H A D | txn.c | 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) { 229 dbenv->tx_info->region->hdr.panic = 1; 318 if (mgr->region->last_txnid == TXN_INVALID) { 337 SH_TAILQ_INSERT_HEAD(&mgr->region->active_txn, td, links, __txn_detail); 339 id = ++mgr->region->last_txnid; 340 ++mgr->region->nbegins; [all …]
|
/titanic_41/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->free_locks, [all …]
|
H A D | lock_region.c | 101 lt->region = lt->reginfo.addr; 105 lt->region->maxlocks = maxlocks; 106 lt->region->nmodes = lock_modes; 107 if ((ret = __lock_tabinit(dbenv, lt->region)) != 0) 111 if (lt->region->magic != DB_LOCKMAGIC) { 121 if (lt->region->detect != DB_LOCK_NORUN && 123 lt->region->detect != dbenv->lk_detect) { 129 if (lt->region->detect == DB_LOCK_NORUN) 130 lt->region->detect = dbenv->lk_detect; 134 lt->conflicts = (u_int8_t *)lt->region + sizeof(DB_LOCKREGION); [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->nlockers--; [all …]
|
/titanic_41/usr/src/cmd/sendmail/db/include/ |
H A D | lock.h | 27 if ((lt)->region->hdr.panic) \ 66 (void)__db_mutex_lock(&(lt)->region->hdr.lock, (lt)->reginfo.fd) 68 (void)__db_mutex_unlock(&(lt)->region->hdr.lock, (lt)->reginfo.fd) 113 DB_LOCKREGION *region; /* Address of shared memory region. */ member 121 T->conflicts[HELD * T->region->nmodes + WANTED] 167 ((struct __db_lock *)((u_int8_t *)((lt)->region) + (off))) 169 ((size_t)((u_int8_t *)(lock) - (u_int8_t *)lt->region)) 171 ((DB_LOCKOBJ *)((u_int8_t *)((lt)->region) + (off))) 173 ((size_t)((u_int8_t *)(obj) - (u_int8_t *)lt->region))
|
H A D | txn.h | 83 DB_TXNREGION *region; /* address of shared memory region */ member 127 (void)__db_mutex_lock(&(tmgrp)->region->hdr.lock, (tmgrp)->reginfo.fd) 129 (void)__db_mutex_unlock(&(tmgrp)->region->hdr.lock, (tmgrp)->reginfo.fd) 133 if ((tmgrp)->region->hdr.panic) \
|
/titanic_41/usr/src/cmd/zic/ |
H A D | tzselect.ksh | 284 for region in $regions 287 iregion[c]=$region 289 iregion[c]=`${GETTEXT} ${DOMAIN2} $region` 291 oregion[c]="$region" 311 region="${oregion[$c]}" 324 case $region in 328 region=$regions 335 -v region="$region" \ 399 case $country+$region in
|
/titanic_41/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_41/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))
|
H A D | npi_zcp.c | 209 npi_zcp_set_bam_region(npi_handle_t handle, zcp_buf_region_t region, in npi_zcp_set_bam_region() argument 213 ASSERT(IS_VALID_BAM_REGION(region)); in npi_zcp_set_bam_region() 214 if (!IS_VALID_BAM_REGION(region)) { in npi_zcp_set_bam_region() 218 region)); in npi_zcp_set_bam_region() 222 switch (region) { in npi_zcp_set_bam_region() 241 npi_zcp_set_dst_region(npi_handle_t handle, zcp_buf_region_t region, in npi_zcp_set_dst_region() argument 246 ASSERT(IS_VALID_BAM_REGION(region)); in npi_zcp_set_dst_region() 247 if (!IS_VALID_BAM_REGION(region)) { in npi_zcp_set_dst_region() 251 region)); in npi_zcp_set_dst_region() 264 switch (region) { in npi_zcp_set_dst_region()
|
/titanic_41/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_41/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_41/usr/src/uts/intel/io/drm/ |
H A D | i915_mem.c | 278 struct mem_block **get_heap(drm_i915_private_t * dev_priv, int region) in get_heap() argument 280 switch (region) { in get_heap() 307 alloc.region = alloc32.region; in i915_mem_alloc() 314 heap = get_heap(dev_priv, alloc.region); in i915_mem_alloc() 354 heap = get_heap(dev_priv, memfree.region); in i915_mem_free() 385 heap = get_heap(dev_priv, initheap.region); in i915_mem_init_heap() 412 heap = get_heap(dev_priv, destroyheap.region); in i915_mem_destroy_heap()
|
H A D | radeon_mem.c | 228 get_heap(drm_radeon_private_t *dev_priv, int region) in get_heap() argument 230 switch (region) { in get_heap() 260 alloc.region = alloc32.region; in radeon_mem_alloc() 271 heap = get_heap(dev_priv, alloc.region); in radeon_mem_alloc() 312 heap = get_heap(dev_priv, memfree.region); in radeon_mem_free() 343 heap = get_heap(dev_priv, initheap.region); in radeon_mem_init_heap()
|
H A D | i915_drm.h | 333 int region; member 340 int region; member 347 int region; member 352 int region; member 361 int region; member
|
/titanic_41/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | doupdate.c | 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.col + i + 1; in _writeRegion() 298 _deleteRegion(int row, LineRegion region) in _deleteRegion() argument 301 cchar_t *optr = &curscr->_line[row][region.col]; in _deleteRegion() 303 if ((region.size <= 1) || !parm_dch) { in _deleteRegion() 304 for (i = 0; i < region.size; i++) in _deleteRegion() 307 (void) TPUTS(tparm(parm_dch, (long)region.size, in _deleteRegion() [all …]
|
/titanic_41/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() 1578 shp->index = vr->region; in nxge_hio_share_alloc() 1709 rg->sindex = vr->region; in nxge_hio_share_add_group() 1745 rg->sindex = vr->region; in nxge_hio_share_add_group() 1874 int first, limit, region; in nxge_hio_vr_share() local [all …]
|
/titanic_41/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()
|
/titanic_41/usr/src/lib/libsmbfs/smb/ |
H A D | charsets.c | 111 uint32_t index,region; in get_windows_encoding_equivalent() local 115 __CFStringGetInstallationEncodingAndRegion(&index,®ion); in get_windows_encoding_equivalent() 121 if (region) /* anything nonzero is not US */ in get_windows_encoding_equivalent()
|
/titanic_41/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, in dt_set_errmsg() argument 180 else if (region != NULL) in dt_set_errmsg() 181 (void) snprintf(s, n, "in %s: ", region); in dt_set_errmsg()
|
/titanic_41/usr/src/cmd/sendmail/db/xa/ |
H A D | xa.c | 199 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); 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);
|