Searched refs:n_alloc (Results 1 – 4 of 4) sorted by relevance
20 unsigned int n_alloc; member32 unsigned int n_alloc, i; in add_policy() local37 for (i = 0; i < state->n_alloc; i++) { in add_policy()49 n_alloc = state->n_alloc + INITIAL_POLICIES_ALLOC; in add_policy()55 memset(&state->policies[state->n_alloc], 0, in add_policy()56 flex_array_size(state, policies, n_alloc - state->n_alloc)); in add_policy()58 state->policies[state->n_alloc].policy = policy; in add_policy()60 state->n_alloc = n_alloc; in add_policy()90 for (i = 0; i < state->n_alloc; i++) { in netlink_policy_dump_get_policy_idx()108 state->n_alloc = INITIAL_POLICIES_ALLOC; in alloc_state()[all …]
976 static double fragmentation(unsigned long n_req, unsigned long n_alloc) in fragmentation() argument978 if (n_alloc == 0) in fragmentation()981 return 100.0 - (100.0 * n_req / n_alloc); in fragmentation()
4185 sli4->ext[i].n_alloc = 0; in sli_get_read_config()4867 rtype, sli4->ext[rtype].n_alloc); in sli_resource_alloc()4881 sli4->ext[rtype].n_alloc++; in sli_resource_alloc()
3630 u32 n_alloc; member
Completed in 38 milliseconds