/titanic_51/usr/src/cmd/sendmail/db/btree/ |
H A D | bt_search.c | 84 db_indx_t base, i, indx, lim; local 155 indx = base + ((lim >> 1) * jump); 157 __bam_cmp(dbp, key, h, indx, t->bt_compare)) == 0) { 163 base = indx + jump; 199 indx = base > 0 ? base - O_INDX : base; 203 * all the record numbers on this page up to the indx point. 206 for (i = 0; i < indx; ++i) 209 next: pg = GET_BINTERNAL(h, indx)->pgno; 213 BT_STK_ENTER(cp, h, indx, lock, ret); 216 BT_STK_PUSH(cp, h, indx, loc [all...] |
H A D | bt_put.c | 91 db_indx_t indx, nbytes; local 100 indx = *indxp; 155 __bam_partsize(data, h, indx) : data->size; 176 indx + (TYPE(h) == P_LBTREE ? O_INDX : 0)); 211 &tdbt, h, indx, data_size, flags)) != 0) 229 indx += 2; 240 if ((ret = __bam_ovput(dbc, h, indx, key)) != 0) 243 if ((ret = __db_pitem(dbc, h, indx, 246 ++indx; 256 h, indx 372 __bam_partsize(data,h,indx) __bam_partsize() argument 420 OVPUT(h,indx,bo) global() argument 435 __bam_ovput(dbc,h,indx,item) __bam_ovput() argument 463 __bam_ritem(dbc,h,indx,data) __bam_ritem() argument 567 __bam_ndup(dbc,h,indx) __bam_ndup() argument 716 __bam_partial(dbc,dbt,h,indx,nbytes,flags) __bam_partial() argument [all...] |
H A D | bt_cursor.c | 64 (cp)->indx + O_INDX)->type)) || \ 70 #define IS_DELETED(cp, indx) \ argument 72 B_DISSET(GET_BKEYDATA((cp)->page, (indx) + O_INDX)->type)) || \ 74 B_DISSET(GET_BKEYDATA((cp)->page, (indx))->type))) 88 ((cursor)->indx == (saved_copy).indx || \ 91 (cursor)->page->inp[(cursor)->indx] == \ 92 (cursor)->page->inp[(saved_copy).indx]))) 106 cp->indx = 0; 240 db_indx_t indx; local 763 db_indx_t indx; global() local 1171 db_indx_t adjust, indx; global() local 1284 db_indx_t indx, adjust; global() local 1402 db_indx_t indx; global() local 1577 __bam_dup(dbc,cp,indx,last_dup) __bam_dup() argument 1639 db_indx_t indx; global() local [all...] |
H A D | bt_rsearch.c | 77 db_indx_t indx, top; local 204 for (indx = 0, top = NUM_ENT(h);;) { 205 bi = GET_BINTERNAL(h, indx); 206 if (++indx == top || total + bi->nrecs >= recno) 220 for (indx = 0, top = NUM_ENT(h);;) { 221 ri = GET_RINTERNAL(h, indx); 222 if (++indx == top || total + ri->nrecs >= recno) 231 --indx; 236 BT_STK_ENTER(cp, h, indx, lock, ret); 239 BT_STK_PUSH(cp, h, indx, loc 365 db_indx_t indx, top; global() local [all...] |
H A D | bt_delete.c | 141 __bam_ditem(dbc, h, indx) in __bam_ditem() argument 144 u_int32_t indx; 157 bi = GET_BINTERNAL(h, indx); 184 if ((indx % 2) == 0) { 188 * data item, otherwise the "indx + P_INDX" calculation 191 if (indx + P_INDX < (u_int32_t)NUM_ENT(h) && 192 h->inp[indx] == h->inp[indx + P_INDX]) 194 h, indx, indx 249 __bam_adjindx(dbc,h,indx,indx_copy,is_insert) __bam_adjindx() argument [all...] |
H A D | bt_curadj.c | 46 (u_int)dbc, (u_int)cp, (u_long)cp->pgno, (u_long)cp->indx, 66 __bam_ca_delete(dbp, pgno, indx, delete) in __bam_ca_delete() argument 69 u_int32_t indx; 96 if ((cp->pgno == pgno && cp->indx == indx) || 97 (cp->dpgno == pgno && cp->dindx == indx)) { 117 __bam_ca_di(dbp, pgno, indx, adjust) in __bam_ca_di() argument 120 u_int32_t indx; 137 if (cp->pgno == pgno && cp->indx >= indx) [all...] |
H A D | btree_auto.c | 359 fileid, left, llsn, right, rlsn, indx, in __bam_split_log() argument 370 u_int32_t indx; 395 + sizeof(indx) 425 memcpy(bp, &indx, sizeof(indx)); 426 bp += sizeof(indx); 494 printf("\tindx: %lu\n", (u_long)argp->indx); 546 memcpy(&argp->indx, bp, sizeof(argp->indx)); 547 bp += sizeof(argp->indx); 763 __bam_adj_log(logp,txnid,ret_lsnp,flags,fileid,pgno,lsn,indx,indx_copy,is_insert) __bam_adj_log() argument 922 __bam_cadjust_log(logp,txnid,ret_lsnp,flags,fileid,pgno,lsn,indx,adjust,total) __bam_cadjust_log() argument 1080 __bam_cdel_log(logp,txnid,ret_lsnp,flags,fileid,pgno,lsn,indx) __bam_cdel_log() argument 1226 __bam_repl_log(logp,txnid,ret_lsnp,flags,fileid,pgno,lsn,indx,isdeleted,orig,repl,prefix,suffix) __bam_repl_log() argument [all...] |
H A D | bt_compare.c | 71 __bam_cmp(dbp, dbt, h, indx, func) in __bam_cmp() argument 75 u_int32_t indx; 98 bk = GET_BKEYDATA(h, indx); 114 if (indx == 0 && h->prev_pgno == PGNO_INVALID) 117 bi = GET_BINTERNAL(h, indx);
|
H A D | bt_rec.c | 332 if ((ret = __bam_copy(file_dbp, sp, _lp, 0, argp->indx)) != 0 || 333 (ret = __bam_copy(file_dbp, sp, _rp, argp->indx, 632 pagep, argp->indx, argp->indx_copy, argp->is_insert)) != 0) 640 pagep, argp->indx, argp->indx_copy, !argp->is_insert)) != 0) 699 GET_BINTERNAL(pagep, argp->indx)->nrecs += argp->adjust; 704 GET_RINTERNAL(pagep, argp->indx)->nrecs += argp->adjust; 715 GET_BINTERNAL(pagep, argp->indx)->nrecs -= argp->adjust; 720 GET_RINTERNAL(pagep, argp->indx)->nrecs -= argp->adjust; 775 B_DSET(GET_BKEYDATA(pagep, argp->indx)->type); 777 B_DSET(GET_BKEYDATA(pagep, argp->indx [all...] |
H A D | bt_recno.c | 251 db_indx_t indx; local 286 indx = cp->csp->indx; 299 if (B_DISSET(GET_BKEYDATA(h, indx)->type)) { 306 if ((ret = __bam_ditem(dbc, h, indx)) != 0) 321 if ((ret = __bam_ditem(dbc, h, indx)) != 0) 333 h, indx, BKEYDATA_SIZE(0), &hdr, &data)) != 0) 537 db_indx_t indx; local 639 indx = cp->csp->indx; 1275 db_indx_t indx; global() local [all...] |
/titanic_51/usr/src/cmd/sendmail/db/include/ |
H A D | db_page.h | 222 #define P_ENTRY(pg, indx) ((u_int8_t *)pg + ((PAGE *)pg)->inp[indx]) argument 268 #define HPAGE_TYPE(pg, indx) (*P_ENTRY(pg, indx)) argument 295 * The length of any HKEYDATA item. Note that indx is an element index, 298 #define LEN_HITEM(pg, pgsize, indx) \ argument 299 (((indx) == 0 ? pgsize : pg->inp[indx - 1]) - pg->inp[indx]) 301 #define LEN_HKEYDATA(pg, psize, indx) \ argument 410 GET_BKEYDATA(pg,indx) global() argument 435 GET_BOVERFLOW(pg,indx) global() argument 473 GET_BINTERNAL(pg,indx) global() argument 501 GET_RINTERNAL(pg,indx) global() argument [all...] |
H A D | btree_auto.h | 53 u_int32_t indx; member 84 u_int32_t indx; member 99 u_int32_t indx; member 114 u_int32_t indx; member 127 u_int32_t indx; member
|
/titanic_51/usr/src/cmd/sendmail/db/db/ |
H A D | db_dup.c | 93 * Now, pagep references the page on which to insert and indx is the 112 __db_drem(dbc, pp, indx, freefunc) in __db_drem() argument 115 u_int32_t indx; 124 if (B_TYPE(GET_BKEYDATA(pagep, indx)->type) == B_OVERFLOW) { 126 GET_BOVERFLOW(pagep, indx)->pgno, freefunc)) != 0) 128 ret = __db_ditem(dbc, pagep, indx, BOVERFLOW_SIZE); 130 ret = __db_ditem(dbc, pagep, indx, 131 BKEYDATA_SIZE(GET_BKEYDATA(pagep, indx)->len)); 220 db_indx_t halfbytes, i, indx, lastsum, nindex, oindex, s, sum; local 224 indx 393 __db_ditem(dbc,pagep,indx,nbytes) __db_ditem() argument 459 __db_pitem(dbc,pagep,indx,nbytes,hdr,data) __db_pitem() argument 755 db_indx_t base, indx, lim, save_indx; global() local [all...] |
H A D | db_ret.c | 34 __db_ret(dbp, h, indx, dbt, memp, memsize) in __db_ret() argument 37 u_int32_t indx; 51 hk = P_ENTRY(h, indx); 57 len = LEN_HKEYDATA(h, dbp->pgsize, indx); 63 bk = GET_BKEYDATA(h, indx);
|
/titanic_51/usr/src/cmd/fs.d/nfs/mountd/ |
H A D | hashset.c | 190 uint_t indx = hash % h->h_tableSize; in h_put() local 193 for (e = h->h_table[indx]; e; e = e->e_next) in h_put() 200 indx = hash % h->h_tableSize; in h_put() 206 e->e_next = h->h_table[indx]; in h_put() 208 h->h_table[indx] = e; in h_put() 226 uint_t indx = hash % h->h_tableSize; in h_delete() local 229 for (e = h->h_table[indx], prev = NULL; e; prev = e, e = e->e_next) { in h_delete() 235 h->h_table[indx] = e->e_next; in h_delete()
|
/titanic_51/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/ |
H A D | btree.h | 144 /* Get the page's BINTERNAL structure at index indx. */ 145 #define GETBINTERNAL(pg, indx) \ argument 146 ((BINTERNAL *)((char *)(pg) + (pg)->linp[indx])) 171 /* Get the page's RINTERNAL structure at index indx. */ 172 #define GETRINTERNAL(pg, indx) \ argument 173 ((RINTERNAL *)((char *)(pg) + (pg)->linp[indx])) 194 /* Get the page's BLEAF structure at index indx. */ 195 #define GETBLEAF(pg, indx) \ argument 196 ((BLEAF *)((char *)(pg) + (pg)->linp[indx])) 226 /* Get the page's RLEAF structure at index indx 227 GETRLEAF(pg,indx) global() argument [all...] |
/titanic_51/usr/src/cmd/svr4pkg/installf/ |
H A D | dofinal.c | 60 int n, indx, dbchg; in dofinal() local 66 indx = 0; in dofinal() 68 while (extlist && extlist[indx] && (extlist[indx]->cf_ent.ftype == 'i')) in dofinal() 69 indx++; in dofinal()
|
/titanic_51/usr/src/uts/common/io/audio/impl/ |
H A D | audio_ctrl.c | 47 int indx; in audio_control_freenames() local 53 for (indx = 0; indx < 64; indx++) { in audio_control_freenames() 54 if (ctrl->ctrl_enum[indx] != NULL) { in audio_control_freenames() 55 strfree((char *)ctrl->ctrl_enum[indx]); in audio_control_freenames() 56 ctrl->ctrl_enum[indx] = NULL; in audio_control_freenames()
|
/titanic_51/usr/src/uts/common/io/ib/adapters/tavor/ |
H A D | tavor_stats.c | 386 uint_t numports, indx; in tavor_kstat_cntr_update() local 431 indx = pcr & TAVOR_CNTR_MASK; in tavor_kstat_cntr_update() 442 offset = ib_perf[indx].ks_reg_offset; in tavor_kstat_cntr_update() 443 shift = ib_perf[indx].ks_reg_shift; in tavor_kstat_cntr_update() 444 mask = ib_perf[indx].ks_reg_mask; in tavor_kstat_cntr_update() 445 oldval = ib_perf[indx].ks_old_pic0; in tavor_kstat_cntr_update() 452 ib_perf[indx].ks_old_pic0 = tmp; in tavor_kstat_cntr_update() 464 indx = pcr >> TAVOR_CNTR_SIZE; in tavor_kstat_cntr_update() 465 offset = ib_perf[indx].ks_reg_offset; in tavor_kstat_cntr_update() 466 shift = ib_perf[indx] in tavor_kstat_cntr_update() [all...] |
H A D | tavor_misc.c | 64 tavor_hw_mcg_t *mcg_entry, uint_t indx); 693 tnf_uint, indx, end_indx); in tavor_mcg_attach() 752 tnf_uint, indx, end_indx); in tavor_mcg_attach() 795 tnf_uint, indx, end_indx); in tavor_mcg_attach() 899 tnf_uint, indx, rsrc->tr_indx); in tavor_mcg_attach() 926 tnf_uint, indx, end_indx); in tavor_mcg_attach() 955 tnf_uint, indx, end_indx); in tavor_mcg_attach() 1087 tnf_uint, indx, end_indx); in tavor_mcg_detach() 1151 tnf_uint, indx, end_indx); in tavor_mcg_detach() 1450 tnf_uint, indx, next_ind in tavor_mcg_hash_list_remove() 1584 tavor_mcg_entry_invalidate(tavor_state_t * state,tavor_hw_mcg_t * mcg_entry,uint_t indx) tavor_mcg_entry_invalidate() argument 1837 int i, j, indx, status; tavor_port_query() local [all...] |
/titanic_51/usr/src/lib/iconv_modules/hi_IN/ |
H A D | iscii91%UTF-8.c | 68 int indx = iscii - FIRST_CHAR; in get_nukta() local 71 return ((indx >= 0) ? iscii_nukta[indx] : 0 ); in get_nukta() 77 int indx = iscii - FIRST_CHAR; in get_EXT() local 80 return ((indx >= 0) ? iscii_EXT[indx] : 0 ); in get_EXT()
|
/titanic_51/usr/src/lib/libsmbfs/smb/ |
H A D | ssp.c | 91 int indx, rc; in ssp_ctx_create_client() local 123 spnego_mech_oid_Kerberos_V5, &indx)) in ssp_ctx_create_client() 126 spnego_mech_oid_Kerberos_V5_Legacy, &indx)) in ssp_ctx_create_client() 148 spnego_mech_oid_NTLMSSP, &indx)) { in ssp_ctx_create_client()
|
/titanic_51/usr/src/cmd/tsol/tnd/ |
H A D | tnd.c | 83 static int is_better_match(in_addr_t newaddr, int indx, tnrh_tlb_t *tlbt); 85 int indx, tnd_tnrhdb_t *src); 97 int indx, tnd_tnrhdb_t *src); 1169 add_cache_entry(in_addr_t addr, char *name, int indx, in add_cache_entry() argument 1187 tlbt->masklen_used = indx; in add_cache_entry() 1222 add_cache_entry_v6(in6_addr_t addr, char *name, int indx, in add_cache_entry_v6() argument 1239 tlbt->masklen_used = indx; in add_cache_entry_v6() 1391 is_better_match(in_addr_t newaddr, int indx, tnrh_tlb_t *tlbt) in is_better_match() argument 1393 if (tlbt->masklen_used <= indx) { in is_better_match() 1394 in_addr_t tmpmask = rh_index_to_mask(indx); in is_better_match() 1410 walk_cache_table(in_addr_t newaddr,char * name,int indx,tnd_tnrhdb_t * src) walk_cache_table() argument 1452 is_better_match_v6(in6_addr_t newaddr,int indx,tnrh_tlb_ipv6_t * tlbt) is_better_match_v6() argument 1473 walk_cache_table_v6(in6_addr_t newaddr,char * name,int indx,tnd_tnrhdb_t * src) walk_cache_table_v6() argument [all...] |
/titanic_51/usr/src/uts/common/io/ib/adapters/hermon/ |
H A D | hermon_stats.c | 346 uint_t numports, indx; in hermon_kstat_cntr_update() local 390 indx = pcr & HERMON_CNTR_MASK; in hermon_kstat_cntr_update() 401 oldval = ib_perf[indx].ks_old_pic0; in hermon_kstat_cntr_update() 408 switch (indx) { in hermon_kstat_cntr_update() 464 ib_perf[indx].ks_old_pic0 = tmp; in hermon_kstat_cntr_update() 476 indx = pcr >> HERMON_CNTR_SIZE; in hermon_kstat_cntr_update() 477 oldval = ib_perf[indx].ks_old_pic1; in hermon_kstat_cntr_update() 484 switch (indx) { in hermon_kstat_cntr_update() 540 ib_perf[indx].ks_old_pic1 = tmp; in hermon_kstat_cntr_update()
|
/titanic_51/usr/src/uts/intel/io/dktp/hba/ghd/ |
H A D | ghd_timer.c | 736 int indx; in ghd_timer_init() local 755 for (indx = 0; indx < ghd_ntime_inits; indx++) { in ghd_timer_init() 759 if (!ghd_time_inits[indx].valid) in ghd_timer_init() 761 state = ghd_time_inits[indx].state; in ghd_timer_init() 762 value = ghd_time_inits[indx].value; in ghd_timer_init()
|