Searched refs:bytes_to_read (Results 1 – 5 of 5) sorted by relevance
/fs/hfs/ |
D | bnode.c | 23 int bytes_to_read; in hfs_bnode_read() local 29 for (bytes_read = 0; bytes_read < len; bytes_read += bytes_to_read) { in hfs_bnode_read() 33 bytes_to_read = min_t(int, len - bytes_read, PAGE_SIZE - off); in hfs_bnode_read() 35 memcpy_from_page(buf + bytes_read, page, off, bytes_to_read); in hfs_bnode_read()
|
/fs/incfs/ |
D | data_mgmt.c | 1271 size_t bytes_to_read; in incfs_read_data_file_block() local 1293 bytes_to_read = min(dst.len, block.db_stored_size); in incfs_read_data_file_block() 1294 result = incfs_kread(bfc, dst.data, bytes_to_read, pos); in incfs_read_data_file_block() 1297 if (result >= 0 && result != bytes_to_read) in incfs_read_data_file_block() 1300 bytes_to_read = min(tmp.len, block.db_stored_size); in incfs_read_data_file_block() 1301 result = incfs_kread(bfc, tmp.data, bytes_to_read, pos); in incfs_read_data_file_block() 1302 if (result == bytes_to_read) { in incfs_read_data_file_block() 1304 decompress(mi, range(tmp.data, bytes_to_read), in incfs_read_data_file_block()
|
D | format.c | 580 const size_t bytes_to_read = sizeof(struct incfs_blockmap_entry) in incfs_read_blockmap_entries() local 590 result = incfs_kread(bfc, entries, bytes_to_read, bm_entry_off); in incfs_read_blockmap_entries()
|
D | vfs.c | 544 ssize_t bytes_to_read = 0; in read_folio() local 573 bytes_to_read = min_t(loff_t, size - offset, PAGE_SIZE); in read_folio() 576 range(page_start, bytes_to_read), tmp, in read_folio() 581 bytes_to_read = 0; in read_folio()
|
/fs/jfs/ |
D | xattr.c | 361 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()
|