Home
last modified time | relevance | path

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

/Linux-v6.6/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.6/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-v6.6/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.c1547 head.fmh_entries = 0; in xfs_ioc_getfsmap()
1552 user_recs = &arg->fmh_recs[head.fmh_entries]; in xfs_ioc_getfsmap()
1553 xhead.fmh_entries = 0; in xfs_ioc_getfsmap()
1555 head.fmh_count - head.fmh_entries); in xfs_ioc_getfsmap()
1578 head.fmh_entries += xhead.fmh_entries; in xfs_ioc_getfsmap()
1585 if (head.fmh_count == 0 || xhead.fmh_entries == 0) in xfs_ioc_getfsmap()
1590 xhead.fmh_entries * sizeof(struct fsmap))) { in xfs_ioc_getfsmap()
1596 last_rec = &recs[xhead.fmh_entries - 1]; in xfs_ioc_getfsmap()
1602 } while (!done && head.fmh_entries < head.fmh_count); in xfs_ioc_getfsmap()
1608 if (done && head.fmh_count > 0 && head.fmh_entries > 0) { in xfs_ioc_getfsmap()
[all …]