Home
last modified time | relevance | path

Searched refs:b_rcred (Results 1 – 13 of 13) sorted by relevance

/freebsd/sys/vm/
H A Dvm_pager.c464 bp->b_rcred = NOCRED; in pbuf_ctor()
483 if (bp->b_rcred != NOCRED) { in pbuf_dtor()
484 crfree(bp->b_rcred); in pbuf_dtor()
485 bp->b_rcred = NOCRED; in pbuf_dtor()
510 bp->b_rcred = bp->b_wcred = NOCRED; in pbuf_init()
H A Dvnode_pager.c710 KASSERT(bp->b_rcred == NOCRED, ("leaking read ucred")); in vnode_pager_input_smlfs()
712 bp->b_rcred = crhold(curthread->td_ucred); in vnode_pager_input_smlfs()
1156 KASSERT(bp->b_rcred == NOCRED, ("leaking read ucred")); in vnode_pager_generic_getpages()
1158 bp->b_rcred = crhold(curthread->td_ucred); in vnode_pager_generic_getpages()
H A Dswap_pager.c1462 bp->b_rcred = crhold(thread0.td_ucred); in swap_pager_getpages_locked()
1659 bp->b_rcred = crhold(thread0.td_ucred); in swap_pager_putpages()
/freebsd/sys/fs/nfsclient/
H A Dnfs_clnfsiod.c297 (void) ncl_doio(bp->b_vp, bp, bp->b_rcred, in nfssvc_iod()
H A Dnfs_clbio.c1517 if (bp->b_rcred == NOCRED && cred != NOCRED)
1518 bp->b_rcred = crhold(cred);
H A Dnfs_clvnops.c2861 cr = bp->b_rcred; in nfs_strategy()
/freebsd/sys/kern/
H A Dvfs_bio.c1236 bp->b_rcred = NOCRED; in bufinit()
1651 if (bp->b_rcred != NOCRED) { in buf_free()
1652 crfree(bp->b_rcred); in buf_free()
1653 bp->b_rcred = NOCRED; in buf_free()
2206 if (rabp->b_rcred == NOCRED && cred != NOCRED) in breada()
2207 rabp->b_rcred = crhold(cred); in breada()
2280 if (bp->b_rcred == NOCRED && cred != NOCRED) in breadn_flags()
2281 bp->b_rcred = crhold(cred); in breadn_flags()
5404 if (bp->b_rcred == curthread->td_ucred) { in vfs_bio_getpages()
5405 crfree(bp->b_rcred); in vfs_bio_getpages()
[all …]
/freebsd/sys/sys/
H A Dbuf.h127 struct ucred *b_rcred; /* Read credentials reference. */ member
/freebsd/tools/debugscripts/
H A Dgdbinit.kernel99 output $bp->b_rcred
/freebsd/sys/fs/tarfs/
H A Dtarfs_io.c589 error = VOP_READ(vp, &auio, IO_DIRECT | IO_NODELOCKED, bp->b_rcred); in tarfs_zstrategy()
/freebsd/sys/fs/fuse/
H A Dfuse_io.c757 cred = bp->b_iocmd == BIO_READ ? bp->b_rcred : bp->b_wcred; in fuse_io_strategy()
/freebsd/sys/fs/smbfs/
H A Dsmbfs_vnops.c832 cr = bp->b_rcred; in smbfs_strategy()
/freebsd/sys/fs/p9fs/
H A Dp9fs_vnops.c2018 cr = bp->b_rcred; in p9fs_strategy()