• Home
  • Raw
  • Download

Lines Matching refs:cpu_to_le32

68 	buf[0] = cpu_to_le32(MAPSIZE);  in ebitmap_write()
69 buf[1] = cpu_to_le32(e->highbit); in ebitmap_write()
74 buf[2] = cpu_to_le32(count); in ebitmap_write()
81 bit = cpu_to_le32(n->startbit); in ebitmap_write()
129 buf32[items++] = cpu_to_le32(val); in avtab_write_item()
131 buf32[items++] = cpu_to_le32(val); in avtab_write_item()
133 buf32[items++] = cpu_to_le32(val); in avtab_write_item()
169 buf32[items++] = cpu_to_le32(val); in avtab_write_item()
194 cpu_to_le32(node->datum.data); in avtab_write_item()
200 buf32[items++] = cpu_to_le32(cur->datum.data); in avtab_write_item()
210 buf32[0] = cpu_to_le32(items - 1); in avtab_write_item()
255 buf32[i] = cpu_to_le32(cur->datum.xperms->perms[i]); in avtab_write_item()
260 buf32[0] = cpu_to_le32(cur->datum.data); in avtab_write_item()
306 nel = cpu_to_le32(a->nel); in avtab_write()
326 nel = cpu_to_le32(nel); in avtab_write()
364 buf[0] = cpu_to_le32(l->sens); in mls_write_semantic_level_helper()
365 buf[1] = cpu_to_le32(ncat); in mls_write_semantic_level_helper()
371 buf[0] = cpu_to_le32(cat->low); in mls_write_semantic_level_helper()
372 buf[1] = cpu_to_le32(cat->high); in mls_write_semantic_level_helper()
408 sens = cpu_to_le32(l->sens); in mls_write_level()
432 buf[items++] = cpu_to_le32(r->level[0].sens); in mls_write_range_helper()
434 buf[items++] = cpu_to_le32(r->level[1].sens); in mls_write_range_helper()
435 buf[0] = cpu_to_le32(items - 1); in mls_write_range_helper()
462 buf[items++] = cpu_to_le32(len); in sens_write()
463 buf[items++] = cpu_to_le32(levdatum->isalias); in sens_write()
490 buf[items++] = cpu_to_le32(len); in cat_write()
491 buf[items++] = cpu_to_le32(catdatum->s.value); in cat_write()
492 buf[items++] = cpu_to_le32(catdatum->isalias); in cat_write()
519 buf[0] = cpu_to_le32(nel); in role_trans_write()
532 buf[0] = cpu_to_le32(tr->role); in role_trans_write()
533 buf[1] = cpu_to_le32(tr->type); in role_trans_write()
534 buf[2] = cpu_to_le32(tr->new_role); in role_trans_write()
539 buf[0] = cpu_to_le32(tr->tclass); in role_trans_write()
558 buf[0] = cpu_to_le32(nel); in role_allow_write()
563 buf[0] = cpu_to_le32(ra->role); in role_allow_write()
564 buf[1] = cpu_to_le32(ra->new_role); in role_allow_write()
584 buf[0] = cpu_to_le32(len); in filename_write_one_compat()
593 buf[0] = cpu_to_le32(bit + 1); in filename_write_one_compat()
594 buf[1] = cpu_to_le32(ft->ttype); in filename_write_one_compat()
595 buf[2] = cpu_to_le32(ft->tclass); in filename_write_one_compat()
596 buf[3] = cpu_to_le32(datum->otype); in filename_write_one_compat()
617 buf[0] = cpu_to_le32(len); in filename_write_one()
633 buf[0] = cpu_to_le32(ft->ttype); in filename_write_one()
634 buf[1] = cpu_to_le32(ft->tclass); in filename_write_one()
635 buf[2] = cpu_to_le32(ndatum); in filename_write_one()
645 buf[0] = cpu_to_le32(datum->otype); in filename_write_one()
666 buf[0] = cpu_to_le32(p->filename_trans_count); in filename_trans_write()
674 buf[0] = cpu_to_le32(p->filename_trans->nel); in filename_trans_write()
692 buf[0] = cpu_to_le32(x->flags); in role_set_write()
710 buf[0] = cpu_to_le32(x->flags); in type_set_write()
731 buf[items++] = cpu_to_le32(booldatum->s.value); in cond_write_bool()
732 buf[items++] = cpu_to_le32(booldatum->state); in cond_write_bool()
733 buf[items++] = cpu_to_le32(len); in cond_write_bool()
743 buf[0] = cpu_to_le32(booldatum->flags); in cond_write_bool()
786 buf[0] = cpu_to_le32(len); in cond_write_av_list()
819 buf[0] = cpu_to_le32(node->cur_state); in cond_write_node()
829 buf[0] = cpu_to_le32(len); in cond_write_node()
836 buf[items++] = cpu_to_le32(cur_expr->expr_type); in cond_write_node()
837 buf[items++] = cpu_to_le32(cur_expr->bool); in cond_write_node()
857 buf[0] = cpu_to_le32(node->flags); in cond_write_node()
876 buf[0] = cpu_to_le32(len); in cond_write_list()
899 buf[items++] = cpu_to_le32(c->user); in context_write()
900 buf[items++] = cpu_to_le32(c->role); in context_write()
901 buf[items++] = cpu_to_le32(c->type); in context_write()
933 buf[items++] = cpu_to_le32(len); in perm_write()
934 buf[items++] = cpu_to_le32(perdatum->s.value); in perm_write()
958 buf[items++] = cpu_to_le32(len); in common_write()
959 buf[items++] = cpu_to_le32(comdatum->s.value); in common_write()
960 buf[items++] = cpu_to_le32(comdatum->permissions.nprim); in common_write()
961 buf[items++] = cpu_to_le32(comdatum->permissions.table->nel); in common_write()
990 buf[0] = cpu_to_le32(c->permissions); in write_cons_helper()
991 buf[1] = cpu_to_le32(nexpr); in write_cons_helper()
996 buf[0] = cpu_to_le32(e->expr_type); in write_cons_helper()
997 buf[1] = cpu_to_le32(e->attr); in write_cons_helper()
998 buf[2] = cpu_to_le32(e->op); in write_cons_helper()
1051 buf[items++] = cpu_to_le32(len); in class_write()
1052 buf[items++] = cpu_to_le32(len2); in class_write()
1053 buf[items++] = cpu_to_le32(cladatum->s.value); in class_write()
1054 buf[items++] = cpu_to_le32(cladatum->permissions.nprim); in class_write()
1056 buf[items++] = cpu_to_le32(cladatum->permissions.table->nel); in class_write()
1059 buf[items++] = cpu_to_le32(ncons); in class_write()
1088 buf[0] = cpu_to_le32(ncons); in class_write()
1100 buf[0] = cpu_to_le32(cladatum->default_user); in class_write()
1101 buf[1] = cpu_to_le32(cladatum->default_role); in class_write()
1109 buf[2] = cpu_to_le32(cladatum->default_range); in class_write()
1119 buf[0] = cpu_to_le32(cladatum->default_type); in class_write()
1154 buf[items++] = cpu_to_le32(len); in role_write()
1155 buf[items++] = cpu_to_le32(role->s.value); in role_write()
1157 buf[items++] = cpu_to_le32(role->bounds); in role_write()
1195 buf[0] = cpu_to_le32(role->flavor); in role_write()
1229 buf[items++] = cpu_to_le32(len); in type_write()
1230 buf[items++] = cpu_to_le32(typdatum->s.value); in type_write()
1236 buf[items++] = cpu_to_le32(typdatum->primary); in type_write()
1252 buf[items++] = cpu_to_le32(properties); in type_write()
1253 buf[items++] = cpu_to_le32(typdatum->bounds); in type_write()
1255 buf[items++] = cpu_to_le32(typdatum->primary); in type_write()
1258 buf[items++] = cpu_to_le32(typdatum->flavor); in type_write()
1261 buf[items++] = cpu_to_le32(typdatum->flags); in type_write()
1298 buf[items++] = cpu_to_le32(len); in user_write()
1299 buf[items++] = cpu_to_le32(usrdatum->s.value); in user_write()
1301 buf[items++] = cpu_to_le32(usrdatum->bounds); in user_write()
1366 buf[0] = cpu_to_le32(nel); in ocontext_write_xen()
1375 buf[0] = cpu_to_le32(c->sid[0]); in ocontext_write_xen()
1383 buf[0] = cpu_to_le32(c->u.pirq); in ocontext_write_xen()
1394 buf[j] = cpu_to_le32(buf[j]); in ocontext_write_xen()
1422 buf[j] = cpu_to_le32(buf[j]); in ocontext_write_xen()
1431 buf[0] = cpu_to_le32(c->u.device); in ocontext_write_xen()
1440 buf[0] = cpu_to_le32(len); in ocontext_write_xen()
1474 buf[0] = cpu_to_le32(nel); in ocontext_write_selinux()
1483 buf[0] = cpu_to_le32(c->sid[0]); in ocontext_write_selinux()
1493 buf[0] = cpu_to_le32(len); in ocontext_write_selinux()
1510 buf[2] = cpu_to_le32(c->u.ibpkey.low_pkey); in ocontext_write_selinux()
1511 buf[3] = cpu_to_le32(c->u.ibpkey.high_pkey); in ocontext_write_selinux()
1522 buf[0] = cpu_to_le32(len); in ocontext_write_selinux()
1523 buf[1] = cpu_to_le32(c->u.ibendport.port); in ocontext_write_selinux()
1539 buf[j] = cpu_to_le32(buf[j]); in ocontext_write_selinux()
1557 buf[0] = cpu_to_le32(c->v.behavior); in ocontext_write_selinux()
1559 buf[1] = cpu_to_le32(len); in ocontext_write_selinux()
1610 buf[0] = cpu_to_le32(nel); in genfs_write()
1616 buf[0] = cpu_to_le32(len); in genfs_write()
1626 buf[0] = cpu_to_le32(nel); in genfs_write()
1632 buf[0] = cpu_to_le32(len); in genfs_write()
1639 buf[0] = cpu_to_le32(c->v.sclass); in genfs_write()
1696 buf[0] = cpu_to_le32(rt->source_type); in range_write_helper()
1697 buf[1] = cpu_to_le32(rt->target_type); in range_write_helper()
1702 buf[0] = cpu_to_le32(rt->target_class); in range_write_helper()
1731 buf[0] = cpu_to_le32(args.nel); in range_write()
1749 buf[items++] = cpu_to_le32(avrule->specified); in avrule_write()
1750 buf[items++] = cpu_to_le32(avrule->flags); in avrule_write()
1768 buf[items++] = cpu_to_le32(len); in avrule_write()
1775 buf[items++] = cpu_to_le32(cur->tclass); in avrule_write()
1776 buf[items++] = cpu_to_le32(cur->data); in avrule_write()
1815 buf32[i] = cpu_to_le32(avrule->xperms->perms[i]); in avrule_write()
1837 buf[0] = cpu_to_le32(len); in avrule_write_list()
1882 buf[0] = cpu_to_le32(nel); in role_trans_rule_write()
1902 buf[0] = cpu_to_le32(tr->new_role); in role_trans_rule_write()
1919 buf[0] = cpu_to_le32(nel); in role_allow_rule_write()
1942 buf[0] = cpu_to_le32(nel); in filename_trans_rule_write()
1949 buf[0] = cpu_to_le32(len); in filename_trans_rule_write()
1963 buf[0] = cpu_to_le32(ftr->tclass); in filename_trans_rule_write()
1964 buf[1] = cpu_to_le32(ftr->otype); in filename_trans_rule_write()
1983 buf[0] = cpu_to_le32(nel); in range_trans_rule_write()
2011 buf[0] = cpu_to_le32(scope_index->class_perms_len); in scope_index_write()
2029 buf[0] = cpu_to_le32(decl->decl_id); in avrule_decl_write()
2030 buf[1] = cpu_to_le32(decl->enabled); in avrule_decl_write()
2056 buf[0] = cpu_to_le32(decl->symtab[i].nprim); in avrule_decl_write()
2057 buf[1] = cpu_to_le32(decl->symtab[i].table->nel); in avrule_decl_write()
2077 buf[0] = cpu_to_le32(num_blocks); in avrule_block_write()
2090 buf[0] = cpu_to_le32(num_decls); in avrule_block_write()
2125 buf[0] = cpu_to_le32(key_len); in scope_write()
2131 buf[0] = cpu_to_le32(scope->scope); in scope_write()
2132 buf[1] = cpu_to_le32(scope->decl_ids_len); in scope_write()
2135 buf[2 + i] = cpu_to_le32(scope->decl_ids[i]); in scope_write()
2212 buf[items++] = cpu_to_le32(POLICYDB_MAGIC); in policydb_write()
2216 buf[items++] = cpu_to_le32(POLICYDB_MOD_MAGIC); in policydb_write()
2220 buf[items++] = cpu_to_le32(len); in policydb_write()
2239 buf[items++] = cpu_to_le32(p->policy_type); in policydb_write()
2241 buf[items++] = cpu_to_le32(p->policyvers); in policydb_write()
2242 buf[items++] = cpu_to_le32(config); in policydb_write()
2243 buf[items++] = cpu_to_le32(info->sym_num); in policydb_write()
2244 buf[items++] = cpu_to_le32(info->ocon_num); in policydb_write()
2253 buf[0] = cpu_to_le32(len); in policydb_write()
2261 buf[0] = cpu_to_le32(len); in policydb_write()
2300 buf[0] = cpu_to_le32(p->symtab[i].nprim); in policydb_write()
2327 buf[1] = cpu_to_le32(buf[1]); in policydb_write()
2363 buf[0] = cpu_to_le32(p->scope[i].table->nel); in policydb_write()