Lines Matching refs:nel

499 	       "longest chain length %d\n", hash_name, h->nel,  in hash_eval()
535 p->p_classes.nprim, p->te_avtab.nel); in policydb_index()
1151 u32 len, nel; in common_read() local
1170 nel = le32_to_cpu(buf[3]); in common_read()
1176 for (i = 0; i < nel; i++) { in common_read()
1317 u32 len, len2, ncons, nel; in class_read() local
1337 nel = le32_to_cpu(buf[4]); in class_read()
1357 for (i = 0; i < nel; i++) { in class_read()
1847 u32 nel; in range_read() local
1856 nel = le32_to_cpu(buf[0]); in range_read()
1857 for (i = 0; i < nel; i++) { in range_read()
1918 u32 nel, len; in filename_trans_read() local
1928 nel = le32_to_cpu(buf[0]); in filename_trans_read()
1930 for (i = 0; i < nel; i++) { in filename_trans_read()
1999 u32 nel, nel2, len, len2; in genfs_read() local
2009 nel = le32_to_cpu(buf[0]); in genfs_read()
2011 for (i = 0; i < nel; i++) { in genfs_read()
2112 u32 nel, len; in ocontext_read() local
2121 nel = le32_to_cpu(buf[0]); in ocontext_read()
2124 for (j = 0; j < nel; j++) { in ocontext_read()
2240 u32 len, nprim, nel; in policydb_read() local
2362 nel = le32_to_cpu(buf[1]); in policydb_read()
2363 for (j = 0; j < nel; j++) { in policydb_read()
2390 nel = le32_to_cpu(buf[0]); in policydb_read()
2392 for (i = 0; i < nel; i++) { in policydb_read()
2428 nel = le32_to_cpu(buf[0]); in policydb_read()
2430 for (i = 0; i < nel; i++) { in policydb_read()
2637 size_t nel; in role_trans_write() local
2640 nel = 0; in role_trans_write()
2642 nel++; in role_trans_write()
2643 buf[0] = cpu_to_le32(nel); in role_trans_write()
2669 size_t nel; in role_allow_write() local
2672 nel = 0; in role_allow_write()
2674 nel++; in role_allow_write()
2675 buf[0] = cpu_to_le32(nel); in role_allow_write()
2756 buf[3] = cpu_to_le32(comdatum->permissions.table->nel); in common_write()
2796 u32 nel; in write_cons_helper() local
2800 nel = 0; in write_cons_helper()
2802 nel++; in write_cons_helper()
2804 buf[1] = cpu_to_le32(nel); in write_cons_helper()
2865 buf[4] = cpu_to_le32(cladatum->permissions.table->nel); in class_write()
3063 size_t nel, len; in ocontext_write() local
3068 nel = 0; in ocontext_write()
3070 nel++; in ocontext_write()
3071 buf[0] = cpu_to_le32(nel); in ocontext_write()
3247 int rc, nel; in range_write() local
3254 nel = 0; in range_write()
3255 rc = hashtab_map(p->range_tr, hashtab_cnt, &nel); in range_write()
3259 buf[0] = cpu_to_le32(nel); in range_write()
3305 u32 nel; in filename_trans_write() local
3312 nel = 0; in filename_trans_write()
3313 rc = hashtab_map(p->filename_trans, hashtab_cnt, &nel); in filename_trans_write()
3317 buf[0] = cpu_to_le32(nel); in filename_trans_write()
3413 buf[1] = cpu_to_le32(p->symtab[i].table->nel); in policydb_write()