Lines Matching defs:flag
109 nsc_alloc_abuf(nsc_off_t pos, nsc_size_t len, int flag, nsc_buf_t **ptr)
118 if (flag & NSC_NODATA)
131 NSC_NOCACHE|flag, &h, NULL);
151 int flag, nsc_buf_t **ptr)
156 if (flag & NSC_WRBUF)
159 if ((flag & (NSC_READ|NSC_WRITE|NSC_NODATA)) ==
181 return (*fn)(fd->sf_cd, pos, len, flag, ptr, fd);
189 int flag, nsc_buf_t **ptr, nsc_fd_t *fd)
197 if ((rc = nsc_alloc_buf(fd, pos, len, flag, &h)) <= 0) {
209 nsc_read(nsc_buf_t *h, nsc_off_t pos, nsc_size_t len, int flag)
215 return ((*h->sb_fd->sf_aio->read)(h, pos, len, flag));
220 nsc_write(nsc_buf_t *h, nsc_off_t pos, nsc_size_t len, int flag)
226 return ((*h->sb_fd->sf_aio->write)(h, pos, len, flag));
231 nsc_zero(nsc_buf_t *h, nsc_off_t pos, nsc_size_t len, int flag)
237 return ((*h->sb_fd->sf_aio->zero)(h, pos, len, flag));
377 nsc_uncommit(nsc_buf_t *h, nsc_off_t pos, nsc_size_t len, int flag)
382 return ((*h->sb_fd->sf_aio->uncommit)(h, pos, len, flag));