Searched refs:__arraycount (Results 1 - 25 of 1159) sorted by relevance

1234567891011>>

/netbsd-current/sys/arch/atari/stand/bootxx/
H A Dfilesystem.c41 int nfsys = __arraycount(file_system);
/netbsd-current/sys/arch/mmeye/stand/boot/
H A Dconf.c48 int ndevs = __arraycount(devsw);
58 int nfsys = __arraycount(file_system);
/netbsd-current/sys/arch/mvme68k/stand/bootsd/
H A Dconf.c13 int nfsys = __arraycount(file_system);
18 int ndevs = __arraycount(devsw);
/netbsd-current/sys/arch/mvme68k/stand/netboot/
H A Dconf.c14 int nfsys = __arraycount(file_system);
19 int ndevs = __arraycount(devsw);
28 int n_netif_drivers = __arraycount(netif_drivers);
/netbsd-current/sys/arch/atari/stand/bootxxx/
H A Dfilesystem.c41 int nfsys = __arraycount(file_system);
/netbsd-current/sys/arch/mips/cavium/
H A Dmainbus_octeon1p.c51 const size_t mainbus_ndevs = __arraycount(mainbus_devs);
/netbsd-current/sys/arch/mvme68k/stand/bootxx/
H A Dconf.c12 int ndevs = __arraycount(devsw);
/netbsd-current/sys/arch/sgimips/stand/common/
H A Diris_conf.c46 int ndevs = __arraycount(devsw);
55 int nfsys = __arraycount(file_system);
/netbsd-current/lib/libedit/
H A Dsys.h64 #ifndef __arraycount
65 # define __arraycount(a) (sizeof(a) / sizeof(*(a))) macro
/netbsd-current/sys/arch/i386/stand/efiboot/
H A Dconf.c66 int ndevs = __arraycount(devsw);
73 int n_netif_drivers = __arraycount(netif_drivers);
91 int nfsys = __arraycount(file_system);
109 __CTASSERT(__arraycount(file_system) == __arraycount(file_system_disk)); variable
110 const int nfsys_disk = __arraycount(file_system_disk);
129 const int nnetboot_fstab = __arraycount(netboot_fstab);
/netbsd-current/sys/external/bsd/drm2/include/linux/
H A Dhashtable.h63 #define hash_init(h) __hash_init((h), __arraycount(h))
64 #define hash_add(h, n, k) hlist_add_head(n, &(h)[(k) % __arraycount(h)])
66 #define hash_empty(h) __hash_empty((h), __arraycount(h))
68 hlist_for_each_entry(n, &(h)[(k) % __arraycount(h)], f)
70 for ((i) = 0; (i) < __arraycount(h); (i)++) \
/netbsd-current/sys/arch/cobalt/stand/boot/
H A Dconf.c59 int ndevs = __arraycount(devsw);
70 int nfsys = __arraycount(file_system);
78 int n_netif_drivers = __arraycount(netif_drivers);
/netbsd-current/sys/kern/
H A Dkern_ssp.c69 long guard[__arraycount(stack_chk_guard)];
73 for (i = 0; i < __arraycount(guard); i++)
76 for (i = 0; i < __arraycount(guard); i++)
H A Dexec_elf64.c90 __arraycount(exec_elf64_execsw));
94 __arraycount(exec_elf64_execsw));
/netbsd-current/sys/arch/zaurus/stand/zboot/
H A Dconf.c44 int ndevs = __arraycount(devsw);
52 int nfsys = __arraycount(file_system);
/netbsd-current/sys/dev/i2c/
H A Dtvpll_tuners.c45 __arraycount(tuv1236d_pll_entries), tuv1236d_pll_entries
58 __arraycount(tdvs_h06xf_pll_entries), tdvs_h06xf_pll_entries
/netbsd-current/sys/arch/evbmips/cavium/
H A Docteon_bootbus_machdep.c42 const size_t bootbus_ndevs = __arraycount(bootbus_devs);
/netbsd-current/sys/arch/sparc/stand/common/
H A Dconf.c49 int nfsys = __arraycount(file_system);
/netbsd-current/lib/libc/gen/
H A Dgetloadavg.c73 if (sysctl(mib, (u_int)__arraycount(mib), &loadinfo, &size, NULL, 0)
77 size = MIN((size_t)nelem, __arraycount(loadinfo.ldavg));
/netbsd-current/sys/arch/algor/algor/
H A Dpmon.c60 KASSERT(envp - environ < __arraycount(environ));
64 KASSERT(envp - environ < __arraycount(environ));
/netbsd-current/sys/compat/ultrix/
H A Dultrix_mod.c84 __arraycount(ultrix_execsw));
88 __arraycount(ultrix_execsw));
/netbsd-current/tests/lib/libm/
H A Dt_acos.c53 for (i = 0; i < __arraycount(x); i++) {
85 for (i = 0; i < __arraycount(values); i++) {
/netbsd-current/lib/libutil/
H A Dkinfo_getvmmap.c30 error = sysctl(mib, (u_int)__arraycount(mib), NULL, &len, NULL, 0);
40 error = sysctl(mib, (u_int)__arraycount(mib), kiv, &len, NULL, 0);
/netbsd-current/sys/modules/panic/
H A Dpanic.c70 for (i = 0; i < __arraycount(panic_howto); i++) {
76 if (i == __arraycount(panic_howto))
/netbsd-current/sys/compat/linux32/common/
H A Dlinux32_mod.c105 error = exec_add(linux32_execsw, __arraycount(linux32_execsw));
108 exec_remove(linux32_execsw, __arraycount(linux32_execsw));
127 error = exec_add(linux32_execsw, __arraycount(linux32_execsw));
132 exec_remove(linux32_execsw, __arraycount(linux32_execsw));

Completed in 302 milliseconds

1234567891011>>