/haiku/src/tests/system/kernel/cache/ |
H A D | pages_io_test.cpp | 452 file_io_vec fileVecs[MAX_FILE_IO_VECS]; in pages_io() local 456 status_t status = get_file_map(ref, offset, numBytes, fileVecs, in pages_io() 471 i, fileVecs[i].offset, fileVecs[i].length); in pages_io() 490 size = fileVecs[0].length; in pages_io() 494 status = vfs_read_pages(ref->device, ref->cookie, fileVecs[0].offset, vecs, in pages_io() 504 if (size > fileVecs[0].length) { in pages_io() 506 size = fileVecs[0].length; in pages_io() 509 ASSERT(size <= fileVecs[0].length); in pages_io() 516 if (size != fileVecs[0].length) { in pages_io() 545 file_io_vec &fileVec = fileVecs[fileVecIndex]; in pages_io() [all …]
|
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/haiku/ |
H A D | haiku_kernel_emu.cpp | 285 read_file_io_vec_pages(int fd, const struct file_io_vec *fileVecs, in read_file_io_vec_pages() argument 296 write_file_io_vec_pages(int fd, const struct file_io_vec *fileVecs, in write_file_io_vec_pages() argument 323 file_io_vec fileVecs[DoIterativeFDIORequest::MAX_VECS]; in do_iterative_fd_io() local 326 request->length, fileVecs, &fileVecCount); in do_iterative_fd_io() 342 request->volume->GetID(), fd, request->id, cookie, fileVecs, in do_iterative_fd_io()
|
/haiku/src/system/kernel/fs/ |
H A D | vfs_request_io.cpp | 303 file_io_vec fileVecs[8]; in do_synchronous_iterative_vnode_io() local 306 error = getVecs(cookie, request, offset, vecLength, fileVecs, in do_synchronous_iterative_vnode_io() 309 fileVecs[0].offset = offset; in do_synchronous_iterative_vnode_io() 310 fileVecs[0].length = vecLength; in do_synchronous_iterative_vnode_io() 321 const file_io_vec& fileVec = fileVecs[i]; in do_synchronous_iterative_vnode_io()
|
H A D | vfs.cpp | 3461 const file_io_vec* fileVecs, size_t fileVecCount, const iovec* vecs, in common_file_io_vec_pages() argument 3483 if (fileVecs[0].length < (off_t)numBytes) in common_file_io_vec_pages() 3484 size = fileVecs[0].length; in common_file_io_vec_pages() 3488 if (fileVecs[0].offset >= 0) { in common_file_io_vec_pages() 3489 status = FS_CALL(vnode, read_pages, cookie, fileVecs[0].offset, in common_file_io_vec_pages() 3499 ASSERT((off_t)size <= fileVecs[0].length); in common_file_io_vec_pages() 3506 if ((off_t)size != fileVecs[0].length) { in common_file_io_vec_pages() 3533 const file_io_vec &fileVec = fileVecs[fileVecIndex]; in common_file_io_vec_pages() 4059 read_file_io_vec_pages(int fd, const file_io_vec* fileVecs, size_t fileVecCount, in read_file_io_vec_pages() argument 4069 fileVecs, fileVecCount, vecs, vecCount, _vecIndex, _vecOffset, _bytes, in read_file_io_vec_pages() [all …]
|
/haiku/src/tests/system/kernel/file_corruption/fs/ |
H A D | File.cpp | 45 file_io_vec fileVecs[16]; member 758 size + inBlockOffset - i * B_PAGE_SIZE, tempData->fileVecs, in _WriteData() 759 sizeof(tempData->fileVecs) / sizeof(file_io_vec), count); in _WriteData() 764 off_t vecBlockIndex = tempData->fileVecs[k].offset / B_PAGE_SIZE; in _WriteData() 765 off_t vecLength = tempData->fileVecs[k].length; in _WriteData()
|
/haiku/src/add-ons/kernel/file_systems/exfat/ |
H A D | kernel_interface.cpp | 282 file_io_vec fileVecs[8]; in exfat_read_pages() local 285 status = file_map_translate(inode->Map(), pos, bytesLeft, fileVecs, in exfat_read_pages() 293 status = read_file_io_vec_pages(volume->Device(), fileVecs, in exfat_read_pages()
|
/haiku/src/add-ons/kernel/file_systems/ext2/ |
H A D | kernel_interface.cpp | 308 file_io_vec fileVecs[8]; in ext2_read_pages() local 311 status = file_map_translate(inode->Map(), pos, bytesLeft, fileVecs, in ext2_read_pages() 319 status = read_file_io_vec_pages(volume->Device(), fileVecs, in ext2_read_pages() 355 file_io_vec fileVecs[8]; in ext2_write_pages() local 358 status = file_map_translate(inode->Map(), pos, bytesLeft, fileVecs, in ext2_write_pages() 366 status = write_file_io_vec_pages(volume->Device(), fileVecs, in ext2_write_pages()
|
/haiku/headers/os/drivers/ |
H A D | fs_interface.h | 342 const struct file_io_vec* fileVecs, size_t fileVecCount, 346 const struct file_io_vec* fileVecs, size_t fileVecCount,
|
/haiku/headers/private/fs_shell/ |
H A D | fssh_fs_interface.h | 375 const struct fssh_file_io_vec *fileVecs, 380 const struct fssh_file_io_vec *fileVecs,
|
/haiku/src/tools/fs_shell/ |
H A D | vfs.cpp | 1730 common_file_io_vec_pages(int fd, const fssh_file_io_vec *fileVecs, in common_file_io_vec_pages() argument 1752 size = fileVecs[0].length; in common_file_io_vec_pages() 1756 status = fssh_read_pages(fd, fileVecs[0].offset, &vecs[vecIndex], in common_file_io_vec_pages() 1766 if ((uint64_t)size > (uint64_t)fileVecs[0].length) { in common_file_io_vec_pages() 1768 size = fileVecs[0].length; in common_file_io_vec_pages() 1771 ASSERT(size <= fileVecs[0].length); in common_file_io_vec_pages() 1778 if ((uint64_t)size != (uint64_t)fileVecs[0].length) { in common_file_io_vec_pages() 1805 const fssh_file_io_vec &fileVec = fileVecs[fileVecIndex]; in common_file_io_vec_pages() 2254 fssh_read_file_io_vec_pages(int fd, const fssh_file_io_vec *fileVecs, in fssh_read_file_io_vec_pages() argument 2258 return common_file_io_vec_pages(fd, fileVecs, fileVecCount, in fssh_read_file_io_vec_pages() [all …]
|
/haiku/src/add-ons/kernel/file_systems/bfs/ |
H A D | kernel_interface.cpp | 429 file_io_vec fileVecs[8]; in bfs_read_pages() local 432 status = file_map_translate(inode->Map(), pos, bytesLeft, fileVecs, in bfs_read_pages() 440 status = read_file_io_vec_pages(volume->Device(), fileVecs, in bfs_read_pages() 474 file_io_vec fileVecs[8]; in bfs_write_pages() local 477 status = file_map_translate(inode->Map(), pos, bytesLeft, fileVecs, in bfs_write_pages() 485 status = write_file_io_vec_pages(volume->Device(), fileVecs, in bfs_write_pages()
|
/haiku/src/add-ons/kernel/file_systems/btrfs/ |
H A D | kernel_interface.cpp | 273 file_io_vec fileVecs[8]; in btrfs_read_pages() local 276 status = file_map_translate(inode->Map(), pos, bytesLeft, fileVecs, in btrfs_read_pages() 284 status = read_file_io_vec_pages(volume->Device(), fileVecs, in btrfs_read_pages()
|
/haiku/src/add-ons/kernel/file_systems/fat/ |
H A D | kernel_interface.cpp | 950 struct file_io_vec fileVecs[8]; in dosfs_read_pages() local 956 = file_map_translate(bsdNode->v_file_map, pos, bytesLeft, fileVecs, &fileVecCount, 0); in dosfs_read_pages() 962 status = read_file_io_vec_pages(fatVolume->pm_dev->si_fd, fileVecs, fileVecCount, vecs, in dosfs_read_pages() 999 struct file_io_vec fileVecs[8]; in dosfs_write_pages() local 1005 = file_map_translate(bsdNode->v_file_map, pos, bytesLeft, fileVecs, &fileVecCount, 0); in dosfs_write_pages() 1011 status = write_file_io_vec_pages(fatVolume->pm_dev->si_fd, fileVecs, fileVecCount, vecs, in dosfs_write_pages()
|