Home
last modified time | relevance | path

Searched refs:cr2 (Results 1 – 25 of 34) sorted by relevance

12

/freebsd-14.2/sys/security/mac_seeotheruids/
H A Dmac_seeotheruids.c104 seeotheruids_check(struct ucred *cr1, struct ucred *cr2) in seeotheruids_check() argument
111 if (cr1->cr_rgid == cr2->cr_rgid) in seeotheruids_check()
121 if (cr1->cr_ruid == cr2->cr_ruid) in seeotheruids_check()
155 seeotheruids_cred_check_visible(struct ucred *cr1, struct ucred *cr2) in seeotheruids_cred_check_visible() argument
158 return (seeotheruids_check(cr1, cr2)); in seeotheruids_cred_check_visible()
/freebsd-14.2/sys/security/mac/
H A Dmac_cred.c342 mac_cred_check_visible(struct ucred *cr1, struct ucred *cr2) in mac_cred_check_visible() argument
346 MAC_POLICY_CHECK_NOSLEEP(cred_check_visible, cr1, cr2); in mac_cred_check_visible()
347 MAC_CHECK_PROBE2(cred_check_visible, error, cr1, cr2); in mac_cred_check_visible()
H A Dmac_framework.h130 int mac_cred_check_visible(struct ucred *cr1, struct ucred *cr2);
131 void mac_cred_copy(struct ucred *cr1, struct ucred *cr2);
/freebsd-14.2/tools/test/stress2/tools/
H A Dbench.c49 static void cr2(void);
54 static void (*functions[])(void) = {&cr1, &cr2, &cr3, &rn1, &rw1, &rw2};
92 cr2(void) in cr2() function
/freebsd-14.2/sys/security/mac_partition/
H A Dmac_partition.c137 partition_cred_check_visible(struct ucred *cr1, struct ucred *cr2) in partition_cred_check_visible() argument
141 error = partition_check(cr1->cr_label, cr2->cr_label); in partition_cred_check_visible()
/freebsd-14.2/sys/contrib/xen/
H A Dvm_event.h209 uint64_t cr2; member
361 uint64_t cr2; member
/freebsd-14.2/sys/amd64/vmm/intel/
H A Dvmx_support.S64 movq %cr2,%rdi; \
81 movq %rsi,%cr2; \
/freebsd-14.2/sys/amd64/amd64/
H A Dexception.S406 movq %cr2,%rdi /* preserve %cr2 before .. */
665 movq %cr2,%r15
704 movq %r15,%cr2
806 movq %cr2,%r15
956 movq %r15,%cr2
1014 movq %cr2,%r15
1072 movq %r15,%cr2
H A Dcpu_switch.S324 movq %cr2,%rax
447 movq %rax,%cr2
/freebsd-14.2/sys/amd64/vmm/amd/
H A Dvmcb.c182 *retval = state->cr2; in vmcb_read()
290 state->cr2 = val; in vmcb_write()
H A Dvmcb.h336 uint64_t cr2; member
/freebsd-14.2/stand/efi/loader/arch/amd64/
H A Dexc.S142 movq %cr2,%rax
/freebsd-14.2/sys/contrib/xen/arch-x86/hvm/
H A Dsave.h81 uint64_t cr2; member
195 uint64_t cr2; member
/freebsd-14.2/sys/contrib/xen/arch-x86/
H A Dxen-x86_32.h171 unsigned long cr2; member
H A Dxen-x86_64.h222 unsigned long cr2; member
/freebsd-14.2/sys/i386/i386/
H A Dswtch.S358 movl %cr2,%eax
412 movl %eax,%cr2
/freebsd-14.2/sys/contrib/xen/hvm/
H A Ddm_op.h336 uint64_aligned_t cr2; member
/freebsd-14.2/usr.sbin/bhyvectl/
H A Dbhyvectl.c486 uint64_t cr0, cr2, cr3, cr4, dr0, dr1, dr2, dr3, dr6, dr7; in get_all_registers() local
505 error = vm_get_register(vcpu, VM_REG_GUEST_CR2, &cr2); in get_all_registers()
507 printf("cr2[%d]\t\t0x%016lx\n", vcpuid, cr2); in get_all_registers()
1634 uint64_t rax, cr0, cr2, cr3, cr4, dr0, dr1, dr2, dr3, dr6, dr7; in main() local
1679 cr2 = strtoul(optarg, NULL, 0); in main()
1851 error = vm_set_register(vcpu, VM_REG_GUEST_CR2, cr2); in main()
/freebsd-14.2/sys/contrib/alpine-hal/
H A Dal_hal_pcie_regs.h73 uint32_t cr2; member
/freebsd-14.2/contrib/llvm-project/libunwind/src/
H A DUnwindRegistersRestore.S799 ldcl p1, cr2, [r0], #8 @ wldrd wR2, [r0], #8
/freebsd-14.2/sys/amd64/include/
H A Dvmm.h808 void vm_inject_pf(struct vcpu *vcpu, int error_code, uint64_t cr2);
/freebsd-14.2/sys/kern/
H A Dkern_sig.c184 #define CANSIGIO(cr1, cr2) \ argument
186 (cr1)->cr_ruid == (cr2)->cr_ruid || \
187 (cr1)->cr_uid == (cr2)->cr_ruid || \
188 (cr1)->cr_ruid == (cr2)->cr_uid || \
189 (cr1)->cr_uid == (cr2)->cr_uid)
/freebsd-14.2/sys/amd64/vmm/
H A Dvmm.c2283 vm_inject_pf(struct vcpu *vcpu, int error_code, uint64_t cr2) in vm_inject_pf() argument
2288 error_code, cr2); in vm_inject_pf()
2290 error = vm_set_register(vcpu, VM_REG_GUEST_CR2, cr2); in vm_inject_pf()
/freebsd-14.2/sys/security/mac_lomac/
H A Dmac_lomac.c983 lomac_cred_check_visible(struct ucred *cr1, struct ucred *cr2) in lomac_cred_check_visible() argument
991 obj = SLOT(cr2->cr_label); in lomac_cred_check_visible()
/freebsd-14.2/sys/security/mac_stub/
H A Dmac_stub.c294 stub_cred_check_visible(struct ucred *cr1, struct ucred *cr2) in stub_cred_check_visible() argument

12