Home
last modified time | relevance | path

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

/Linux-v4.19/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.c228 memset(HFS_I(inode)->first_extents, 0, sizeof(hfs_extent_rec)); in hfs_new_inode()
273 memcpy(HFS_I(inode)->first_extents, ext, sizeof(hfs_extent_rec)); in hfs_inode_read_fork()
409 memcpy(ext, HFS_I(inode)->first_extents, sizeof(hfs_extent_rec)); in hfs_inode_write_fork()
Dhfs_fs.h80 hfs_extent_rec first_extents; member
/Linux-v4.19/fs/hfsplus/
Dextents.c247 dblock = hfsplus_ext_find_block(hip->first_extents, ablock); in hfsplus_get_block()
453 goal = hfsplus_ext_lastblock(hip->first_extents); in hfsplus_file_extend()
483 hip->first_extents[0].start_block = cpu_to_be32(start); in hfsplus_file_extend()
484 hip->first_extents[0].block_count = cpu_to_be32(len); in hfsplus_file_extend()
488 res = hfsplus_add_extent(hip->first_extents, in hfsplus_file_extend()
495 hfsplus_dump_extent(hip->first_extents); in hfsplus_file_extend()
585 hfsplus_free_extents(sb, hip->first_extents, in hfsplus_file_truncate()
587 hfsplus_dump_extent(hip->first_extents); in hfsplus_file_truncate()
Dinode.c370 memset(hip->first_extents, 0, sizeof(hfsplus_extent_rec)); in hfsplus_new_inode()
435 memcpy(&hip->first_extents, &fork->extents, sizeof(hfsplus_extent_rec)); in hfsplus_inode_read_fork()
460 memcpy(&fork->extents, &HFSPLUS_I(inode)->first_extents, in hfsplus_inode_write_fork()
Dhfsplus_fs.h219 hfsplus_extent_rec first_extents; member