Home
last modified time | relevance | path

Searched refs:indx (Results 1 – 25 of 75) sorted by relevance

123

/titanic_41/usr/src/cmd/sendmail/db/btree/
H A Dbt_search.c84 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;
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, lock, ret);
254 *recnop = recno + (indx / P_INDX) + 1;
[all …]
H A Dbt_put.c91 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 + P_INDX, indx, 1)) != 0)
[all …]
H A Dbt_cursor.c64 (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
291 indx = cp->indx;
[all …]
H A Dbt_rsearch.c77 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, lock, ret);
[all …]
H A Dbt_delete.c141 __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) {
191 if (indx + P_INDX < (u_int32_t)NUM_ENT(h) &&
192 h->inp[indx] == h->inp[indx + P_INDX])
194 h, indx, indx + O_INDX, 0));
200 if (indx > 0 && h->inp[indx] == h->inp[indx - P_INDX])
202 h, indx, indx - P_INDX, 0));
206 bk = GET_BKEYDATA(h, indx);
[all …]
H A Dbt_curadj.c46 (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)
138 cp->indx += adjust;
139 if (cp->dpgno == pgno && cp->dindx >= indx)
[all …]
H A Dbtree_auto.c359 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 fileid, pgno, lsn, indx, indx_copy, is_insert) in __bam_adj_log() argument
771 u_int32_t indx;
[all …]
H A Dbt_compare.c71 __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 Dbt_rec.c332 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 + O_INDX)->type);
[all …]
H A Dbt_recno.c251 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;
649 if (B_DISSET(GET_BKEYDATA(h, indx)->type)) {
660 h, indx, data, &dbc->rdata.data, &dbc->rdata.ulen)) != 0)
[all …]
/titanic_41/usr/src/cmd/sendmail/db/include/
H A Ddb_page.h222 #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
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
302 (((indx) == 0 ? psize : pg->inp[indx - 1]) - \
303 pg->inp[indx] - HKEYDATA_SIZE(0))
410 #define GET_BKEYDATA(pg, indx) \ argument
411 ((BKEYDATA *)P_ENTRY(pg, indx))
435 #define GET_BOVERFLOW(pg, indx) \ argument
[all …]
H A Dbtree_auto.h53 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_41/usr/src/cmd/sendmail/db/db/
H A Ddb_dup.c112 __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 = *indxp;
248 if (i == indx) {
[all …]
H A Ddb_ret.c34 __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_41/usr/src/cmd/fs.d/nfs/mountd/
H A Dhashset.c190 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_41/usr/src/lib/krb5/plugins/kdb/db2/libdb2/btree/
H A Dbtree.h145 #define GETBINTERNAL(pg, indx) \ argument
146 ((BINTERNAL *)((char *)(pg) + (pg)->linp[indx]))
172 #define GETRINTERNAL(pg, indx) \ argument
173 ((RINTERNAL *)((char *)(pg) + (pg)->linp[indx]))
195 #define GETBLEAF(pg, indx) \ argument
196 ((BLEAF *)((char *)(pg) + (pg)->linp[indx]))
227 #define GETRLEAF(pg, indx) \ argument
228 ((RLEAF *)((char *)(pg) + (pg)->linp[indx]))
/titanic_41/usr/src/cmd/svr4pkg/installf/
H A Ddofinal.c60 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_41/usr/src/uts/common/io/audio/impl/
H A Daudio_ctrl.c47 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_41/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_stats.c386 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].ks_reg_shift; in tavor_kstat_cntr_update()
[all …]
H A Dtavor_misc.c64 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_indx); in tavor_mcg_hash_list_remove()
[all …]
H A Dtavor_agents.c417 int i, j, indx; in tavor_agent_list_init() local
470 indx = 0; in tavor_agent_list_init()
473 curr = &state->ts_agents[indx]; in tavor_agent_list_init()
480 indx++; in tavor_agent_list_init()
484 indx++; in tavor_agent_list_init()
488 indx++; in tavor_agent_list_init()
/titanic_41/usr/src/lib/libsmbfs/smb/
H A Dssp.c91 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_41/usr/src/cmd/tsol/tnd/
H A Dtnd.c83 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()
[all …]
/titanic_41/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_stats.c346 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_41/usr/src/uts/intel/io/dktp/hba/ghd/
H A Dghd_timer.c736 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()

123