Home
last modified time | relevance | path

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

12

/fs/hfs/
Dextent.c146 static inline int __hfs_ext_read_extent(struct hfs_find_data *fd, struct hfs_extent *extent, in __hfs_ext_read_extent() argument
161 hfs_bnode_read(fd->bnode, extent, fd->entryoffset, sizeof(hfs_extent_rec)); in __hfs_ext_read_extent()
204 static void hfs_dump_extent(struct hfs_extent *extent) in hfs_dump_extent() argument
211 be16_to_cpu(extent[i].block), in hfs_dump_extent()
212 be16_to_cpu(extent[i].count)); in hfs_dump_extent()
216 static int hfs_add_extent(struct hfs_extent *extent, u16 offset, in hfs_add_extent() argument
222 hfs_dump_extent(extent); in hfs_add_extent()
223 for (i = 0; i < 3; extent++, i++) { in hfs_add_extent()
224 count = be16_to_cpu(extent->count); in hfs_add_extent()
226 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.c152 struct hfsplus_extent *extent, in __hfsplus_ext_read_extent() argument
167 hfs_bnode_read(fd->bnode, extent, fd->entryoffset, in __hfsplus_ext_read_extent()
292 static void hfsplus_dump_extent(struct hfsplus_extent *extent) in hfsplus_dump_extent() argument
299 be32_to_cpu(extent[i].start_block), in hfsplus_dump_extent()
300 be32_to_cpu(extent[i].block_count)); in hfsplus_dump_extent()
304 static int hfsplus_add_extent(struct hfsplus_extent *extent, u32 offset, in hfsplus_add_extent() argument
310 hfsplus_dump_extent(extent); in hfsplus_add_extent()
311 for (i = 0; i < 8; extent++, i++) { in hfsplus_add_extent()
312 count = be32_to_cpu(extent->block_count); in hfsplus_add_extent()
314 start = be32_to_cpu(extent->start_block); in hfsplus_add_extent()
[all …]
Dwrapper.c109 u32 extent; in hfsplus_read_mdb() local
132 extent = get_unaligned_be32(bufptr + HFSP_WRAPOFF_EMBEDEXT); in hfsplus_read_mdb()
133 wd->embed_start = (extent >> 16) & 0xFFFF; in hfsplus_read_mdb()
134 wd->embed_count = extent & 0xFFFF; in hfsplus_read_mdb()
/fs/
Dioctl.c88 struct fiemap_extent extent; in fiemap_fill_next_extent() local
107 memset(&extent, 0, sizeof(extent)); in fiemap_fill_next_extent()
108 extent.fe_logical = logical; in fiemap_fill_next_extent()
109 extent.fe_physical = phys; in fiemap_fill_next_extent()
110 extent.fe_length = len; in fiemap_fill_next_extent()
111 extent.fe_flags = flags; in fiemap_fill_next_extent()
114 if (copy_to_user(dest, &extent, sizeof(extent))) in fiemap_fill_next_extent()
/fs/qnx4/
Dinode.c70 static inline u32 try_extent(qnx4_xtnt_t *extent, u32 *offset) in try_extent() argument
72 u32 size = le32_to_cpu(extent->xtnt_size); in try_extent()
74 return le32_to_cpu(extent->xtnt_blk) + *offset - 1; in try_extent()
/fs/freevxfs/
Dvxfs_inode.c88 vxfs_blkiget(struct super_block *sbp, u_long extent, ino_t ino) in vxfs_blkiget() argument
93 block = extent + ((ino * VXFS_ISIZE) / sbp->s_blocksize); in vxfs_blkiget()
Dvxfs_inode.h77 vx_daddr_t extent; /* Extent number */ member
Dvxfs_bmap.c81 return (bn + d->extent); in vxfs_bmap_ext4()
/fs/isofs/
Drock.h14 char extent[8]; member
Drock.c240 rs.cont_extent = isonum_733(rr->u.CE.extent); in get_rock_ridge_filename()
350 rs.cont_extent = isonum_733(rr->u.CE.extent); in parse_rock_ridge_inode_internal()
733 rs.cont_extent = isonum_733(rr->u.CE.extent); in rock_ridge_symlink_readpage()
Disofs.h175 *block = (unsigned long)isonum_733(de->extent) in isofs_normalize_block_and_offset()
Dinode.c794 first_data_zone = isonum_733(rootp->extent) + in isofs_fill_super()
817 first_data_zone = isonum_733(rootp->extent) + in isofs_fill_super()
1419 ei->i_first_extent = (isonum_733(de->extent) + in isofs_read_inode()
/fs/btrfs/
DMakefile4 btrfs-y += super.o ctree.o extent-tree.o print-tree.o root-tree.o dir-item.o \
Dioctl.c824 struct btrfs_file_extent_item *extent; in find_new_extents() local
854 extent = btrfs_item_ptr(leaf, path->slots[0], in find_new_extents()
857 type = btrfs_file_extent_type(leaf, extent); in find_new_extents()
859 btrfs_file_extent_num_bytes(leaf, extent) < thresh && in find_new_extents()
2632 struct btrfs_file_extent_item *extent; in btrfs_ioctl_clone() local
2646 extent = btrfs_item_ptr(leaf, slot, in btrfs_ioctl_clone()
2648 comp = btrfs_file_extent_compression(leaf, extent); in btrfs_ioctl_clone()
2649 type = btrfs_file_extent_type(leaf, extent); in btrfs_ioctl_clone()
2653 extent); in btrfs_ioctl_clone()
2655 extent); in btrfs_ioctl_clone()
[all …]
Dtree-log.c3138 struct btrfs_file_extent_item *extent; in copy_items() local
3193 extent = btrfs_item_ptr(src, start_slot + i, in copy_items()
3196 if (btrfs_file_extent_generation(src, extent) < trans->transid) in copy_items()
3199 found_type = btrfs_file_extent_type(src, extent); in copy_items()
3203 extent); in copy_items()
3209 extent); in copy_items()
3210 cs = btrfs_file_extent_offset(src, extent); in copy_items()
3212 extent); in copy_items()
3214 extent)) { in copy_items()
Dvolumes.c1152 struct btrfs_dev_extent *extent = NULL; in btrfs_free_dev_extent() local
1170 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_free_dev_extent()
1173 btrfs_dev_extent_length(leaf, extent) < start); in btrfs_free_dev_extent()
1179 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_free_dev_extent()
1187 u64 len = btrfs_dev_extent_length(leaf, extent); in btrfs_free_dev_extent()
1211 struct btrfs_dev_extent *extent; in btrfs_alloc_dev_extent() local
1225 sizeof(*extent)); in btrfs_alloc_dev_extent()
1230 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_alloc_dev_extent()
1232 btrfs_set_dev_extent_chunk_tree(leaf, extent, chunk_tree); in btrfs_alloc_dev_extent()
1233 btrfs_set_dev_extent_chunk_objectid(leaf, extent, chunk_objectid); in btrfs_alloc_dev_extent()
[all …]
Dinode.c2058 struct btrfs_file_extent_item *extent; in record_one_backref() local
2132 extent = btrfs_item_ptr(leaf, slot, in record_one_backref()
2135 if (btrfs_file_extent_disk_bytenr(leaf, extent) != old->bytenr) in record_one_backref()
2138 extent_offset = btrfs_file_extent_offset(leaf, extent); in record_one_backref()
2142 num_bytes = btrfs_file_extent_num_bytes(leaf, extent); in record_one_backref()
2162 backref->generation = btrfs_file_extent_generation(leaf, extent); in record_one_backref()
2225 struct btrfs_file_extent_item *extent; in relink_extent_backref() local
2315 extent = btrfs_item_ptr(path->nodes[0], path->slots[0], in relink_extent_backref()
2318 if (btrfs_file_extent_generation(path->nodes[0], extent) != in relink_extent_backref()
2377 sizeof(*extent)); in relink_extent_backref()
[all …]
Dscrub.c2231 struct btrfs_extent_item *extent; in scrub_stripe() local
2454 extent = btrfs_item_ptr(l, slot, in scrub_stripe()
2456 flags = btrfs_extent_flags(l, extent); in scrub_stripe()
2457 generation = btrfs_extent_generation(l, extent); in scrub_stripe()
/fs/ext4/
Dextents.c5324 struct ext4_extent *extent; in ext4_ext_shift_extents() local
5334 extent = path[depth].p_ext; in ext4_ext_shift_extents()
5335 if (!extent) in ext4_ext_shift_extents()
5338 stop_block = le32_to_cpu(extent->ee_block) + in ext4_ext_shift_extents()
5339 ext4_ext_get_actual_len(extent); in ext4_ext_shift_extents()
5353 extent = path[depth].p_ext; in ext4_ext_shift_extents()
5354 if (extent) { in ext4_ext_shift_extents()
5355 ex_start = le32_to_cpu(extent->ee_block); in ext4_ext_shift_extents()
5356 ex_end = le32_to_cpu(extent->ee_block) + in ext4_ext_shift_extents()
5357 ext4_ext_get_actual_len(extent); in ext4_ext_shift_extents()
[all …]
DKconfig12 ext3; it is based on extent maps and it supports 48-bit
/fs/udf/
Dinode.c612 struct kernel_long_ad extent; in udf_extend_file() local
639 extent.extLocation.logicalBlockNum = 0; in udf_extend_file()
640 extent.extLocation.partitionReferenceNum = 0; in udf_extend_file()
641 extent.extLength = EXT_NOT_RECORDED_NOT_ALLOCATED; in udf_extend_file()
644 etype = udf_next_aext(inode, &epos, &extent.extLocation, in udf_extend_file()
645 &extent.extLength, 0); in udf_extend_file()
646 extent.extLength |= etype << 30; in udf_extend_file()
648 err = udf_do_extend_file(inode, &epos, &extent, offset); in udf_extend_file()
/fs/ocfs2/
DKconfig10 OCFS2 is a general purpose extent based shared disk cluster file
/fs/xfs/
DKconfig10 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