Home
last modified time | relevance | path

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

/fs/hfsplus/
A 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()
A Dsuper.c105 struct hfsplus_fork_raw *fork; in hfsplus_system_write_inode() local
110 fork = &vhdr->ext_file; in hfsplus_system_write_inode()
114 fork = &vhdr->cat_file; in hfsplus_system_write_inode()
118 fork = &vhdr->alloc_file; in hfsplus_system_write_inode()
121 fork = &vhdr->start_file; in hfsplus_system_write_inode()
124 fork = &vhdr->attr_file; in hfsplus_system_write_inode()
131 if (fork->total_size != cpu_to_be64(inode->i_size)) { in hfsplus_system_write_inode()
135 hfsplus_inode_write_fork(inode, fork); in hfsplus_system_write_inode()
A 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()
A Dextents.c394 struct hfsplus_fork_raw *fork, int type) in hfsplus_free_fork() argument
401 total_blocks = be32_to_cpu(fork->total_blocks); in hfsplus_free_fork()
407 blocks += be32_to_cpu(fork->extents[i].block_count); in hfsplus_free_fork()
409 res = hfsplus_free_extents(sb, fork->extents, blocks, blocks); in hfsplus_free_fork()
A Dhfsplus_fs.h467 struct hfsplus_fork_raw *fork, int type);
484 struct hfsplus_fork_raw *fork);
486 struct hfsplus_fork_raw *fork);
/fs/xfs/libxfs/
A Dxfs_bmap.h233 int fork);
A Dxfs_bmap.c4090 int fork) in xfs_bmapi_minleft() argument
4092 struct xfs_ifork *ifp = xfs_ifork_ptr(ip, fork); in xfs_bmapi_minleft()
/fs/
A Duserfaultfd.c969 msg->arg.fork.ufd = fd; in resolve_userfault_fork()

Completed in 25 milliseconds