Home
last modified time | relevance | path

Searched refs:fmh_entries (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/include/uapi/linux/
Dfsmap.h64 __u32 fmh_entries; /* # of entries filled in (output). */ member
84 head->fmh_keys[0] = head->fmh_recs[head->fmh_entries - 1]; in fsmap_advance()
/linux-6.6.21/fs/ext4/
Dfsmap.c111 if (info->gfi_head->fmh_entries == UINT_MAX) in ext4_getfsmap_helper()
115 info->gfi_head->fmh_entries++; in ext4_getfsmap_helper()
120 info->gfi_head->fmh_entries++; in ext4_getfsmap_helper()
134 if (info->gfi_head->fmh_entries >= info->gfi_head->fmh_count) in ext4_getfsmap_helper()
152 info->gfi_head->fmh_entries++; in ext4_getfsmap_helper()
159 if (info->gfi_head->fmh_entries >= info->gfi_head->fmh_count) in ext4_getfsmap_helper()
174 info->gfi_head->fmh_entries++; in ext4_getfsmap_helper()
644 head->fmh_entries = 0; in ext4_getfsmap()
Dfsmap.h26 unsigned int fmh_entries; /* # of entries filled in (output). */ member
Dioctl.c926 head.fmh_entries = xhead.fmh_entries; in ext4_ioc_getfsmap()
/linux-6.6.21/fs/xfs/
Dxfs_fsmap.c245 rec = &info->fsmap_recs[info->head->fmh_entries++]; in xfs_getfsmap_format()
299 if (info->head->fmh_entries == UINT_MAX) in xfs_getfsmap_helper()
303 info->head->fmh_entries++; in xfs_getfsmap_helper()
308 info->head->fmh_entries++; in xfs_getfsmap_helper()
322 if (info->head->fmh_entries >= info->head->fmh_count) in xfs_getfsmap_helper()
338 if (info->head->fmh_entries >= info->head->fmh_count) in xfs_getfsmap_helper()
906 head->fmh_entries = 0; in xfs_getfsmap()
Dxfs_fsmap.h25 unsigned int fmh_entries; /* # of entries filled in (output). */ member
Dxfs_ioctl.c1557 head.fmh_entries = 0; in xfs_ioc_getfsmap()
1562 user_recs = &arg->fmh_recs[head.fmh_entries]; in xfs_ioc_getfsmap()
1563 xhead.fmh_entries = 0; in xfs_ioc_getfsmap()
1565 head.fmh_count - head.fmh_entries); in xfs_ioc_getfsmap()
1588 head.fmh_entries += xhead.fmh_entries; in xfs_ioc_getfsmap()
1595 if (head.fmh_count == 0 || xhead.fmh_entries == 0) in xfs_ioc_getfsmap()
1600 xhead.fmh_entries * sizeof(struct fsmap))) { in xfs_ioc_getfsmap()
1606 last_rec = &recs[xhead.fmh_entries - 1]; in xfs_ioc_getfsmap()
1612 } while (!done && head.fmh_entries < head.fmh_count); in xfs_ioc_getfsmap()
1618 if (done && head.fmh_count > 0 && head.fmh_entries > 0) { in xfs_ioc_getfsmap()
[all …]