Lines Matching refs:nel
508 "longest chain length %d\n", hash_name, h->nel, in hash_eval()
546 p->p_classes.nprim, p->te_avtab.nel); in policydb_index()
1157 u32 len, nel; in common_read() local
1175 nel = le32_to_cpu(buf[3]); in common_read()
1181 for (i = 0; i < nel; i++) { in common_read()
1322 u32 len, len2, ncons, nel; in class_read() local
1341 nel = le32_to_cpu(buf[4]); in class_read()
1362 for (i = 0; i < nel; i++) { in class_read()
1845 u32 nel; in range_read() local
1854 nel = le32_to_cpu(buf[0]); in range_read()
1855 for (i = 0; i < nel; i++) { in range_read()
1916 u32 nel, len; in filename_trans_read() local
1926 nel = le32_to_cpu(buf[0]); in filename_trans_read()
1928 for (i = 0; i < nel; i++) { in filename_trans_read()
1996 u32 nel, nel2, len, len2; in genfs_read() local
2006 nel = le32_to_cpu(buf[0]); in genfs_read()
2008 for (i = 0; i < nel; i++) { in genfs_read()
2110 u32 nel, len; in ocontext_read() local
2119 nel = le32_to_cpu(buf[0]); in ocontext_read()
2122 for (j = 0; j < nel; j++) { in ocontext_read()
2283 u32 len, nprim, nel; in policydb_read() local
2405 nel = le32_to_cpu(buf[1]); in policydb_read()
2406 for (j = 0; j < nel; j++) { in policydb_read()
2433 nel = le32_to_cpu(buf[0]); in policydb_read()
2435 for (i = 0; i < nel; i++) { in policydb_read()
2472 nel = le32_to_cpu(buf[0]); in policydb_read()
2474 for (i = 0; i < nel; i++) { in policydb_read()
2681 size_t nel; in role_trans_write() local
2684 nel = 0; in role_trans_write()
2686 nel++; in role_trans_write()
2687 buf[0] = cpu_to_le32(nel); in role_trans_write()
2713 size_t nel; in role_allow_write() local
2716 nel = 0; in role_allow_write()
2718 nel++; in role_allow_write()
2719 buf[0] = cpu_to_le32(nel); in role_allow_write()
2800 buf[3] = cpu_to_le32(comdatum->permissions.table->nel); in common_write()
2840 u32 nel; in write_cons_helper() local
2844 nel = 0; in write_cons_helper()
2846 nel++; in write_cons_helper()
2848 buf[1] = cpu_to_le32(nel); in write_cons_helper()
2909 buf[4] = cpu_to_le32(cladatum->permissions.table->nel); in class_write()
3107 size_t nel, len; in ocontext_write() local
3112 nel = 0; in ocontext_write()
3114 nel++; in ocontext_write()
3115 buf[0] = cpu_to_le32(nel); in ocontext_write()
3318 int rc, nel; in range_write() local
3325 nel = 0; in range_write()
3326 rc = hashtab_map(p->range_tr, hashtab_cnt, &nel); in range_write()
3330 buf[0] = cpu_to_le32(nel); in range_write()
3376 u32 nel; in filename_trans_write() local
3383 nel = 0; in filename_trans_write()
3384 rc = hashtab_map(p->filename_trans, hashtab_cnt, &nel); in filename_trans_write()
3388 buf[0] = cpu_to_le32(nel); in filename_trans_write()
3484 buf[1] = cpu_to_le32(p->symtab[i].table->nel); in policydb_write()