Searched refs:NUM_ELEMENTS (Results 1 - 16 of 16) sorted by relevance

/freebsd-13-stable/lib/libdevdctl/
H A Devent_factory.cc50 #define NUM_ELEMENTS(x) (sizeof(x) / sizeof(*x)) macro
H A Dconsumer.cc64 #define NUM_ELEMENTS(x) (sizeof(x) / sizeof(*x)) macro
239 result = poll(fds, NUM_ELEMENTS(fds), /*timeout*/0);
H A Devent.cc69 #define NUM_ELEMENTS(x) (sizeof(x) / sizeof(*x)) macro
176 EventTypeRecord *lastRec(s_typeTable + NUM_ELEMENTS(s_typeTable) - 1);
/freebsd-13-stable/cddl/usr.sbin/zfsd/
H A Dzfsd.cc81 #define NUM_ELEMENTS(x) (sizeof(x) / sizeof(*x)) macro
157 NUM_ELEMENTS(s_registryEntries))
352 result = poll(fds, NUM_ELEMENTS(fds), /*timeout*/INFTIM);
/freebsd-13-stable/cddl/usr.sbin/zfsd/tests/
H A Dzfsd_unittest.cc69 #define NUM_ELEMENTS(x) (sizeof(x) / sizeof(*x)) macro
384 NUM_ELEMENTS(MockZfsEvent::s_buildRecords));
427 NUM_ELEMENTS(MockZfsEvent::s_buildRecords));
637 NUM_ELEMENTS(MockZfsEvent::s_buildRecords));
/freebsd-13-stable/sys/dev/aic7xxx/
H A Daic7770.c112 const int ahc_num_aic7770_devs = NUM_ELEMENTS(aic7770_ident_table);
H A Daic79xx.h73 #define NUM_ELEMENTS(array) (sizeof(array) / sizeof(*array)) macro
H A Daic79xx_pci.c242 const u_int ahd_num_pci_devs = NUM_ELEMENTS(ahd_pci_ident_table);
H A Daic7xxx.h74 #define NUM_ELEMENTS(array) (sizeof(array) / sizeof(*array)) macro
H A Daic7xxx_pci.c635 const u_int ahc_num_pci_devs = NUM_ELEMENTS(ahc_pci_ident_table);
H A Daic79xx.c86 static const u_int num_errors = NUM_ELEMENTS(ahd_hard_errors);
106 static const u_int num_phases = NUM_ELEMENTS(ahd_phase_table) - 1;
7348 + NUM_ELEMENTS(ahd->qinfifo) - wrap_qinpos);
H A Daic7xxx.c97 static const u_int num_errors = NUM_ELEMENTS(ahc_hard_errors);
117 static const u_int num_phases = NUM_ELEMENTS(ahc_phase_table) - 1;
/freebsd-13-stable/sys/dev/mpt/
H A Dmpt_debug.c725 NUM_ELEMENTS(req_state_parse_table),
H A Dmpt_raid.c478 if (raid_event->ReasonCode >= NUM_ELEMENTS(raid_event_txt))
1766 for (i = 0; i < NUM_ELEMENTS(mpt_vol_mwce_strs); i++) {
H A Dmpt.h151 #define NUM_ELEMENTS(array) (sizeof(array) / sizeof(*array)) macro
/freebsd-13-stable/sys/kern/
H A Dkern_tc.c510 #define NUM_ELEMENTS(x) (sizeof(x) / sizeof(*x)) macro
523 last = ffth + NUM_ELEMENTS(ffth) - 1;

Completed in 251 milliseconds