Searched refs:ARRAY_LEN (Results 1 – 4 of 4) sorted by relevance
85 BUILD_BUG_ON(ARRAY_LEN(misalignments) != NUM_OPENAT2_STRUCT_VARIATIONS); in test_openat2_struct()86 BUILD_BUG_ON(ARRAY_LEN(tests) != NUM_OPENAT2_STRUCT_TESTS); in test_openat2_struct()88 for (int i = 0; i < ARRAY_LEN(tests); i++) { in test_openat2_struct()92 for (int j = 0; j < ARRAY_LEN(misalignments); j++) { in test_openat2_struct()243 BUILD_BUG_ON(ARRAY_LEN(tests) != NUM_OPENAT2_FLAG_TESTS); in test_openat2_flags()245 for (int i = 0; i < ARRAY_LEN(tests); i++) { in test_openat2_flags()
16 #define ARRAY_LEN(X) (sizeof (X) / sizeof (*(X))) macro
439 BUILD_BUG_ON(ARRAY_LEN(tests) != NUM_OPENAT2_OPATH_TESTS); in test_openat2_opath_tests()441 for (int i = 0; i < ARRAY_LEN(tests); i++) { in test_openat2_opath_tests()
1423 ARRAY_LEN(hinic_port_stats) * sizeof(*data)); in hinic_get_ethtool_stats()1424 i += ARRAY_LEN(hinic_port_stats); in hinic_get_ethtool_stats()1433 for (j = 0; j < ARRAY_LEN(hinic_port_stats); j++, i++) { in hinic_get_ethtool_stats()1452 return ARRAY_LEN(hinic_test_strings); in hinic_get_sset_count()1455 count = ARRAY_LEN(hinic_function_stats) + in hinic_get_sset_count()1456 (ARRAY_LEN(hinic_tx_queue_stats) + in hinic_get_sset_count()1457 ARRAY_LEN(hinic_rx_queue_stats)) * q_num; in hinic_get_sset_count()1459 count += ARRAY_LEN(hinic_port_stats); in hinic_get_sset_count()1479 for (i = 0; i < ARRAY_LEN(hinic_function_stats); i++) { in hinic_get_strings()1485 for (i = 0; i < ARRAY_LEN(hinic_port_stats); i++) { in hinic_get_strings()[all …]
Completed in 14 milliseconds