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

/freebsd-10-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-10-stable/sys/security/mac/
H A Dmac_cred.c345 mac_cred_check_visible(struct ucred *cr1, struct ucred *cr2) argument
349 MAC_POLICY_CHECK_NOSLEEP(cred_check_visible, cr1, cr2);
350 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-10-stable/contrib/gcc/config/rs6000/
H A Dppc-asm.h40 #define cr2 2 macro
/freebsd-10-stable/sys/xen/interface/arch-x86/
H A Dxen-x86_32.h148 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-10-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-10-stable/sys/amd64/vmm/amd/
H A Dvmcb.c179 *retval = state->cr2;
267 state->cr2 = val;
H A Dvmcb.h308 uint64_t cr2; member in struct:vmcb_state
/freebsd-10-stable/sys/amd64/vmm/intel/
H A Dvmx_support.S63 movq %cr2,%rdi; \
80 movq %rsi,%cr2; \
/freebsd-10-stable/sys/xen/interface/hvm/
H A Dhvm_op.h236 uint64_aligned_t cr2; member in struct:xen_hvm_inject_trap
/freebsd-10-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-10-stable/sys/i386/i386/
H A Dswtch.s397 movl %cr2,%eax
451 movl %eax,%cr2
/freebsd-10-stable/sys/amd64/amd64/
H A Dcpu_switch.S347 movq %cr2,%rax
467 movq %rax,%cr2
H A Dexception.S306 1: movq %cr2,%rdi /* preserve %cr2 before .. */
/freebsd-10-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-10-stable/sys/amd64/include/
H A Dvmm.h671 void vm_inject_pf(void *vm, int vcpuid, int error_code, uint64_t cr2);
/freebsd-10-stable/sys/kern/
H A Dkern_sig.c159 * Policy -- Can ucred cr1 send SIGIO to process cr2?
163 #define CANSIGIO(cr1, cr2) \
165 (cr1)->cr_ruid == (cr2)->cr_ruid || \
166 (cr1)->cr_uid == (cr2)->cr_ruid || \
167 (cr1)->cr_ruid == (cr2)->cr_uid || \
168 (cr1)->cr_uid == (cr2)->cr_uid)
/freebsd-10-stable/sys/amd64/vmm/
H A Dvmm.c2014 vm_inject_pf(void *vmarg, int vcpuid, int error_code, uint64_t cr2) argument
2020 VCPU_CTR2(vm, vcpuid, "Injecting page fault: error_code %#x, cr2 %#lx",
2021 error_code, cr2);
2023 error = vm_set_register(vm, vcpuid, VM_REG_GUEST_CR2, cr2);
2024 KASSERT(error == 0, ("vm_set_register(cr2) error %d", error));
/freebsd-10-stable/sys/i386/xen/
H A Dxen_machdep.c405 return (HYPERVISOR_shared_info->vcpu_info[curcpu].arch.cr2);
/freebsd-10-stable/sys/security/mac_mls/
H A Dmac_mls.c854 mls_cred_check_visible(struct ucred *cr1, struct ucred *cr2) argument
862 obj = SLOT(cr2->cr_label);
/freebsd-10-stable/sys/security/mac_lomac/
H A Dmac_lomac.c980 lomac_cred_check_visible(struct ucred *cr1, struct ucred *cr2) argument
988 obj = SLOT(cr2->cr_label);
/freebsd-10-stable/sys/security/mac_stub/
H A Dmac_stub.c292 stub_cred_check_visible(struct ucred *cr1, struct ucred *cr2) argument

Completed in 398 milliseconds