Searched refs:NUM_ELEMENTS (Results 1 – 16 of 16) sorted by relevance
81 #define NUM_ELEMENTS(x) (sizeof(x) / sizeof(*x)) macro157 NUM_ELEMENTS(s_registryEntries)) in ZfsDaemon()352 result = poll(fds, NUM_ELEMENTS(fds), /*timeout*/INFTIM); in EventLoop()
64 #define NUM_ELEMENTS(x) (sizeof(x) / sizeof(*x)) macro239 result = poll(fds, NUM_ELEMENTS(fds), /*timeout*/0); in EventsPending()
50 #define NUM_ELEMENTS(x) (sizeof(x) / sizeof(*x)) macro
69 #define NUM_ELEMENTS(x) (sizeof(x) / sizeof(*x)) macro176 EventTypeRecord *lastRec(s_typeTable + NUM_ELEMENTS(s_typeTable) - 1); in TypeToString()
69 #define NUM_ELEMENTS(x) (sizeof(x) / sizeof(*x)) macro384 NUM_ELEMENTS(MockZfsEvent::s_buildRecords)); in SetUp()427 NUM_ELEMENTS(MockZfsEvent::s_buildRecords)); in SetUp()637 NUM_ELEMENTS(MockZfsEvent::s_buildRecords)); in SetUp()
112 const int ahc_num_aic7770_devs = NUM_ELEMENTS(aic7770_ident_table);
242 const u_int ahd_num_pci_devs = NUM_ELEMENTS(ahd_pci_ident_table);
74 #define NUM_ELEMENTS(array) (sizeof(array) / sizeof(*array)) macro
73 #define NUM_ELEMENTS(array) (sizeof(array) / sizeof(*array)) macro
635 const u_int ahc_num_pci_devs = NUM_ELEMENTS(ahc_pci_ident_table);
86 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); in ahd_qinfifo_count()
97 static const u_int num_errors = NUM_ELEMENTS(ahc_hard_errors);117 static const u_int num_phases = NUM_ELEMENTS(ahc_phase_table) - 1;
725 NUM_ELEMENTS(req_state_parse_table),
478 if (raid_event->ReasonCode >= NUM_ELEMENTS(raid_event_txt)) in mpt_raid_event()1764 for (i = 0; i < NUM_ELEMENTS(mpt_vol_mwce_strs); i++) { in mpt_raid_sysctl_vol_member_wce()
151 #define NUM_ELEMENTS(array) (sizeof(array) / sizeof(*array)) macro
521 #define NUM_ELEMENTS(x) (sizeof(x) / sizeof(*x)) macro534 last = ffth + NUM_ELEMENTS(ffth) - 1; in ffclock_init()