Lines Matching refs:le32_to_cpu
1823 r->flags = le32_to_cpu(buf[0]); in role_set_read()
1841 t->flags = le32_to_cpu(buf[0]); in type_set_read()
1859 items = le32_to_cpu(buf[0]); in mls_read_range_helper()
1870 r->level[0].sens = le32_to_cpu(buf[0]); in mls_read_range_helper()
1872 r->level[1].sens = le32_to_cpu(buf[1]); in mls_read_range_helper()
1922 l->sens = le32_to_cpu(buf[0]); in mls_read_semantic_level_helper()
1924 ncat = le32_to_cpu(buf[1]); in mls_read_semantic_level_helper()
1941 cat->low = le32_to_cpu(buf[0]); in mls_read_semantic_level_helper()
1942 cat->high = le32_to_cpu(buf[1]); in mls_read_semantic_level_helper()
2029 c->user = le32_to_cpu(buf[0]); in context_read_and_validate()
2030 c->role = le32_to_cpu(buf[1]); in context_read_and_validate()
2031 c->type = le32_to_cpu(buf[2]); in context_read_and_validate()
2075 len = le32_to_cpu(buf[0]); in perm_read()
2079 perdatum->s.value = le32_to_cpu(buf[1]); in perm_read()
2110 len = le32_to_cpu(buf[0]); in common_read()
2114 comdatum->s.value = le32_to_cpu(buf[1]); in common_read()
2118 comdatum->permissions.nprim = le32_to_cpu(buf[2]); in common_read()
2121 nel = le32_to_cpu(buf[3]); in common_read()
2171 c->permissions = le32_to_cpu(buf[0]); in read_cons_helper()
2172 nexpr = le32_to_cpu(buf[1]); in read_cons_helper()
2192 e->expr_type = le32_to_cpu(buf[0]); in read_cons_helper()
2193 e->attr = le32_to_cpu(buf[1]); in read_cons_helper()
2194 e->op = le32_to_cpu(buf[2]); in read_cons_helper()
2258 len = le32_to_cpu(buf[0]); in class_read()
2261 len2 = le32_to_cpu(buf[1]); in class_read()
2264 cladatum->s.value = le32_to_cpu(buf[2]); in class_read()
2268 cladatum->permissions.nprim = le32_to_cpu(buf[3]); in class_read()
2271 nel = le32_to_cpu(buf[4]); in class_read()
2273 ncons = le32_to_cpu(buf[5]); in class_read()
2315 ncons = le32_to_cpu(buf[0]); in class_read()
2327 cladatum->default_user = le32_to_cpu(buf[0]); in class_read()
2328 cladatum->default_role = le32_to_cpu(buf[1]); in class_read()
2329 cladatum->default_range = le32_to_cpu(buf[2]); in class_read()
2339 cladatum->default_type = le32_to_cpu(buf[0]); in class_read()
2371 len = le32_to_cpu(buf[0]); in role_read()
2375 role->s.value = le32_to_cpu(buf[1]); in role_read()
2377 role->bounds = le32_to_cpu(buf[2]); in role_read()
2404 role->flavor = le32_to_cpu(buf[0]); in role_read()
2462 len = le32_to_cpu(buf[pos]); in type_read()
2466 typdatum->s.value = le32_to_cpu(buf[++pos]); in type_read()
2472 typdatum->primary = le32_to_cpu(buf[++pos]); in type_read()
2473 properties = le32_to_cpu(buf[++pos]); in type_read()
2476 properties = le32_to_cpu(buf[++pos]); in type_read()
2491 typdatum->bounds = le32_to_cpu(buf[++pos]); in type_read()
2493 typdatum->primary = le32_to_cpu(buf[++pos]); in type_read()
2495 typdatum->flavor = le32_to_cpu(buf[++pos]); in type_read()
2497 typdatum->flags = le32_to_cpu(buf[++pos]); in type_read()
2537 nel = le32_to_cpu(buf[0]); in role_trans_read()
2552 tr->role = le32_to_cpu(buf[0]); in role_trans_read()
2553 tr->type = le32_to_cpu(buf[1]); in role_trans_read()
2554 tr->new_role = le32_to_cpu(buf[2]); in role_trans_read()
2559 tr->tclass = le32_to_cpu(buf[0]); in role_trans_read()
2577 nel = le32_to_cpu(buf[0]); in role_allow_read()
2592 ra->role = le32_to_cpu(buf[0]); in role_allow_read()
2593 ra->new_role = le32_to_cpu(buf[1]); in role_allow_read()
2683 len = le32_to_cpu(buf[0]); in filename_trans_read_one_compat()
2699 stype = le32_to_cpu(buf[0]); in filename_trans_read_one_compat()
2703 ttype = le32_to_cpu(buf[1]); in filename_trans_read_one_compat()
2704 tclass = le32_to_cpu(buf[2]); in filename_trans_read_one_compat()
2705 otype = le32_to_cpu(buf[3]); in filename_trans_read_one_compat()
2768 len = le32_to_cpu(buf[0]); in filename_trans_read_one()
2784 ttype = le32_to_cpu(buf[0]); in filename_trans_read_one()
2785 tclass = le32_to_cpu(buf[1]); in filename_trans_read_one()
2786 ndatum = le32_to_cpu(buf[2]); in filename_trans_read_one()
2808 datum->otype = le32_to_cpu(buf[0]); in filename_trans_read_one()
2854 nel = le32_to_cpu(buf[0]); in filename_trans_read()
2885 nel = le32_to_cpu(buf[0]); in ocontext_read_xen()
2901 c->sid[0] = le32_to_cpu(buf[0]); in ocontext_read_xen()
2912 c->u.pirq = le32_to_cpu(buf[0]); in ocontext_read_xen()
2921 c->u.ioport.low_ioport = le32_to_cpu(buf[0]); in ocontext_read_xen()
2922 c->u.ioport.high_ioport = le32_to_cpu(buf[1]); in ocontext_read_xen()
2939 c->u.iomem.low_iomem = le32_to_cpu(buf[0]); in ocontext_read_xen()
2940 c->u.iomem.high_iomem = le32_to_cpu(buf[1]); in ocontext_read_xen()
2950 c->u.device = le32_to_cpu(buf[0]); in ocontext_read_xen()
2959 len = le32_to_cpu(buf[0]); in ocontext_read_xen()
2996 nel = le32_to_cpu(buf[0]); in ocontext_read_selinux()
3014 c->sid[0] = le32_to_cpu(buf[0]); in ocontext_read_selinux()
3026 len = le32_to_cpu(buf[0]); in ocontext_read_selinux()
3050 pkey_lo = le32_to_cpu(buf[2]); in ocontext_read_selinux()
3051 pkey_hi = le32_to_cpu(buf[3]); in ocontext_read_selinux()
3075 len = le32_to_cpu(buf[0]); in ocontext_read_selinux()
3079 port = le32_to_cpu(buf[1]); in ocontext_read_selinux()
3100 c->u.port.protocol = le32_to_cpu(buf[0]); in ocontext_read_selinux()
3101 c->u.port.low_port = le32_to_cpu(buf[1]); in ocontext_read_selinux()
3102 c->u.port.high_port = le32_to_cpu(buf[2]); in ocontext_read_selinux()
3121 c->v.behavior = le32_to_cpu(buf[0]); in ocontext_read_selinux()
3122 len = le32_to_cpu(buf[1]); in ocontext_read_selinux()
3192 nel = le32_to_cpu(buf[0]); in genfs_read()
3198 len = le32_to_cpu(buf[0]); in genfs_read()
3236 nel2 = le32_to_cpu(buf[0]); in genfs_read()
3245 len = le32_to_cpu(buf[0]); in genfs_read()
3259 newc->v.sclass = le32_to_cpu(buf[0]); in genfs_read()
3315 lp->sens = le32_to_cpu(buf[0]); in mls_read_level()
3346 len = le32_to_cpu(buf[0]); in user_read()
3350 usrdatum->s.value = le32_to_cpu(buf[1]); in user_read()
3352 usrdatum->bounds = le32_to_cpu(buf[2]); in user_read()
3432 len = le32_to_cpu(buf[0]); in sens_read()
3436 levdatum->isalias = le32_to_cpu(buf[1]); in sens_read()
3478 len = le32_to_cpu(buf[0]); in cat_read()
3482 catdatum->s.value = le32_to_cpu(buf[1]); in cat_read()
3483 catdatum->isalias = le32_to_cpu(buf[2]); in cat_read()
3528 avrule->specified = le32_to_cpu(buf[0]); in avrule_read()
3529 avrule->flags = le32_to_cpu(buf[1]); in avrule_read()
3540 len = le32_to_cpu(buf[0]); in avrule_read()
3554 cur->tclass = le32_to_cpu(buf[0]); in avrule_read()
3555 cur->data = le32_to_cpu(buf[1]); in avrule_read()
3608 avrule->xperms->perms[i] = le32_to_cpu(buf32[i]); in avrule_read()
3634 nel = le32_to_cpu(buf[0]); in range_read()
3642 rt->source_type = le32_to_cpu(buf[0]); in range_read()
3645 rt->target_type = le32_to_cpu(buf[1]); in range_read()
3652 rt->target_class = le32_to_cpu(buf[0]); in range_read()
3730 len = le32_to_cpu(buf[0]); in avrule_read_list()
3760 nel = le32_to_cpu(buf[0]); in role_trans_rule_read()
3794 tr->new_role = le32_to_cpu(buf[0]); in role_trans_rule_read()
3811 nel = le32_to_cpu(buf[0]); in role_allow_rule_read()
3848 nel = le32_to_cpu(buf[0]); in filename_trans_rule_read()
3867 len = le32_to_cpu(buf[0]); in filename_trans_rule_read()
3894 ftr->tclass = le32_to_cpu(buf[0]); in filename_trans_rule_read()
3895 ftr->otype = le32_to_cpu(buf[1]); in filename_trans_rule_read()
3897 ftr->flags = le32_to_cpu(buf[2]); in filename_trans_rule_read()
3914 nel = le32_to_cpu(buf[0]); in range_trans_rule_read()
3960 scope_index->class_perms_len = le32_to_cpu(buf[0]); in scope_index_read()
3990 decl->decl_id = le32_to_cpu(buf[0]); in avrule_decl_read()
3991 decl->enabled = le32_to_cpu(buf[1]); in avrule_decl_read()
4016 nprim = le32_to_cpu(buf[0]); in avrule_decl_read()
4019 nel = le32_to_cpu(buf[1]); in avrule_decl_read()
4044 num_blocks = le32_to_cpu(buf[0]); in avrule_block_read()
4061 num_decls = le32_to_cpu(buf[0]); in avrule_block_read()
4121 key_len = le32_to_cpu(buf[0]); in scope_read()
4143 scope->scope = le32_to_cpu(buf[0]); in scope_read()
4144 scope->decl_ids_len = le32_to_cpu(buf[1]); in scope_read()
4157 scope->decl_ids[i] = le32_to_cpu(scope->decl_ids[i]); in scope_read()
4242 buf[i] = le32_to_cpu(buf[i]); in policydb_read()
4313 buf[i] = le32_to_cpu(buf[i]); in policydb_read()
4389 len = le32_to_cpu(buf[0]); in policydb_read()
4402 len = le32_to_cpu(buf[0]); in policydb_read()
4434 nprim = le32_to_cpu(buf[0]); in policydb_read()
4437 nel = le32_to_cpu(buf[1]); in policydb_read()
4490 nel = le32_to_cpu(buf[0]); in policydb_read()