/fs/hfs/ |
D | extent.c | 150 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 …]
|
D | Makefile | 9 catalog.o dir.o extent.o inode.o attr.o mdb.o \
|
/fs/hfsplus/ |
D | extents.c | 157 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 …]
|
D | wrapper.c | 97 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/btrfs/ |
D | Makefile | 5 btrfs-y += super.o ctree.o extent-tree.o print-tree.o root-tree.o dir-item.o \ 21 tests/extent-buffer-tests.o tests/btrfs-tests.o \ 22 tests/extent-io-tests.o tests/inode-tests.o tests/qgroup-tests.o \ 23 tests/free-space-tree-tests.o tests/extent-map-tests.o
|
D | Kconfig | 100 Enable run-time extent reference verification instrumentation. This 101 is meant to be used by btrfs developers for tracking down extent
|
D | tree-log.c | 3964 struct btrfs_file_extent_item *extent; in copy_items() local 4045 extent = btrfs_item_ptr(src, start_slot + i, in copy_items() 4048 if (btrfs_file_extent_generation(src, extent) < trans->transid) in copy_items() 4051 found_type = btrfs_file_extent_type(src, extent); in copy_items() 4055 extent); in copy_items() 4061 extent); in copy_items() 4062 cs = btrfs_file_extent_offset(src, extent); in copy_items() 4064 extent); in copy_items() 4066 extent)) { in copy_items() 4137 extent = btrfs_item_ptr(src, src_path->slots[0], in copy_items() [all …]
|
D | tree-checker.c | 112 struct btrfs_file_extent_item *extent) in file_extent_end() argument 117 if (btrfs_file_extent_type(leaf, extent) == BTRFS_FILE_EXTENT_INLINE) { in file_extent_end() 118 len = btrfs_file_extent_ram_bytes(leaf, extent); in file_extent_end() 121 len = btrfs_file_extent_num_bytes(leaf, extent); in file_extent_end()
|
D | ioctl.c | 1058 struct btrfs_file_extent_item *extent; in find_new_extents() local 1082 extent = btrfs_item_ptr(leaf, path->slots[0], in find_new_extents() 1085 type = btrfs_file_extent_type(leaf, extent); in find_new_extents() 1087 btrfs_file_extent_num_bytes(leaf, extent) < thresh && in find_new_extents() 3530 struct btrfs_file_extent_item *extent; in btrfs_clone() local 3580 extent = btrfs_item_ptr(leaf, slot, in btrfs_clone() 3582 comp = btrfs_file_extent_compression(leaf, extent); in btrfs_clone() 3583 type = btrfs_file_extent_type(leaf, extent); in btrfs_clone() 3586 disko = btrfs_file_extent_disk_bytenr(leaf, extent); in btrfs_clone() 3587 diskl = btrfs_file_extent_disk_num_bytes(leaf, extent); in btrfs_clone() [all …]
|
D | scrub.c | 2828 struct btrfs_extent_item *extent; in scrub_raid56_parity() local 2933 extent = btrfs_item_ptr(l, slot, in scrub_raid56_parity() 2935 flags = btrfs_extent_flags(l, extent); in scrub_raid56_parity() 2936 generation = btrfs_extent_generation(l, extent); in scrub_raid56_parity() 3052 struct btrfs_extent_item *extent; in scrub_stripe() local 3284 extent = btrfs_item_ptr(l, slot, in scrub_stripe() 3286 flags = btrfs_extent_flags(l, extent); in scrub_stripe() 3287 generation = btrfs_extent_generation(l, extent); in scrub_stripe()
|
D | volumes.c | 1727 struct btrfs_dev_extent *extent = NULL; in btrfs_free_dev_extent() local 1745 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_free_dev_extent() 1748 btrfs_dev_extent_length(leaf, extent) < start); in btrfs_free_dev_extent() 1754 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_free_dev_extent() 1761 *dev_extent_len = btrfs_dev_extent_length(leaf, extent); in btrfs_free_dev_extent() 1783 struct btrfs_dev_extent *extent; in btrfs_alloc_dev_extent() local 1797 sizeof(*extent)); in btrfs_alloc_dev_extent() 1802 extent = btrfs_item_ptr(leaf, path->slots[0], in btrfs_alloc_dev_extent() 1804 btrfs_set_dev_extent_chunk_tree(leaf, extent, in btrfs_alloc_dev_extent() 1806 btrfs_set_dev_extent_chunk_objectid(leaf, extent, in btrfs_alloc_dev_extent() [all …]
|
D | inode.c | 2471 struct btrfs_file_extent_item *extent; in record_one_backref() local 2543 extent = btrfs_item_ptr(leaf, slot, in record_one_backref() 2546 if (btrfs_file_extent_disk_bytenr(leaf, extent) != old->bytenr) in record_one_backref() 2557 extent_offset = btrfs_file_extent_offset(leaf, extent); in record_one_backref() 2558 num_bytes = btrfs_file_extent_num_bytes(leaf, extent); in record_one_backref() 2578 backref->generation = btrfs_file_extent_generation(leaf, extent); in record_one_backref() 2645 struct btrfs_file_extent_item *extent; in relink_extent_backref() local 2734 extent = btrfs_item_ptr(path->nodes[0], path->slots[0], in relink_extent_backref() 2737 if (btrfs_file_extent_generation(path->nodes[0], extent) != in relink_extent_backref() 2796 sizeof(*extent)); in relink_extent_backref() [all …]
|
/fs/ |
D | ioctl.c | 93 struct fiemap_extent extent; in fiemap_fill_next_extent() local 112 memset(&extent, 0, sizeof(extent)); in fiemap_fill_next_extent() 113 extent.fe_logical = logical; in fiemap_fill_next_extent() 114 extent.fe_physical = phys; in fiemap_fill_next_extent() 115 extent.fe_length = len; in fiemap_fill_next_extent() 116 extent.fe_flags = flags; in fiemap_fill_next_extent() 119 if (copy_to_user(dest, &extent, sizeof(extent))) in fiemap_fill_next_extent()
|
/fs/ext4/ |
D | extents.c | 5318 struct ext4_extent *extent; in ext4_ext_shift_extents() local 5328 extent = path[depth].p_ext; in ext4_ext_shift_extents() 5329 if (!extent) in ext4_ext_shift_extents() 5332 stop = le32_to_cpu(extent->ee_block); in ext4_ext_shift_extents() 5345 extent = path[depth].p_ext; in ext4_ext_shift_extents() 5346 if (extent) { in ext4_ext_shift_extents() 5347 ex_start = le32_to_cpu(extent->ee_block); in ext4_ext_shift_extents() 5348 ex_end = le32_to_cpu(extent->ee_block) + in ext4_ext_shift_extents() 5349 ext4_ext_get_actual_len(extent); in ext4_ext_shift_extents() 5362 (stop + ext4_ext_get_actual_len(extent))) { in ext4_ext_shift_extents() [all …]
|
D | Kconfig | 47 ext3; it is based on extent maps and it supports 48-bit
|
/fs/qnx4/ |
D | inode.c | 69 static inline u32 try_extent(qnx4_xtnt_t *extent, u32 *offset) in try_extent() argument 71 u32 size = le32_to_cpu(extent->xtnt_size); in try_extent() 73 return le32_to_cpu(extent->xtnt_blk) + *offset - 1; in try_extent()
|
/fs/freevxfs/ |
D | vxfs_inode.c | 164 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()
|
D | vxfs_inode.h | 78 __fs32 extent; /* Extent number */ member
|
D | vxfs_bmap.c | 82 return (bn + fs32_to_cpu(sbi, d->extent)); in vxfs_bmap_ext4()
|
/fs/isofs/ |
D | rock.h | 15 __u8 extent[8]; member
|
D | rock.c | 249 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()
|
D | isofs.h | 194 *block = (unsigned long)isonum_733(de->extent) in isofs_normalize_block_and_offset()
|
D | inode.c | 814 first_data_zone = isonum_733(rootp->extent) + in isofs_fill_super() 837 first_data_zone = isonum_733(rootp->extent) + in isofs_fill_super() 1440 ei->i_first_extent = (isonum_733(de->extent) + in isofs_read_inode()
|
/fs/udf/ |
D | inode.c | 636 struct kernel_long_ad extent; in udf_extend_file() local 654 extent.extLocation.logicalBlockNum = 0; in udf_extend_file() 655 extent.extLocation.partitionReferenceNum = 0; in udf_extend_file() 656 extent.extLength = EXT_NOT_RECORDED_NOT_ALLOCATED; in udf_extend_file() 659 etype = udf_next_aext(inode, &epos, &extent.extLocation, in udf_extend_file() 660 &extent.extLength, 0); in udf_extend_file() 661 extent.extLength |= etype << 30; in udf_extend_file() 671 udf_do_extend_final_block(inode, &epos, &extent, in udf_extend_file() 676 err = udf_do_extend_file(inode, &epos, &extent, add); in udf_extend_file()
|
/fs/ocfs2/ |
D | Kconfig | 11 OCFS2 is a general purpose extent based shared disk cluster file
|