Home
last modified time | relevance | path

Searched refs:nrecs (Results 1 – 13 of 13) sorted by relevance

/NextBSD/contrib/tcpdump/
HDprint-cnfp.c162 int nrecs, ver; in cnfp_v1_print() local
171 nrecs = EXTRACT_32BITS(&nh->count); in cnfp_v1_print()
188 ND_PRINT((ndo, "%2u recs", nrecs)); in cnfp_v1_print()
190 for (; nrecs != 0; nr++, nrecs--) { in cnfp_v1_print()
252 int nrecs, ver; in cnfp_v5_print() local
261 nrecs = EXTRACT_32BITS(&nh->count); in cnfp_v5_print()
279 ND_PRINT((ndo, "%2u recs", nrecs)); in cnfp_v5_print()
281 for (; nrecs != 0; nr++, nrecs--) { in cnfp_v5_print()
349 int nrecs, ver; in cnfp_v6_print() local
358 nrecs = EXTRACT_32BITS(&nh->count); in cnfp_v6_print()
[all …]
/NextBSD/lib/libc/db/recno/
HDrec_search.c84 if (++idx == top || total + r->nrecs > recno) in __rec_search()
86 total += r->nrecs; in __rec_search()
94 --GETRINTERNAL(h, (idx - 1))->nrecs; in __rec_search()
98 ++GETRINTERNAL(h, (idx - 1))->nrecs; in __rec_search()
114 --GETRINTERNAL(h, parent->index)->nrecs; in __rec_search()
116 ++GETRINTERNAL(h, parent->index)->nrecs; in __rec_search()
/NextBSD/cddl/contrib/opensolaris/lib/libdtrace/common/
HDdt_printf.c1253 uint_t nrecs, const void *buf, size_t len, int *ip) in dt_printf_getint() argument
1257 if (nrecs == 0) in dt_printf_getint()
1342 const dtrace_recdesc_t *recs, uint_t nrecs, const void *buf, in dt_printf_format() argument
1368 if (nrecs == 0) in dt_printf_format()
1374 nrecs--; in dt_printf_format()
1420 return (nrecs != 0); in dt_printf_format()
1435 if (dt_printf_getint(dtp, recp++, nrecs--, buf, in dt_printf_format()
1444 dtp, recp++, nrecs--, buf, len, &prec) == -1) in dt_printf_format()
1477 if (nrecs == 0) in dt_printf_format()
1494 nrecs--; in dt_printf_format()
[all …]
HDdt_aggregate.c785 int rval, i, j, keypos, nrecs; local
790 nrecs = lagg->dtagd_nrecs - 1;
791 assert(nrecs == ragg->dtagd_nrecs - 1);
793 keypos = dt_keypos + 1 >= nrecs ? 0 : dt_keypos;
795 for (i = 1; i < nrecs; i++) {
799 if (ndx >= nrecs)
800 ndx = ndx - nrecs + 1;
/NextBSD/lib/libc/db/btree/
HDbtree.h149 recno_t nrecs; /* number of records */ member
162 #define WR_RINTERNAL(p, nrecs, pgno) { \ argument
163 *(recno_t *)p = nrecs; \
294 u_int32_t nrecs; /* R: number of records */ member
HDbt_split.c252 ((RINTERNAL *)dest)->nrecs = rec_total(lchild); in __bt_split()
258 ((RINTERNAL *)dest)->nrecs = rec_total(rchild); in __bt_split()
270 ((RINTERNAL *)dest)->nrecs = NEXTINDEX(lchild); in __bt_split()
276 ((RINTERNAL *)dest)->nrecs = NEXTINDEX(rchild); in __bt_split()
795 recs += GETRINTERNAL(h, nxt)->nrecs; in rec_total()
HDbt_debug.c108 (void)fprintf(stderr, "nrecs %u\n", m->nrecs); in __bt_dmpage()
197 ri->nrecs, ri->pgno); in __bt_dpage()
HDbt_open.c235 M_32_SWAP(m.nrecs); in __bt_open()
248 t->bt_nrecs = m.nrecs; in __bt_open()
HDbt_close.c172 m.nrecs = t->bt_nrecs; in bt_meta()
/NextBSD/tools/tools/ath/athdecode/
HDmain.c62 int fd, i, nrecs, same; in main() local
78 nrecs = sb.st_size / sizeof (struct athregrec); in main()
79 printf("%u records", nrecs); in main()
83 for (i = 0; i < nrecs; i++) { in main()
/NextBSD/sys/cddl/dev/dtrace/
HDdtrace_ioctl.c122 int nrecs; in dtrace_ioctl() local
143 nrecs = aggdesc.dtagd_nrecs; in dtrace_ioctl()
200 if (nrecs-- == 0) in dtrace_ioctl()
472 int nrecs; in dtrace_ioctl() local
495 nrecs = epdesc.dtepd_nrecs; in dtrace_ioctl()
523 if (nrecs-- == 0) in dtrace_ioctl()
/NextBSD/cddl/contrib/opensolaris/cmd/lockstat/
HDlockstat.c928 lsrec_fill(lsrec_t *lsrec, const dtrace_recdesc_t *rec, int nrecs, caddr_t data) in lsrec_fill() argument
933 if ((g_recsize > LS_HIST && nrecs < 4) || (nrecs < 3)) in lsrec_fill()
1745 report_stats(FILE *out, lsrec_t **sort_buf, size_t nrecs, uint64_t total_count, in report_stats() argument
1792 for (i = 0; i < nrecs; i++) { in report_stats()
/NextBSD/sys/cddl/contrib/opensolaris/uts/common/dtrace/
HDdtrace.c17155 int nrecs; local
17176 nrecs = epdesc.dtepd_nrecs;
17204 if (nrecs-- == 0)
17227 int nrecs; local
17246 nrecs = aggdesc.dtagd_nrecs;
17303 if (nrecs-- == 0)