Searched refs:cr1 (Results 1 - 17 of 17) sorted by relevance

/freebsd-13-stable/sys/security/mac_seeotheruids/
H A Dmac_seeotheruids.c106 seeotheruids_check(struct ucred *cr1, struct ucred *cr2) argument
113 if (cr1->cr_rgid == cr2->cr_rgid)
118 if (cr1->cr_rgid == specificgid ||
119 groupmember(specificgid, cr1))
123 if (cr1->cr_ruid == cr2->cr_ruid)
127 if (priv_check_cred(cr1, PRIV_SEEOTHERUIDS) == 0)
157 seeotheruids_cred_check_visible(struct ucred *cr1, struct ucred *cr2) argument
160 return (seeotheruids_check(cr1, cr2));
/freebsd-13-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);
H A Dmac_policy.h156 typedef int (*mpo_cred_check_visible_t)(struct ucred *cr1,
/freebsd-13-stable/sys/arm/include/
H A Dvfp.h36 #define VFPSCR cr1
/freebsd-13-stable/sys/security/mac_partition/
H A Dmac_partition.c139 partition_cred_check_visible(struct ucred *cr1, struct ucred *cr2) argument
143 error = partition_check(cr1->cr_label, cr2->cr_label);
/freebsd-13-stable/sys/dev/vr/
H A Dif_vr.c303 uint8_t cr0, cr1, fc; local
327 cr1 = CSR_READ_1(sc, VR_CR1);
328 mfdx = (cr1 & VR_CR1_FULLDUPLEX) != 0;
343 cr1 |= VR_CR1_FULLDUPLEX;
345 cr1 &= ~VR_CR1_FULLDUPLEX;
346 CSR_WRITE_1(sc, VR_CR1, cr1);
/freebsd-13-stable/crypto/openssl/crypto/bn/asm/
H A Dppc.pl1695 $UCMP cr1,r6,r7 # compare (tl <= r7)
1697 ble cr1,Lppcasm_divinnerexit
1706 $UCMP cr1,r4,r11 # compare l and tl
1708 bge cr1,Lppcasm_div7 # if (l>=tl) goto Lppcasm_div7
1712 $UCMP cr1,r3,r12 #compare h and th
1713 bge cr1,Lppcasm_div8 #if (h>=th) goto Lppcasm_div8
/freebsd-13-stable/sys/contrib/alpine-hal/
H A Dal_hal_pcie_regs.h72 uint32_t cr1; member in struct:al_pcie_core_iatu_regs
H A Dal_hal_pcie.c952 reg = al_reg_read32(&regs->port_regs->iatu.cr1);
959 al_reg_write32(&regs->port_regs->iatu.cr1, reg);
2540 al_reg_write32(&regs->port_regs->iatu.cr1, reg);
2595 reg = al_reg_read32(&regs->port_regs->iatu.cr1);
/freebsd-13-stable/usr.sbin/mountd/
H A Dmountd.c2340 compare_cred(struct expcred *cr0, struct expcred *cr1) argument
2343 if (cr0->cr_uid != cr1->cr_uid || cr0->cr_ngroups != cr1->cr_ngroups)
2346 COMPARE_ARRAYS(cr0->cr_groups, cr1->cr_groups, cr0->cr_ngroups);
/freebsd-13-stable/contrib/llvm-project/libunwind/src/
H A DUnwindRegistersRestore.S722 ldcl p1, cr1, [r0], #8 @ wldrd wR1, [r0], #8
/freebsd-13-stable/crypto/openssl/crypto/aes/asm/
H A Dvpaes-ppc.pl680 mcrf cr1, cr0 # put aside $out alignment flag
706 beq cr1, Lcbc_enc_loop # $out is aligned
756 beq cr1, Lcbc_dec_loop # $out is aligned
802 beq cr1, Lcbc_write_iv # $out is aligned
867 my $dir="cr1";
/freebsd-13-stable/sys/kern/
H A Dkern_sig.c175 * Policy -- Can ucred cr1 send SIGIO to process cr2?
179 #define CANSIGIO(cr1, cr2) \
180 ((cr1)->cr_uid == 0 || \
181 (cr1)->cr_ruid == (cr2)->cr_ruid || \
182 (cr1)->cr_uid == (cr2)->cr_ruid || \
183 (cr1)->cr_ruid == (cr2)->cr_uid || \
184 (cr1)->cr_uid == (cr2)->cr_uid)
/freebsd-13-stable/sys/security/mac_lomac/
H A Dmac_lomac.c975 lomac_cred_check_visible(struct ucred *cr1, struct ucred *cr2) argument
982 subj = SLOT(cr1->cr_label);
/freebsd-13-stable/sys/security/mac_mls/
H A Dmac_mls.c852 mls_cred_check_visible(struct ucred *cr1, struct ucred *cr2) argument
859 subj = SLOT(cr1->cr_label);
/freebsd-13-stable/sys/security/mac_stub/
H A Dmac_stub.c293 stub_cred_check_visible(struct ucred *cr1, struct ucred *cr2) argument

Completed in 131 milliseconds