Home
last modified time | relevance | path

Searched refs:n_cpus (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/ntp/sntp/libevent/
H A Devent_iocp.c176 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 Diocp-internal.h166 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 Devent.c744 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 Devent_iocp.c176 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 Diocp-internal.h166 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 Devent.c744 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 Dsanitizer_linux_libcdep.cpp826 uptr n_cpus = 0; in GetNumberOfCPUs()
845 n_cpus++; in GetNumberOfCPUs()
850 return n_cpus; in GetNumberOfCPUs()
/freebsd/sys/dev/qlnx/qlnxe/
H A Decore_dev.c3220 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()