Home
last modified time | relevance | path

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

/linux-4.1.27/include/uapi/linux/
Dfiemap.h34 __u32 fm_extent_count; /* size of fm_extents array (in) */ member
/linux-4.1.27/drivers/staging/lustre/lustre/include/lustre/
Dll_fiemap.h67 __u32 fm_extent_count; /* size of fm_extents array (in) */ member
/linux-4.1.27/Documentation/filesystems/
Dfiemap.txt23 __u32 fm_extent_count; /* size of fm_extents array (in) */
45 fm_extent_count specifies the number of elements in the fm_extents[] array
46 that can be used to return extents. If fm_extent_count is zero, then the
68 fm_extent_count. The number of extents mapped by kernel will be
73 fm_extent_count. In that case, the last extent in the array will not
/linux-4.1.27/fs/
Dioctl.c189 if (fiemap.fm_extent_count > FIEMAP_MAX_EXTENTS) in ioctl_fiemap()
198 fieinfo.fi_extents_max = fiemap.fm_extent_count; in ioctl_fiemap()
201 if (fiemap.fm_extent_count != 0 && in ioctl_fiemap()
/linux-4.1.27/drivers/staging/lustre/lustre/lov/
Dlov_obd.c1621 if (fiemap->fm_extent_count == 0 || in fiemap_calc_fm_end_offset()
1756 if (fiemap_count_to_size(fm_key->fiemap.fm_extent_count) < buffer_size) in lov_fiemap()
1757 buffer_size = fiemap_count_to_size(fm_key->fiemap.fm_extent_count); in lov_fiemap()
1789 if (fiemap_count_to_size(fiemap->fm_extent_count) > *vallen) in lov_fiemap()
1790 fiemap->fm_extent_count = fiemap_size_to_count(*vallen); in lov_fiemap()
1791 if (fiemap->fm_extent_count == 0) { in lov_fiemap()
1846 fiemap->fm_extent_count) in lov_fiemap()
1847 count_local = fiemap->fm_extent_count - in lov_fiemap()
1854 fm_local->fm_extent_count = count_local; in lov_fiemap()
1883 *vallen=fiemap_count_to_size(fm_local->fm_extent_count); in lov_fiemap()
[all …]
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
Dwiretest.c3955 LASSERTF((int)offsetof(struct ll_user_fiemap, fm_extent_count) == 24, "found %lld\n", in lustre_assert_wire_constants()
3956 (long long)(int)offsetof(struct ll_user_fiemap, fm_extent_count)); in lustre_assert_wire_constants()
3957 LASSERTF((int)sizeof(((struct ll_user_fiemap *)0)->fm_extent_count) == 4, "found %lld\n", in lustre_assert_wire_constants()
3958 (long long)(int)sizeof(((struct ll_user_fiemap *)0)->fm_extent_count)); in lustre_assert_wire_constants()
Dpack_generic.c1997 __swab32s(&fiemap->fm_extent_count); in lustre_swab_fiemap()
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
Dfile.c1796 &((struct ll_user_fiemap __user *)arg)->fm_extent_count)) in ll_ioctl_fiemap()
3071 fiemap->fm_extent_count = fieinfo->fi_extents_max; in ll_fiemap()