Lines Matching refs:nel
688 hash_name, h->nel, info.slots_used, h->size, in hash_eval()
726 p->p_classes.nprim, p->te_avtab.nel); in policydb_index()
1130 u32 len, nel; in common_read() local
1143 nel = le32_to_cpu(buf[3]); in common_read()
1145 rc = symtab_init(&comdatum->permissions, nel); in common_read()
1154 for (i = 0; i < nel; i++) { in common_read()
1294 u32 len, len2, ncons, nel; in class_read() local
1308 nel = le32_to_cpu(buf[4]); in class_read()
1310 rc = symtab_init(&cladatum->permissions, nel); in class_read()
1335 for (i = 0; i < nel; i++) { in class_read()
1812 u32 nel; in range_read() local
1821 nel = le32_to_cpu(buf[0]); in range_read()
1823 rc = hashtab_init(&p->range_tr, nel); in range_read()
1827 for (i = 0; i < nel; i++) { in range_read()
2058 u32 nel; in filename_trans_read() local
2068 nel = le32_to_cpu(buf[0]); in filename_trans_read()
2071 p->compat_filename_trans_count = nel; in filename_trans_read()
2077 for (i = 0; i < nel; i++) { in filename_trans_read()
2083 rc = hashtab_init(&p->filename_trans, nel); in filename_trans_read()
2087 for (i = 0; i < nel; i++) { in filename_trans_read()
2100 u32 nel, nel2, len, len2; in genfs_read() local
2110 nel = le32_to_cpu(buf[0]); in genfs_read()
2112 for (i = 0; i < nel; i++) { in genfs_read()
2214 u32 nel, len; in ocontext_read() local
2224 nel = le32_to_cpu(buf[0]); in ocontext_read()
2227 for (j = 0; j < nel; j++) { in ocontext_read()
2403 u32 len, nprim, nel, perm; in policydb_read() local
2523 nel = le32_to_cpu(buf[1]); in policydb_read()
2525 rc = symtab_init(&p->symtab[i], nel); in policydb_read()
2535 for (j = 0; j < nel; j++) { in policydb_read()
2564 nel = le32_to_cpu(buf[0]); in policydb_read()
2566 rc = hashtab_init(&p->role_tr, nel); in policydb_read()
2569 for (i = 0; i < nel; i++) { in policydb_read()
2613 nel = le32_to_cpu(buf[0]); in policydb_read()
2615 for (i = 0; i < nel; i++) { in policydb_read()
2854 buf[0] = cpu_to_le32(p->role_tr.nel); in role_trans_write()
2866 size_t nel; in role_allow_write() local
2869 nel = 0; in role_allow_write()
2871 nel++; in role_allow_write()
2872 buf[0] = cpu_to_le32(nel); in role_allow_write()
2953 buf[3] = cpu_to_le32(comdatum->permissions.table.nel); in common_write()
2993 u32 nel; in write_cons_helper() local
2997 nel = 0; in write_cons_helper()
2999 nel++; in write_cons_helper()
3001 buf[1] = cpu_to_le32(nel); in write_cons_helper()
3061 buf[4] = cpu_to_le32(cladatum->permissions.table.nel); in class_write()
3255 size_t nel, len; in ocontext_write() local
3261 nel = 0; in ocontext_write()
3263 nel++; in ocontext_write()
3264 buf[0] = cpu_to_le32(nel); in ocontext_write()
3470 buf[0] = cpu_to_le32(p->range_tr.nel); in range_write()
3586 buf[0] = cpu_to_le32(p->filename_trans.nel); in filename_trans_write()
3680 buf[1] = cpu_to_le32(p->symtab[i].table.nel); in policydb_write()