Home
last modified time | relevance | path

Searched refs:countof (Results 1 – 6 of 6) sorted by relevance

/xnu-11215/tests/
H A Dposix_spawnattr_set_crash_behavior_np_child.c10 #define countof(x) (sizeof(x) / sizeof(x[0])) macro
23 for (size_t i = 0; i < countof(spin_modes); i++) { in _should_spin()
/xnu-11215/osfmk/arm64/
H A Darm64_hypercall.c40 #define countof(array) (sizeof (array) / sizeof ((array)[0])) in regs_to_uuid() macro
44 for (int i = 0; i < countof(*regs); i++) { in regs_to_uuid()
50 #undef countof in regs_to_uuid()
/xnu-11215/bsd/kern/
H A Dhvg_sysctl.c204 #define countof(x) (sizeof(x) / sizeof(x[0])) in hvg_sysctl_init() macro
205 for (int i = 0; i < countof(hvg_sysctl); i++) { in hvg_sysctl_init()
H A Dmach_loader.c2944 #define countof(x) (sizeof(x) / sizeof(x[0])) in load_dylinker() macro
2945 for (i = 0; i < countof(_dyld_suffix_map); i++) { in load_dylinker()
/xnu-11215/osfmk/tests/
H A Dvm_parameter_validation.h234 #define countof(array) (sizeof(array) / sizeof((array)[0])) macro
1024 = allocate_vm_inherit_trials(countof(vm_inherit_trials_values)); \
1121 = allocate_vm_sync_trials(countof(vm_sync_trials_values)); \
1193 = allocate_vm_msync_trials(countof(vm_msync_trials_values)); \
1266 = allocate_vm_advise_trials(countof(vm_advise_trials_values)); \
1562 = allocate_mmap_flags_trials(countof(mmap_flags_trials_values)); \
1632 = allocate_generic_flag_trials(countof(generic_flag_trials_values)); \
1712 = allocate_vm_tag_trials(countof(vm_tag_trials_values)); \
1810 = allocate_vm_prot_trials(countof(vm_prot_trials_values)); \
1837 const unsigned D = countof(vm_prot_trials_values);
[all …]
/xnu-11215/bsd/vfs/
H A Dvfs_subr.c1558 #define countof(x) (sizeof(x) / sizeof(x[0])) in vfs_switch_root() macro
1655 for (size_t i = 0; i < countof(preserved); i++) { in vfs_switch_root()
1708 for (size_t i = 0; i < countof(preserved); i++) { in vfs_switch_root()
1736 for (size_t i = 0; i < countof(preserved); i++) { in vfs_switch_root()
1761 for (size_t i = 0; i < countof(preserved); i++) { in vfs_switch_root()
1808 for (size_t i = 0; i < countof(preserved); i++) { in vfs_switch_root()
1841 for (size_t i = 0; i < countof(preserved); i++) { in vfs_switch_root()
1864 for (size_t i = 0; i < countof(preserved); i++) { in vfs_switch_root()