Home
last modified time | relevance | path

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

/Linux-v6.1/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-v6.1/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()
642 head->fmh_entries = 0; in ext4_getfsmap()
Dfsmap.h26 unsigned int fmh_entries; /* # of entries filled in (output). */ member
Dioctl.c917 head.fmh_entries = xhead.fmh_entries; in ext4_ioc_getfsmap()
/Linux-v6.1/fs/xfs/
Dxfs_fsmap.c236 rec = &info->fsmap_recs[info->head->fmh_entries++]; in xfs_getfsmap_format()
272 if (info->head->fmh_entries == UINT_MAX) in xfs_getfsmap_helper()
276 info->head->fmh_entries++; in xfs_getfsmap_helper()
281 info->head->fmh_entries++; in xfs_getfsmap_helper()
295 if (info->head->fmh_entries >= info->head->fmh_count) in xfs_getfsmap_helper()
311 if (info->head->fmh_entries >= info->head->fmh_count) in xfs_getfsmap_helper()
868 head->fmh_entries = 0; in xfs_getfsmap()
Dxfs_fsmap.h25 unsigned int fmh_entries; /* # of entries filled in (output). */ member
Dxfs_ioctl.c1551 head.fmh_entries = 0; in xfs_ioc_getfsmap()
1556 user_recs = &arg->fmh_recs[head.fmh_entries]; in xfs_ioc_getfsmap()
1557 xhead.fmh_entries = 0; in xfs_ioc_getfsmap()
1559 head.fmh_count - head.fmh_entries); in xfs_ioc_getfsmap()
1582 head.fmh_entries += xhead.fmh_entries; in xfs_ioc_getfsmap()
1589 if (head.fmh_count == 0 || xhead.fmh_entries == 0) in xfs_ioc_getfsmap()
1594 xhead.fmh_entries * sizeof(struct fsmap))) { in xfs_ioc_getfsmap()
1600 last_rec = &recs[xhead.fmh_entries - 1]; in xfs_ioc_getfsmap()
1606 } while (!done && head.fmh_entries < head.fmh_count); in xfs_ioc_getfsmap()
1612 if (done && head.fmh_count > 0 && head.fmh_entries > 0) { in xfs_ioc_getfsmap()
[all …]