Home
last modified time | relevance | path

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

/linux/arch/powerpc/platforms/pseries/
H A Dhotplug-memory.c58 __be32 *assoc_arrays; in find_aa_index() local
70 assoc_arrays = ala_prop->value; in find_aa_index()
72 aa_arrays = be32_to_cpu(assoc_arrays[0]); in find_aa_index()
73 aa_array_entries = be32_to_cpu(assoc_arrays[1]); in find_aa_index()
79 if (memcmp(&assoc_arrays[index], &lmb_assoc[1], aa_array_sz)) in find_aa_index()
91 assoc_arrays = new_prop->value; in find_aa_index()
94 assoc_arrays[0] = cpu_to_be32(aa_arrays + 1); in find_aa_index()
98 memcpy(&assoc_arrays[index], &lmb_assoc[1], aa_array_sz); in find_aa_index()
107 *aa_index = be32_to_cpu(assoc_arrays[0]) - 1; in find_aa_index()
/linux/arch/powerpc/mm/
H A Dnuma.c537 struct assoc_arrays { struct
553 static int of_get_assoc_arrays(struct assoc_arrays *aa) in of_get_assoc_arrays() argument
586 struct assoc_arrays aa = { .arrays = NULL }; in get_nid_and_numa_distance()
622 struct assoc_arrays aa = { .arrays = NULL }; in of_drconf_to_nid_single()