Searched refs:new_role (Results 1 – 7 of 7) sorted by relevance
/linux-6.1.9/drivers/usb/musb/ |
D | mediatek.c | 69 enum usb_role new_role; in mtk_otg_switch_set() local 78 new_role = USB_ROLE_HOST; in mtk_otg_switch_set() 89 new_role = USB_ROLE_DEVICE; in mtk_otg_switch_set() 99 new_role = USB_ROLE_NONE; in mtk_otg_switch_set() 111 glue->role = new_role; in mtk_otg_switch_set() 222 enum usb_role new_role; in mtk_musb_set_mode() local 227 new_role = USB_ROLE_HOST; in mtk_musb_set_mode() 231 new_role = USB_ROLE_DEVICE; in mtk_musb_set_mode() 235 new_role = USB_ROLE_NONE; in mtk_musb_set_mode() 250 mtk_otg_switch_set(glue, new_role); in mtk_musb_set_mode()
|
/linux-6.1.9/security/selinux/ss/ |
D | policydb.h | 91 u32 new_role; /* new role */ member 108 u32 new_role; /* new role */ member
|
D | policydb.c | 2586 rtd->new_role = le32_to_cpu(buf[2]); in policydb_read() 2599 !policydb_role_isvalid(p, rtd->new_role)) in policydb_read() 2630 ra->new_role = le32_to_cpu(buf[1]); in policydb_read() 2632 !policydb_role_isvalid(p, ra->new_role)) in policydb_read() 2835 buf[2] = cpu_to_le32(rtd->new_role); in role_trans_write_one() 2878 buf[1] = cpu_to_le32(ra->new_role); in role_allow_write()
|
D | services.c | 706 tcontext->role == ra->new_role) in context_struct_compute_av() 1883 newcontext.role = rtd->new_role; in security_compute_sid()
|
/linux-6.1.9/arch/x86/kvm/mmu/ |
D | mmu.c | 4380 union kvm_mmu_page_role new_role) in cached_root_find_and_keep_current() argument 4384 if (is_root_usable(&mmu->root, new_pgd, new_role)) in cached_root_find_and_keep_current() 4397 if (is_root_usable(&mmu->root, new_pgd, new_role)) in cached_root_find_and_keep_current() 4414 union kvm_mmu_page_role new_role) in cached_root_find_without_current() argument 4419 if (is_root_usable(&mmu->prev_roots[i], new_pgd, new_role)) in cached_root_find_without_current() 4434 gpa_t new_pgd, union kvm_mmu_page_role new_role) in fast_pgd_switch() argument 4445 return cached_root_find_and_keep_current(kvm, mmu, new_pgd, new_role); in fast_pgd_switch() 4447 return cached_root_find_without_current(kvm, mmu, new_pgd, new_role); in fast_pgd_switch() 4453 union kvm_mmu_page_role new_role = mmu->root_role; in kvm_mmu_new_pgd() local 4455 if (!fast_pgd_switch(vcpu->kvm, mmu, new_pgd, new_role)) { in kvm_mmu_new_pgd() [all …]
|
/linux-6.1.9/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 | 1475 enum drbd_role new_role,
|