Lines Matching defs:nfsbuf

92  * The nfsbuf is the nfs equivalent to a struct buf.
94 struct nfsbuf {
95 LIST_ENTRY(nfsbuf) nb_hash; /* hash chain */
96 LIST_ENTRY(nfsbuf) nb_vnbufs; /* nfsnode's nfsbuf chain */
97 TAILQ_ENTRY(nfsbuf) nb_free; /* free list position if not active. */
168 /* These flags are used for nfsbuf iterating */
195 LIST_HEAD(nfsbuflists, nfsbuf);
196 TAILQ_HEAD(nfsbuffreehead, nfsbuf);
228 panic("nfsbuf count error: max %d meta %d cnt %d meta %d free %d meta %d delwr %d bdw %d\n", \
831 uint32_t nfs_dir_buf_freespace(struct nfsbuf *, int);
833 /* nfsbuf functions */
836 void nfs_buf_remfree(struct nfsbuf *);
838 struct nfsbuf * nfs_buf_incore(nfsnode_t, daddr64_t);
839 int nfs_buf_get(nfsnode_t, daddr64_t, uint32_t, thread_t, int, struct nfsbuf **);
840 int nfs_buf_upl_setup(struct nfsbuf *bp);
841 void nfs_buf_upl_check(struct nfsbuf *bp);
842 void nfs_buf_normalize_valid_range(nfsnode_t, struct nfsbuf *);
843 int nfs_buf_map(struct nfsbuf *);
844 void nfs_buf_release(struct nfsbuf *, int);
845 int nfs_buf_iowait(struct nfsbuf *);
846 void nfs_buf_iodone(struct nfsbuf *);
847 void nfs_buf_write_delayed(struct nfsbuf *);
848 void nfs_buf_check_write_verifier(nfsnode_t, struct nfsbuf *);
850 void nfs_buf_refget(struct nfsbuf *bp);
851 void nfs_buf_refrele(struct nfsbuf *bp);
852 void nfs_buf_drop(struct nfsbuf *);
853 errno_t nfs_buf_acquire(struct nfsbuf *, int, int, int);
859 int nfs_buf_readdir(struct nfsbuf *, vfs_context_t);
860 int nfs_buf_read(struct nfsbuf *);
861 void nfs_buf_read_finish(struct nfsbuf *);
862 int nfs_buf_read_rpc(struct nfsbuf *, thread_t, kauth_cred_t);
864 int nfs_buf_write(struct nfsbuf *);
865 void nfs_buf_write_finish(struct nfsbuf *, thread_t, kauth_cred_t);
866 int nfs_buf_write_rpc(struct nfsbuf *, int, thread_t, kauth_cred_t);
868 int nfs_buf_write_dirty_pages(struct nfsbuf *, thread_t, kauth_cred_t);