Lines Matching refs:ents
115 int ents, ret, i; in read_obp_memory() local
117 ents = prop_size / sizeof(struct linux_prom64_registers); in read_obp_memory()
118 if (ents > MAX_BANKS) { in read_obp_memory()
135 for (i = 0; i < ents; i++) { in read_obp_memory()
156 (ents - i - 1) * sizeof(regs[0])); in read_obp_memory()
158 ents--; in read_obp_memory()
165 *num_ents = ents; in read_obp_memory()
167 sort(regs, ents, sizeof(struct linux_prom64_registers), in read_obp_memory()
586 int n, node, ents, first, last, i; in read_obp_translations() local
608 ents = n; in read_obp_translations()
610 sort(prom_trans, ents, sizeof(struct linux_prom_translation), in read_obp_translations()
614 for (i = 0; i < ents; i++) { in read_obp_translations()
619 for (; i < ents; i++) { in read_obp_translations()
631 for (; i < ents; i++) { in read_obp_translations()