Lines Matching refs:nel
107 unsigned merge, unsigned commit, uint32_t * nel) in avtab_write_item() argument
185 if (nel) in avtab_write_item()
186 (*nel)--; /* one less node */ in avtab_write_item()
285 uint32_t nel; in avtab_write() local
303 nel = a->nel; in avtab_write()
306 nel = cpu_to_le32(a->nel); in avtab_write()
307 items = put_entry(&nel, sizeof(uint32_t), 1, fp); in avtab_write()
316 if (avtab_write_item(p, cur, fp, 1, !oldvers, &nel)) { in avtab_write()
326 nel = cpu_to_le32(nel); in avtab_write()
327 items = put_entry(&nel, sizeof(uint32_t), 1, fp); in avtab_write()
509 size_t nel, items; in role_trans_write() local
514 nel = 0; in role_trans_write()
517 nel++; in role_trans_write()
519 buf[0] = cpu_to_le32(nel); in role_trans_write()
553 size_t nel, items; in role_allow_write() local
555 nel = 0; in role_allow_write()
557 nel++; in role_allow_write()
558 buf[0] = cpu_to_le32(nel); in role_allow_write()
674 buf[0] = cpu_to_le32(p->filename_trans->nel); in filename_trans_write()
961 buf[items++] = cpu_to_le32(comdatum->permissions.table->nel); in common_write()
1056 buf[items++] = cpu_to_le32(cladatum->permissions.table->nel); in class_write()
1352 size_t nel, items, len; in ocontext_write_xen() local
1356 nel = 0; in ocontext_write_xen()
1364 nel++; in ocontext_write_xen()
1366 buf[0] = cpu_to_le32(nel); in ocontext_write_xen()
1460 size_t nel, items, len; in ocontext_write_selinux() local
1464 nel = 0; in ocontext_write_selinux()
1472 nel++; in ocontext_write_selinux()
1474 buf[0] = cpu_to_le32(nel); in ocontext_write_selinux()
1605 size_t nel = 0, items, len; in genfs_write() local
1609 nel++; in genfs_write()
1610 buf[0] = cpu_to_le32(nel); in genfs_write()
1623 nel = 0; in genfs_write()
1625 nel++; in genfs_write()
1626 buf[0] = cpu_to_le32(nel); in genfs_write()
1652 size_t nel; member
1670 args->nel++; in rangetrans_count()
1723 args.nel = 0; in range_write()
1731 buf[0] = cpu_to_le32(args.nel); in range_write()
1785 size_t nel = ARRAY_SIZE(avrule->xperms->perms); in avrule_write() local
1786 uint32_t buf32[nel]; in avrule_write()
1814 for (i = 0; i < nel; i++) in avrule_write()
1816 items = put_entry(buf32, sizeof(uint32_t), nel, fp); in avrule_write()
1817 if (items != nel) in avrule_write()
1871 int nel = 0; in role_trans_rule_write() local
1880 nel++; in role_trans_rule_write()
1882 buf[0] = cpu_to_le32(nel); in role_trans_rule_write()
1912 int nel = 0; in role_allow_rule_write() local
1918 nel++; in role_allow_rule_write()
1919 buf[0] = cpu_to_le32(nel); in role_allow_rule_write()
1934 int nel = 0; in filename_trans_rule_write() local
1940 nel++; in filename_trans_rule_write()
1942 buf[0] = cpu_to_le32(nel); in filename_trans_rule_write()
1976 int nel = 0; in range_trans_rule_write() local
1982 nel++; in range_trans_rule_write()
1983 buf[0] = cpu_to_le32(nel); in range_trans_rule_write()
2057 buf[1] = cpu_to_le32(decl->symtab[i].table->nel); in avrule_decl_write()
2301 buf[1] = p->symtab[i].table->nel; in policydb_write()
2363 buf[0] = cpu_to_le32(p->scope[i].table->nel); in policydb_write()