Searched refs:new_role (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/drivers/usb/musb/ |
D | mediatek.c | 70 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.6.21/security/selinux/ss/ |
D | policydb.h | 91 u32 new_role; /* new role */ member 108 u32 new_role; /* new role */ member
|
D | policydb.c | 2595 rtd->new_role = le32_to_cpu(buf[2]); in policydb_read() 2608 !policydb_role_isvalid(p, rtd->new_role)) in policydb_read() 2639 ra->new_role = le32_to_cpu(buf[1]); in policydb_read() 2641 !policydb_role_isvalid(p, ra->new_role)) in policydb_read() 2844 buf[2] = cpu_to_le32(rtd->new_role); in role_trans_write_one() 2887 buf[1] = cpu_to_le32(ra->new_role); in role_allow_write()
|
D | services.c | 700 tcontext->role == ra->new_role) in context_struct_compute_av() 1852 newcontext.role = rtd->new_role; in security_compute_sid()
|
/linux-6.6.21/arch/x86/kvm/mmu/ |
D | mmu.c | 4550 union kvm_mmu_page_role new_role) in cached_root_find_and_keep_current() argument 4554 if (is_root_usable(&mmu->root, new_pgd, new_role)) in cached_root_find_and_keep_current() 4567 if (is_root_usable(&mmu->root, new_pgd, new_role)) in cached_root_find_and_keep_current() 4584 union kvm_mmu_page_role new_role) in cached_root_find_without_current() argument 4589 if (is_root_usable(&mmu->prev_roots[i], new_pgd, new_role)) in cached_root_find_without_current() 4604 gpa_t new_pgd, union kvm_mmu_page_role new_role) in fast_pgd_switch() argument 4614 return cached_root_find_and_keep_current(kvm, mmu, new_pgd, new_role); in fast_pgd_switch() 4616 return cached_root_find_without_current(kvm, mmu, new_pgd, new_role); in fast_pgd_switch() 4622 union kvm_mmu_page_role new_role = mmu->root_role; in kvm_mmu_new_pgd() local 4628 if (!fast_pgd_switch(vcpu->kvm, mmu, new_pgd, new_role)) in kvm_mmu_new_pgd() [all …]
|
/linux-6.6.21/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 | 1418 enum drbd_role new_role,
|