Lines Matching refs:nel
694 hash_name, h->nel, info.slots_used, h->size, in hash_eval()
732 p->p_classes.nprim, p->te_avtab.nel); in policydb_index()
1136 u32 len, nel; in common_read() local
1149 nel = le32_to_cpu(buf[3]); in common_read()
1151 rc = symtab_init(&comdatum->permissions, nel); in common_read()
1160 for (i = 0; i < nel; i++) { in common_read()
1300 u32 len, len2, ncons, nel; in class_read() local
1314 nel = le32_to_cpu(buf[4]); in class_read()
1316 rc = symtab_init(&cladatum->permissions, nel); in class_read()
1341 for (i = 0; i < nel; i++) { in class_read()
1818 u32 nel; in range_read() local
1827 nel = le32_to_cpu(buf[0]); in range_read()
1829 rc = hashtab_init(&p->range_tr, nel); in range_read()
1833 for (i = 0; i < nel; i++) { in range_read()
2064 u32 nel; in filename_trans_read() local
2074 nel = le32_to_cpu(buf[0]); in filename_trans_read()
2077 p->compat_filename_trans_count = nel; in filename_trans_read()
2083 for (i = 0; i < nel; i++) { in filename_trans_read()
2089 rc = hashtab_init(&p->filename_trans, nel); in filename_trans_read()
2093 for (i = 0; i < nel; i++) { in filename_trans_read()
2106 u32 nel, nel2, len, len2; in genfs_read() local
2116 nel = le32_to_cpu(buf[0]); in genfs_read()
2118 for (i = 0; i < nel; i++) { in genfs_read()
2220 u32 nel, len; in ocontext_read() local
2230 nel = le32_to_cpu(buf[0]); in ocontext_read()
2233 for (j = 0; j < nel; j++) { in ocontext_read()
2409 u32 len, nprim, nel, perm; in policydb_read() local
2537 nel = le32_to_cpu(buf[1]); in policydb_read()
2539 rc = symtab_init(&p->symtab[i], nel); in policydb_read()
2549 for (j = 0; j < nel; j++) { in policydb_read()
2578 nel = le32_to_cpu(buf[0]); in policydb_read()
2580 rc = hashtab_init(&p->role_tr, nel); in policydb_read()
2583 for (i = 0; i < nel; i++) { in policydb_read()
2628 nel = le32_to_cpu(buf[0]); in policydb_read()
2630 for (i = 0; i < nel; i++) { in policydb_read()
2869 buf[0] = cpu_to_le32(p->role_tr.nel); in role_trans_write()
2881 size_t nel; in role_allow_write() local
2884 nel = 0; in role_allow_write()
2886 nel++; in role_allow_write()
2887 buf[0] = cpu_to_le32(nel); in role_allow_write()
2968 buf[3] = cpu_to_le32(comdatum->permissions.table.nel); in common_write()
3008 u32 nel; in write_cons_helper() local
3012 nel = 0; in write_cons_helper()
3014 nel++; in write_cons_helper()
3016 buf[1] = cpu_to_le32(nel); in write_cons_helper()
3076 buf[4] = cpu_to_le32(cladatum->permissions.table.nel); in class_write()
3272 size_t nel, len; in ocontext_write() local
3278 nel = 0; in ocontext_write()
3280 nel++; in ocontext_write()
3281 buf[0] = cpu_to_le32(nel); in ocontext_write()
3487 buf[0] = cpu_to_le32(p->range_tr.nel); in range_write()
3603 buf[0] = cpu_to_le32(p->filename_trans.nel); in filename_trans_write()
3697 buf[1] = cpu_to_le32(p->symtab[i].table.nel); in policydb_write()