• Home
  • Raw
  • Download

Lines Matching refs:cpu_to_le32

69 	buf[0] = cpu_to_le32(MAPSIZE);  in ebitmap_write()
70 buf[1] = cpu_to_le32(e->highbit); in ebitmap_write()
75 buf[2] = cpu_to_le32(count); in ebitmap_write()
82 bit = cpu_to_le32(n->startbit); in ebitmap_write()
130 buf32[items++] = cpu_to_le32(val); in avtab_write_item()
132 buf32[items++] = cpu_to_le32(val); in avtab_write_item()
134 buf32[items++] = cpu_to_le32(val); in avtab_write_item()
170 buf32[items++] = cpu_to_le32(val); in avtab_write_item()
195 cpu_to_le32(node->datum.data); in avtab_write_item()
201 buf32[items++] = cpu_to_le32(cur->datum.data); in avtab_write_item()
211 buf32[0] = cpu_to_le32(items - 1); in avtab_write_item()
256 buf32[i] = cpu_to_le32(cur->datum.xperms->perms[i]); in avtab_write_item()
261 buf32[0] = cpu_to_le32(cur->datum.data); in avtab_write_item()
307 nel = cpu_to_le32(a->nel); in avtab_write()
327 nel = cpu_to_le32(nel); in avtab_write()
365 buf[0] = cpu_to_le32(l->sens); in mls_write_semantic_level_helper()
366 buf[1] = cpu_to_le32(ncat); in mls_write_semantic_level_helper()
372 buf[0] = cpu_to_le32(cat->low); in mls_write_semantic_level_helper()
373 buf[1] = cpu_to_le32(cat->high); in mls_write_semantic_level_helper()
409 sens = cpu_to_le32(l->sens); in mls_write_level()
433 buf[items++] = cpu_to_le32(r->level[0].sens); in mls_write_range_helper()
435 buf[items++] = cpu_to_le32(r->level[1].sens); in mls_write_range_helper()
436 buf[0] = cpu_to_le32(items - 1); in mls_write_range_helper()
463 buf[items++] = cpu_to_le32(len); in sens_write()
464 buf[items++] = cpu_to_le32(levdatum->isalias); in sens_write()
491 buf[items++] = cpu_to_le32(len); in cat_write()
492 buf[items++] = cpu_to_le32(catdatum->s.value); in cat_write()
493 buf[items++] = cpu_to_le32(catdatum->isalias); in cat_write()
520 buf[0] = cpu_to_le32(nel); in role_trans_write()
533 buf[0] = cpu_to_le32(tr->role); in role_trans_write()
534 buf[1] = cpu_to_le32(tr->type); in role_trans_write()
535 buf[2] = cpu_to_le32(tr->new_role); in role_trans_write()
540 buf[0] = cpu_to_le32(tr->tclass); in role_trans_write()
559 buf[0] = cpu_to_le32(nel); in role_allow_write()
564 buf[0] = cpu_to_le32(ra->role); in role_allow_write()
565 buf[1] = cpu_to_le32(ra->new_role); in role_allow_write()
582 buf[0] = cpu_to_le32(len); in filename_write_helper()
591 buf[0] = cpu_to_le32(ft->stype); in filename_write_helper()
592 buf[1] = cpu_to_le32(ft->ttype); in filename_write_helper()
593 buf[2] = cpu_to_le32(ft->tclass); in filename_write_helper()
594 buf[3] = cpu_to_le32(otype->otype); in filename_write_helper()
612 buf[0] = cpu_to_le32(nel); in filename_trans_write()
632 buf[0] = cpu_to_le32(x->flags); in role_set_write()
650 buf[0] = cpu_to_le32(x->flags); in type_set_write()
671 buf[items++] = cpu_to_le32(booldatum->s.value); in cond_write_bool()
672 buf[items++] = cpu_to_le32(booldatum->state); in cond_write_bool()
673 buf[items++] = cpu_to_le32(len); in cond_write_bool()
683 buf[0] = cpu_to_le32(booldatum->flags); in cond_write_bool()
726 buf[0] = cpu_to_le32(len); in cond_write_av_list()
759 buf[0] = cpu_to_le32(node->cur_state); in cond_write_node()
769 buf[0] = cpu_to_le32(len); in cond_write_node()
776 buf[items++] = cpu_to_le32(cur_expr->expr_type); in cond_write_node()
777 buf[items++] = cpu_to_le32(cur_expr->bool); in cond_write_node()
797 buf[0] = cpu_to_le32(node->flags); in cond_write_node()
816 buf[0] = cpu_to_le32(len); in cond_write_list()
839 buf[items++] = cpu_to_le32(c->user); in context_write()
840 buf[items++] = cpu_to_le32(c->role); in context_write()
841 buf[items++] = cpu_to_le32(c->type); in context_write()
873 buf[items++] = cpu_to_le32(len); in perm_write()
874 buf[items++] = cpu_to_le32(perdatum->s.value); in perm_write()
898 buf[items++] = cpu_to_le32(len); in common_write()
899 buf[items++] = cpu_to_le32(comdatum->s.value); in common_write()
900 buf[items++] = cpu_to_le32(comdatum->permissions.nprim); in common_write()
901 buf[items++] = cpu_to_le32(comdatum->permissions.table->nel); in common_write()
930 buf[0] = cpu_to_le32(c->permissions); in write_cons_helper()
931 buf[1] = cpu_to_le32(nexpr); in write_cons_helper()
936 buf[0] = cpu_to_le32(e->expr_type); in write_cons_helper()
937 buf[1] = cpu_to_le32(e->attr); in write_cons_helper()
938 buf[2] = cpu_to_le32(e->op); in write_cons_helper()
991 buf[items++] = cpu_to_le32(len); in class_write()
992 buf[items++] = cpu_to_le32(len2); in class_write()
993 buf[items++] = cpu_to_le32(cladatum->s.value); in class_write()
994 buf[items++] = cpu_to_le32(cladatum->permissions.nprim); in class_write()
996 buf[items++] = cpu_to_le32(cladatum->permissions.table->nel); in class_write()
999 buf[items++] = cpu_to_le32(ncons); in class_write()
1028 buf[0] = cpu_to_le32(ncons); in class_write()
1040 buf[0] = cpu_to_le32(cladatum->default_user); in class_write()
1041 buf[1] = cpu_to_le32(cladatum->default_role); in class_write()
1049 buf[2] = cpu_to_le32(cladatum->default_range); in class_write()
1059 buf[0] = cpu_to_le32(cladatum->default_type); in class_write()
1094 buf[items++] = cpu_to_le32(len); in role_write()
1095 buf[items++] = cpu_to_le32(role->s.value); in role_write()
1097 buf[items++] = cpu_to_le32(role->bounds); in role_write()
1135 buf[0] = cpu_to_le32(role->flavor); in role_write()
1169 buf[items++] = cpu_to_le32(len); in type_write()
1170 buf[items++] = cpu_to_le32(typdatum->s.value); in type_write()
1176 buf[items++] = cpu_to_le32(typdatum->primary); in type_write()
1192 buf[items++] = cpu_to_le32(properties); in type_write()
1193 buf[items++] = cpu_to_le32(typdatum->bounds); in type_write()
1195 buf[items++] = cpu_to_le32(typdatum->primary); in type_write()
1198 buf[items++] = cpu_to_le32(typdatum->flavor); in type_write()
1201 buf[items++] = cpu_to_le32(typdatum->flags); in type_write()
1238 buf[items++] = cpu_to_le32(len); in user_write()
1239 buf[items++] = cpu_to_le32(usrdatum->s.value); in user_write()
1241 buf[items++] = cpu_to_le32(usrdatum->bounds); in user_write()
1306 buf[0] = cpu_to_le32(nel); in ocontext_write_xen()
1315 buf[0] = cpu_to_le32(c->sid[0]); in ocontext_write_xen()
1323 buf[0] = cpu_to_le32(c->u.pirq); in ocontext_write_xen()
1334 buf[j] = cpu_to_le32(buf[j]); in ocontext_write_xen()
1362 buf[j] = cpu_to_le32(buf[j]); in ocontext_write_xen()
1371 buf[0] = cpu_to_le32(c->u.device); in ocontext_write_xen()
1380 buf[0] = cpu_to_le32(len); in ocontext_write_xen()
1414 buf[0] = cpu_to_le32(nel); in ocontext_write_selinux()
1423 buf[0] = cpu_to_le32(c->sid[0]); in ocontext_write_selinux()
1433 buf[0] = cpu_to_le32(len); in ocontext_write_selinux()
1450 buf[2] = cpu_to_le32(c->u.ibpkey.low_pkey); in ocontext_write_selinux()
1451 buf[3] = cpu_to_le32(c->u.ibpkey.high_pkey); in ocontext_write_selinux()
1462 buf[0] = cpu_to_le32(len); in ocontext_write_selinux()
1463 buf[1] = cpu_to_le32(c->u.ibendport.port); in ocontext_write_selinux()
1479 buf[j] = cpu_to_le32(buf[j]); in ocontext_write_selinux()
1497 buf[0] = cpu_to_le32(c->v.behavior); in ocontext_write_selinux()
1499 buf[1] = cpu_to_le32(len); in ocontext_write_selinux()
1550 buf[0] = cpu_to_le32(nel); in genfs_write()
1556 buf[0] = cpu_to_le32(len); in genfs_write()
1566 buf[0] = cpu_to_le32(nel); in genfs_write()
1572 buf[0] = cpu_to_le32(len); in genfs_write()
1579 buf[0] = cpu_to_le32(c->v.sclass); in genfs_write()
1633 buf[0] = cpu_to_le32(rt->source_type); in range_write_helper()
1634 buf[1] = cpu_to_le32(rt->target_type); in range_write_helper()
1639 buf[0] = cpu_to_le32(rt->target_class); in range_write_helper()
1667 buf[0] = cpu_to_le32(args.nel); in range_write()
1685 buf[items++] = cpu_to_le32(avrule->specified); in avrule_write()
1686 buf[items++] = cpu_to_le32(avrule->flags); in avrule_write()
1704 buf[items++] = cpu_to_le32(len); in avrule_write()
1711 buf[items++] = cpu_to_le32(cur->tclass); in avrule_write()
1712 buf[items++] = cpu_to_le32(cur->data); in avrule_write()
1751 buf32[i] = cpu_to_le32(avrule->xperms->perms[i]); in avrule_write()
1773 buf[0] = cpu_to_le32(len); in avrule_write_list()
1813 buf[0] = cpu_to_le32(nel); in role_trans_rule_write()
1833 buf[0] = cpu_to_le32(tr->new_role); in role_trans_rule_write()
1850 buf[0] = cpu_to_le32(nel); in role_allow_rule_write()
1873 buf[0] = cpu_to_le32(nel); in filename_trans_rule_write()
1880 buf[0] = cpu_to_le32(len); in filename_trans_rule_write()
1894 buf[0] = cpu_to_le32(ftr->tclass); in filename_trans_rule_write()
1895 buf[1] = cpu_to_le32(ftr->otype); in filename_trans_rule_write()
1914 buf[0] = cpu_to_le32(nel); in range_trans_rule_write()
1942 buf[0] = cpu_to_le32(scope_index->class_perms_len); in scope_index_write()
1960 buf[0] = cpu_to_le32(decl->decl_id); in avrule_decl_write()
1961 buf[1] = cpu_to_le32(decl->enabled); in avrule_decl_write()
1987 buf[0] = cpu_to_le32(decl->symtab[i].nprim); in avrule_decl_write()
1988 buf[1] = cpu_to_le32(decl->symtab[i].table->nel); in avrule_decl_write()
2008 buf[0] = cpu_to_le32(num_blocks); in avrule_block_write()
2021 buf[0] = cpu_to_le32(num_decls); in avrule_block_write()
2056 buf[0] = cpu_to_le32(key_len); in scope_write()
2062 buf[0] = cpu_to_le32(scope->scope); in scope_write()
2063 buf[1] = cpu_to_le32(scope->decl_ids_len); in scope_write()
2066 buf[2 + i] = cpu_to_le32(scope->decl_ids[i]); in scope_write()
2145 buf[items++] = cpu_to_le32(POLICYDB_MAGIC); in policydb_write()
2149 buf[items++] = cpu_to_le32(POLICYDB_MOD_MAGIC); in policydb_write()
2153 buf[items++] = cpu_to_le32(len); in policydb_write()
2172 buf[items++] = cpu_to_le32(p->policy_type); in policydb_write()
2174 buf[items++] = cpu_to_le32(p->policyvers); in policydb_write()
2175 buf[items++] = cpu_to_le32(config); in policydb_write()
2176 buf[items++] = cpu_to_le32(info->sym_num); in policydb_write()
2177 buf[items++] = cpu_to_le32(info->ocon_num); in policydb_write()
2186 buf[0] = cpu_to_le32(len); in policydb_write()
2194 buf[0] = cpu_to_le32(len); in policydb_write()
2233 buf[0] = cpu_to_le32(p->symtab[i].nprim); in policydb_write()
2260 buf[1] = cpu_to_le32(buf[1]); in policydb_write()
2296 buf[0] = cpu_to_le32(p->scope[i].table->nel); in policydb_write()