Searched refs:cr2 (Results 1 - 25 of 28) sorted by relevance

12

/freebsd-13-stable/sys/security/mac_seeotheruids/
H A Dmac_seeotheruids.c106 seeotheruids_check(struct ucred *cr1, struct ucred *cr2) argument
113 if (cr1->cr_rgid == cr2->cr_rgid)
123 if (cr1->cr_ruid == cr2->cr_ruid)
157 seeotheruids_cred_check_visible(struct ucred *cr1, struct ucred *cr2) argument
160 return (seeotheruids_check(cr1, cr2));
/freebsd-13-stable/sys/security/mac/
H A Dmac_cred.c344 mac_cred_check_visible(struct ucred *cr1, struct ucred *cr2) argument
348 MAC_POLICY_CHECK_NOSLEEP(cred_check_visible, cr1, cr2);
349 MAC_CHECK_PROBE2(cred_check_visible, error, cr1, cr2);
H A Dmac_framework.h126 int mac_cred_check_visible(struct ucred *cr1, struct ucred *cr2);
127 void mac_cred_copy(struct ucred *cr1, struct ucred *cr2);
H A Dmac_policy.h157 struct ucred *cr2);
/freebsd-13-stable/stand/efi/loader/arch/amd64/
H A Dexc.S145 movq %cr2,%rax
/freebsd-13-stable/sys/security/mac_partition/
H A Dmac_partition.c139 partition_cred_check_visible(struct ucred *cr1, struct ucred *cr2) argument
143 error = partition_check(cr1->cr_label, cr2->cr_label);
/freebsd-13-stable/sys/amd64/vmm/intel/
H A Dvmx_support.S66 movq %cr2,%rdi; \
83 movq %rsi,%cr2; \
/freebsd-13-stable/sys/xen/interface/
H A Dvm_event.h201 uint64_t cr2; member in struct:vm_event_regs_x86
336 uint64_t cr2; member in struct:vm_event_interrupt_x86
/freebsd-13-stable/sys/xen/interface/arch-x86/
H A Dxen-x86_32.h171 unsigned long cr2; member in struct:arch_vcpu_info
H A Dxen-x86_64.h222 unsigned long cr2; member in struct:arch_vcpu_info
/freebsd-13-stable/sys/xen/interface/hvm/
H A Ddm_op.h327 /* IN - type-specific extra data (%cr2 for #PF, pending_dbg for #DB) */
328 uint64_aligned_t cr2; member in struct:xen_dm_op_inject_event
/freebsd-13-stable/sys/i386/i386/
H A Dswtch.s360 movl %cr2,%eax
414 movl %eax,%cr2
/freebsd-13-stable/sys/amd64/vmm/amd/
H A Dvmcb.c184 *retval = state->cr2;
276 state->cr2 = val;
H A Dvmcb.h321 uint64_t cr2; member in struct:vmcb_state
/freebsd-13-stable/sys/xen/interface/arch-x86/hvm/
H A Dsave.h81 uint64_t cr2; member in struct:hvm_hw_cpu
195 uint64_t cr2; member in struct:hvm_hw_cpu_compat
/freebsd-13-stable/sys/amd64/amd64/
H A Dexception.S409 movq %cr2,%rdi /* preserve %cr2 before .. */
673 movq %cr2,%r15
714 movq %r15,%cr2
813 * %cr2 in %r15.
816 movq %cr2,%r15
966 movq %r15,%cr2
1024 movq %cr2,%r15
1082 movq %r15,%cr2
H A Dcpu_switch.S326 movq %cr2,%rax
449 movq %rax,%cr2
/freebsd-13-stable/usr.sbin/bhyvectl/
H A Dbhyvectl.c122 " [--set-cr2=<CR2>]\n"
123 " [--get-cr2]\n"
674 uint64_t cr0, cr2, cr3, cr4, dr0, dr1, dr2, dr3, dr6, dr7; local
693 error = vm_get_register(ctx, vcpu, VM_REG_GUEST_CR2, &cr2);
695 printf("cr2[%d]\t\t0x%016lx\n", vcpu, cr2);
1340 { "set-cr2", REQ_ARG, 0, SET_CR2 },
1401 { "get-cr2", NO_ARG, &get_cr2, 1 },
1765 uint64_t rax, cr0, cr2, cr3, cr4, dr0, dr1, dr2, dr3, dr6, dr7; local
1809 cr2
[all...]
/freebsd-13-stable/sys/contrib/alpine-hal/
H A Dal_hal_pcie_regs.h73 uint32_t cr2; member in struct:al_pcie_core_iatu_regs
/freebsd-13-stable/contrib/llvm-project/libunwind/src/
H A DUnwindRegistersRestore.S723 ldcl p1, cr2, [r0], #8 @ wldrd wR2, [r0], #8
/freebsd-13-stable/sys/amd64/include/
H A Dvmm.h772 void vm_inject_pf(void *vm, int vcpuid, int error_code, uint64_t cr2);
/freebsd-13-stable/sys/kern/
H A Dkern_sig.c175 * Policy -- Can ucred cr1 send SIGIO to process cr2?
179 #define CANSIGIO(cr1, cr2) \
181 (cr1)->cr_ruid == (cr2)->cr_ruid || \
182 (cr1)->cr_uid == (cr2)->cr_ruid || \
183 (cr1)->cr_ruid == (cr2)->cr_uid || \
184 (cr1)->cr_uid == (cr2)->cr_uid)
/freebsd-13-stable/sys/amd64/vmm/
H A Dvmm.c2139 vm_inject_pf(void *vmarg, int vcpuid, int error_code, uint64_t cr2) argument
2145 VCPU_CTR2(vm, vcpuid, "Injecting page fault: error_code %#x, cr2 %#lx",
2146 error_code, cr2);
2148 error = vm_set_register(vm, vcpuid, VM_REG_GUEST_CR2, cr2);
2149 KASSERT(error == 0, ("vm_set_register(cr2) error %d", error));
/freebsd-13-stable/sys/security/mac_lomac/
H A Dmac_lomac.c975 lomac_cred_check_visible(struct ucred *cr1, struct ucred *cr2) argument
983 obj = SLOT(cr2->cr_label);
/freebsd-13-stable/sys/security/mac_mls/
H A Dmac_mls.c852 mls_cred_check_visible(struct ucred *cr1, struct ucred *cr2) argument
860 obj = SLOT(cr2->cr_label);

Completed in 189 milliseconds

12