Home
last modified time | relevance | path

Searched refs:extent (Results 1 – 25 of 26) sorted by relevance

12

/fs/hfs/
Dextent.c150 static inline int __hfs_ext_read_extent(struct hfs_find_data *fd, struct hfs_extent *extent, in __hfs_ext_read_extent() argument
165 hfs_bnode_read(fd->bnode, extent, fd->entryoffset, sizeof(hfs_extent_rec)); in __hfs_ext_read_extent()
208 static void hfs_dump_extent(struct hfs_extent *extent) in hfs_dump_extent() argument
215 be16_to_cpu(extent[i].block), in hfs_dump_extent()
216 be16_to_cpu(extent[i].count)); in hfs_dump_extent()
220 static int hfs_add_extent(struct hfs_extent *extent, u16 offset, in hfs_add_extent() argument
226 hfs_dump_extent(extent); in hfs_add_extent()
227 for (i = 0; i < 3; extent++, i++) { in hfs_add_extent()
228 count = be16_to_cpu(extent->count); in hfs_add_extent()
230 start = be16_to_cpu(extent->block); in hfs_add_extent()
[all …]
DMakefile8 catalog.o dir.o extent.o inode.o attr.o mdb.o \
/fs/hfsplus/
Dextents.c157 struct hfsplus_extent *extent, in __hfsplus_ext_read_extent() argument
172 hfs_bnode_read(fd->bnode, extent, fd->entryoffset, in __hfsplus_ext_read_extent()
297 static void hfsplus_dump_extent(struct hfsplus_extent *extent) in hfsplus_dump_extent() argument
304 be32_to_cpu(extent[i].start_block), in hfsplus_dump_extent()
305 be32_to_cpu(extent[i].block_count)); in hfsplus_dump_extent()
309 static int hfsplus_add_extent(struct hfsplus_extent *extent, u32 offset, in hfsplus_add_extent() argument
315 hfsplus_dump_extent(extent); in hfsplus_add_extent()
316 for (i = 0; i < 8; extent++, i++) { in hfsplus_add_extent()
317 count = be32_to_cpu(extent->block_count); in hfsplus_add_extent()
319 start = be32_to_cpu(extent->start_block); in hfsplus_add_extent()
[all …]
Dwrapper.c97 u32 extent; in hfsplus_read_mdb() local
120 extent = get_unaligned_be32(bufptr + HFSP_WRAPOFF_EMBEDEXT); in hfsplus_read_mdb()
121 wd->embed_start = (extent >> 16) & 0xFFFF; in hfsplus_read_mdb()
122 wd->embed_count = extent & 0xFFFF; in hfsplus_read_mdb()
/fs/
Dioctl.c91 struct fiemap_extent extent; in fiemap_fill_next_extent() local
110 memset(&extent, 0, sizeof(extent)); in fiemap_fill_next_extent()
111 extent.fe_logical = logical; in fiemap_fill_next_extent()
112 extent.fe_physical = phys; in fiemap_fill_next_extent()
113 extent.fe_length = len; in fiemap_fill_next_extent()
114 extent.fe_flags = flags; in fiemap_fill_next_extent()
117 if (copy_to_user(dest, &extent, sizeof(extent))) in fiemap_fill_next_extent()
/fs/btrfs/
DMakefile5 btrfs-y += super.o ctree.o extent-tree.o print-tree.o root-tree.o dir-item.o \
19 tests/extent-buffer-tests.o tests/btrfs-tests.o \
20 tests/extent-io-tests.o tests/inode-tests.o tests/qgroup-tests.o \
Dioctl.c928 struct btrfs_file_extent_item *extent; in find_new_extents() local
952 extent = btrfs_item_ptr(leaf, path->slots[0], in find_new_extents()
955 type = btrfs_file_extent_type(leaf, extent); in find_new_extents()
957 btrfs_file_extent_num_bytes(leaf, extent) < thresh && in find_new_extents()
3620 struct btrfs_file_extent_item *extent; in btrfs_clone() local
3629 extent = btrfs_item_ptr(leaf, slot, in btrfs_clone()
3631 comp = btrfs_file_extent_compression(leaf, extent); in btrfs_clone()
3632 type = btrfs_file_extent_type(leaf, extent); in btrfs_clone()
3636 extent); in btrfs_clone()
3638 extent); in btrfs_clone()
[all …]
Dtree-log.c3769 struct btrfs_file_extent_item *extent; in copy_items() local
3827 extent = btrfs_item_ptr(src, start_slot + i, in copy_items()
3830 if (btrfs_file_extent_generation(src, extent) < trans->transid) in copy_items()
3833 found_type = btrfs_file_extent_type(src, extent); in copy_items()
3837 extent); in copy_items()
3843 extent); in copy_items()
3844 cs = btrfs_file_extent_offset(src, extent); in copy_items()
3846 extent); in copy_items()
3848 extent)) { in copy_items()
4493 struct btrfs_file_extent_item *extent; in btrfs_log_holes() local
[all …]
Dscrub.c3102 struct btrfs_extent_item *extent; in scrub_raid56_parity() local
3207 extent = btrfs_item_ptr(l, slot, in scrub_raid56_parity()
3209 flags = btrfs_extent_flags(l, extent); in scrub_raid56_parity()
3210 generation = btrfs_extent_generation(l, extent); in scrub_raid56_parity()
3327 struct btrfs_extent_item *extent; in scrub_stripe() local
3559 extent = btrfs_item_ptr(l, slot, in scrub_stripe()
3561 flags = btrfs_extent_flags(l, extent); in scrub_stripe()
3562 generation = btrfs_extent_generation(l, extent); in scrub_stripe()
Dvolumes.c1524 struct btrfs_dev_extent *extent = NULL; in btrfs_free_dev_extent() local
1542 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_free_dev_extent()
1545 btrfs_dev_extent_length(leaf, extent) < start); in btrfs_free_dev_extent()
1551 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_free_dev_extent()
1558 *dev_extent_len = btrfs_dev_extent_length(leaf, extent); in btrfs_free_dev_extent()
1580 struct btrfs_dev_extent *extent; in btrfs_alloc_dev_extent() local
1594 sizeof(*extent)); in btrfs_alloc_dev_extent()
1599 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_alloc_dev_extent()
1601 btrfs_set_dev_extent_chunk_tree(leaf, extent, in btrfs_alloc_dev_extent()
1603 btrfs_set_dev_extent_chunk_objectid(leaf, extent, in btrfs_alloc_dev_extent()
[all …]
Dinode.c2405 struct btrfs_file_extent_item *extent; in record_one_backref() local
2477 extent = btrfs_item_ptr(leaf, slot, in record_one_backref()
2480 if (btrfs_file_extent_disk_bytenr(leaf, extent) != old->bytenr) in record_one_backref()
2491 extent_offset = btrfs_file_extent_offset(leaf, extent); in record_one_backref()
2492 num_bytes = btrfs_file_extent_num_bytes(leaf, extent); in record_one_backref()
2512 backref->generation = btrfs_file_extent_generation(leaf, extent); in record_one_backref()
2579 struct btrfs_file_extent_item *extent; in relink_extent_backref() local
2667 extent = btrfs_item_ptr(path->nodes[0], path->slots[0], in relink_extent_backref()
2670 if (btrfs_file_extent_generation(path->nodes[0], extent) != in relink_extent_backref()
2729 sizeof(*extent)); in relink_extent_backref()
[all …]
/fs/ext4/
Dextents.c5351 struct ext4_extent *extent; in ext4_ext_shift_extents() local
5361 extent = path[depth].p_ext; in ext4_ext_shift_extents()
5362 if (!extent) in ext4_ext_shift_extents()
5365 stop = le32_to_cpu(extent->ee_block); in ext4_ext_shift_extents()
5378 extent = path[depth].p_ext; in ext4_ext_shift_extents()
5379 if (extent) { in ext4_ext_shift_extents()
5380 ex_start = le32_to_cpu(extent->ee_block); in ext4_ext_shift_extents()
5381 ex_end = le32_to_cpu(extent->ee_block) + in ext4_ext_shift_extents()
5382 ext4_ext_get_actual_len(extent); in ext4_ext_shift_extents()
5395 (stop + ext4_ext_get_actual_len(extent))) { in ext4_ext_shift_extents()
[all …]
DKconfig45 ext3; it is based on extent maps and it supports 48-bit
/fs/qnx4/
Dinode.c68 static inline u32 try_extent(qnx4_xtnt_t *extent, u32 *offset) in try_extent() argument
70 u32 size = le32_to_cpu(extent->xtnt_size); in try_extent()
72 return le32_to_cpu(extent->xtnt_blk) + *offset - 1; in try_extent()
/fs/freevxfs/
Dvxfs_inode.c164 vxfs_blkiget(struct super_block *sbp, u_long extent, ino_t ino) in vxfs_blkiget() argument
175 block = extent + ((ino * VXFS_ISIZE) / sbp->s_blocksize); in vxfs_blkiget()
Dvxfs_inode.h78 __fs32 extent; /* Extent number */ member
Dvxfs_bmap.c82 return (bn + fs32_to_cpu(sbi, d->extent)); in vxfs_bmap_ext4()
/fs/isofs/
Drock.h15 char extent[8]; member
Drock.c249 rs.cont_extent = isonum_733(rr->u.CE.extent); in get_rock_ridge_filename()
368 rs.cont_extent = isonum_733(rr->u.CE.extent); in parse_rock_ridge_inode_internal()
767 rs.cont_extent = isonum_733(rr->u.CE.extent); in rock_ridge_symlink_readpage()
Disofs.h194 *block = (unsigned long)isonum_733(de->extent) in isofs_normalize_block_and_offset()
Dinode.c812 first_data_zone = isonum_733(rootp->extent) + in isofs_fill_super()
835 first_data_zone = isonum_733(rootp->extent) + in isofs_fill_super()
1438 ei->i_first_extent = (isonum_733(de->extent) + in isofs_read_inode()
/fs/udf/
Dinode.c629 struct kernel_long_ad extent; in udf_extend_file() local
647 extent.extLocation.logicalBlockNum = 0; in udf_extend_file()
648 extent.extLocation.partitionReferenceNum = 0; in udf_extend_file()
649 extent.extLength = EXT_NOT_RECORDED_NOT_ALLOCATED; in udf_extend_file()
652 etype = udf_next_aext(inode, &epos, &extent.extLocation, in udf_extend_file()
653 &extent.extLength, 0); in udf_extend_file()
654 extent.extLength |= etype << 30; in udf_extend_file()
664 udf_do_extend_final_block(inode, &epos, &extent, in udf_extend_file()
669 err = udf_do_extend_file(inode, &epos, &extent, add); in udf_extend_file()
/fs/ocfs2/
DKconfig10 OCFS2 is a general purpose extent based shared disk cluster file
/fs/xfs/
DKconfig12 variable block sizes, is extent based, and makes extensive use of
/fs/reiserfs/
DREADME135 Igor Zagorovsky is writing much of the new item handler and extent code

12