Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/usb/musb/
Dmediatek.c70 enum usb_role new_role; in mtk_otg_switch_set() local
79 new_role = USB_ROLE_HOST; in mtk_otg_switch_set()
90 new_role = USB_ROLE_DEVICE; in mtk_otg_switch_set()
100 new_role = USB_ROLE_NONE; in mtk_otg_switch_set()
112 glue->role = new_role; in mtk_otg_switch_set()
223 enum usb_role new_role; in mtk_musb_set_mode() local
228 new_role = USB_ROLE_HOST; in mtk_musb_set_mode()
232 new_role = USB_ROLE_DEVICE; in mtk_musb_set_mode()
236 new_role = USB_ROLE_NONE; in mtk_musb_set_mode()
251 mtk_otg_switch_set(glue, new_role); in mtk_musb_set_mode()
/linux-6.12.1/security/selinux/ss/
Dpolicydb.h89 u32 new_role; /* new role */ member
106 u32 new_role; /* new role */ member
Dpolicydb.c2636 rtd->new_role = le32_to_cpu(buf[2]); in policydb_read()
2649 !policydb_role_isvalid(p, rtd->new_role)) in policydb_read()
2682 ra->new_role = le32_to_cpu(buf[1]); in policydb_read()
2684 !policydb_role_isvalid(p, ra->new_role)) in policydb_read()
2886 buf[2] = cpu_to_le32(rtd->new_role); in role_trans_write_one()
2929 buf[1] = cpu_to_le32(ra->new_role); in role_allow_write()
Dservices.c699 tcontext->role == ra->new_role) in context_struct_compute_av()
1864 newcontext.role = rtd->new_role; in security_compute_sid()
/linux-6.12.1/arch/x86/kvm/mmu/
Dmmu.c4847 union kvm_mmu_page_role new_role) in cached_root_find_and_keep_current() argument
4851 if (is_root_usable(&mmu->root, new_pgd, new_role)) in cached_root_find_and_keep_current()
4864 if (is_root_usable(&mmu->root, new_pgd, new_role)) in cached_root_find_and_keep_current()
4881 union kvm_mmu_page_role new_role) in cached_root_find_without_current() argument
4886 if (is_root_usable(&mmu->prev_roots[i], new_pgd, new_role)) in cached_root_find_without_current()
4901 gpa_t new_pgd, union kvm_mmu_page_role new_role) in fast_pgd_switch() argument
4911 return cached_root_find_and_keep_current(kvm, mmu, new_pgd, new_role); in fast_pgd_switch()
4913 return cached_root_find_without_current(kvm, mmu, new_pgd, new_role); in fast_pgd_switch()
4919 union kvm_mmu_page_role new_role = mmu->root_role; in kvm_mmu_new_pgd() local
4925 if (!fast_pgd_switch(vcpu->kvm, mmu, new_pgd, new_role)) in kvm_mmu_new_pgd()
[all …]
/linux-6.12.1/drivers/block/drbd/
Ddrbd_nl.c615 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()
Ddrbd_int.h1411 enum drbd_role new_role,