Searched refs:elems_total (Results 1 – 1 of 1) sorted by relevance
51 int elems_total = 0; in get_nsec_memory_helper() local97 elems_total += n; in get_nsec_memory_helper()100 return elems_total; in get_nsec_memory_helper()108 int elems_total = 0; in get_nsec_memory() local110 elems_total = get_nsec_memory_helper(fdt, NULL, dev_type); in get_nsec_memory()111 if (elems_total <= 0) in get_nsec_memory()114 mem = nex_calloc(elems_total, sizeof(*mem)); in get_nsec_memory()118 elems_total = get_nsec_memory_helper(fdt, mem, dev_type); in get_nsec_memory()119 assert(elems_total > 0); in get_nsec_memory()121 *nelems = elems_total; in get_nsec_memory()