Searched refs:fmh_keys (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.6/fs/ext4/ |
D | fsmap.c | 640 if (!ext4_getfsmap_is_valid_device(sb, &head->fmh_keys[0]) || in ext4_getfsmap() 641 !ext4_getfsmap_is_valid_device(sb, &head->fmh_keys[1])) in ext4_getfsmap() 670 dkeys[0] = head->fmh_keys[0]; in ext4_getfsmap() 676 if (!ext4_getfsmap_check_keys(dkeys, &head->fmh_keys[1])) in ext4_getfsmap() 679 info.gfi_next_fsblk = head->fmh_keys[0].fmr_physical + in ext4_getfsmap() 680 head->fmh_keys[0].fmr_length; in ext4_getfsmap() 690 if (head->fmh_keys[0].fmr_device > handlers[i].gfd_dev) in ext4_getfsmap() 692 if (head->fmh_keys[1].fmr_device < handlers[i].gfd_dev) in ext4_getfsmap() 702 if (handlers[i].gfd_dev == head->fmh_keys[1].fmr_device) in ext4_getfsmap() 703 dkeys[1] = head->fmh_keys[1]; in ext4_getfsmap() [all …]
|
D | ioctl.c | 886 memchr_inv(head.fmh_keys[0].fmr_reserved, 0, in ext4_ioc_getfsmap() 887 sizeof(head.fmh_keys[0].fmr_reserved)) || in ext4_ioc_getfsmap() 888 memchr_inv(head.fmh_keys[1].fmr_reserved, 0, in ext4_ioc_getfsmap() 889 sizeof(head.fmh_keys[1].fmr_reserved))) in ext4_ioc_getfsmap() 895 if (head.fmh_keys[0].fmr_offset || in ext4_ioc_getfsmap() 896 (head.fmh_keys[1].fmr_offset != 0 && in ext4_ioc_getfsmap() 897 head.fmh_keys[1].fmr_offset != -1ULL)) in ext4_ioc_getfsmap() 902 ext4_fsmap_to_internal(sb, &xhead.fmh_keys[0], &head.fmh_keys[0]); in ext4_ioc_getfsmap() 903 ext4_fsmap_to_internal(sb, &xhead.fmh_keys[1], &head.fmh_keys[1]); in ext4_ioc_getfsmap() 905 trace_ext4_getfsmap_low_key(sb, &xhead.fmh_keys[0]); in ext4_ioc_getfsmap() [all …]
|
D | fsmap.h | 28 struct ext4_fsmap fmh_keys[2]; /* low and high keys */ member
|
/Linux-v6.6/fs/xfs/ |
D | xfs_fsmap.c | 898 if (!xfs_getfsmap_is_valid_device(mp, &head->fmh_keys[0]) || in xfs_getfsmap() 899 !xfs_getfsmap_is_valid_device(mp, &head->fmh_keys[1])) in xfs_getfsmap() 901 if (!xfs_getfsmap_check_keys(&head->fmh_keys[0], &head->fmh_keys[1])) in xfs_getfsmap() 947 dkeys[0] = head->fmh_keys[0]; in xfs_getfsmap() 950 info.next_daddr = head->fmh_keys[0].fmr_physical + in xfs_getfsmap() 951 head->fmh_keys[0].fmr_length; in xfs_getfsmap() 960 if (head->fmh_keys[0].fmr_device > handlers[i].dev) in xfs_getfsmap() 962 if (head->fmh_keys[1].fmr_device < handlers[i].dev) in xfs_getfsmap() 972 if (handlers[i].dev == head->fmh_keys[1].fmr_device) in xfs_getfsmap() 973 dkeys[1] = head->fmh_keys[1]; in xfs_getfsmap() [all …]
|
D | xfs_fsmap.h | 27 struct xfs_fsmap fmh_keys[2]; /* low and high keys */ member
|
D | xfs_ioctl.c | 1518 memchr_inv(head.fmh_keys[0].fmr_reserved, 0, in xfs_ioc_getfsmap() 1519 sizeof(head.fmh_keys[0].fmr_reserved)) || in xfs_ioc_getfsmap() 1520 memchr_inv(head.fmh_keys[1].fmr_reserved, 0, in xfs_ioc_getfsmap() 1521 sizeof(head.fmh_keys[1].fmr_reserved))) in xfs_ioc_getfsmap() 1541 xfs_fsmap_to_internal(&xhead.fmh_keys[0], &head.fmh_keys[0]); in xfs_ioc_getfsmap() 1542 xfs_fsmap_to_internal(&xhead.fmh_keys[1], &head.fmh_keys[1]); in xfs_ioc_getfsmap() 1544 trace_xfs_getfsmap_low_key(ip->i_mount, &xhead.fmh_keys[0]); in xfs_ioc_getfsmap() 1545 trace_xfs_getfsmap_high_key(ip->i_mount, &xhead.fmh_keys[1]); in xfs_ioc_getfsmap() 1600 xfs_fsmap_to_internal(&xhead.fmh_keys[0], last_rec); in xfs_ioc_getfsmap() 1601 trace_xfs_getfsmap_low_key(ip->i_mount, &xhead.fmh_keys[0]); in xfs_ioc_getfsmap()
|
/Linux-v6.6/include/uapi/linux/ |
D | fsmap.h | 67 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()
|