Home
last modified time | relevance | path

Searched refs:perm (Results 1 – 7 of 7) sorted by relevance

/arch/powerpc/platforms/powernv/
Dopal-sysparam.c162 u8 *perm; in opal_sys_param_init() local
215 perm = kzalloc(sizeof(*perm) * count, GFP_KERNEL); in opal_sys_param_init()
216 if (!perm) { in opal_sys_param_init()
233 if (of_property_read_u8_array(sysparam, "param-perm", perm, count)) { in opal_sys_param_init()
261 switch (perm[i] & 3) { in opal_sys_param_init()
285 kfree(perm); in opal_sys_param_init()
294 kfree(perm); in opal_sys_param_init()
/arch/x86/kernel/cpu/mcheck/
Dmce-inject.c657 umode_t perm; member
659 { .name = "status", .fops = &status_fops, .perm = S_IRUSR | S_IWUSR },
660 { .name = "misc", .fops = &misc_fops, .perm = S_IRUSR | S_IWUSR },
661 { .name = "addr", .fops = &addr_fops, .perm = S_IRUSR | S_IWUSR },
662 { .name = "synd", .fops = &synd_fops, .perm = S_IRUSR | S_IWUSR },
663 { .name = "bank", .fops = &bank_fops, .perm = S_IRUSR | S_IWUSR },
664 { .name = "flags", .fops = &flags_fops, .perm = S_IRUSR | S_IWUSR },
665 { .name = "cpu", .fops = &extcpu_fops, .perm = S_IRUSR | S_IWUSR },
666 { .name = "README", .fops = &readme_fops, .perm = S_IRUSR | S_IRGRP | S_IROTH },
679 dfs_fls[i].perm, in debugfs_init()
/arch/sparc/mm/
Diommu.c55 #define MKIOPTE(pfn, perm) (((((pfn)<<8) & IOPTE_PAGE) | (perm)) & ~IOPTE_WAZ) argument
/arch/powerpc/kvm/
Dbook3s_hv_rm_mmu.c1142 unsigned int perm = hpte_get_skey_perm(gr, vcpu->arch.amr); in kvmppc_hpte_hv_fault() local
1144 perm >>= 1; in kvmppc_hpte_hv_fault()
1145 if (perm & 1) in kvmppc_hpte_hv_fault()
/arch/sparc/include/asm/
Dhypervisor.h3034 unsigned long *perm);
/arch/powerpc/lib/
Dsstep.c1077 unsigned char perm, idx; in do_bpermd() local
1080 perm = 0; in do_bpermd()
1085 perm |= 1 << i; in do_bpermd()
1087 op->val = perm; in do_bpermd()
/arch/x86/kvm/
Demulate.c2912 u16 tr, io_bitmap_ptr, perm, bit_idx = port & 0x7; in emulator_io_port_access_allowed() local
2930 r = ops->read_std(ctxt, base + io_bitmap_ptr + port/8, &perm, 2, NULL, true); in emulator_io_port_access_allowed()
2933 if ((perm >> bit_idx) & mask) in emulator_io_port_access_allowed()