Home
last modified time | relevance | path

Searched refs:bytes_to_read (Results 1 – 5 of 5) sorted by relevance

/fs/hfs/
Dbnode.c23 int bytes_to_read; in hfs_bnode_read() local
30 for (bytes_read = 0; bytes_read < len; bytes_read += bytes_to_read) { in hfs_bnode_read()
34 bytes_to_read = min_t(int, len - bytes_read, PAGE_SIZE - off); in hfs_bnode_read()
37 memcpy(buf + bytes_read, vaddr + off, bytes_to_read); in hfs_bnode_read()
/fs/incfs/
Ddata_mgmt.c920 size_t bytes_to_read; in incfs_read_data_file_block() local
941 bytes_to_read = min(dst.len, block.db_stored_size); in incfs_read_data_file_block()
942 result = incfs_kread(bfc, dst.data, bytes_to_read, pos); in incfs_read_data_file_block()
945 if (result >= 0 && result != bytes_to_read) in incfs_read_data_file_block()
948 bytes_to_read = min(tmp.len, block.db_stored_size); in incfs_read_data_file_block()
949 result = incfs_kread(bfc, tmp.data, bytes_to_read, pos); in incfs_read_data_file_block()
950 if (result == bytes_to_read) { in incfs_read_data_file_block()
952 decompress(range(tmp.data, bytes_to_read), dst); in incfs_read_data_file_block()
Dformat.c526 const size_t bytes_to_read = sizeof(struct incfs_blockmap_entry) in incfs_read_blockmap_entries() local
536 result = incfs_kread(bfc, entries, bytes_to_read, bm_entry_off); in incfs_read_blockmap_entries()
Dvfs.c800 ssize_t bytes_to_read = 0; in read_single_page() local
822 bytes_to_read = min_t(loff_t, size - offset, PAGE_SIZE); in read_single_page()
824 range(page_start, bytes_to_read), f, block_index, in read_single_page()
829 bytes_to_read = 0; in read_single_page()
/fs/jfs/
Dxattr.c361 s32 bytes_to_read; in ea_read() local
392 bytes_to_read = in ea_read()
396 if (!(mp = read_metapage(ip, blkno + i, bytes_to_read, 1))) in ea_read()