Home
last modified time | relevance | path

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

12345678910>>...17

/OK3568_Linux_fs/kernel/kernel/
H A Duser_namespace.c282 first = map->extent[idx].first; in map_id_range_down_base()
283 last = first + map->extent[idx].count - 1; in map_id_range_down_base()
286 return &map->extent[idx]; in map_id_range_down_base()
293 struct uid_gid_extent *extent; in map_id_range_down() local
298 extent = map_id_range_down_base(extents, map, id, count); in map_id_range_down()
300 extent = map_id_range_down_max(extents, map, id, count); in map_id_range_down()
303 if (extent) in map_id_range_down()
304 id = (id - extent->first) + extent->lower_first; in map_id_range_down()
329 first = map->extent[idx].lower_first; in map_id_up_base()
330 last = first + map->extent[idx].count - 1; in map_id_up_base()
[all …]
/OK3568_Linux_fs/kernel/Documentation/filesystems/ext4/
H A Difork.rst38 led to the creation of the extent mapping scheme, discussed below.
46 In ext4, the file to logical block map has been replaced with an extent
51 very large files with a single extent, at a considerable reduction in
60 points to a block containing more nodes in the extent tree. If the node
63 point to the file's data blocks. The root node of the extent tree is
67 The extent tree header is recorded in ``struct ext4_extent_header``,
93 - Depth of this extent node in the extent tree. 0 = this extent node
94 points to data blocks; otherwise, this extent node points to other
95 extent nodes. The extent tree can be at most 5 levels deep: a logical
103 Internal nodes of the extent tree, also known as index nodes, are
[all …]
/OK3568_Linux_fs/kernel/fs/hfs/
H A 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 …]
/OK3568_Linux_fs/kernel/arch/parisc/math-emu/
H A Dsfadd.c42 register unsigned int left, right, result, extent; in sgl_fadd() local
274 /*and lower to*/extent); in sgl_fadd()
284 Sgl_subtract_withextension(left,/*minus*/right,/*with*/extent,/*into*/result); in sgl_fadd()
298 Sgl_leftshiftby1_withextent(result,extent,result); in sgl_fadd()
325 Ext_leftshiftby1(extent); in sgl_fadd()
337 Ext_leftshiftby1(extent); in sgl_fadd()
415 Sgl_right_align(result,/*by*/(1-result_exponent),extent); in sgl_fadd()
430 Sgl_rightshiftby1_withextent(result,extent,extent); in sgl_fadd()
441 if(Ext_isnotzero(extent)) in sgl_fadd()
447 if(Ext_isone_sign(extent)) in sgl_fadd()
[all …]
H A Dsfsub.c42 register unsigned int left, right, result, extent; in sgl_fsub() local
277 /*and lower to*/extent); in sgl_fsub()
287 Sgl_subtract_withextension(left,/*minus*/right,/*with*/extent,/*into*/result); in sgl_fsub()
301 Sgl_leftshiftby1_withextent(result,extent,result); in sgl_fsub()
328 Ext_leftshiftby1(extent); in sgl_fsub()
340 Ext_leftshiftby1(extent); in sgl_fsub()
418 Sgl_right_align(result,/*by*/(1-result_exponent),extent); in sgl_fsub()
433 Sgl_rightshiftby1_withextent(result,extent,extent); in sgl_fsub()
444 if(Ext_isnotzero(extent)) in sgl_fsub()
450 if(Ext_isone_sign(extent)) in sgl_fsub()
[all …]
H A Ddfadd.c42 register unsigned int leftp1, leftp2, rightp1, rightp2, extent; in dbl_fadd() local
278 /*and lower to*/extent); in dbl_fadd()
289 /*with*/extent,/*into*/resultp1,resultp2); in dbl_fadd()
303 Dbl_leftshiftby1_withextent(resultp1,resultp2,extent,resultp1,resultp2); in dbl_fadd()
330 Ext_leftshiftby1(extent); in dbl_fadd()
342 Ext_leftshiftby1(extent); in dbl_fadd()
420 Dbl_fix_overshift(resultp1,resultp2,(1-result_exponent),extent); in dbl_fadd()
435 Dbl_rightshiftby1_withextent(resultp2,extent,extent); in dbl_fadd()
446 if(Ext_isnotzero(extent)) in dbl_fadd()
452 if(Ext_isone_sign(extent)) in dbl_fadd()
[all …]
H A Ddfsub.c43 register unsigned int leftp1, leftp2, rightp1, rightp2, extent; in dbl_fsub() local
281 /*and lower to*/extent); in dbl_fsub()
292 /*with*/extent,/*into*/resultp1,resultp2); in dbl_fsub()
306 Dbl_leftshiftby1_withextent(resultp1,resultp2,extent,resultp1,resultp2); in dbl_fsub()
333 Ext_leftshiftby1(extent); in dbl_fsub()
345 Ext_leftshiftby1(extent); in dbl_fsub()
423 Dbl_fix_overshift(resultp1,resultp2,(1-result_exponent),extent); in dbl_fsub()
438 Dbl_rightshiftby1_withextent(resultp2,extent,extent); in dbl_fsub()
449 if(Ext_isnotzero(extent)) in dbl_fsub()
455 if(Ext_isone_sign(extent)) in dbl_fsub()
[all …]
H A Dfloat.h530 #define Ext_isone_sign(extent) (Extsign(extent))
531 #define Ext_isnotzero(extent) \
532 (Extall(extent))
533 #define Ext_isnotzero_lower(extent) \
534 (Extlow31(extent))
535 #define Ext_leftshiftby1(extent) \
536 Extall(extent) <<= 1
537 #define Ext_negate(extent) \
538 (int )Extall(extent) = 0 - (int )Extall(extent)
539 #define Ext_setone_low(extent) Bitfield_deposit(1,31,1,extent)
[all …]
/OK3568_Linux_fs/kernel/Documentation/filesystems/
H A Dfiemap.rst8 extent mappings. Instead of block-by-block mapping (such as bmap), fiemap
33 those on disk - that is, the logical offset of the 1st returned extent
35 extent may end after fm_length. All offsets and lengths are in bytes.
75 fm_extent_count. In that case, the last extent in the array will not
77 flag set (see the next section on extent flags).
79 Each extent is described by a single fiemap_extent structure as
84 * the extent */
86 * of the extent */
87 __u64 fe_length; /* length in bytes for the extent */
89 __u32 fe_flags; /* FIEMAP_EXTENT_* flags for this extent */
[all …]
H A Domfs.rst11 and Rio Karma MP3 player. The filesystem is extent-based, utilizing
90 A file is an omfs_inode structure followed by an extent table beginning at
99 __be64 e_next; /* next extent table location */
102 struct omfs_extent_entry e_entry; /* start of extent entries */
105 Each extent holds the block offset followed by number of blocks allocated to
106 the extent. The final extent in each table is a terminator with e_cluster
/OK3568_Linux_fs/kernel/fs/hfsplus/
H A 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 …]
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/e2fsprogs/e2fsprogs/
H A Dextents.patch8 Subject: [PATCH] e2fsprogs: add sanity check to extent manipulation
10 It is possible to have a corrupted extent tree in such a way that a leaf
25 lib/ext2fs/extent.c | 8 ++++++++
28 diff --git a/lib/ext2fs/extent.c b/lib/ext2fs/extent.c
30 --- a/lib/ext2fs/extent.c
31 +++ b/lib/ext2fs/extent.c
36 + /* Make sure there is at least one extent present */
/OK3568_Linux_fs/buildroot/package/e2fsprogs/
H A D0001-libext2fs-add-sanity-check-to-extent-manipulation.patch4 Subject: libext2fs: add sanity check to extent manipulation
6 It is possible to have a corrupted extent tree in such a way that a leaf
28 lib/ext2fs/extent.c | 8 ++++++++
31 diff --git a/lib/ext2fs/extent.c b/lib/ext2fs/extent.c
33 --- a/lib/ext2fs/extent.c
34 +++ b/lib/ext2fs/extent.c
39 + /* Make sure there is at least one extent present */
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/include/c++/10.3.1/
H A Dspan117 else if constexpr (extent != dynamic_extent)
147 static constexpr size_t extent = _Extent;
159 constexpr explicit(extent != dynamic_extent)
173 constexpr explicit(extent != dynamic_extent)
213 constexpr explicit(extent != dynamic_extent)
219 if constexpr (extent != dynamic_extent)
221 __glibcxx_assert(ranges::size(__range) == extent);
233 explicit(extent != dynamic_extent && _OExtent == dynamic_extent)
237 if constexpr (extent != dynamic_extent)
239 __glibcxx_assert(__s.size() == extent);
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/include/c++/10.3.1/
H A Dspan117 else if constexpr (extent != dynamic_extent)
147 static constexpr size_t extent = _Extent;
159 constexpr explicit(extent != dynamic_extent)
173 constexpr explicit(extent != dynamic_extent)
213 constexpr explicit(extent != dynamic_extent)
219 if constexpr (extent != dynamic_extent)
221 __glibcxx_assert(ranges::size(__range) == extent);
233 explicit(extent != dynamic_extent && _OExtent == dynamic_extent)
237 if constexpr (extent != dynamic_extent)
239 __glibcxx_assert(__s.size() == extent);
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/geojsonvt/6.5.1/include/mapbox/
H A Dgeojsonvt.hpp39 uint16_t extent = 4096; member
72 auto tolerance = (options.tolerance / options.extent) / z2; in geoJSONToTile()
75 features = detail::wrap(features, double(options.buffer) / options.extent); in geoJSONToTile()
78 const double p = options.buffer / options.extent; in geoJSONToTile()
83 return detail::InternalTile({ features, z, x, y, options.extent, tolerance }).tile; in geoJSONToTile()
96 auto converted = detail::convert(features_, (options.tolerance / options.extent) / z2); in GeoJSONVT()
97 auto features = detail::wrap(converted, double(options.buffer) / options.extent); in GeoJSONVT()
185 (z == options.maxZoom ? 0 : options.tolerance / (z2 * options.extent)); in splitTile()
189 detail::InternalTile{ features, z, x, y, options.extent, tolerance }) in splitTile()
229 const double p = 0.5 * options.buffer / options.extent; in splitTile()
/OK3568_Linux_fs/external/xserver/glamor/
H A Dglamor_largepixmap.c39 BoxPtr extent; in __glamor_compute_clipped_regions() local
53 extent = RegionExtents(region); in __glamor_compute_clipped_regions()
54 start_x = MAX(x, extent->x1); in __glamor_compute_clipped_regions()
55 start_y = MAX(y, extent->y1); in __glamor_compute_clipped_regions()
56 end_x = MIN(x + w, extent->x2); in __glamor_compute_clipped_regions()
57 end_y = MIN(y + h, extent->y2); in __glamor_compute_clipped_regions()
350 BoxPtr extent; in _glamor_compute_clipped_regions() local
401 extent = RegionExtents(region); in _glamor_compute_clipped_regions()
403 x_center_shift = extent->x1 / pixmap_width; in _glamor_compute_clipped_regions()
408 y_center_shift = extent->y1 / pixmap_height; in _glamor_compute_clipped_regions()
[all …]
H A Dglamor_render.c1411 BoxPtr extent; in glamor_composite_clipped_region() local
1423 extent = RegionExtents(region); in glamor_composite_clipped_region()
1426 width = extent->x2 - extent->x1; in glamor_composite_clipped_region()
1427 height = extent->y2 - extent->y1; in glamor_composite_clipped_region()
1480 extent->x1 + x_source - x_dest - dest->pDrawable->x, in glamor_composite_clipped_region()
1481 extent->y1 + y_source - y_dest - dest->pDrawable->y, in glamor_composite_clipped_region()
1489 x_temp_src = -extent->x1 + x_dest + dest->pDrawable->x; in glamor_composite_clipped_region()
1490 y_temp_src = -extent->y1 + y_dest + dest->pDrawable->y; in glamor_composite_clipped_region()
1504 extent->x1 + x_mask - x_dest - dest->pDrawable->x, in glamor_composite_clipped_region()
1505 extent->y1 + y_mask - y_dest - dest->pDrawable->y, in glamor_composite_clipped_region()
[all …]
/OK3568_Linux_fs/kernel/mm/
H A Dmremap.c393 unsigned long next, extent, mask, size; in get_extent() local
412 extent = next - old_addr; in get_extent()
413 if (extent > old_end - old_addr) in get_extent()
414 extent = old_end - old_addr; in get_extent()
416 if (extent > next - new_addr) in get_extent()
417 extent = next - new_addr; in get_extent()
418 return extent; in get_extent()
465 unsigned long extent, old_end; in move_page_tables() local
479 for (; old_addr < old_end; old_addr += extent, new_addr += extent) { in move_page_tables()
485 extent = get_extent(NORMAL_PUD, old_addr, old_end, new_addr); in move_page_tables()
[all …]
/OK3568_Linux_fs/kernel/fs/btrfs/
H A DMakefile5 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
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/plugins/geoservices/esri/
H A Dplacesearchreply_esri.cpp196 const QJsonObject extent = item.value(kExtentKey).toObject(); in parsePlaceResult() local
197 const QGeoCoordinate topLeft(extent.value(kYminKey).toDouble(), in parsePlaceResult()
198 extent.value(kXminKey).toDouble()); in parsePlaceResult()
199 const QGeoCoordinate bottomRight(extent.value(kYmaxKey).toDouble(), in parsePlaceResult()
200 extent.value(kXmaxKey).toDouble()); in parsePlaceResult()
/OK3568_Linux_fs/app/forlinx/flapp/src/plugins/allwinner/browser/
H A Dchasewidget.cpp81 const int extent = qMin(width() - 8, height() - 8); in paintEvent() local
82 const int displ = extent / 4; in paintEvent()
83 const int ext = extent / 4 - 1; in paintEvent()
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/supercluster/0.2.2/include/
H A Dsupercluster.hpp83 std::uint16_t extent = 512; // tile extent (radius is calculated relative to it) member
111 const double r = options.radius / (options.extent * std::pow(2, z)); in Supercluster()
124 double const r = static_cast<double>(options.radius) / options.extent; in getTile()
130 TilePoint point(::round(this->options.extent * (c.pos.x * z2 - x)), in getTile()
131 ::round(this->options.extent * (c.pos.y * z2 - y))); in getTile()
/OK3568_Linux_fs/kernel/fs/
H A Dioctl.c115 struct fiemap_extent extent; in fiemap_fill_next_extent() local
134 memset(&extent, 0, sizeof(extent)); in fiemap_fill_next_extent()
135 extent.fe_logical = logical; in fiemap_fill_next_extent()
136 extent.fe_physical = phys; in fiemap_fill_next_extent()
137 extent.fe_length = len; in fiemap_fill_next_extent()
138 extent.fe_flags = flags; in fiemap_fill_next_extent()
141 if (copy_to_user(dest, &extent, sizeof(extent))) in fiemap_fill_next_extent()
/OK3568_Linux_fs/buildroot/boot/grub2/
H A D0105-fs-hfsplus-Don-t-use-uninitialized-data-on-corrupt-f.patch37 wrong that there's an attempt to read the extent overflow file, which has
38 not yet been loaded. Keep track of when the extent overflow file is
63 + * If the extent overflow tree isn't ready yet, we can't look
69 + "attempted to read extent overflow tree before loading");
73 /* Set up the key to look for in the extent overflow file. */

12345678910>>...17