Searched refs:new_role (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/drivers/usb/musb/ |
D | mediatek.c | 122 enum usb_role new_role; in mtk_otg_switch_set() local 131 new_role = USB_ROLE_HOST; in mtk_otg_switch_set() 142 new_role = USB_ROLE_DEVICE; in mtk_otg_switch_set() 152 new_role = USB_ROLE_NONE; in mtk_otg_switch_set() 164 glue->role = new_role; in mtk_otg_switch_set() 274 enum usb_role new_role; in mtk_musb_set_mode() local 279 new_role = USB_ROLE_HOST; in mtk_musb_set_mode() 283 new_role = USB_ROLE_DEVICE; in mtk_musb_set_mode() 287 new_role = USB_ROLE_NONE; in mtk_musb_set_mode() 302 mtk_otg_switch_set(glue, new_role); in mtk_musb_set_mode()
|
/kernel/linux/linux-5.10/security/selinux/ss/ |
D | policydb.h | 91 u32 new_role; /* new role */ member 108 u32 new_role; /* new role */ member
|
D | policydb.c | 2593 rtd->new_role = le32_to_cpu(buf[2]); in policydb_read() 2606 !policydb_role_isvalid(p, rtd->new_role)) in policydb_read() 2637 ra->new_role = le32_to_cpu(buf[1]); in policydb_read() 2639 !policydb_role_isvalid(p, ra->new_role)) in policydb_read() 2842 buf[2] = cpu_to_le32(rtd->new_role); in role_trans_write_one() 2885 buf[1] = cpu_to_le32(ra->new_role); in role_allow_write()
|
D | services.c | 708 tcontext->role == ra->new_role) in context_struct_compute_av() 1876 newcontext.role = rtd->new_role; in security_compute_sid()
|
/kernel/linux/linux-5.10/arch/x86/kvm/mmu/ |
D | mmu.c | 3835 union kvm_mmu_page_role new_role) in cached_root_available() argument 3844 if (is_root_usable(&root, new_pgd, new_role)) in cached_root_available() 3850 if (is_root_usable(&root, new_pgd, new_role)) in cached_root_available() 3861 union kvm_mmu_page_role new_role) in fast_pgd_switch() argument 3872 return cached_root_available(vcpu, new_pgd, new_role); in fast_pgd_switch() 3878 union kvm_mmu_page_role new_role, in __kvm_mmu_new_pgd() argument 3881 if (!fast_pgd_switch(vcpu, new_pgd, new_role)) { in __kvm_mmu_new_pgd() 3911 if (!new_role.direct) in __kvm_mmu_new_pgd() 4501 union kvm_mmu_role new_role = in init_kvm_tdp_mmu() local 4504 if (new_role.as_u64 == context->mmu_role.as_u64) in init_kvm_tdp_mmu() [all …]
|
/kernel/linux/linux-5.10/drivers/block/drbd/ |
D | drbd_nl.c | 615 drbd_set_role(struct drbd_device *const device, enum drbd_role new_role, int force) in drbd_set_role() argument 626 if (new_role == R_PRIMARY) { in drbd_set_role() 640 val.i = 0; val.role = new_role; in drbd_set_role() 718 if (new_role == R_SECONDARY) { in drbd_set_role() 752 set_disk_ro(device->vdisk, new_role == R_SECONDARY); in drbd_set_role()
|
D | drbd_int.h | 1481 enum drbd_role new_role,
|