Searched refs:fork (Results 1 – 5 of 5) sorted by relevance
/fs/hfsplus/ |
D | inode.c | 363 void hfsplus_inode_read_fork(struct inode *inode, struct hfsplus_fork_raw *fork) in hfsplus_inode_read_fork() argument 369 memcpy(&HFSPLUS_I(inode).first_extents, &fork->extents, in hfsplus_inode_read_fork() 372 count += be32_to_cpu(fork->extents[i].block_count); in hfsplus_inode_read_fork() 378 HFSPLUS_I(inode).alloc_blocks = be32_to_cpu(fork->total_blocks); in hfsplus_inode_read_fork() 379 inode->i_size = HFSPLUS_I(inode).phys_size = be64_to_cpu(fork->total_size); in hfsplus_inode_read_fork() 382 HFSPLUS_I(inode).clump_blocks = be32_to_cpu(fork->clump_size) >> HFSPLUS_SB(sb).alloc_blksz_shift; in hfsplus_inode_read_fork() 388 void hfsplus_inode_write_fork(struct inode *inode, struct hfsplus_fork_raw *fork) in hfsplus_inode_write_fork() argument 390 memcpy(&fork->extents, &HFSPLUS_I(inode).first_extents, in hfsplus_inode_write_fork() 392 fork->total_size = cpu_to_be64(inode->i_size); in hfsplus_inode_write_fork() 393 fork->total_blocks = cpu_to_be32(HFSPLUS_I(inode).alloc_blocks); in hfsplus_inode_write_fork()
|
D | catalog.c | 239 struct hfsplus_fork_raw fork; in hfsplus_delete_cat() local 273 hfs_bnode_read(fd.bnode, &fork, off, sizeof(fork)); in hfsplus_delete_cat() 274 hfsplus_free_fork(sb, cnid, &fork, HFSPLUS_TYPE_DATA); in hfsplus_delete_cat() 278 hfs_bnode_read(fd.bnode, &fork, off, sizeof(fork)); in hfsplus_delete_cat() 279 hfsplus_free_fork(sb, cnid, &fork, HFSPLUS_TYPE_RSRC); in hfsplus_delete_cat()
|
D | extents.c | 309 int hfsplus_free_fork(struct super_block *sb, u32 cnid, struct hfsplus_fork_raw *fork, int type) in hfsplus_free_fork() argument 316 total_blocks = be32_to_cpu(fork->total_blocks); in hfsplus_free_fork() 322 blocks += be32_to_cpu(fork->extents[i].block_count); in hfsplus_free_fork() 324 res = hfsplus_free_extents(sb, fork->extents, blocks, blocks); in hfsplus_free_fork()
|
/fs/xfs/ |
D | xfs_inode.c | 1472 int fork, in xfs_itruncate_finish() argument 1502 if (fork == XFS_ATTR_FORK) { in xfs_itruncate_finish() 1559 if (fork == XFS_DATA_FORK) { in xfs_itruncate_finish() 1581 ASSERT(fork == XFS_DATA_FORK || in xfs_itruncate_finish() 1582 (fork == XFS_ATTR_FORK && in xfs_itruncate_finish() 1620 xfs_bmapi_aflag(fork) | in xfs_itruncate_finish() 1700 if (fork == XFS_DATA_FORK) { in xfs_itruncate_finish() 1718 (fork == XFS_ATTR_FORK) || in xfs_itruncate_finish() 1721 (fork == XFS_ATTR_FORK) || in xfs_itruncate_finish()
|
D | xfs_bmap.c | 3755 int fork, /* data or attr fork */ in xfs_bmap_search_extents() argument 3765 ifp = XFS_IFORK_PTR(ip, fork); in xfs_bmap_search_extents() 3770 !(XFS_IS_REALTIME_INODE(ip) && fork == XFS_DATA_FORK))) { in xfs_bmap_search_extents()
|