Home
last modified time | relevance | path

Searched refs:n_alloc (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/net/netlink/
Dpolicy.c20 unsigned int n_alloc; member
24 } policies[] __counted_by(n_alloc);
32 unsigned int old_n_alloc, n_alloc, i; in add_policy() local
37 for (i = 0; i < state->n_alloc; i++) { in add_policy()
49 n_alloc = state->n_alloc + INITIAL_POLICIES_ALLOC; in add_policy()
50 state = krealloc(state, struct_size(state, policies, n_alloc), in add_policy()
55 old_n_alloc = state->n_alloc; in add_policy()
56 state->n_alloc = n_alloc; in add_policy()
58 flex_array_size(state, policies, n_alloc - old_n_alloc)); in add_policy()
91 for (i = 0; i < state->n_alloc; i++) { in netlink_policy_dump_get_policy_idx()
[all …]
/linux-6.12.1/tools/perf/
Dbuiltin-kmem.c989 static double fragmentation(unsigned long n_req, unsigned long n_alloc) in fragmentation() argument
991 if (n_alloc == 0) in fragmentation()
994 return 100.0 - (100.0 * n_req / n_alloc); in fragmentation()
/linux-6.12.1/drivers/scsi/elx/libefc_sli/
Dsli4.c4181 sli4->ext[i].n_alloc = 0; in sli_get_read_config()
4863 rtype, sli4->ext[rtype].n_alloc); in sli_resource_alloc()
4877 sli4->ext[rtype].n_alloc++; in sli_resource_alloc()
Dsli4.h3630 u32 n_alloc; member