Home
last modified time | relevance | path

Searched refs:num_instances (Results 1 – 2 of 2) sorted by relevance

/freebsd/tests/sys/netinet/libalias/
H A D1_instance.c94 int const num_instances = sizeof(la) / sizeof(*la); variable
97 for (i = 0; i < num_instances; i++) {
102 qsort(la, num_instances, sizeof(*la), randcmp);
104 for (i = 0; i < num_instances; i++)
/freebsd/sys/dev/mlx4/mlx4_core/
H A Dmlx4_resource_tracker.c424 int vf, int num_instances) in initialize_res_quotas() argument
426 res_alloc->guaranteed[vf] = num_instances / in initialize_res_quotas()
428 res_alloc->quota[vf] = (num_instances / 2) + res_alloc->guaranteed[vf]; in initialize_res_quotas()
430 res_alloc->res_free = num_instances; in initialize_res_quotas()