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

/freebsd-10-stable/lib/libc/db/recno/
H A Drec_search.c84 if (++idx == top || total + r->nrecs > recno)
86 total += r->nrecs;
94 --GETRINTERNAL(h, (idx - 1))->nrecs;
98 ++GETRINTERNAL(h, (idx - 1))->nrecs;
114 --GETRINTERNAL(h, parent->index)->nrecs;
116 ++GETRINTERNAL(h, parent->index)->nrecs;
/freebsd-10-stable/contrib/tcpdump/
H A Dprint-cnfp.c87 int nrecs, ver; local
97 nrecs = EXTRACT_32BITS(&nh->ver_cnt) & 0xffff;
122 printf("%2u recs", nrecs);
124 for (; nrecs-- && (const u_char *)(nr + 1) <= snapend; nr++) {
/freebsd-10-stable/lib/libc/db/btree/
H A Dbtree.h149 recno_t nrecs; /* number of records */ member in struct:_rinternal
162 #define WR_RINTERNAL(p, nrecs, pgno) { \
163 *(recno_t *)p = nrecs; \
285 * The metadata of the tree. The nrecs field is used only by the RECNO code.
294 u_int32_t nrecs; /* R: number of records */ member in struct:_btmeta
H A Dbt_close.c173 m.nrecs = t->bt_nrecs;
H A Dbt_split.c252 ((RINTERNAL *)dest)->nrecs = rec_total(lchild);
258 ((RINTERNAL *)dest)->nrecs = rec_total(rchild);
270 ((RINTERNAL *)dest)->nrecs = NEXTINDEX(lchild);
276 ((RINTERNAL *)dest)->nrecs = NEXTINDEX(rchild);
795 recs += GETRINTERNAL(h, nxt)->nrecs;
H A Dbt_debug.c108 (void)fprintf(stderr, "nrecs %u\n", m->nrecs);
197 ri->nrecs, ri->pgno);
H A Dbt_open.c235 M_32_SWAP(m.nrecs);
248 t->bt_nrecs = m.nrecs;
/freebsd-10-stable/sys/cddl/dev/dtrace/
H A Ddtrace_ioctl.c99 int nrecs; local
120 nrecs = aggdesc.dtagd_nrecs;
177 if (nrecs-- == 0)
449 int nrecs; local
472 nrecs = epdesc.dtepd_nrecs;
500 if (nrecs-- == 0)
/freebsd-10-stable/tools/tools/ath/athdecode/
H A Dmain.c62 int fd, i, nrecs, same; local
78 nrecs = sb.st_size / sizeof (struct athregrec);
79 printf("%u records", nrecs);
83 for (i = 0; i < nrecs; i++) {
/freebsd-10-stable/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_printf.c1253 uint_t nrecs, const void *buf, size_t len, int *ip)
1257 if (nrecs == 0)
1342 const dtrace_recdesc_t *recs, uint_t nrecs, const void *buf,
1361 * decrement nrecs to prevent this record from being used with any
1368 if (nrecs == 0)
1374 nrecs--;
1420 return (nrecs != 0);
1435 if (dt_printf_getint(dtp, recp++, nrecs--, buf,
1444 dtp, recp++, nrecs--, buf, len, &prec) == -1)
1477 if (nrecs
1252 dt_printf_getint(dtrace_hdl_t *dtp, const dtrace_recdesc_t *recp, uint_t nrecs, const void *buf, size_t len, int *ip) argument
1341 dt_printf_format(dtrace_hdl_t *dtp, FILE *fp, const dt_pfargv_t *pfv, const dtrace_recdesc_t *recs, uint_t nrecs, const void *buf, size_t len, const dtrace_aggdata_t **aggsdata, int naggvars) argument
1604 dtrace_sprintf(dtrace_hdl_t *dtp, FILE *fp, void *fmtdata, const dtrace_recdesc_t *recp, uint_t nrecs, const void *buf, size_t len) argument
1634 dtrace_system(dtrace_hdl_t *dtp, FILE *fp, void *fmtdata, const dtrace_probedata_t *data, const dtrace_recdesc_t *recp, uint_t nrecs, const void *buf, size_t len) argument
1657 dtrace_freopen(dtrace_hdl_t *dtp, FILE *fp, void *fmtdata, const dtrace_probedata_t *data, const dtrace_recdesc_t *recp, uint_t nrecs, const void *buf, size_t len) argument
1836 dtrace_fprintf(dtrace_hdl_t *dtp, FILE *fp, void *fmtdata, const dtrace_probedata_t *data, const dtrace_recdesc_t *recp, uint_t nrecs, const void *buf, size_t len) argument
1982 uint_t nrecs = agg->dtagd_nrecs; local
2010 uint_t nrecs = agg->dtagd_nrecs - 1; local
2033 dtrace_fprinta(dtrace_hdl_t *dtp, FILE *fp, void *fmtdata, const dtrace_probedata_t *data, const dtrace_recdesc_t *recs, uint_t nrecs, const void *buf, size_t len) argument
[all...]
H A Ddt_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;
/freebsd-10-stable/cddl/contrib/opensolaris/cmd/lockstat/
H A Dlockstat.c898 lsrec_fill(lsrec_t *lsrec, const dtrace_recdesc_t *rec, int nrecs, caddr_t data) argument
903 if ((g_recsize > LS_HIST && nrecs < 4) || (nrecs < 3))
1691 report_stats(FILE *out, lsrec_t **sort_buf, size_t nrecs, uint64_t total_count, argument
1738 for (i = 0; i < nrecs; i++) {
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/dtrace/
H A Ddtrace.c17096 int nrecs;
17117 nrecs = epdesc.dtepd_nrecs;
17145 if (nrecs-- == 0)
17168 int nrecs;
17187 nrecs = aggdesc.dtagd_nrecs;
17244 if (nrecs-- == 0)

Completed in 410 milliseconds