Home
last modified time | relevance | path

Searched refs:io_size (Results 1 – 25 of 33) sorted by relevance

12

/external/fio/
Dfilesetup.c216 if (f->io_size > f->real_file_size) in extend_file()
217 f->io_size = f->real_file_size; in extend_file()
255 left = f->io_size; in pre_read_file()
456 len = f->io_size; in __file_invalidate_cache()
946 f->io_size = fs; in setup_files()
949 f->io_size += bs; in setup_files()
960 if (!f->io_size) { in setup_files()
963 f->io_size = f->real_file_size - f->file_offset; in setup_files()
964 if (!f->io_size) in setup_files()
977 f->io_size = o->file_size_low - f->file_offset; in setup_files()
[all …]
Dio_u.c67 max_size = f->io_size; in last_block()
352 if (f->last_pos[ddir] >= f->io_size + get_start_offset(td, f) && in get_next_seq_offset()
355 uint64_t io_size = f->io_size + (f->io_size % o->min_bs[ddir]); in get_next_seq_offset() local
357 if (io_size > f->last_pos[ddir]) in get_next_seq_offset()
360 f->last_pos[ddir] = f->last_pos[ddir] - io_size; in get_next_seq_offset()
367 if (f->real_file_size > f->io_size) in get_next_seq_offset()
368 f->last_pos[ddir] = f->io_size; in get_next_seq_offset()
387 if (f->real_file_size > f->io_size) in get_next_seq_offset()
388 pos = f->io_size; in get_next_seq_offset()
490 if (io_u->offset >= f->io_size) { in __get_next_offset()
[all …]
Dfile.h97 uint64_t io_size; member
Dbackend.c779 if (td->o.io_size) in io_bytes_exceeded()
780 limit = td->o.io_size; in io_bytes_exceeded()
859 total_bytes = max(total_bytes, (uint64_t) td->o.io_size); in do_io()
1359 if (td->o.io_size) in keep_running()
1360 limit = td->o.io_size; in keep_running()
1375 if (fio_files_done(td) && !td->o.io_size) in keep_running()
1786 if ((td->o.size || td->o.io_size) && !ddir_rw_sum(bytes_done) && in thread_main()
Dthread_options.h72 unsigned long long io_size; member
344 uint64_t io_size; member
Dioengines.c470 if (posix_fadvise(f->fd, f->file_offset, f->io_size, flags) < 0) { in td_io_open_file()
480 if (posix_fadvise(f->fd, stream, f->io_size, POSIX_FADV_STREAMID) < 0) { in td_io_open_file()
Dcconv.c100 o->io_size = le64_to_cpu(top->io_size); in convert_thread_options_to_cpu()
528 top->io_size = __cpu_to_le64(o->io_size); in convert_thread_options_to_net()
/external/libusb/libusb/os/
Dwindows_nt_common.h54 int windows_copy_transfer_data(struct usbi_transfer *itransfer, uint32_t io_size);
56 …esult(struct usbi_transfer *transfer, struct winfd *pollable_fd, DWORD *io_result, DWORD *io_size);
58 void windows_handle_callback(struct usbi_transfer *itransfer, uint32_t io_result, uint32_t io_size);
Dwindows_nt_common.c482 …id windows_transfer_callback(struct usbi_transfer *itransfer, uint32_t io_result, uint32_t io_size) in windows_transfer_callback() argument
486 usbi_dbg("handling I/O completion with errcode %u, size %u", io_result, io_size); in windows_transfer_callback()
490 status = windows_copy_transfer_data(itransfer, io_size); in windows_transfer_callback()
501 istatus = windows_copy_transfer_data(itransfer, io_size); in windows_transfer_callback()
520 void windows_handle_callback(struct usbi_transfer *itransfer, uint32_t io_result, uint32_t io_size) in windows_handle_callback() argument
529 windows_transfer_callback(itransfer, io_result, io_size); in windows_handle_callback()
545 DWORD io_size, io_result; in windows_handle_events() local
572 windows_get_overlapped_result(transfer, pollable_fd, &io_result, &io_size); in windows_handle_events()
578 windows_handle_callback(transfer, io_result, io_size); in windows_handle_events()
Dwince_usb.c649 uint32_t io_result, uint32_t io_size) in wince_transfer_callback() argument
706 itransfer->transferred += io_size; in wince_transfer_callback()
741 uint32_t io_result, uint32_t io_size) in wince_handle_callback() argument
750 wince_transfer_callback (itransfer, io_result, io_size); in wince_handle_callback()
767 DWORD io_size, io_result; in wince_handle_events() local
794 io_size = (DWORD)transfer_priv->pollable_fd.overlapped->InternalHigh; in wince_handle_events()
799 wince_handle_callback(transfer, io_result, io_size); in wince_handle_events()
Dwindows_usbdk.c781 int windows_copy_transfer_data(struct usbi_transfer *itransfer, uint32_t io_size) in windows_copy_transfer_data() argument
783 itransfer->transferred += io_size; in windows_copy_transfer_data()
812 …result(struct usbi_transfer *transfer, struct winfd *pollable_fd, DWORD *io_result, DWORD *io_size) in windows_get_overlapped_result() argument
815 …|| GetOverlappedResult(pollable_fd->handle, pollable_fd->overlapped, io_size, false)) { // Regular… in windows_get_overlapped_result()
839 *io_size = (DWORD) transfer_priv->request.Result.GenResult.BytesTransferred; in windows_get_overlapped_result()
Dwindows_winusb.c74 …tic int winusbx_copy_transfer_data(int sub_api, struct usbi_transfer *itransfer, uint32_t io_size);
88 static int hid_copy_transfer_data(int sub_api, struct usbi_transfer *itransfer, uint32_t io_size);
104 …c int composite_copy_transfer_data(int sub_api, struct usbi_transfer *itransfer, uint32_t io_size);
2014 int windows_copy_transfer_data(struct usbi_transfer *itransfer, uint32_t io_size) in windows_copy_transfer_data() argument
2018 return priv->apib->copy_transfer_data(SUB_API_NOTSET, itransfer, io_size); in windows_copy_transfer_data()
2027 …result(struct usbi_transfer *transfer, struct winfd *pollable_fd, DWORD *io_result, DWORD *io_size) in windows_get_overlapped_result() argument
2031 *io_size = (DWORD)pollable_fd->overlapped->InternalHigh; in windows_get_overlapped_result()
2033 else if (GetOverlappedResult(pollable_fd->handle, pollable_fd->overlapped, io_size, false)) { in windows_get_overlapped_result()
2175 … int unsupported_copy_transfer_data(int sub_api, struct usbi_transfer *itransfer, uint32_t io_size) in unsupported_copy_transfer_data() argument
2978 …atic int winusbx_copy_transfer_data(int sub_api, struct usbi_transfer *itransfer, uint32_t io_size) in winusbx_copy_transfer_data() argument
[all …]
/external/fio/engines/
Dmmap.c95 if (fmd->mmap_sz > f->io_size) in fio_mmapio_prep_limited()
96 fmd->mmap_sz = f->io_size; in fio_mmapio_prep_limited()
115 f->io_size != (size_t) f->io_size) { in fio_mmapio_prep_full()
120 fmd->mmap_sz = f->io_size; in fio_mmapio_prep_full()
Ddev-dax.c114 if (fdd->devdax_sz > f->io_size) in fio_devdax_prep_limited()
115 fdd->devdax_sz = f->io_size; in fio_devdax_prep_limited()
135 f->io_size != (size_t) f->io_size) { in fio_devdax_prep_full()
140 fdd->devdax_sz = f->io_size; in fio_devdax_prep_full()
/external/strace/mpers-mx32/
Dstruct_v4l2_format.h60 uint32_t io_size; member
Dstruct_v4l2_create_buffers.h64 uint32_t io_size; member
/external/strace/mpers-m32/
Dstruct_v4l2_format.h60 uint32_t io_size; member
Dstruct_v4l2_create_buffers.h64 uint32_t io_size; member
/external/syslinux/gpxe/src/drivers/net/
Dvia-velocity.c693 regs = ioremap(vptr->memaddr, vptr->io_size); in velocity_probe()
766 vptr->io_size = info->io_size; in velocity_init_info()
772 vptr->chip_id, (unsigned int) vptr->io_size, vptr->num_txq, in velocity_init_info()
Dvia-velocity.h1200 int io_size; member
1792 u32 io_size; member
Dsis900.c83 int io_size;
/external/ltp/testcases/kernel/device-drivers/v4l/user_space/
Dtest_VIDIOC_FMT.c393 format.fmt.sliced.io_size, in do_get_formats()
1233 format_max.fmt.sliced.io_size, in do_set_formats_enum()
1339 format_min.fmt.sliced.io_size, in do_set_formats_enum()
/external/strace/tests-m32/
Dioctl_v4l2.c145 f->fmt.sliced.io_size = 0xd897925a; in init_v4l2_format()
278 f->fmt.sliced.io_size); in dprint_ioctl_v4l2()
/external/strace/tests/
Dioctl_v4l2.c145 f->fmt.sliced.io_size = 0xd897925a; in init_v4l2_format()
278 f->fmt.sliced.io_size); in dprint_ioctl_v4l2()
/external/strace/tests-mx32/
Dioctl_v4l2.c145 f->fmt.sliced.io_size = 0xd897925a; in init_v4l2_format()
278 f->fmt.sliced.io_size); in dprint_ioctl_v4l2()

12