Home
last modified time | relevance | path

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

/linux-6.15/drivers/usb/musb/
H A 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.15/security/selinux/ss/
H A Dpolicydb.h89 u32 new_role; /* new role */ member
106 u32 new_role; /* new role */ member
H A Dpolicydb.c2628 rtd->new_role = le32_to_cpu(buf[2]); in policydb_read()
2641 !policydb_role_isvalid(p, rtd->new_role)) in policydb_read()
2674 ra->new_role = le32_to_cpu(buf[1]); in policydb_read()
2676 !policydb_role_isvalid(p, ra->new_role)) in policydb_read()
2878 buf[2] = cpu_to_le32(rtd->new_role); in role_trans_write_one()
2921 buf[1] = cpu_to_le32(ra->new_role); in role_allow_write()
H A Dservices.c709 tcontext->role == ra->new_role) in context_struct_compute_av()
1893 newcontext.role = rtd->new_role; in security_compute_sid()
/linux-6.15/arch/x86/kvm/mmu/
H A Dmmu.c4975 union kvm_mmu_page_role new_role) in cached_root_find_and_keep_current() argument
4979 if (is_root_usable(&mmu->root, new_pgd, new_role)) in cached_root_find_and_keep_current()
4992 if (is_root_usable(&mmu->root, new_pgd, new_role)) in cached_root_find_and_keep_current()
5009 union kvm_mmu_page_role new_role) in cached_root_find_without_current() argument
5014 if (is_root_usable(&mmu->prev_roots[i], new_pgd, new_role)) in cached_root_find_without_current()
5029 gpa_t new_pgd, union kvm_mmu_page_role new_role) in fast_pgd_switch() argument
5039 return cached_root_find_and_keep_current(kvm, mmu, new_pgd, new_role); in fast_pgd_switch()
5041 return cached_root_find_without_current(kvm, mmu, new_pgd, new_role); in fast_pgd_switch()
5047 union kvm_mmu_page_role new_role = mmu->root_role; in kvm_mmu_new_pgd() local
5053 if (!fast_pgd_switch(vcpu->kvm, mmu, new_pgd, new_role)) in kvm_mmu_new_pgd()
[all …]
/linux-6.15/drivers/block/drbd/
H A 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()
H A Ddrbd_int.h1411 enum drbd_role new_role,