Lines Matching refs:read_type
150 static int cluster_read_direct(vnode_t vp, struct uio *uio, off_t filesize, int *read_type, u_int32_t *read_length,
152 static int cluster_read_contig(vnode_t vp, struct uio *uio, off_t filesize, int *read_type, u_int32_t *read_length,
3053 int read_type = IO_COPY;
3070 retval = cluster_io_type(uio, &read_type, &read_length, 0);
3074 switch (read_type) {
3091 retval = cluster_read_direct(vp, uio, filesize, &read_type, &read_length, flags, callback, callback_arg);
3095 retval = cluster_read_contig(vp, uio, filesize, &read_type, &read_length, callback, callback_arg, flags);
3099 retval = cluster_io_type(uio, &read_type, &read_length, 0);
3582 cluster_read_direct(vnode_t vp, struct uio *uio, off_t filesize, int *read_type, u_int32_t *read_length,
3629 (int)uio->uio_offset, (int)filesize, *read_type, *read_length, 0);
3909 retval = cluster_io_type(uio, read_type, read_length, 0);
3911 if (retval == 0 && *read_type == IO_DIRECT) {
3914 (int)uio->uio_offset, (int)filesize, *read_type, *read_length, 0);
3951 *read_type = IO_UNKNOWN;
3961 cluster_read_contig(vnode_t vp, struct uio *uio, off_t filesize, int *read_type, u_int32_t *read_length,
4145 error = cluster_io_type(uio, read_type, read_length, 0);
4147 if (error == 0 && *read_type == IO_CONTIG) {
4152 *read_type = IO_UNKNOWN;