Lines Matching refs:i
279 int i; in avtab_destroy() local
285 for (i = 0; i < h->nslot; i++) { in avtab_destroy()
286 cur = h->htable[i]; in avtab_destroy()
346 int i, chain_len, slots_used, max_chain_len; in avtab_hash_eval() local
353 for (i = 0; i < h->nslot; i++) { in avtab_hash_eval()
354 cur = h->htable[i]; in avtab_hash_eval()
399 int i, rc; in avtab_read_item() local
460 for (i = 0; i < ARRAY_SIZE(spec_order); i++) { in avtab_read_item()
461 if (val & spec_order[i]) { in avtab_read_item()
462 key.specified = spec_order[i] | enabled; in avtab_read_item()
498 for (i = 0; i < ARRAY_SIZE(spec_order); i++) { in avtab_read_item()
499 if (key.specified & spec_order[i]) in avtab_read_item()
530 for (i = 0; i < ARRAY_SIZE(xperms.perms.p); i++) in avtab_read_item()
531 xperms.perms.p[i] = le32_to_cpu(buf32[i]); in avtab_read_item()
559 u32 nel, i; in avtab_read() local
578 for (i = 0; i < nel; i++) { in avtab_read()
604 unsigned int i; in avtab_write_item() local
621 for (i = 0; i < ARRAY_SIZE(cur->datum.u.xperms->perms.p); i++) in avtab_write_item()
622 buf32[i] = cpu_to_le32(cur->datum.u.xperms->perms.p[i]); in avtab_write_item()
636 unsigned int i; in avtab_write() local
646 for (i = 0; i < a->nslot; i++) { in avtab_write()
647 for (cur = a->htable[i]; cur; in avtab_write()