Home
last modified time | relevance | path

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

/netbsd-src/external/bsd/libevent/dist/test/
H A Dbench.c74 static int num_pipes, num_active, num_writes; variable
119 space = num_pipes / num_active; in run_once()
121 for (i = 0; i < num_active; i++, fired++) in run_once()
163 num_active = 1;
171 num_active = atoi(optarg);
/netbsd-src/sys/external/bsd/drm2/dist/drm/vmwgfx/
H A Dvmwgfx_ldu.c51 unsigned num_active; member
122 lds->num_active ? lds->num_active : 1); in vmw_ldu_commit_list()
139 BUG_ON(i != lds->num_active); in vmw_ldu_commit_list()
141 lds->last_num_active = lds->num_active; in vmw_ldu_commit_list()
155 if (--(ld->num_active) == 0) { in vmw_ldu_del_active()
173 BUG_ON(!ld->num_active && ld->fb); in vmw_ldu_add_active()
196 ld->num_active++; in vmw_ldu_add_active()
504 dev_priv->ldu_priv->num_active = 0; in vmw_kms_ldu_init_display()
/netbsd-src/external/mpl/dhcp/dist/server/tests/
H A Dmdb6_unittest.c407 if (pool->num_active != 0) { in ATF_TC_BODY()
435 if (pool->num_active != 1) { in ATF_TC_BODY()
445 if (pool->num_active != 1) { in ATF_TC_BODY()
457 if (pool->num_active != 0) { in ATF_TC_BODY()
472 if (pool->num_active != 1) { in ATF_TC_BODY()
478 if (pool->num_active != 0) { in ATF_TC_BODY()
491 if (pool->num_active != 1) { in ATF_TC_BODY()
497 if (pool->num_active != 1) { in ATF_TC_BODY()
627 if (pool->num_active != (i / 10)) { in ATF_TC_BODY()
631 if (pool->num_active != 9) { in ATF_TC_BODY()
[all …]
/netbsd-src/external/mpl/dhcp/dist/server/
H A Dmdb6.c1359 pool->num_active--; in cleanup_lease6()
1361 pool->ipv6_pond->num_active--; in cleanup_lease6()
1431 pool->num_active--; in add_lease6()
1433 pool->ipv6_pond->num_active--; in add_lease6()
1473 pool->num_active++; in add_lease6()
1475 pool->ipv6_pond->num_active++; in add_lease6()
1558 pool->num_active++; in move_lease_to_active()
1562 pool->ipv6_pond->num_active++; in move_lease_to_active()
1688 pool->num_active--; in move_lease_to_inactive()
1691 pool->ipv6_pond->num_active--; in move_lease_to_inactive()
[all …]
H A Ddhcpv6.c1006 used = pond->num_active; in check_pool6_threshold()
1424 active += pond->num_active; in pick_v6_address()
/netbsd-src/sys/external/bsd/drm2/dist/drm/i915/
H A Dintel_pm.c3879 const int num_active, in intel_get_ddb_size() argument
3902 if (0 && (num_active > 1 || total_data_bw >= GBps(12))) { in intel_get_ddb_size()
3918 int *num_active /* out */) in skl_ddb_get_pipe_allocation_limits() argument
3932 *num_active = hweight8(dev_priv->active_pipes); in skl_ddb_get_pipe_allocation_limits()
3937 *num_active = hweight8(intel_state->active_pipes); in skl_ddb_get_pipe_allocation_limits()
3939 *num_active = hweight8(dev_priv->active_pipes); in skl_ddb_get_pipe_allocation_limits()
3942 *num_active, ddb); in skl_ddb_get_pipe_allocation_limits()
4001 int num_active) in skl_cursor_allocation() argument
4024 return max(num_active == 1 ? 32 : 8, min_ddb_alloc); in skl_cursor_allocation()
4296 int num_active; in skl_allocate_pipe_ddb() local
[all …]
/netbsd-src/external/mpl/dhcp/dist/includes/
H A Ddhcpd.h1716 isc_uint64_t num_active; /* count of active leases */ member
1754 isc_uint64_t num_active; /* Number of elements in the pond in use */ member
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.c4796 int num_active = 0; in count_crtc_active_planes() local
4813 num_active += 1; in count_crtc_active_planes()
4818 num_active += (new_plane_state->fb != NULL); in count_crtc_active_planes()
4821 return num_active; in count_crtc_active_planes()