Lines Matching defs:cred
2059 bio_doread(vnode_t vp, daddr64_t blkno, int size, kauth_cred_t cred, int async, int queuetype)
2077 if (IS_VALID_CRED(cred) && !IS_VALID_CRED(bp->b_rcred)) {
2078 kauth_cred_ref(cred);
2079 bp->b_rcred = cred;
2115 int nrablks, kauth_cred_t cred, buf_t *bpp, int queuetype)
2120 bp = *bpp = bio_doread(vp, blkno, size, cred, 0, queuetype);
2131 (void) bio_doread(vp, rablks[i], rasizes[i], cred, B_ASYNC, queuetype);
2144 buf_bread(vnode_t vp, daddr64_t blkno, int size, kauth_cred_t cred, buf_t *bpp)
2149 bp = *bpp = bio_doread(vp, blkno, size, cred, 0, BLK_READ);
2160 buf_meta_bread(vnode_t vp, daddr64_t blkno, int size, kauth_cred_t cred, buf_t *bpp)
2165 bp = *bpp = bio_doread(vp, blkno, size, cred, 0, BLK_META);
2175 buf_breadn(vnode_t vp, daddr64_t blkno, int size, daddr64_t *rablks, int *rasizes, int nrablks, kauth_cred_t cred, buf_t *bpp)
2177 return (do_breadn_for_type(vp, blkno, size, rablks, rasizes, nrablks, cred, bpp, BLK_READ));
2185 buf_meta_breadn(vnode_t vp, daddr64_t blkno, int size, daddr64_t *rablks, int *rasizes, int nrablks, kauth_cred_t cred, buf_t *bpp)
2187 return (do_breadn_for_type(vp, blkno, size, rablks, rasizes, nrablks, cred, bpp, BLK_META));