Home
last modified time | relevance | path

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

/f-stack/freebsd/security/mac_seeotheruids/
H A Dmac_seeotheruids.c106 seeotheruids_check(struct ucred *cr1, struct ucred *cr2) in seeotheruids_check() argument
113 if (cr1->cr_rgid == cr2->cr_rgid) in seeotheruids_check()
123 if (cr1->cr_ruid == cr2->cr_ruid) in seeotheruids_check()
157 seeotheruids_cred_check_visible(struct ucred *cr1, struct ucred *cr2) in seeotheruids_cred_check_visible() argument
160 return (seeotheruids_check(cr1, cr2)); in seeotheruids_cred_check_visible()
/f-stack/freebsd/security/mac/
H A Dmac_cred.c344 mac_cred_check_visible(struct ucred *cr1, struct ucred *cr2) in mac_cred_check_visible() argument
348 MAC_POLICY_CHECK_NOSLEEP(cred_check_visible, cr1, cr2); in mac_cred_check_visible()
349 MAC_CHECK_PROBE2(cred_check_visible, error, cr1, cr2); in mac_cred_check_visible()
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);
/f-stack/freebsd/security/mac_partition/
H A Dmac_partition.c139 partition_cred_check_visible(struct ucred *cr1, struct ucred *cr2) in partition_cred_check_visible() argument
143 error = partition_check(cr1->cr_label, cr2->cr_label); in partition_cred_check_visible()
/f-stack/freebsd/amd64/vmm/intel/
H A Dvmx_support.S66 movq %cr2,%rdi; \
83 movq %rsi,%cr2; \
/f-stack/freebsd/amd64/vmm/amd/
H A Dvmcb.c184 *retval = state->cr2; in vmcb_read()
276 state->cr2 = val; in vmcb_write()
H A Dvmcb.h321 uint64_t cr2; member
H A Dsvm.c2475 SNAPSHOT_VAR_OR_LEAVE(vmcb->state.cr2, meta, ret, done); in svm_snapshot()
/f-stack/freebsd/amd64/amd64/
H A Dexception.S409 movq %cr2,%rdi /* preserve %cr2 before .. */
673 movq %cr2,%r15
714 movq %r15,%cr2
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
/f-stack/freebsd/i386/i386/
H A Dswtch.s360 movl %cr2,%eax
414 movl %eax,%cr2
/f-stack/freebsd/contrib/alpine-hal/
H A Dal_hal_pcie_regs.h73 uint32_t cr2; member
H A Dal_hal_pcie.c950 reg = al_reg_read32(&regs->port_regs->iatu.cr2); in al_pcie_ecrc_gen_ob_atu_enable()
2565 al_reg_write32(&regs->port_regs->iatu.cr2, reg); in al_pcie_atu_region_set()
/f-stack/freebsd/amd64/include/
H A Dvmm.h771 void vm_inject_pf(void *vm, int vcpuid, int error_code, uint64_t cr2);
/f-stack/freebsd/kern/
H A Dkern_sig.c173 #define CANSIGIO(cr1, cr2) \ argument
175 (cr1)->cr_ruid == (cr2)->cr_ruid || \
176 (cr1)->cr_uid == (cr2)->cr_ruid || \
177 (cr1)->cr_ruid == (cr2)->cr_uid || \
178 (cr1)->cr_uid == (cr2)->cr_uid)
/f-stack/freebsd/amd64/vmm/
H A Dvmm.c2121 vm_inject_pf(void *vmarg, int vcpuid, int error_code, uint64_t cr2) in vm_inject_pf() argument
2128 error_code, cr2); in vm_inject_pf()
2130 error = vm_set_register(vm, vcpuid, VM_REG_GUEST_CR2, cr2); in vm_inject_pf()
/f-stack/freebsd/security/mac_lomac/
H A Dmac_lomac.c975 lomac_cred_check_visible(struct ucred *cr1, struct ucred *cr2) in lomac_cred_check_visible() argument
983 obj = SLOT(cr2->cr_label); in lomac_cred_check_visible()
/f-stack/freebsd/security/mac_stub/
H A Dmac_stub.c293 stub_cred_check_visible(struct ucred *cr1, struct ucred *cr2) in stub_cred_check_visible() argument
/f-stack/freebsd/security/mac_mls/
H A Dmac_mls.c852 mls_cred_check_visible(struct ucred *cr1, struct ucred *cr2) in mls_cred_check_visible() argument
860 obj = SLOT(cr2->cr_label); in mls_cred_check_visible()