Searched refs:NUM_ELEMENTS (Results 1 – 16 of 16) sorted by relevance
78 #define NUM_ELEMENTS(x) (sizeof(x) / sizeof(*x)) macro154 NUM_ELEMENTS(s_registryEntries)) in ZfsDaemon()349 result = poll(fds, NUM_ELEMENTS(fds), /*timeout*/INFTIM); in EventLoop()
61 #define NUM_ELEMENTS(x) (sizeof(x) / sizeof(*x)) macro236 result = poll(fds, NUM_ELEMENTS(fds), /*timeout*/0); in EventsPending()
47 #define NUM_ELEMENTS(x) (sizeof(x) / sizeof(*x)) macro
66 #define NUM_ELEMENTS(x) (sizeof(x) / sizeof(*x)) macro173 EventTypeRecord *lastRec(s_typeTable + NUM_ELEMENTS(s_typeTable) - 1); in TypeToString()
66 #define NUM_ELEMENTS(x) (sizeof(x) / sizeof(*x)) macro382 NUM_ELEMENTS(MockZfsEvent::s_buildRecords)); in SetUp()425 NUM_ELEMENTS(MockZfsEvent::s_buildRecords)); in SetUp()703 NUM_ELEMENTS(MockZfsEvent::s_buildRecords)); in SetUp()
104 const int ahc_num_aic7770_devs = NUM_ELEMENTS(aic7770_ident_table);
72 #define NUM_ELEMENTS(array) (sizeof(array) / sizeof(*array)) macro
235 const u_int ahd_num_pci_devs = NUM_ELEMENTS(ahd_pci_ident_table);
71 #define NUM_ELEMENTS(array) (sizeof(array) / sizeof(*array)) macro
627 const u_int ahc_num_pci_devs = NUM_ELEMENTS(ahc_pci_ident_table);
78 static const u_int num_errors = NUM_ELEMENTS(ahd_hard_errors);98 static const u_int num_phases = NUM_ELEMENTS(ahd_phase_table) - 1;7322 + NUM_ELEMENTS(ahd->qinfifo) - wrap_qinpos); in ahd_qinfifo_count()
89 static const u_int num_errors = NUM_ELEMENTS(ahc_hard_errors);109 static const u_int num_phases = NUM_ELEMENTS(ahc_phase_table) - 1;
723 NUM_ELEMENTS(req_state_parse_table),
478 if (raid_event->ReasonCode >= NUM_ELEMENTS(raid_event_txt)) in mpt_raid_event()1765 for (i = 0; i < NUM_ELEMENTS(mpt_vol_mwce_strs); i++) { in mpt_raid_sysctl_vol_member_wce()
150 #define NUM_ELEMENTS(array) (sizeof(array) / sizeof(*array)) macro
526 #define NUM_ELEMENTS(x) (sizeof(x) / sizeof(*x)) macro539 last = ffth + NUM_ELEMENTS(ffth) - 1; in ffclock_init()