Lines Matching refs:nel
108 unsigned merge, unsigned commit, uint32_t * nel) in avtab_write_item() argument
186 if (nel) in avtab_write_item()
187 (*nel)--; /* one less node */ in avtab_write_item()
286 uint32_t nel; in avtab_write() local
304 nel = a->nel; in avtab_write()
307 nel = cpu_to_le32(a->nel); in avtab_write()
308 items = put_entry(&nel, sizeof(uint32_t), 1, fp); in avtab_write()
317 if (avtab_write_item(p, cur, fp, 1, !oldvers, &nel)) { in avtab_write()
327 nel = cpu_to_le32(nel); in avtab_write()
328 items = put_entry(&nel, sizeof(uint32_t), 1, fp); in avtab_write()
510 size_t nel, items; in role_trans_write() local
515 nel = 0; in role_trans_write()
518 nel++; in role_trans_write()
520 buf[0] = cpu_to_le32(nel); in role_trans_write()
554 size_t nel, items; in role_allow_write() local
556 nel = 0; in role_allow_write()
558 nel++; in role_allow_write()
559 buf[0] = cpu_to_le32(nel); in role_allow_write()
604 size_t nel, items; in filename_trans_write() local
611 nel = p->filename_trans->nel; in filename_trans_write()
612 buf[0] = cpu_to_le32(nel); in filename_trans_write()
901 buf[items++] = cpu_to_le32(comdatum->permissions.table->nel); in common_write()
996 buf[items++] = cpu_to_le32(cladatum->permissions.table->nel); in class_write()
1292 size_t nel, items, len; in ocontext_write_xen() local
1296 nel = 0; in ocontext_write_xen()
1304 nel++; in ocontext_write_xen()
1306 buf[0] = cpu_to_le32(nel); in ocontext_write_xen()
1400 size_t nel, items, len; in ocontext_write_selinux() local
1404 nel = 0; in ocontext_write_selinux()
1412 nel++; in ocontext_write_selinux()
1414 buf[0] = cpu_to_le32(nel); in ocontext_write_selinux()
1545 size_t nel = 0, items, len; in genfs_write() local
1549 nel++; in genfs_write()
1550 buf[0] = cpu_to_le32(nel); in genfs_write()
1563 nel = 0; in genfs_write()
1565 nel++; in genfs_write()
1566 buf[0] = cpu_to_le32(nel); in genfs_write()
1592 size_t nel; member
1608 args->nel++; in rangetrans_count()
1660 args.nel = 0; in range_write()
1667 buf[0] = cpu_to_le32(args.nel); in range_write()
1721 size_t nel = ARRAY_SIZE(avrule->xperms->perms); in avrule_write() local
1722 uint32_t buf32[nel]; in avrule_write()
1750 for (i = 0; i < nel; i++) in avrule_write()
1752 items = put_entry(buf32, sizeof(uint32_t), nel, fp); in avrule_write()
1753 if (items != nel) in avrule_write()
1802 int nel = 0; in role_trans_rule_write() local
1811 nel++; in role_trans_rule_write()
1813 buf[0] = cpu_to_le32(nel); in role_trans_rule_write()
1843 int nel = 0; in role_allow_rule_write() local
1849 nel++; in role_allow_rule_write()
1850 buf[0] = cpu_to_le32(nel); in role_allow_rule_write()
1865 int nel = 0; in filename_trans_rule_write() local
1871 nel++; in filename_trans_rule_write()
1873 buf[0] = cpu_to_le32(nel); in filename_trans_rule_write()
1907 int nel = 0; in range_trans_rule_write() local
1913 nel++; in range_trans_rule_write()
1914 buf[0] = cpu_to_le32(nel); in range_trans_rule_write()
1988 buf[1] = cpu_to_le32(decl->symtab[i].table->nel); in avrule_decl_write()
2234 buf[1] = p->symtab[i].table->nel; in policydb_write()
2296 buf[0] = cpu_to_le32(p->scope[i].table->nel); in policydb_write()