Lines Matching defs:read_type
177 static int cluster_read_direct(vnode_t vp, struct uio *uio, off_t filesize, int *read_type, u_int32_t *read_length,
179 static int cluster_read_contig(vnode_t vp, struct uio *uio, off_t filesize, int *read_type, u_int32_t *read_length,
3397 int read_type = IO_COPY;
3430 retval = cluster_io_type(uio, &read_type, &read_length, 0);
3435 switch (read_type) {
3452 retval = cluster_read_direct(vp, uio, filesize, &read_type, &read_length, flags, callback, callback_arg);
3456 retval = cluster_read_contig(vp, uio, filesize, &read_type, &read_length, callback, callback_arg, flags);
3460 retval = cluster_io_type(uio, &read_type, &read_length, 0);
4010 cluster_read_direct(vnode_t vp, struct uio *uio, off_t filesize, int *read_type, u_int32_t *read_length,
4052 (int)uio->uio_offset, (int)filesize, *read_type, *read_length, 0);
4483 retval = cluster_io_type(uio, read_type, read_length, 0);
4485 if (retval == 0 && *read_type == IO_DIRECT) {
4488 (int)uio->uio_offset, (int)filesize, *read_type, *read_length, 0);
4522 *read_type = IO_UNKNOWN;
4532 cluster_read_contig(vnode_t vp, struct uio *uio, off_t filesize, int *read_type, u_int32_t *read_length,
4709 error = cluster_io_type(uio, read_type, read_length, 0);
4711 if (error == 0 && *read_type == IO_CONTIG) {
4716 *read_type = IO_UNKNOWN;