Searched refs:n_cpus (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/ntp/sntp/libevent/ |
H A D | event_iocp.c | 176 event_iocp_port_launch_(int n_cpus) in event_iocp_port_launch_() argument 187 if (n_cpus <= 0) in event_iocp_port_launch_() 188 n_cpus = N_CPUS_DEFAULT; in event_iocp_port_launch_() 189 port->n_threads = n_cpus * 2; in event_iocp_port_launch_() 195 n_cpus); in event_iocp_port_launch_()
|
H A D | iocp-internal.h | 166 struct event_iocp_port *event_iocp_port_launch_(int n_cpus); 197 int event_base_start_iocp_(struct event_base *base, int n_cpus);
|
H A D | event.c | 744 event_base_start_iocp_(struct event_base *base, int n_cpus) in event_base_start_iocp_() argument 749 base->iocp = event_iocp_port_launch_(n_cpus); in event_base_start_iocp_()
|
/freebsd/contrib/libevent/ |
H A D | event_iocp.c | 176 event_iocp_port_launch_(int n_cpus) in event_iocp_port_launch_() argument 187 if (n_cpus <= 0) in event_iocp_port_launch_() 188 n_cpus = N_CPUS_DEFAULT; in event_iocp_port_launch_() 189 port->n_threads = n_cpus * 2; in event_iocp_port_launch_() 195 n_cpus); in event_iocp_port_launch_()
|
H A D | iocp-internal.h | 166 struct event_iocp_port *event_iocp_port_launch_(int n_cpus); 197 int event_base_start_iocp_(struct event_base *base, int n_cpus);
|
H A D | event.c | 744 event_base_start_iocp_(struct event_base *base, int n_cpus) in event_base_start_iocp_() argument 749 base->iocp = event_iocp_port_launch_(n_cpus); in event_base_start_iocp_()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_linux_libcdep.cpp | 826 uptr n_cpus = 0; in GetNumberOfCPUs() 845 n_cpus++; in GetNumberOfCPUs() 850 return n_cpus; in GetNumberOfCPUs()
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | ecore_dev.c | 3220 u32 n_cpus) in ecore_hw_init_dpi_size() argument 3247 n_wids = OSAL_MAX_T(u32, ECORE_MIN_WIDS, n_cpus); in ecore_hw_init_dpi_size() 3282 u32 db_bar_size, n_cpus = 1; in ecore_hw_init_pf_doorbell_bar() local 3350 n_cpus = OSAL_NUM_CPUS(); in ecore_hw_init_pf_doorbell_bar() 3351 rc = ecore_hw_init_dpi_size(p_hwfn, p_ptt, pwm_regsize, n_cpus); in ecore_hw_init_pf_doorbell_bar() 3362 n_cpus = 1; in ecore_hw_init_pf_doorbell_bar() 3363 rc = ecore_hw_init_dpi_size(p_hwfn, p_ptt, pwm_regsize, n_cpus); in ecore_hw_init_pf_doorbell_bar() 3374 p_hwfn->wid_count = (u16)n_cpus; in ecore_hw_init_pf_doorbell_bar()
|