Home
last modified time | relevance | path

Searched refs:mp_maxid (Results 1 – 25 of 52) sorted by relevance

123

/f-stack/freebsd/arm/xilinx/
H A Dzy7_mp.c85 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 Dmemstat_uma.c329 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 Dsmp.h167 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 Dbcm2836_mp.c91 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 Dproc.h49 #define max_ncpus (mp_maxid + 1)
50 #define boot_max_ncpus (mp_maxid + 1)
/f-stack/freebsd/kern/
H A Dsubr_smp.c77 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 Dkern_clock.c150 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 Dmp_machdep.c218 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 Domap4_mp.c55 mp_maxid = 1; in omap4_mp_setmaxid()
/f-stack/freebsd/amd64/amd64/
H A Dmp_machdep.c599 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 Darc4random.c80 _chacha20 <= &chacha20inst[mp_maxid]; \
158 chacha20inst = malloc((mp_maxid + 1) * sizeof(struct chacha20_s),
/f-stack/freebsd/arm/nvidia/tegra124/
H A Dtegra124_mp.c74 mp_maxid = ncpu - 1; in tegra124_mp_setmaxid()
/f-stack/freebsd/arm/mv/armada38x/
H A Darmada38x_mp.c133 mp_maxid = mp_ncpus - 1; in mv_a38x_platform_mp_setmaxid()
/f-stack/freebsd/arm/arm/
H A Dplatform.c233 mp_maxid = ncpu - 1; in platform_mp_setmaxid()
H A Dplatform_if.m70 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 Dimx6_mp.c98 mp_maxid = ncpu - 1; in imx6_mp_setmaxid()
/f-stack/freebsd/arm/altera/socfpga/
H A Dsocfpga_mp.c112 mp_maxid = ncpu - 1; in socfpga_mp_setmaxid()
/f-stack/freebsd/arm/rockchip/
H A Drk32xx_mp.c77 mp_maxid = ncpu - 1; in rk32xx_mp_setmaxid()
/f-stack/freebsd/crypto/blake2/
H A Dblake2_cryptodev.c135 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 Dtsc.c441 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 Dmca.c982 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 Darmadaxp_mp.c94 mp_maxid = mp_ncpus - 1; in mv_axp_platform_mp_setmaxid()
/f-stack/freebsd/x86/xen/
H A Dpvcpu_enum.c161 mp_maxid = mp_ncpus - 1; in xenpv_probe_cpus()
/f-stack/freebsd/arm/annapurna/alpine/
H A Dalpine_machdep_mp.c122 mp_maxid = mp_ncpus - 1; in alpine_mp_setmaxid()
/f-stack/freebsd/crypto/armv8/
H A Darmv8_crypto.c158 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()

123