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
2529 nel = le32_to_cpu(buf[1]); in policydb_read()
2531 rc = symtab_init(&p->symtab[i], nel); in policydb_read()
2541 for (j = 0; j < nel; j++) { in policydb_read()
2570 nel = le32_to_cpu(buf[0]); in policydb_read()
2572 rc = hashtab_init(&p->role_tr, nel); in policydb_read()
2575 for (i = 0; i < nel; i++) { in policydb_read()
2619 nel = le32_to_cpu(buf[0]); in policydb_read()
2621 for (i = 0; i < nel; i++) { in policydb_read()
2860 buf[0] = cpu_to_le32(p->role_tr.nel); in role_trans_write()
2872 size_t nel; in role_allow_write() local
2875 nel = 0; in role_allow_write()
2877 nel++; in role_allow_write()
2878 buf[0] = cpu_to_le32(nel); in role_allow_write()
2959 buf[3] = cpu_to_le32(comdatum->permissions.table.nel); in common_write()
2999 u32 nel; in write_cons_helper() local
3003 nel = 0; in write_cons_helper()
3005 nel++; in write_cons_helper()
3007 buf[1] = cpu_to_le32(nel); in write_cons_helper()
3067 buf[4] = cpu_to_le32(cladatum->permissions.table.nel); in class_write()
3263 size_t nel, len; in ocontext_write() local
3269 nel = 0; in ocontext_write()
3271 nel++; in ocontext_write()
3272 buf[0] = cpu_to_le32(nel); in ocontext_write()
3478 buf[0] = cpu_to_le32(p->range_tr.nel); in range_write()
3594 buf[0] = cpu_to_le32(p->filename_trans.nel); in filename_trans_write()
3688 buf[1] = cpu_to_le32(p->symtab[i].table.nel); in policydb_write()