Searched refs:IS_VALID_CRED (Results 1 - 20 of 20) sorted by relevance

/darwin-on-arm/xnu/bsd/sys/
H A Ducred.h144 #define IS_VALID_CRED(_cr) ((_cr) != NOCRED && (_cr) != FSCRED) macro
/darwin-on-arm/xnu/bsd/nfs/
H A Dnfs_bio.c265 if (IS_VALID_CRED(fbp->nb_rcred))
267 if (IS_VALID_CRED(fbp->nb_wcred))
812 if (IS_VALID_CRED(bp->nb_rcred))
814 if (IS_VALID_CRED(bp->nb_wcred))
1466 if (IS_VALID_CRED(cred))
1486 if (IS_VALID_CRED(cred))
1664 if (IS_VALID_CRED(cred))
1696 if (IS_VALID_CRED(cred))
1731 if (IS_VALID_CRED(cred))
1779 if (IS_VALID_CRED(cre
[all...]
H A Dnfs_syscalls.c1026 if (IS_VALID_CRED(nd->nd_cr))
1176 if (IS_VALID_CRED(nd->nd_cr))
1196 if (IS_VALID_CRED(nd->nd_cr))
1352 if (IS_VALID_CRED(nwp->nd_cr))
H A Dnfs_subs.c2441 if (!IS_VALID_CRED(cred))
2450 if (IS_VALID_CRED(cred))
2466 if (IS_VALID_CRED(cred))
2496 if (IS_VALID_CRED(cred))
2552 if (IS_VALID_CRED(cred))
2584 if (IS_VALID_CRED(nno->no_opt.nxo_cred))
2630 if (IS_VALID_CRED(nx->nx_defopt.nxo_cred)) {
2655 if (IS_VALID_CRED(nno->no_opt.nxo_cred))
2736 if (IS_VALID_CRED(nx->nx_defopt.nxo_cred)) {
3058 if (IS_VALID_CRED(n
[all...]
H A Dnfs_socket.c1417 if (IS_VALID_CRED(nmp->nm_mcred))
3471 if (IS_VALID_CRED(cred)) {
3573 if (IS_VALID_CRED(req->r_cred))
6039 if (IS_VALID_CRED(nd->nd_cr))
H A Dnfs_vfsops.c3075 if (IS_VALID_CRED(nmp->nm_mcred))
3112 if (IS_VALID_CRED(nmp->nm_mcred))
4353 if (IS_VALID_CRED(nmp->nm_mcred))
4554 if (!IS_VALID_CRED(cred))
H A Dnfs_vnops.c1683 if (!IS_VALID_CRED(bp->nb_wcred)) {
2618 if (!IS_VALID_CRED(bp->nb_wcred)) {
6697 if (!IS_VALID_CRED(cred))
7113 if (!IS_VALID_CRED(cred))
H A Dnfs4_subs.c227 cred = IS_VALID_CRED(nmp->nm_mcred) ? nmp->nm_mcred : vfs_context_ucred(vfs_context_kernel());
371 cred = IS_VALID_CRED(nmp->nm_mcred) ? nmp->nm_mcred : vfs_context_ucred(vfs_context_kernel());
/darwin-on-arm/xnu/bsd/security/audit/
H A Daudit_session.c977 KASSERT(IS_VALID_CRED(cred),
998 KASSERT(IS_VALID_CRED(cred),
1015 KASSERT(IS_VALID_CRED(cred),
1033 KASSERT(IS_VALID_CRED(cred),
1229 if (!IS_VALID_CRED(cred)) {
1305 if (!IS_VALID_CRED(cred)) {
1396 if (!IS_VALID_CRED(my_cred)) {
/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_quota.c189 if (!IS_VALID_CRED(cred))
334 if (!IS_VALID_CRED(cred))
591 if (IS_VALID_CRED(qfp->qf_cred))
700 if (IS_VALID_CRED(qfp->qf_cred))
739 if (!IS_VALID_CRED(cred)) {
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_cache.c662 if (IS_VALID_CRED(tcred))
826 IS_VALID_CRED(vp->v_cred)) {
897 if (!IS_VALID_CRED(ucred) || action == 0)
947 if (IS_VALID_CRED(tcred))
1911 if (IS_VALID_CRED(tcred))
H A Dvfs_bio.c305 if (IS_VALID_CRED(bp->b_rcred)) {
308 if (IS_VALID_CRED(bp->b_wcred)) {
2077 if (IS_VALID_CRED(cred) && !IS_VALID_CRED(bp->b_rcred)) {
H A Dkpi_vfs.c1460 if (IS_VALID_CRED(safecred))
1519 if (IS_VALID_CRED(ctx->vc_ucred))
H A Dvfs_syscalls.c4579 if (IS_VALID_CRED(context.vc_ucred))
/darwin-on-arm/xnu/bsd/kern/
H A Dkern_fork.c1449 IS_VALID_CRED(uth_parent->uu_ucred)) {
1593 if (IS_VALID_CRED(uth->uu_ucred)) {
H A Dubc_subr.c673 if (IS_VALID_CRED(uip->ui_ucred)) {
987 if (!IS_VALID_CRED(credp)) {
1046 if (!IS_VALID_CRED(credp)) {
H A Dkern_prot.c1832 if (!IS_VALID_CRED(cred))
2015 if (IS_VALID_CRED(my_cred)) {
H A Dkern_credential.c81 # define NULLCRED_CHECK(_c) do {if (!IS_VALID_CRED(_c)) panic("%s: bad credential %p", __FUNCTION__,_c);} while(0)
3323 if (IS_VALID_CRED(old))
H A Dkern_exit.c1050 if (IS_VALID_CRED(child->p_ucred)) {
H A Dkern_descrip.c4073 if (IS_VALID_CRED(fg->fg_cred)) {

Completed in 285 milliseconds