Searched refs:perm (Results 1 - 25 of 136) sorted by path

123456

/linux-master/arch/powerpc/platforms/powernv/
H A Dopal-sysparam.c149 u8 *perm; local
202 perm = kcalloc(count, sizeof(*perm), GFP_KERNEL);
203 if (!perm) {
220 if (of_property_read_u8_array(sysparam, "param-perm", perm, count)) {
221 pr_err("SYSPARAM: Missing property param-perm in the DT\n");
248 switch (perm[i] & 3) {
272 kfree(perm);
281 kfree(perm);
[all...]
/linux-master/drivers/net/fddi/skfp/h/
H A Dfplustm.h221 u_char perm ; /* flag: permanent */ member in struct:s_smt_fp::__anon820::s_fpmc
/linux-master/drivers/scsi/cxlflash/
H A Dsislite.h497 * (if no perm, afu_rc=0x15)
510 u8 fp; /* format & perm nibbles.
511 * (if no perm, afu_rc=0x05)
531 #define SISL_RHT_FP(fmt, perm) (((fmt) << 4) | (perm))
542 /* extract the perm bits from a fp */
/linux-master/security/integrity/platform_certs/
H A Dplatform_keyring.c29 key_perm_t perm; local
32 perm = (KEY_POS_ALL & ~KEY_POS_SETATTR) | KEY_USR_VIEW;
35 perm);
/linux-master/tools/include/linux/
H A Dmodule.h5 #define module_param(name, type, perm)
/linux-master/arch/arm64/include/asm/
H A Dsysreg.h1052 #define PIRx_ELx_PERM(idx, perm) ((perm) << ((idx) * 4))
/linux-master/arch/powerpc/kvm/
H A Dbook3s_hv_nested.c1527 unsigned long n_gpa, gpa, gfn, perm = 0UL; local
1645 perm |= gpte.may_read ? 0UL : _PAGE_READ;
1646 perm |= gpte.may_write ? 0UL : _PAGE_WRITE;
1647 perm |= gpte.may_execute ? 0UL : _PAGE_EXEC;
1649 perm |= (gpte.rc & _PAGE_ACCESSED) ? 0UL : _PAGE_ACCESSED;
1650 perm |= ((gpte.rc & _PAGE_DIRTY) && writing) ? 0UL : _PAGE_DIRTY;
1651 pte = __pte(pte_val(pte) & ~perm);
H A Dbook3s_hv_rm_mmu.c1259 unsigned int perm = hpte_get_skey_perm(gr, vcpu->arch.amr); local
1261 perm >>= 1;
1262 if (perm & 1)
/linux-master/arch/powerpc/lib/
H A Dsstep.c1279 unsigned char perm, idx; local
1282 perm = 0;
1287 perm |= 1 << i;
1289 op->val = perm;
/linux-master/arch/sparc/include/asm/
H A Dhypervisor.h3173 unsigned long *perm);
/linux-master/arch/sparc/mm/
H A Diommu.c53 #define MKIOPTE(pfn, perm) (((((pfn)<<8) & IOPTE_PAGE) | (perm)) & ~IOPTE_WAZ)
/linux-master/arch/x86/include/asm/fpu/
H A Dtypes.h489 * @perm:
493 struct fpu_state_perm perm; member in struct:fpu
528 * @perm: xfeature bitmap of features which are
532 u64 perm; member in struct:fpu_guest
/linux-master/arch/x86/kernel/cpu/mce/
H A Dinject.c697 umode_t perm; member in struct:dfs_node
699 { .name = "status", .fops = &status_fops, .perm = S_IRUSR | S_IWUSR },
700 { .name = "misc", .fops = &misc_fops, .perm = S_IRUSR | S_IWUSR },
701 { .name = "addr", .fops = &addr_fops, .perm = S_IRUSR | S_IWUSR },
702 { .name = "synd", .fops = &synd_fops, .perm = S_IRUSR | S_IWUSR },
703 { .name = "ipid", .fops = &ipid_fops, .perm = S_IRUSR | S_IWUSR },
704 { .name = "bank", .fops = &bank_fops, .perm = S_IRUSR | S_IWUSR },
705 { .name = "flags", .fops = &flags_fops, .perm = S_IRUSR | S_IWUSR },
706 { .name = "cpu", .fops = &extcpu_fops, .perm = S_IRUSR | S_IWUSR },
707 { .name = "README", .fops = &readme_fops, .perm
[all...]
/linux-master/arch/x86/kernel/cpu/sgx/
H A Dioctl.c174 u64 perm = secinfo->flags & SGX_SECINFO_PERMISSION_MASK; local
180 if ((perm & SGX_SECINFO_W) && !(perm & SGX_SECINFO_R))
187 if (pt == SGX_SECINFO_TCS && perm)
/linux-master/arch/x86/kernel/fpu/
H A Dcore.c201 u64 perm; local
208 perm = fpuperm->__state_perm;
211 WRITE_ONCE(fpuperm->__state_perm, perm | FPU_GUEST_PERM_LOCKED);
215 gfpu->perm = perm & ~FPU_GUEST_PERM_LOCKED;
236 gfpu->perm = fpu_user_cfg.default_features;
273 * fpu_enable_guest_xfd_features - Check xfeatures against guest perm and enable
277 * Enable all dynamic xfeatures according to guest perm and requested CPUID.
536 fpu->perm.__state_perm = fpu_kernel_cfg.default_features;
537 fpu->perm
[all...]
H A Dxstate.c1596 struct fpu_state_perm *perm; local
1622 perm = guest ? &fpu->guest_perm : &fpu->perm;
1624 WRITE_ONCE(perm->__state_perm, mask);
1626 perm->__state_size = ksize;
1627 perm->__user_state_size = usize;
1679 struct fpu_state_perm *perm; local
1699 perm = guest_fpu ? &fpu->guest_perm : &fpu->perm;
1700 ksize = perm
[all...]
H A Dxstate.h26 struct fpu_state_perm *perm; local
29 perm = guest ? &fpu->guest_perm : &fpu->perm;
30 return READ_ONCE(perm->__state_perm);
/linux-master/arch/x86/kernel/
H A Dsignal.c399 fsize += current->group_leader->thread.fpu.perm.__user_state_size;
406 mask = current->group_leader->thread.fpu.perm.__state_perm;
/linux-master/arch/x86/kvm/
H A Demulate.c2594 u16 tr, io_bitmap_ptr, perm, bit_idx = port & 0x7; local
2620 r = ops->read_std(ctxt, base + io_bitmap_ptr + port/8, &perm, 2, NULL, true);
2623 if ((perm >> bit_idx) & mask)
/linux-master/certs/
H A Dblacklist.c94 key->perm = BLACKLIST_KEY_PERM;
H A Dsystem_keyring.c168 key_perm_t perm; local
170 perm = (KEY_POS_ALL & ~KEY_POS_SETATTR) | KEY_USR_VIEW;
174 NULL, data, len, perm,
/linux-master/drivers/ata/
H A Dlibata-transport.c739 #define SETUP_TEMPLATE(attrb, field, perm, test) \
741 i->private_##attrb[count].attr.mode = perm; \
/linux-master/drivers/firmware/arm_scmi/
H A Dclock.c323 u32 perm; local
327 sizeof(clk_id), sizeof(perm), &t);
335 perm = get_unaligned_le32(t->rx.buf);
337 clk->state_ctrl_forbidden = !(perm & CLOCK_STATE_CONTROL_ALLOWED);
338 clk->rate_ctrl_forbidden = !(perm & CLOCK_RATE_CONTROL_ALLOWED);
339 clk->parent_ctrl_forbidden = !(perm & CLOCK_PARENT_CONTROL_ALLOWED);
/linux-master/drivers/firmware/qcom/
H A Dqcom_scm.c48 __le32 perm; member in struct:qcom_scm_current_perm_info
1031 destvm->perm = cpu_to_le32(newvm->perm);
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_display_params.c9 #define intel_display_param_named(name, T, perm, desc) \
10 module_param_named(name, intel_display_modparams.name, T, perm); \
12 #define intel_display_param_named_unsafe(name, T, perm, desc) \
13 module_param_named_unsafe(name, intel_display_modparams.name, T, perm); \

Completed in 338 milliseconds

123456