Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/fs/hfs/
Dextent.c361 dblock = hfs_ext_find_block(HFS_I(inode)->first_extents, ablock); in hfs_get_block()
399 goal = hfs_ext_lastblock(HFS_I(inode)->first_extents); in hfs_extend_file()
419 HFS_I(inode)->first_extents[0].block = cpu_to_be16(start); in hfs_extend_file()
420 HFS_I(inode)->first_extents[0].count = cpu_to_be16(len); in hfs_extend_file()
424 res = hfs_add_extent(HFS_I(inode)->first_extents, in hfs_extend_file()
431 hfs_dump_extent(HFS_I(inode)->first_extents); in hfs_extend_file()
520 hfs_free_extents(sb, HFS_I(inode)->first_extents, in hfs_file_truncate()
522 hfs_dump_extent(HFS_I(inode)->first_extents); in hfs_file_truncate()
Dinode.c229 memset(HFS_I(inode)->first_extents, 0, sizeof(hfs_extent_rec)); in hfs_new_inode()
274 memcpy(HFS_I(inode)->first_extents, ext, sizeof(hfs_extent_rec)); in hfs_inode_read_fork()
410 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
/kernel/linux/linux-5.10/fs/hfsplus/
Dextents.c253 dblock = hfsplus_ext_find_block(hip->first_extents, ablock); in hfsplus_get_block()
459 goal = hfsplus_ext_lastblock(hip->first_extents); in hfsplus_file_extend()
489 hip->first_extents[0].start_block = cpu_to_be32(start); in hfsplus_file_extend()
490 hip->first_extents[0].block_count = cpu_to_be32(len); in hfsplus_file_extend()
494 res = hfsplus_add_extent(hip->first_extents, in hfsplus_file_extend()
501 hfsplus_dump_extent(hip->first_extents); in hfsplus_file_extend()
591 hfsplus_free_extents(sb, hip->first_extents, in hfsplus_file_truncate()
593 hfsplus_dump_extent(hip->first_extents); in hfsplus_file_truncate()
Dinode.c392 memset(hip->first_extents, 0, sizeof(hfsplus_extent_rec)); in hfsplus_new_inode()
457 memcpy(&hip->first_extents, &fork->extents, sizeof(hfsplus_extent_rec)); in hfsplus_inode_read_fork()
482 memcpy(&fork->extents, &HFSPLUS_I(inode)->first_extents, in hfsplus_inode_write_fork()
Dhfsplus_fs.h221 hfsplus_extent_rec first_extents; member