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

12

/freebsd-11-stable/sys/security/mac_seeotheruids/
H A Dmac_seeotheruids.c105 seeotheruids_check(struct ucred *cr1, struct ucred *cr2) argument
112 if (cr1->cr_rgid == cr2->cr_rgid)
122 if (cr1->cr_ruid == cr2->cr_ruid)
156 seeotheruids_cred_check_visible(struct ucred *cr1, struct ucred *cr2) argument
159 return (seeotheruids_check(cr1, cr2));
/freebsd-11-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);
/freebsd-11-stable/contrib/gcc/config/rs6000/
H A Dppc-asm.h40 #define cr2 2 macro
/freebsd-11-stable/sys/xen/interface/arch-x86/
H A Dxen-x86_32.h149 unsigned long cr2; member in struct:arch_vcpu_info
H A Dxen-x86_64.h183 unsigned long cr2; member in struct:arch_vcpu_info
/freebsd-11-stable/sys/xen/interface/
H A Dvm_event.h147 uint64_t cr2; member in struct:vm_event_regs_x86
/freebsd-11-stable/stand/efi/loader/arch/amd64/
H A Dexc.S145 movq %cr2,%rax
/freebsd-11-stable/sys/security/mac_partition/
H A Dmac_partition.c138 partition_cred_check_visible(struct ucred *cr1, struct ucred *cr2) argument
142 error = partition_check(cr1->cr_label, cr2->cr_label);
/freebsd-11-stable/sys/amd64/vmm/amd/
H A Dvmcb.c181 *retval = state->cr2;
273 state->cr2 = val;
H A Dvmcb.h319 uint64_t cr2; member in struct:vmcb_state
/freebsd-11-stable/sys/amd64/vmm/intel/
H A Dvmx_support.S66 movq %cr2,%rdi; \
83 movq %rsi,%cr2; \
/freebsd-11-stable/sys/xen/interface/arch-x86/hvm/
H A Dsave.h77 uint64_t cr2; member in struct:hvm_hw_cpu
186 uint64_t cr2; member in struct:hvm_hw_cpu_compat
/freebsd-11-stable/sys/i386/i386/
H A Dswtch.s375 movl %cr2,%eax
429 movl %eax,%cr2
/freebsd-11-stable/sys/xen/interface/hvm/
H A Dhvm_op.h202 uint64_aligned_t cr2; member in struct:xen_hvm_inject_trap
/freebsd-11-stable/sys/amd64/amd64/
H A Dcpu_switch.S332 movq %cr2,%rax
452 movq %rax,%cr2
/freebsd-11-stable/sys/contrib/alpine-hal/
H A Dal_hal_pcie_regs.h80 uint32_t cr2; member in struct:al_pcie_core_iatu_regs
/freebsd-11-stable/sys/dev/cx/
H A Dcsigma.c116 unsigned char cr2, sr; local
126 cr2 = 0;
127 if (v >> b & 1) cr2 |= BCR2_TMS;
128 if (v >> b & 2) cr2 |= BCR2_TDI;
129 outb (BCR2(port), cr2); local
/freebsd-11-stable/usr.sbin/bhyvectl/
H A Dbhyvectl.c112 " [--set-cr2=<CR2>]\n"
113 " [--get-cr2]\n"
654 uint64_t cr0, cr2, cr3, cr4, dr0, dr1, dr2, dr3, dr6, dr7; local
673 error = vm_get_register(ctx, vcpu, VM_REG_GUEST_CR2, &cr2);
675 printf("cr2[%d]\t\t0x%016lx\n", vcpu, cr2);
1320 { "set-cr2", REQ_ARG, 0, SET_CR2 },
1381 { "get-cr2", NO_ARG, &get_cr2, 1 },
1665 uint64_t rax, cr0, cr2, cr3, cr4, dr0, dr1, dr2, dr3, dr6, dr7; local
1706 cr2
[all...]
/freebsd-11-stable/sys/amd64/include/
H A Dvmm.h689 void vm_inject_pf(void *vm, int vcpuid, int error_code, uint64_t cr2);
/freebsd-11-stable/contrib/llvm-project/libunwind/src/
H A DUnwindRegistersRestore.S723 ldcl p1, cr2, [r0], #8 @ wldrd wR2, [r0], #8
/freebsd-11-stable/sys/kern/
H A Dkern_sig.c161 * Policy -- Can ucred cr1 send SIGIO to process cr2?
165 #define CANSIGIO(cr1, cr2) \
167 (cr1)->cr_ruid == (cr2)->cr_ruid || \
168 (cr1)->cr_uid == (cr2)->cr_ruid || \
169 (cr1)->cr_ruid == (cr2)->cr_uid || \
170 (cr1)->cr_uid == (cr2)->cr_uid)
/freebsd-11-stable/sys/amd64/vmm/
H A Dvmm.c2064 vm_inject_pf(void *vmarg, int vcpuid, int error_code, uint64_t cr2) argument
2070 VCPU_CTR2(vm, vcpuid, "Injecting page fault: error_code %#x, cr2 %#lx",
2071 error_code, cr2);
2073 error = vm_set_register(vm, vcpuid, VM_REG_GUEST_CR2, cr2);
2074 KASSERT(error == 0, ("vm_set_register(cr2) error %d", error));
/freebsd-11-stable/sys/security/mac_lomac/
H A Dmac_lomac.c974 lomac_cred_check_visible(struct ucred *cr1, struct ucred *cr2) argument
982 obj = SLOT(cr2->cr_label);
/freebsd-11-stable/sys/security/mac_mls/
H A Dmac_mls.c851 mls_cred_check_visible(struct ucred *cr1, struct ucred *cr2) argument
859 obj = SLOT(cr2->cr_label);

Completed in 325 milliseconds

12