| /f-stack/freebsd/arm/xilinx/ |
| H A D | zy7_mp.c | 85 mp_maxid = 0; in zynq7_mp_setmaxid() 95 mp_maxid = bus_space_read_4(fdtbus_bs_tag, scu_handle, 0) & in zynq7_mp_setmaxid() 97 mp_ncpus = mp_maxid + 1; in zynq7_mp_setmaxid()
|
| /f-stack/tools/libmemstat/ |
| H A D | memstat_uma.c | 329 int hint_dontsearch, i, mp_maxid, ndomains, ret; in memstat_kvm_uma() local 346 ret = kread_symbol(kvm, X_MP_MAXID, &mp_maxid, sizeof(mp_maxid), 0); in memstat_kvm_uma() 373 ucp_array = malloc(sizeof(struct uma_cache) * (mp_maxid + 1)); in memstat_kvm_uma() 397 sizeof(struct uma_cache) * (mp_maxid + 1), in memstat_kvm_uma() 420 name, mp_maxid + 1); in memstat_kvm_uma() 430 _memstat_mt_reset_stats(mtp, mp_maxid + 1); in memstat_kvm_uma() 446 for (i = 0; i < mp_maxid + 1; i++) { in memstat_kvm_uma()
|
| /f-stack/freebsd/sys/ |
| H A D | smp.h | 167 extern u_int mp_maxid; 194 for ((i) = 0; (i) <= mp_maxid; (i)++) \ 213 if (i > mp_maxid) in cpu_next()
|
| /f-stack/freebsd/arm/broadcom/bcm2835/ |
| H A D | bcm2836_mp.c | 91 mp_maxid = mp_ncpus - 1; in bcm2836_mp_setmaxid() 92 DPRINTF("mp_maxid=%d\n", mp_maxid); in bcm2836_mp_setmaxid()
|
| /f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/ |
| H A D | proc.h | 49 #define max_ncpus (mp_maxid + 1) 50 #define boot_max_ncpus (mp_maxid + 1)
|
| /f-stack/freebsd/kern/ |
| H A D | subr_smp.c | 77 u_int mp_maxid; variable 83 SYSCTL_INT(_kern_smp, OID_AUTO, maxid, CTLFLAG_RD|CTLFLAG_CAPRD, &mp_maxid, 0, 146 KASSERT(mp_ncpus > 1 || mp_maxid == 0, in mp_setmaxid() 148 KASSERT(mp_maxid >= mp_ncpus - 1, in mp_setmaxid() 150 mp_maxid, mp_ncpus)); in mp_setmaxid() 872 mp_maxid = PCPU_GET(cpuid); in mp_setvariables_for_up() 873 CPU_SETOF(mp_maxid, &all_cpus); in mp_setvariables_for_up() 959 for (cpu = 0; cpu <= mp_maxid; cpu++) { in quiesce_cpus() 965 for (cpu = 0; cpu <= mp_maxid; cpu++) { in quiesce_cpus()
|
| H A D | kern_clock.c | 150 return SYSCTL_OUT(req, 0, sizeof(cp_time32) * (mp_maxid + 1)); in sysctl_kern_cp_times() 153 return SYSCTL_OUT(req, 0, sizeof(long) * CPUSTATES * (mp_maxid + 1)); in sysctl_kern_cp_times() 155 for (error = 0, c = 0; error == 0 && c <= mp_maxid; c++) { in sysctl_kern_cp_times()
|
| /f-stack/freebsd/arm64/arm64/ |
| H A D | mp_machdep.c | 218 for (cpu = 0; cpu < mp_maxid; cpu++) in init_secondary() 465 if (cpuid > mp_maxid) in start_cpu() 718 mp_maxid = 0; in cpu_mp_setmaxid() 730 mp_maxid = cores - 1; in cpu_mp_setmaxid() 743 mp_maxid = cores - 1; in cpu_mp_setmaxid() 756 mp_maxid = cores - 1; in cpu_mp_setmaxid()
|
| /f-stack/freebsd/arm/ti/omap4/ |
| H A D | omap4_mp.c | 55 mp_maxid = 1; in omap4_mp_setmaxid()
|
| /f-stack/freebsd/amd64/amd64/ |
| H A D | mp_machdep.c | 599 invl_scoreboard = malloc(sizeof(uint32_t) * (mp_maxid + 1) * in invl_scoreboard_init() 600 (mp_maxid + 1), M_DEVBUF, M_WAITOK); in invl_scoreboard_init() 601 for (i = 0; i < (mp_maxid + 1) * (mp_maxid + 1); i++) in invl_scoreboard_init() 628 return (invl_scoreboard + cpu * (mp_maxid + 1)); in invl_scoreboard_getcpu() 1103 for (initiator_cpu_id = 0; initiator_cpu_id <= mp_maxid; in invlop_handler() 1108 if (initiator_cpu_id > mp_maxid) in invlop_handler()
|
| /f-stack/freebsd/libkern/ |
| H A D | arc4random.c | 80 _chacha20 <= &chacha20inst[mp_maxid]; \ 158 chacha20inst = malloc((mp_maxid + 1) * sizeof(struct chacha20_s),
|
| /f-stack/freebsd/arm/nvidia/tegra124/ |
| H A D | tegra124_mp.c | 74 mp_maxid = ncpu - 1; in tegra124_mp_setmaxid()
|
| /f-stack/freebsd/arm/mv/armada38x/ |
| H A D | armada38x_mp.c | 133 mp_maxid = mp_ncpus - 1; in mv_a38x_platform_mp_setmaxid()
|
| /f-stack/freebsd/arm/arm/ |
| H A D | platform.c | 233 mp_maxid = ncpu - 1; in platform_mp_setmaxid()
|
| H A D | platform_if.m | 70 mp_maxid = 0; 130 * @brief Called by cpu_mp_setmaxid() to set mp_maxid and mp_ncpus.
|
| /f-stack/freebsd/arm/freescale/imx/ |
| H A D | imx6_mp.c | 98 mp_maxid = ncpu - 1; in imx6_mp_setmaxid()
|
| /f-stack/freebsd/arm/altera/socfpga/ |
| H A D | socfpga_mp.c | 112 mp_maxid = ncpu - 1; in socfpga_mp_setmaxid()
|
| /f-stack/freebsd/arm/rockchip/ |
| H A D | rk32xx_mp.c | 77 mp_maxid = ncpu - 1; in rk32xx_mp_setmaxid()
|
| /f-stack/freebsd/crypto/blake2/ |
| H A D | blake2_cryptodev.c | 135 ctx_mtx = malloc(sizeof(*ctx_mtx) * (mp_maxid + 1), M_BLAKE2, in blake2_attach() 137 ctx_fpu = malloc(sizeof(*ctx_fpu) * (mp_maxid + 1), M_BLAKE2, in blake2_attach()
|
| /f-stack/freebsd/x86/x86/ |
| H A D | tsc.c | 441 size = (mp_maxid + 1) * 3; in comp_smp_tsc() 468 size = (mp_maxid + 1) * 3; in adj_smp_tsc() 514 size = (mp_maxid + 1) * 3; in test_tsc()
|
| H A D | mca.c | 982 cmc_state = malloc((mp_maxid + 1) * sizeof(struct cmc_state *), M_MCA, in cmci_setup() 984 for (i = 0; i <= mp_maxid; i++) in cmci_setup() 998 amd_et_state = malloc((mp_maxid + 1) * sizeof(struct amd_et_state *), in amd_thresholding_setup() 1000 for (i = 0; i <= mp_maxid; i++) in amd_thresholding_setup()
|
| /f-stack/freebsd/arm/mv/armadaxp/ |
| H A D | armadaxp_mp.c | 94 mp_maxid = mp_ncpus - 1; in mv_axp_platform_mp_setmaxid()
|
| /f-stack/freebsd/x86/xen/ |
| H A D | pvcpu_enum.c | 161 mp_maxid = mp_ncpus - 1; in xenpv_probe_cpus()
|
| /f-stack/freebsd/arm/annapurna/alpine/ |
| H A D | alpine_machdep_mp.c | 122 mp_maxid = mp_ncpus - 1; in alpine_mp_setmaxid()
|
| /f-stack/freebsd/crypto/armv8/ |
| H A D | armv8_crypto.c | 158 ctx_mtx = malloc(sizeof(*ctx_mtx) * (mp_maxid + 1), M_ARMV8_CRYPTO, in armv8_crypto_attach() 160 ctx_vfp = malloc(sizeof(*ctx_vfp) * (mp_maxid + 1), M_ARMV8_CRYPTO, in armv8_crypto_attach()
|