Home
last modified time | relevance | path

Searched refs:first_extents (Results 1 – 6 of 6) sorted by relevance

/linux-4.4.14/fs/hfs/
Dextent.c355 dblock = hfs_ext_find_block(HFS_I(inode)->first_extents, ablock); in hfs_get_block()
393 goal = hfs_ext_lastblock(HFS_I(inode)->first_extents); in hfs_extend_file()
413 HFS_I(inode)->first_extents[0].block = cpu_to_be16(start); in hfs_extend_file()
414 HFS_I(inode)->first_extents[0].count = cpu_to_be16(len); in hfs_extend_file()
418 res = hfs_add_extent(HFS_I(inode)->first_extents, in hfs_extend_file()
425 hfs_dump_extent(HFS_I(inode)->first_extents); in hfs_extend_file()
514 hfs_free_extents(sb, HFS_I(inode)->first_extents, in hfs_file_truncate()
516 hfs_dump_extent(HFS_I(inode)->first_extents); in hfs_file_truncate()
Dinode.c226 memset(HFS_I(inode)->first_extents, 0, sizeof(hfs_extent_rec)); in hfs_new_inode()
271 memcpy(HFS_I(inode)->first_extents, ext, sizeof(hfs_extent_rec)); in hfs_inode_read_fork()
406 memcpy(ext, HFS_I(inode)->first_extents, sizeof(hfs_extent_rec)); in hfs_inode_write_fork()
Dhfs_fs.h79 hfs_extent_rec first_extents; member
/linux-4.4.14/fs/hfsplus/
Dextents.c246 dblock = hfsplus_ext_find_block(hip->first_extents, ablock); in hfsplus_get_block()
447 goal = hfsplus_ext_lastblock(hip->first_extents); in hfsplus_file_extend()
477 hip->first_extents[0].start_block = cpu_to_be32(start); in hfsplus_file_extend()
478 hip->first_extents[0].block_count = cpu_to_be32(len); in hfsplus_file_extend()
482 res = hfsplus_add_extent(hip->first_extents, in hfsplus_file_extend()
489 hfsplus_dump_extent(hip->first_extents); in hfsplus_file_extend()
579 hfsplus_free_extents(sb, hip->first_extents, in hfsplus_file_truncate()
581 hfsplus_dump_extent(hip->first_extents); in hfsplus_file_truncate()
Dinode.c383 memset(hip->first_extents, 0, sizeof(hfsplus_extent_rec)); in hfsplus_new_inode()
447 memcpy(&hip->first_extents, &fork->extents, sizeof(hfsplus_extent_rec)); in hfsplus_inode_read_fork()
472 memcpy(&fork->extents, &HFSPLUS_I(inode)->first_extents, in hfsplus_inode_write_fork()
Dhfsplus_fs.h219 hfsplus_extent_rec first_extents; member