Home
last modified time | relevance | path

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

/linux/fs/hfs/
H A 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()
420 HFS_I(inode)->first_extents[0].block = cpu_to_be16(start); in hfs_extend_file()
421 HFS_I(inode)->first_extents[0].count = cpu_to_be16(len); in hfs_extend_file()
425 res = hfs_add_extent(HFS_I(inode)->first_extents, in hfs_extend_file()
432 hfs_dump_extent(HFS_I(inode)->first_extents); in hfs_extend_file()
521 hfs_free_extents(sb, HFS_I(inode)->first_extents, in hfs_file_truncate()
523 hfs_dump_extent(HFS_I(inode)->first_extents); in hfs_file_truncate()
H A Dinode.c253 memset(HFS_I(inode)->first_extents, 0, sizeof(hfs_extent_rec)); in hfs_new_inode()
304 memcpy(HFS_I(inode)->first_extents, ext, sizeof(hfs_extent_rec)); in hfs_inode_read_fork()
442 memcpy(ext, HFS_I(inode)->first_extents, sizeof(hfs_extent_rec)); in hfs_inode_write_fork()
H A Dhfs_fs.h48 hfs_extent_rec first_extents; member
H A Dbtree.c88 dblock = hfs_ext_find_block(HFS_I(tree->inode)->first_extents, 0); in hfs_btree_open()
/linux/fs/hfsplus/
H A Dextents.c253 dblock = hfsplus_ext_find_block(hip->first_extents, ablock); in hfsplus_get_block()
455 goal = hfsplus_ext_lastblock(hip->first_extents); in hfsplus_file_extend()
486 hip->first_extents[0].start_block = cpu_to_be32(start); in hfsplus_file_extend()
487 hip->first_extents[0].block_count = cpu_to_be32(len); in hfsplus_file_extend()
491 res = hfsplus_add_extent(hip->first_extents, in hfsplus_file_extend()
498 hfsplus_dump_extent(hip->first_extents); in hfsplus_file_extend()
588 hfsplus_free_extents(sb, hip->first_extents, in hfsplus_file_truncate()
590 hfsplus_dump_extent(hip->first_extents); in hfsplus_file_truncate()
H A Dinode.c449 memset(hip->first_extents, 0, sizeof(hfsplus_extent_rec)); in hfsplus_new_inode()
519 memcpy(&hip->first_extents, &fork->extents, sizeof(hfsplus_extent_rec)); in hfsplus_inode_read_fork()
544 memcpy(&fork->extents, &HFSPLUS_I(inode)->first_extents, in hfsplus_inode_write_fork()
H A Dhfsplus_fs.h190 hfsplus_extent_rec first_extents; member
H A Dsuper.c83 memset(HFSPLUS_I(inode)->first_extents, 0, sizeof(hfsplus_extent_rec)); in hfsplus_iget()