| /freebsd-14.2/sys/security/mac_seeotheruids/ |
| H A D | mac_seeotheruids.c | 104 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 D | mac_cred.c | 342 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 D | mac_framework.h | 130 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 D | bench.c | 49 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 D | mac_partition.c | 137 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 D | vm_event.h | 209 uint64_t cr2; member 361 uint64_t cr2; member
|
| /freebsd-14.2/sys/amd64/vmm/intel/ |
| H A D | vmx_support.S | 64 movq %cr2,%rdi; \ 81 movq %rsi,%cr2; \
|
| /freebsd-14.2/sys/amd64/amd64/ |
| H A D | exception.S | 406 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 D | cpu_switch.S | 324 movq %cr2,%rax 447 movq %rax,%cr2
|
| /freebsd-14.2/sys/amd64/vmm/amd/ |
| H A D | vmcb.c | 182 *retval = state->cr2; in vmcb_read() 290 state->cr2 = val; in vmcb_write()
|
| H A D | vmcb.h | 336 uint64_t cr2; member
|
| /freebsd-14.2/stand/efi/loader/arch/amd64/ |
| H A D | exc.S | 142 movq %cr2,%rax
|
| /freebsd-14.2/sys/contrib/xen/arch-x86/hvm/ |
| H A D | save.h | 81 uint64_t cr2; member 195 uint64_t cr2; member
|
| /freebsd-14.2/sys/contrib/xen/arch-x86/ |
| H A D | xen-x86_32.h | 171 unsigned long cr2; member
|
| H A D | xen-x86_64.h | 222 unsigned long cr2; member
|
| /freebsd-14.2/sys/i386/i386/ |
| H A D | swtch.S | 358 movl %cr2,%eax 412 movl %eax,%cr2
|
| /freebsd-14.2/sys/contrib/xen/hvm/ |
| H A D | dm_op.h | 336 uint64_aligned_t cr2; member
|
| /freebsd-14.2/usr.sbin/bhyvectl/ |
| H A D | bhyvectl.c | 486 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 D | al_hal_pcie_regs.h | 73 uint32_t cr2; member
|
| /freebsd-14.2/contrib/llvm-project/libunwind/src/ |
| H A D | UnwindRegistersRestore.S | 799 ldcl p1, cr2, [r0], #8 @ wldrd wR2, [r0], #8
|
| /freebsd-14.2/sys/amd64/include/ |
| H A D | vmm.h | 808 void vm_inject_pf(struct vcpu *vcpu, int error_code, uint64_t cr2);
|
| /freebsd-14.2/sys/kern/ |
| H A D | kern_sig.c | 184 #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 D | vmm.c | 2283 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 D | mac_lomac.c | 983 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 D | mac_stub.c | 294 stub_cred_check_visible(struct ucred *cr1, struct ucred *cr2) in stub_cred_check_visible() argument
|