Searched refs:num_specs (Results 1 – 4 of 4) sorted by relevance
140 struct ib_uflow_resources *flow_resources_alloc(size_t num_specs);
236 .num_specs = ARRAY_SIZE(uniphier_aio_pxs2),
219 int num_specs; member
2591 struct ib_uflow_resources *flow_resources_alloc(size_t num_specs) in flow_resources_alloc() argument2600 if (!num_specs) in flow_resources_alloc()2604 kcalloc(num_specs, sizeof(*resources->counters), GFP_KERNEL); in flow_resources_alloc()2606 kcalloc(num_specs, sizeof(*resources->collection), GFP_KERNEL); in flow_resources_alloc()2612 resources->max = num_specs; in flow_resources_alloc()