Lines Matching defs:thd
641 thread_t thd,
694 if ((error = nfs_sigintr(VTONMP(vp), NULL, thd, 0))) {
721 if ((error = nfs_sigintr(VTONMP(vp), NULL, thd, 0))) {
875 if ((error = nfs_sigintr(VTONMP(vp), NULL, thd, 0))) {
1461 thread_t thd;
1468 thd = ISSET(bp->nb_flags, NB_ASYNC) ? NULL : current_thread();
1480 error = nfs_buf_read_rpc(bp, thd, cred);
1537 nfs_buf_read_rpc(struct nfsbuf *bp, thread_t thd, kauth_cred_t cred)
1597 error = nmp->nm_funcs->nf_read_rpc_async(np, boff + offset, len, thd, cred, &cb, &req);
1655 thread_t thd;
1662 thd = req->r_thread;
1777 error = nmp->nm_funcs->nf_read_rpc_async(np, NBOFF(bp) + offset, length, thd, cred, &cb, &rreq);
1838 nfs_buf_readahead(nfsnode_t np, int ioflag, daddr64_t *rabnp, daddr64_t lastrabn, thread_t thd, kauth_cred_t cred)
1859 error = nfs_buf_get(np, *rabnp, nmp->nm_biosize, thd, NBLK_READ|NBLK_NOWAIT, &bp);
1904 thread_t thd;
1912 thd = vfs_context_thread(ctx);
2053 error = nfs_buf_readahead(np, ioflag, &rabn, lastrabn, thd, cred);
2077 error = nfs_buf_get(np, lbn, biosize, thd, NBLK_READ, &bp);
2282 thread_t thd;
2327 thd = async ? NULL : current_thread();
2431 error = nfs_buf_write_rpc(bp, iomode, thd, cred);
2440 error = nfs_buf_write_dirty_pages(bp, thd, cred);
2479 nfs_vinvalbuf2(NFSTOV(np), V_SAVE|V_IGNORE_WRITEERR, thd, cred, 1);
2493 nfs_buf_write_finish(struct nfsbuf *bp, thread_t thd, kauth_cred_t cred)
2590 nfs_buf_write_dirty_pages(bp, thd, cred);
2602 nfs_buf_write_dirty_pages(struct nfsbuf *bp, thread_t thd, kauth_cred_t cred)
2645 error = nfs_write_rpc2(np, auio, thd, cred, &iomode2, &bp->nb_verf);
2686 nfs_buf_write_rpc(struct nfsbuf *bp, int iomode, thread_t thd, kauth_cred_t cred)
2748 error = nmp->nm_funcs->nf_write_rpc_async(np, auio, len, thd, cred,
2776 nfs_buf_write_finish(bp, thd, cred);
2785 nfs_buf_write_finish(bp, thd, cred);
2811 thread_t thd;
2818 thd = req->r_thread;
2945 error = nmp->nm_funcs->nf_write_rpc_async(np, auio, length, thd, cred,
2994 nfs_buf_write_finish(bp, thd, cred);
3244 nfs_flush(nfsnode_t np, int waitfor, thread_t thd, int ignore_writeerr)
3273 ((error = nfs_sigintr(NFSTONMP(np), NULL, thd, 0)))) {
3308 error2 = nfs_sigintr(NFSTONMP(np), NULL, thd, 0);
3370 error2 = nfs_sigintr(NFSTONMP(np), NULL, thd, 0);
3460 thread_t thd,
3470 if ((error = nfs_flush(np, MNT_WAIT, thd, (flags & V_IGNORE_WRITEERR))))
3618 nfs_vinvalbuf2(vnode_t vp, int flags, thread_t thd, kauth_cred_t cred, int intrflg)
3643 if ((error = nfs_sigintr(VTONMP(vp), NULL, thd, 0))) {
3655 error = nfs_vinvalbuf_internal(np, flags, thd, cred, slpflag, 0);
3658 if ((error = nfs_sigintr(VTONMP(vp), NULL, thd, 0)))
3660 error = nfs_vinvalbuf_internal(np, flags, thd, cred, 0, slptimeo);