• Home
  • Raw
  • Download

Lines Matching refs:cpu_to_le32

62 	buf[0] = cpu_to_le32(MAPSIZE);  in ebitmap_write()
63 buf[1] = cpu_to_le32(e->highbit); in ebitmap_write()
68 buf[2] = cpu_to_le32(count); in ebitmap_write()
75 bit = cpu_to_le32(n->startbit); in ebitmap_write()
122 buf32[items++] = cpu_to_le32(val); in avtab_write_item()
124 buf32[items++] = cpu_to_le32(val); in avtab_write_item()
126 buf32[items++] = cpu_to_le32(val); in avtab_write_item()
162 buf32[items++] = cpu_to_le32(val); in avtab_write_item()
187 cpu_to_le32(node->datum.data); in avtab_write_item()
193 buf32[items++] = cpu_to_le32(cur->datum.data); in avtab_write_item()
203 buf32[0] = cpu_to_le32(items - 1); in avtab_write_item()
223 buf32[0] = cpu_to_le32(cur->datum.data); in avtab_write_item()
267 nel = cpu_to_le32(a->nel); in avtab_write()
287 nel = cpu_to_le32(nel); in avtab_write()
325 buf[0] = cpu_to_le32(l->sens); in mls_write_semantic_level_helper()
326 buf[1] = cpu_to_le32(ncat); in mls_write_semantic_level_helper()
332 buf[0] = cpu_to_le32(cat->low); in mls_write_semantic_level_helper()
333 buf[1] = cpu_to_le32(cat->high); in mls_write_semantic_level_helper()
369 sens = cpu_to_le32(l->sens); in mls_write_level()
393 buf[items++] = cpu_to_le32(r->level[0].sens); in mls_write_range_helper()
395 buf[items++] = cpu_to_le32(r->level[1].sens); in mls_write_range_helper()
396 buf[0] = cpu_to_le32(items - 1); in mls_write_range_helper()
423 buf[items++] = cpu_to_le32(len); in sens_write()
424 buf[items++] = cpu_to_le32(levdatum->isalias); in sens_write()
451 buf[items++] = cpu_to_le32(len); in cat_write()
452 buf[items++] = cpu_to_le32(catdatum->s.value); in cat_write()
453 buf[items++] = cpu_to_le32(catdatum->isalias); in cat_write()
480 buf[0] = cpu_to_le32(nel); in role_trans_write()
493 buf[0] = cpu_to_le32(tr->role); in role_trans_write()
494 buf[1] = cpu_to_le32(tr->type); in role_trans_write()
495 buf[2] = cpu_to_le32(tr->new_role); in role_trans_write()
500 buf[0] = cpu_to_le32(tr->tclass); in role_trans_write()
519 buf[0] = cpu_to_le32(nel); in role_allow_write()
524 buf[0] = cpu_to_le32(ra->role); in role_allow_write()
525 buf[1] = cpu_to_le32(ra->new_role); in role_allow_write()
542 buf[0] = cpu_to_le32(nel); in filename_trans_write()
548 buf[0] = cpu_to_le32(len); in filename_trans_write()
557 buf[0] = cpu_to_le32(ft->stype); in filename_trans_write()
558 buf[1] = cpu_to_le32(ft->ttype); in filename_trans_write()
559 buf[2] = cpu_to_le32(ft->tclass); in filename_trans_write()
560 buf[3] = cpu_to_le32(ft->otype); in filename_trans_write()
577 buf[0] = cpu_to_le32(x->flags); in role_set_write()
595 buf[0] = cpu_to_le32(x->flags); in type_set_write()
616 buf[items++] = cpu_to_le32(booldatum->s.value); in cond_write_bool()
617 buf[items++] = cpu_to_le32(booldatum->state); in cond_write_bool()
618 buf[items++] = cpu_to_le32(len); in cond_write_bool()
628 buf[0] = cpu_to_le32(booldatum->flags); in cond_write_bool()
671 buf[0] = cpu_to_le32(len); in cond_write_av_list()
704 buf[0] = cpu_to_le32(node->cur_state); in cond_write_node()
714 buf[0] = cpu_to_le32(len); in cond_write_node()
721 buf[items++] = cpu_to_le32(cur_expr->expr_type); in cond_write_node()
722 buf[items++] = cpu_to_le32(cur_expr->bool); in cond_write_node()
742 buf[0] = cpu_to_le32(node->flags); in cond_write_node()
761 buf[0] = cpu_to_le32(len); in cond_write_list()
784 buf[items++] = cpu_to_le32(c->user); in context_write()
785 buf[items++] = cpu_to_le32(c->role); in context_write()
786 buf[items++] = cpu_to_le32(c->type); in context_write()
818 buf[items++] = cpu_to_le32(len); in perm_write()
819 buf[items++] = cpu_to_le32(perdatum->s.value); in perm_write()
843 buf[items++] = cpu_to_le32(len); in common_write()
844 buf[items++] = cpu_to_le32(comdatum->s.value); in common_write()
845 buf[items++] = cpu_to_le32(comdatum->permissions.nprim); in common_write()
846 buf[items++] = cpu_to_le32(comdatum->permissions.table->nel); in common_write()
875 buf[0] = cpu_to_le32(c->permissions); in write_cons_helper()
876 buf[1] = cpu_to_le32(nexpr); in write_cons_helper()
882 buf[0] = cpu_to_le32(e->expr_type); in write_cons_helper()
883 buf[1] = cpu_to_le32(e->attr); in write_cons_helper()
884 buf[2] = cpu_to_le32(e->op); in write_cons_helper()
934 buf[items++] = cpu_to_le32(len); in class_write()
935 buf[items++] = cpu_to_le32(len2); in class_write()
936 buf[items++] = cpu_to_le32(cladatum->s.value); in class_write()
937 buf[items++] = cpu_to_le32(cladatum->permissions.nprim); in class_write()
939 buf[items++] = cpu_to_le32(cladatum->permissions.table->nel); in class_write()
942 buf[items++] = cpu_to_le32(ncons); in class_write()
971 buf[0] = cpu_to_le32(ncons); in class_write()
1008 buf[items++] = cpu_to_le32(len); in role_write()
1009 buf[items++] = cpu_to_le32(role->s.value); in role_write()
1011 buf[items++] = cpu_to_le32(role->bounds); in role_write()
1032 buf[0] = cpu_to_le32(role->flavor); in role_write()
1066 buf[items++] = cpu_to_le32(len); in type_write()
1067 buf[items++] = cpu_to_le32(typdatum->s.value); in type_write()
1073 buf[items++] = cpu_to_le32(typdatum->primary); in type_write()
1089 buf[items++] = cpu_to_le32(properties); in type_write()
1090 buf[items++] = cpu_to_le32(typdatum->bounds); in type_write()
1092 buf[items++] = cpu_to_le32(typdatum->primary); in type_write()
1095 buf[items++] = cpu_to_le32(typdatum->flavor); in type_write()
1098 buf[items++] = cpu_to_le32(typdatum->flags); in type_write()
1135 buf[items++] = cpu_to_le32(len); in user_write()
1136 buf[items++] = cpu_to_le32(usrdatum->s.value); in user_write()
1138 buf[items++] = cpu_to_le32(usrdatum->bounds); in user_write()
1196 buf[0] = cpu_to_le32(nel); in ocontext_write_xen()
1203 buf[0] = cpu_to_le32(c->sid[0]); in ocontext_write_xen()
1211 buf[0] = cpu_to_le32(c->u.pirq); in ocontext_write_xen()
1222 buf[j] = cpu_to_le32(buf[j]); in ocontext_write_xen()
1233 buf[j] = cpu_to_le32(buf[j]); in ocontext_write_xen()
1241 buf[0] = cpu_to_le32(c->u.device); in ocontext_write_xen()
1265 buf[0] = cpu_to_le32(nel); in ocontext_write_selinux()
1272 buf[0] = cpu_to_le32(c->sid[0]); in ocontext_write_selinux()
1282 buf[0] = cpu_to_le32(len); in ocontext_write_selinux()
1299 buf[j] = cpu_to_le32(buf[j]); in ocontext_write_selinux()
1317 buf[0] = cpu_to_le32(c->v.behavior); in ocontext_write_selinux()
1319 buf[1] = cpu_to_le32(len); in ocontext_write_selinux()
1370 buf[0] = cpu_to_le32(nel); in genfs_write()
1376 buf[0] = cpu_to_le32(len); in genfs_write()
1386 buf[0] = cpu_to_le32(nel); in genfs_write()
1392 buf[0] = cpu_to_le32(len); in genfs_write()
1399 buf[0] = cpu_to_le32(c->v.sclass); in genfs_write()
1427 buf[0] = cpu_to_le32(nel); in range_write()
1440 buf[0] = cpu_to_le32(rt->source_type); in range_write()
1441 buf[1] = cpu_to_le32(rt->target_type); in range_write()
1446 buf[0] = cpu_to_le32(rt->target_class); in range_write()
1466 buf[items++] = cpu_to_le32(avrule->specified); in avrule_write()
1467 buf[items++] = cpu_to_le32(avrule->flags); in avrule_write()
1485 buf[items++] = cpu_to_le32(len); in avrule_write()
1492 buf[items++] = cpu_to_le32(cur->class); in avrule_write()
1493 buf[items++] = cpu_to_le32(cur->data); in avrule_write()
1516 buf[0] = cpu_to_le32(len); in avrule_write_list()
1556 buf[0] = cpu_to_le32(nel); in role_trans_rule_write()
1576 buf[0] = cpu_to_le32(tr->new_role); in role_trans_rule_write()
1593 buf[0] = cpu_to_le32(nel); in role_allow_rule_write()
1616 buf[0] = cpu_to_le32(nel); in filename_trans_rule_write()
1623 buf[0] = cpu_to_le32(len); in filename_trans_rule_write()
1637 buf[0] = cpu_to_le32(ftr->tclass); in filename_trans_rule_write()
1638 buf[1] = cpu_to_le32(ftr->otype); in filename_trans_rule_write()
1657 buf[0] = cpu_to_le32(nel); in range_trans_rule_write()
1685 buf[0] = cpu_to_le32(scope_index->class_perms_len); in scope_index_write()
1703 buf[0] = cpu_to_le32(decl->decl_id); in avrule_decl_write()
1704 buf[1] = cpu_to_le32(decl->enabled); in avrule_decl_write()
1730 buf[0] = cpu_to_le32(decl->symtab[i].nprim); in avrule_decl_write()
1731 buf[1] = cpu_to_le32(decl->symtab[i].table->nel); in avrule_decl_write()
1751 buf[0] = cpu_to_le32(num_blocks); in avrule_block_write()
1764 buf[0] = cpu_to_le32(num_decls); in avrule_block_write()
1798 buf[0] = cpu_to_le32(key_len); in scope_write()
1803 buf[0] = cpu_to_le32(scope->scope); in scope_write()
1804 buf[1] = cpu_to_le32(scope->decl_ids_len); in scope_write()
1806 buf[2 + i] = cpu_to_le32(scope->decl_ids[i]); in scope_write()
1882 buf[items++] = cpu_to_le32(POLICYDB_MAGIC); in policydb_write()
1886 buf[items++] = cpu_to_le32(POLICYDB_MOD_MAGIC); in policydb_write()
1890 buf[items++] = cpu_to_le32(len); in policydb_write()
1909 buf[items++] = cpu_to_le32(p->policy_type); in policydb_write()
1911 buf[items++] = cpu_to_le32(p->policyvers); in policydb_write()
1912 buf[items++] = cpu_to_le32(config); in policydb_write()
1913 buf[items++] = cpu_to_le32(info->sym_num); in policydb_write()
1914 buf[items++] = cpu_to_le32(info->ocon_num); in policydb_write()
1923 buf[0] = cpu_to_le32(len); in policydb_write()
1931 buf[0] = cpu_to_le32(len); in policydb_write()
1972 buf[0] = cpu_to_le32(p->symtab[i].nprim); in policydb_write()
1999 buf[1] = cpu_to_le32(buf[1]); in policydb_write()
2035 buf[0] = cpu_to_le32(p->scope[i].table->nel); in policydb_write()