Searched refs:ndx (Results 1 - 21 of 21) sorted by relevance

/osnet-11/usr/src/cmd/sendmail/db/log/
H A Dlog_rec.c167 * entry in the dbentry table for this ndx.
222 __log_do_open(lp, uid, name, ftype, ndx)
227 u_int32_t ndx;
246 (void)__log_add_logid(lp, dbp, name, ndx);
258 __log_add_logid(logp, dbp, name, ndx)
262 u_int32_t ndx;
272 * Check if we need to grow the table. Note, ndx is 0-based (the
276 if (logp->dbentry_cnt <= ndx) {
278 (ndx + DB_GROW_SIZE) * sizeof(DB_ENTRY))) != 0)
282 for (i = logp->dbentry_cnt; i < ndx
[all...]
/osnet-11/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/
H A Dhash_bigkey.c146 __big_delete(HTAB *hashp, PAGE16 *pagep, indx_t ndx) argument
148 __big_delete(hashp, pagep, ndx)
151 u_int32_t ndx; /* Index of big pair on base page. */
157 pagep = __get_page(hashp, OADDR_TO_PAGE(DATA_OFF(pagep, ndx)), A_RAW);
262 __big_keydata(hashp, pagep, key, val, ndx)
266 int32_t ndx;
273 __get_page(hashp, OADDR_TO_PAGE(DATA_OFF(pagep, ndx)), A_RAW);
289 * Return the big key on page, ndx.
293 __get_bigkey(HTAB *hashp, PAGE16 *pagep, indx_t ndx, DBT *key) argument
295 __get_bigkey(hashp, pagep, ndx, ke
[all...]
H A Dhash_page.c112 cursorp->ndx = 0;
162 item_info->ndx = cursorp->ndx;
180 cursorp->ndx = 0;
228 cursorp->ndx++;
315 indx_t ndx; local
321 ndx = cursorp->pgndx;
330 --ndx;
337 if (KEY_OFF(pagep, ndx) == BIGPAIR) {
339 __big_delete(hashp, pagep, ndx);
744 __add_bigpage(HTAB * hashp, PAGE16 * pagep, indx_t ndx, const u_int8_t is_basepage) argument
1316 u_int16_t addr, ndx; local
[all...]
H A Dhash.h55 indx_t ndx; member in struct:cursor_t
174 indx_t ndx; member in struct:item_info
H A Dhash.c844 new_curs->ndx = 0;
915 cursorp->ndx = cursorp->pgndx = 0;
/osnet-11/usr/src/cmd/sendmail/db/db/
H A Ddb_dispatch.c148 __db_add_recovery(dbenv, func, ndx)
151 u_int32_t ndx;
159 if (ndx >= dispatch_size) {
169 dispatch_table[ndx] = func;
/osnet-11/usr/src/lib/libdtrace/common/
H A Ddt_aggregate.c374 size_t size, old_size, new_size, ndx; local
406 ndx = moving->dtahe_hashval % new_size;
407 if (new_hash.dtah_hash[ndx] != NULL)
408 new_hash.dtah_hash[ndx]->dtahe_prev = moving;
409 moving->dtahe_next = new_hash.dtah_hash[ndx];
410 new_hash.dtah_hash[ndx] = moving;
434 size_t offs, roffs, size, ndx; local
546 ndx = hashval % dtrace_ahashsize[hash->dtah_sizendx];
548 for (h = hash->dtah_hash[ndx]; h != NULL; h = h->dtahe_next) {
689 ndx
797 int ndx = i + keypos; local
1220 size_t ndx = h->dtahe_hashval % hash->dtah_size; local
1485 int ndx = i + sortpos; local
1534 int ndx; local
1842 int ndx = j - sortpos; local
[all...]
H A Ddt_handle.c142 #define DT_REC(type, ndx) *((type *)((uintptr_t)data->dtpda_data + \
143 epd->dtepd_rec[(ndx)].dtrd_offset))
H A Ddt_link.c1014 int fd, i, ndx, eprobe, mod = 0; local
1322 ndx = GELF_R_SYM(rela.r_info);
1324 if (gelf_getsym(data_sym, ndx, &rsym) == NULL ||
1441 (void) gelf_update_sym(data_sym, ndx, &rsym);
/osnet-11/usr/src/cmd/sendmail/db/hash/
H A Dhash_page.c557 __ham_reputpair(p, psize, ndx, key, data)
559 u_int32_t psize, ndx;
567 (ndx == 0 ? psize : p->inp[H_DATAINDEX(ndx - 1)]) - HOFFSET(p);
579 if (i == H_KEYINDEX(ndx))
584 p->inp[H_KEYINDEX(ndx)] =
585 (ndx == 0 ? psize : p->inp[H_DATAINDEX(ndx - 1)]) - key->size;
586 p->inp[H_DATAINDEX(ndx)] = p->inp[H_KEYINDEX(ndx)]
610 db_indx_t ndx; local
[all...]
H A Dhash_dup.c120 * hcp->dndx is the first free ndx or the index of the
563 __ham_move_offpage(dbc, pagep, ndx, pgno)
566 u_int32_t ndx;
589 old_dbt.data = P_ENTRY(pagep, ndx);
590 old_dbt.size = LEN_HITEM(pagep, hcp->hdr->pagesize, ndx);
593 PGNO(pagep), (u_int32_t)ndx, &LSN(pagep), -1,
598 LEN_HITEM(pagep, hcp->hdr->pagesize, ndx) - HOFFDUP_SIZE;
603 memmove(src + shrink, src, pagep->inp[ndx] - HOFFSET(pagep));
607 for (i = ndx; i < NUM_ENT(pagep); i++)
612 memcpy(P_ENTRY(pagep, ndx),
[all...]
H A Dhash_auto.c24 opcode, fileid, pgno, ndx, pagelsn, key,
33 u_int32_t ndx;
56 + sizeof(ndx)
76 memcpy(bp, &ndx, sizeof(ndx));
77 bp += sizeof(ndx);
149 printf("\tndx: %lu\n", (u_long)argp->ndx);
205 memcpy(&argp->ndx, bp, sizeof(argp->ndx));
206 bp += sizeof(argp->ndx);
[all...]
H A Dhash_rec.c140 argp->ndx == (u_int32_t)H_NUMPAIRS(pagep)) {
149 argp->ndx, &argp->key, &argp->data);
158 __ham_dpair(file_dbp, pagep, argp->ndx);
437 file_dbp->pgsize, argp->ndx, argp->off, grow, &dbt);
439 hk = P_ENTRY(pagep, argp->ndx);
H A Dhash.c906 db_indx_t ndx; local
916 ndx = H_DATAINDEX(hcp->bndx);
917 type = HPAGE_TYPE(hcp->pagep, ndx);
961 memcpy(&pgno, HOFFDUP_PGNO(P_ENTRY(hcp->pagep, ndx)),
1027 ndx = hcp->dndx;
1063 * Finally, if we had a duplicate, pp, ndx, and myval should be
1066 if ((ret = __db_ret(dbp, pp, ndx, myval, &dbc->rdata.data,
1112 * Given a key and a cursor, sets the cursor to the page/ndx on which
/osnet-11/usr/src/lib/libproc/common/
H A DPsymtab_machelf32.c605 uint_t htmp, ndx; local
630 if (Pread(P, &ndx, sizeof (ndx), (uintptr_t)hash) !=
631 sizeof (ndx)) {
636 while (ndx) {
638 (uintptr_t)&symtabptr[ndx]) != sizeof (sym)) {
640 (long)&symtabptr[ndx]);
655 hash = &((uint_t *)hptr)[2 + hnbuckets + ndx];
656 if (Pread(P, &ndx, sizeof (ndx), (uintptr_
[all...]
H A DPsymtab.c1490 symtab_getsym(sym_tbl_t *symtab, int ndx, GElf_Sym *dst) argument
1493 if (ndx >= symtab->sym_symn_aux) {
1495 ndx - symtab->sym_symn_aux, dst));
1499 return (gelf_getsym(symtab->sym_data_aux, ndx, dst));
2808 uint_t *map, i, count, ndx; local
2864 ndx = map == NULL ? i : map[i];
2865 if (symtab_getsym(symtab, ndx, &sym) != NULL) {
2906 si.prs_id = ndx;
H A DPgcore.c924 int i, ndx; local
940 if ((ndx = s->sst_ndx[i]) != 0 || i == STR_NONE) {
943 if (pwrite64(pgc->pgc_fd, str, len, off + ndx) != len)
/osnet-11/usr/src/cmd/sendmail/db/include/
H A Dhash_auto.h22 u_int32_t ndx; member in struct:_ham_insdel_args
82 u_int32_t ndx; member in struct:_ham_replace_args
/osnet-11/usr/src/lib/abi/apptrace/common/
H A Dapptrace.c489 uint_t ndx; local
538 for (ndx = 0; (str = spec_sym[ndx]) != NULL; ndx++) {
/osnet-11/usr/src/cmd/sendmail/db/txn/
H A Dtxn.c928 u_int32_t nactive, ndx; local
961 ndx = 0;
965 stats->st_txnarray[ndx].txnid = txnp->txnid;
966 stats->st_txnarray[ndx].lsn = txnp->begin_lsn;
967 ndx++;
969 if (ndx >= stats->st_nactive)
/osnet-11/usr/src/lib/krb5/kdb/
H A Dkdb5.c342 int ndx; local
370 ndx = 0;
372 while (profpath[ndx] != NULL)
373 ndx++;
375 path = calloc(ndx + db_dl_n_locations, sizeof (char *));
380 if (ndx)
381 memcpy(path, profpath, ndx * sizeof(profpath[0]));
382 memcpy(path + ndx, db_dl_location, db_dl_n_locations * sizeof(char *));

Completed in 285 milliseconds