Lines Matching defs:write_type
185 int *write_type, u_int32_t *write_length, int flags, int (*)(buf_t, void *), void *callback_arg);
187 int *write_type, u_int32_t *write_length, int (*)(buf_t, void *), void *callback_arg, int bflag);
1984 int write_type = IO_COPY;
2015 retval = cluster_io_type(uio, &write_type, &write_length, MIN_DIRECT_WRITE_SIZE);
2017 if ( (flags & (IO_TAILZEROFILL | IO_HEADZEROFILL)) && write_type == IO_DIRECT)
2021 write_type = IO_COPY;
2025 switch (write_type) {
2071 retval = cluster_write_contig(vp, uio, newEOF, &write_type, &write_length, callback, callback_arg, bflag);
2089 retval = cluster_write_direct(vp, uio, oldEOF, newEOF, &write_type, &write_length, flags, callback, callback_arg);
2093 retval = cluster_io_type(uio, &write_type, &write_length, MIN_DIRECT_WRITE_SIZE);
2114 cluster_write_direct(vnode_t vp, struct uio *uio, off_t oldEOF, off_t newEOF, int *write_type, u_int32_t *write_length,
2451 retval = cluster_io_type(uio, write_type, write_length, MIN_DIRECT_WRITE_SIZE);
2453 if (retval == 0 && *write_type == IO_DIRECT) {
2497 *write_type = IO_UNKNOWN;
2507 cluster_write_contig(vnode_t vp, struct uio *uio, off_t newEOF, int *write_type, u_int32_t *write_length,
2668 error = cluster_io_type(uio, write_type, write_length, 0);
2670 if (error == 0 && *write_type == IO_CONTIG) {
2675 *write_type = IO_UNKNOWN;