Home
last modified time | relevance | path

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

/freebsd/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()
116 if (cr1->cr_rgid == specificgid || in seeotheruids_check()
117 groupmember(specificgid, cr1)) in seeotheruids_check()
121 if (cr1->cr_ruid == cr2->cr_ruid) in seeotheruids_check()
125 if (priv_check_cred(cr1, PRIV_SEEOTHERUIDS) == 0) 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/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);
H A Dmac_policy.h161 typedef int (*mpo_cred_check_visible_t)(struct ucred *cr1,
/freebsd/tools/test/stress2/tools/
H A Dbench.c48 static void cr1(void);
54 static void (*functions[])(void) = {&cr1, &cr2, &cr3, &rn1, &rw1, &rw2};
60 cr1(void) in cr1() function
/freebsd/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/sys/arm/include/
H A Dvfp.h35 #define VFPSCR cr1
/freebsd/sys/dev/vr/
H A Dif_vr.c299 uint8_t cr0, cr1, fc; in vr_miibus_statchg() local
323 cr1 = CSR_READ_1(sc, VR_CR1); in vr_miibus_statchg()
324 mfdx = (cr1 & VR_CR1_FULLDUPLEX) != 0; in vr_miibus_statchg()
339 cr1 |= VR_CR1_FULLDUPLEX; in vr_miibus_statchg()
341 cr1 &= ~VR_CR1_FULLDUPLEX; in vr_miibus_statchg()
342 CSR_WRITE_1(sc, VR_CR1, cr1); in vr_miibus_statchg()
/freebsd/sys/contrib/alpine-hal/
H A Dal_hal_pcie_regs.h72 uint32_t cr1; member
H A Dal_hal_pcie.c952 reg = al_reg_read32(&regs->port_regs->iatu.cr1); in al_pcie_ecrc_gen_ob_atu_enable()
959 al_reg_write32(&regs->port_regs->iatu.cr1, reg); in al_pcie_ecrc_gen_ob_atu_enable()
2540 al_reg_write32(&regs->port_regs->iatu.cr1, reg); in al_pcie_atu_region_set()
2595 reg = al_reg_read32(&regs->port_regs->iatu.cr1); in al_pcie_atu_region_get_fields()
/freebsd/sys/kern/
H A Dkern_sig.c178 * Policy -- Can ucred cr1 send SIGIO to process cr2?
182 #define CANSIGIO(cr1, cr2) \
183 ((cr1)->cr_uid == 0 || \ argument
184 (cr1)->cr_ruid == (cr2)->cr_ruid || \
185 (cr1)->cr_uid == (cr2)->cr_ruid || \
186 (cr1)->cr_ruid == (cr2)->cr_uid || \
187 (cr1)->cr_uid == (cr2)->cr_uid)
/freebsd/usr.sbin/mountd/
H A Dmountd.c2385 compare_cred(struct expcred *cr0, struct expcred *cr1) in compare_cred() argument
2388 if (cr0->cr_uid != cr1->cr_uid || cr0->cr_ngroups != cr1->cr_ngroups) in compare_cred()
2391 COMPARE_ARRAYS(cr0->cr_groups, cr1->cr_groups, cr0->cr_ngroups); in compare_cred()
/freebsd/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
990 subj = SLOT(cr1->cr_label); in lomac_cred_check_visible()
/freebsd/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
/freebsd/sys/security/mac_mls/
H A Dmac_mls.c850 mls_cred_check_visible(struct ucred *cr1, struct ucred *cr2) in mls_cred_check_visible() argument
857 subj = SLOT(cr1->cr_label); in mls_cred_check_visible()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86RegisterInfo.td505 def CR1 : X86Reg<"cr1", 1>;
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCRegisterInfo.td281 def CR1 : CR<1, "cr1", [CR1LT, CR1GT, CR1EQ, CR1UN]>, DwarfRegNum<[69, 69]>;