Home
last modified time | relevance | path

Searched refs:fmh_keys (Results 1 – 6 of 6) sorted by relevance

/linux-6.12.1/fs/xfs/
Dxfs_fsmap.c908 if (!xfs_getfsmap_is_valid_device(mp, &head->fmh_keys[0]) || in xfs_getfsmap()
909 !xfs_getfsmap_is_valid_device(mp, &head->fmh_keys[1])) in xfs_getfsmap()
911 if (!xfs_getfsmap_check_keys(&head->fmh_keys[0], &head->fmh_keys[1])) in xfs_getfsmap()
961 dkeys[0] = head->fmh_keys[0]; in xfs_getfsmap()
964 info.next_daddr = head->fmh_keys[0].fmr_physical + in xfs_getfsmap()
965 head->fmh_keys[0].fmr_length; in xfs_getfsmap()
975 if (head->fmh_keys[0].fmr_device > handlers[i].dev) in xfs_getfsmap()
977 if (head->fmh_keys[1].fmr_device < handlers[i].dev) in xfs_getfsmap()
987 if (handlers[i].dev == head->fmh_keys[1].fmr_device) { in xfs_getfsmap()
988 dkeys[1] = head->fmh_keys[1]; in xfs_getfsmap()
[all …]
Dxfs_fsmap.h28 struct xfs_fsmap fmh_keys[2]; /* low and high keys */ member
/linux-6.12.1/fs/ext4/
Dfsmap.c641 if (!ext4_getfsmap_is_valid_device(sb, &head->fmh_keys[0]) || in ext4_getfsmap()
642 !ext4_getfsmap_is_valid_device(sb, &head->fmh_keys[1])) in ext4_getfsmap()
671 dkeys[0] = head->fmh_keys[0]; in ext4_getfsmap()
677 if (!ext4_getfsmap_check_keys(dkeys, &head->fmh_keys[1])) in ext4_getfsmap()
680 info.gfi_next_fsblk = head->fmh_keys[0].fmr_physical + in ext4_getfsmap()
681 head->fmh_keys[0].fmr_length; in ext4_getfsmap()
691 if (head->fmh_keys[0].fmr_device > handlers[i].gfd_dev) in ext4_getfsmap()
693 if (head->fmh_keys[1].fmr_device < handlers[i].gfd_dev) in ext4_getfsmap()
703 if (handlers[i].gfd_dev == head->fmh_keys[1].fmr_device) in ext4_getfsmap()
704 dkeys[1] = head->fmh_keys[1]; in ext4_getfsmap()
[all …]
Dioctl.c895 memchr_inv(head.fmh_keys[0].fmr_reserved, 0, in ext4_ioc_getfsmap()
896 sizeof(head.fmh_keys[0].fmr_reserved)) || in ext4_ioc_getfsmap()
897 memchr_inv(head.fmh_keys[1].fmr_reserved, 0, in ext4_ioc_getfsmap()
898 sizeof(head.fmh_keys[1].fmr_reserved))) in ext4_ioc_getfsmap()
904 if (head.fmh_keys[0].fmr_offset || in ext4_ioc_getfsmap()
905 (head.fmh_keys[1].fmr_offset != 0 && in ext4_ioc_getfsmap()
906 head.fmh_keys[1].fmr_offset != -1ULL)) in ext4_ioc_getfsmap()
911 ext4_fsmap_to_internal(sb, &xhead.fmh_keys[0], &head.fmh_keys[0]); in ext4_ioc_getfsmap()
912 ext4_fsmap_to_internal(sb, &xhead.fmh_keys[1], &head.fmh_keys[1]); in ext4_ioc_getfsmap()
914 trace_ext4_getfsmap_low_key(sb, &xhead.fmh_keys[0]); in ext4_ioc_getfsmap()
[all …]
Dfsmap.h28 struct ext4_fsmap fmh_keys[2]; /* low and high keys */ member
/linux-6.12.1/include/uapi/linux/
Dfsmap.h67 struct fsmap fmh_keys[2]; /* low and high keys for the mapping search */ member
84 head->fmh_keys[0] = head->fmh_recs[head->fmh_entries - 1]; in fsmap_advance()