Home
last modified time | relevance | path

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

/freebsd/contrib/tcpdump/
H A Dprint-cnfp.c161 u_int nrecs, ver; in cnfp_v1_print() local
170 nrecs = GET_BE_U_4(nh->count); in cnfp_v1_print()
187 ND_PRINT("%2u recs", nrecs); in cnfp_v1_print()
189 for (; nrecs != 0; nr++, nrecs--) { in cnfp_v1_print()
256 u_int nrecs, ver; in cnfp_v5_print() local
265 nrecs = GET_BE_U_4(nh->count); in cnfp_v5_print()
283 ND_PRINT("%2u recs", nrecs); in cnfp_v5_print()
285 for (; nrecs != 0; nr++, nrecs--) { in cnfp_v5_print()
358 u_int nrecs, ver; in cnfp_v6_print() local
367 nrecs = GET_BE_U_4(nh->count); in cnfp_v6_print()
[all …]
/freebsd/lib/libc/db/recno/
H A Drec_search.c80 if (++idx == top || total + r->nrecs > recno) in __rec_search()
82 total += r->nrecs; in __rec_search()
90 --GETRINTERNAL(h, (idx - 1))->nrecs; in __rec_search()
94 ++GETRINTERNAL(h, (idx - 1))->nrecs; in __rec_search()
110 --GETRINTERNAL(h, parent->index)->nrecs; in __rec_search()
112 ++GETRINTERNAL(h, parent->index)->nrecs; in __rec_search()
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_printf.c1260 uint_t nrecs, const void *buf, size_t len, int *ip) in dt_printf_getint() argument
1264 if (nrecs == 0) in dt_printf_getint()
1349 const dtrace_recdesc_t *recs, uint_t nrecs, const void *buf, in dt_printf_format() argument
1375 if (nrecs == 0) in dt_printf_format()
1381 nrecs--; in dt_printf_format()
1427 return (nrecs != 0); in dt_printf_format()
1442 if (dt_printf_getint(dtp, recp++, nrecs--, buf, in dt_printf_format()
1451 dtp, recp++, nrecs--, buf, len, &prec) == -1) in dt_printf_format()
1484 if (nrecs == 0) in dt_printf_format()
1501 nrecs--; in dt_printf_format()
[all …]
H A Ddt_aggregate.c791 int rval, i, j, keypos, nrecs; local
796 nrecs = lagg->dtagd_nrecs - 1;
797 assert(nrecs == ragg->dtagd_nrecs - 1);
799 keypos = dt_keypos + 1 >= nrecs ? 0 : dt_keypos;
801 for (i = 1; i < nrecs; i++) {
805 if (ndx >= nrecs)
806 ndx = ndx - nrecs + 1;
/freebsd/lib/libc/db/btree/
H A Dbtree.h148 recno_t nrecs; /* number of records */ member
161 #define WR_RINTERNAL(p, nrecs, pgno) { \ argument
162 *(recno_t *)p = nrecs; \
293 u_int32_t nrecs; /* R: number of records */ member
H A Dbt_split.c250 ((RINTERNAL *)dest)->nrecs = rec_total(lchild); in __bt_split()
256 ((RINTERNAL *)dest)->nrecs = rec_total(rchild); in __bt_split()
268 ((RINTERNAL *)dest)->nrecs = NEXTINDEX(lchild); in __bt_split()
274 ((RINTERNAL *)dest)->nrecs = NEXTINDEX(rchild); in __bt_split()
796 recs += GETRINTERNAL(h, nxt)->nrecs; in rec_total()
H A Dbt_debug.c104 (void)fprintf(stderr, "nrecs %u\n", m->nrecs); in __bt_dmpage()
193 ri->nrecs, ri->pgno); in __bt_dpage()
H A Dbt_open.c231 M_32_SWAP(m.nrecs); in __bt_open()
244 t->bt_nrecs = m.nrecs; in __bt_open()
H A Dbt_close.c169 m.nrecs = t->bt_nrecs; in bt_meta()
/freebsd/sys/kern/
H A Dkern_tslog.c44 static volatile long nrecs = 0; variable
64 pos = atomic_fetchadd_long(&nrecs, 1); in tslog()
105 limit = MIN(nrecs, nitems(timestamps)); in sysctl_debug_tslog()
/freebsd/tools/tools/ath/athdecode/
H A Dmain.c60 int fd, i, nrecs, same; in main() local
76 nrecs = sb.st_size / sizeof (struct athregrec); in main()
77 printf("%u records", nrecs); in main()
81 for (i = 0; i < nrecs; i++) { in main()
/freebsd/sys/cddl/dev/dtrace/
H A Ddtrace_ioctl.c115 int nrecs; in dtrace_ioctl() local
136 nrecs = aggdesc.dtagd_nrecs; in dtrace_ioctl()
193 if (nrecs-- == 0) in dtrace_ioctl()
464 int nrecs; in dtrace_ioctl() local
487 nrecs = epdesc.dtepd_nrecs; in dtrace_ioctl()
515 if (nrecs-- == 0) in dtrace_ioctl()
/freebsd/cddl/contrib/opensolaris/cmd/lockstat/
H A Dlockstat.c936 lsrec_fill(lsrec_t *lsrec, const dtrace_recdesc_t *rec, int nrecs, caddr_t data) in lsrec_fill() argument
941 if ((g_recsize > LS_HIST && nrecs < 4) || (nrecs < 3)) in lsrec_fill()
1753 report_stats(FILE *out, lsrec_t **sort_buf, size_t nrecs, uint64_t total_count, in report_stats() argument
1800 for (i = 0; i < nrecs; i++) { in report_stats()
/freebsd/crypto/libecc/src/arithmetic_tests/
H A Darithmetic_tests.c895 int nrecs; in main() local
998 nrecs = (int)(t - s); in main()
1002 for (i = 0; i < nrecs; i++) { in main()
1191 memcpy(global_parameters, s, LOCAL_MIN(nrecs, MAX_PARAMS)); in main()
/freebsd/sys/cddl/contrib/opensolaris/uts/common/dtrace/
H A Ddtrace.c17504 int nrecs; local
17525 nrecs = epdesc.dtepd_nrecs;
17553 if (nrecs-- == 0)
17576 int nrecs; local
17595 nrecs = aggdesc.dtagd_nrecs;
17652 if (nrecs-- == 0)