Home
last modified time | relevance | path

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

/fs/hfsplus/
Dinode.c461 void hfsplus_inode_read_fork(struct inode *inode, struct hfsplus_fork_raw *fork) in hfsplus_inode_read_fork() argument
469 memcpy(&hip->first_extents, &fork->extents, sizeof(hfsplus_extent_rec)); in hfsplus_inode_read_fork()
471 count += be32_to_cpu(fork->extents[i].block_count); in hfsplus_inode_read_fork()
477 hip->alloc_blocks = be32_to_cpu(fork->total_blocks); in hfsplus_inode_read_fork()
478 hip->phys_size = inode->i_size = be64_to_cpu(fork->total_size); in hfsplus_inode_read_fork()
483 be32_to_cpu(fork->clump_size) >> sbi->alloc_blksz_shift; in hfsplus_inode_read_fork()
492 struct hfsplus_fork_raw *fork) in hfsplus_inode_write_fork() argument
494 memcpy(&fork->extents, &HFSPLUS_I(inode)->first_extents, in hfsplus_inode_write_fork()
496 fork->total_size = cpu_to_be64(inode->i_size); in hfsplus_inode_write_fork()
497 fork->total_blocks = cpu_to_be32(HFSPLUS_I(inode)->alloc_blocks); in hfsplus_inode_write_fork()
Dsuper.c104 struct hfsplus_fork_raw *fork; in hfsplus_system_write_inode() local
109 fork = &vhdr->ext_file; in hfsplus_system_write_inode()
113 fork = &vhdr->cat_file; in hfsplus_system_write_inode()
117 fork = &vhdr->alloc_file; in hfsplus_system_write_inode()
120 fork = &vhdr->start_file; in hfsplus_system_write_inode()
123 fork = &vhdr->attr_file; in hfsplus_system_write_inode()
130 if (fork->total_size != cpu_to_be64(inode->i_size)) { in hfsplus_system_write_inode()
134 hfsplus_inode_write_fork(inode, fork); in hfsplus_system_write_inode()
Dcatalog.c334 struct hfsplus_fork_raw fork; in hfsplus_delete_cat() local
384 hfs_bnode_read(fd.bnode, &fork, off, sizeof(fork)); in hfsplus_delete_cat()
385 hfsplus_free_fork(sb, cnid, &fork, HFSPLUS_TYPE_DATA); in hfsplus_delete_cat()
390 hfs_bnode_read(fd.bnode, &fork, off, sizeof(fork)); in hfsplus_delete_cat()
391 hfsplus_free_fork(sb, cnid, &fork, HFSPLUS_TYPE_RSRC); in hfsplus_delete_cat()
Dextents.c397 struct hfsplus_fork_raw *fork, int type) in hfsplus_free_fork() argument
404 total_blocks = be32_to_cpu(fork->total_blocks); in hfsplus_free_fork()
410 blocks += be32_to_cpu(fork->extents[i].block_count); in hfsplus_free_fork()
412 res = hfsplus_free_extents(sb, fork->extents, blocks, blocks); in hfsplus_free_fork()
Dhfsplus_fs.h464 struct hfsplus_fork_raw *fork, int type);
477 struct hfsplus_fork_raw *fork);
479 struct hfsplus_fork_raw *fork);
/fs/
DKconfig87 # for fork() of processes with MAP_SHARED mappings or support for
Duserfaultfd.c1030 msg->arg.fork.ufd = fd; in resolve_userfault_fork()
/fs/xfs/libxfs/
Dxfs_bmap.c4315 int fork) in xfs_bmapi_minleft() argument
4317 struct xfs_ifork *ifp = XFS_IFORK_PTR(ip, fork); in xfs_bmapi_minleft()