Home
last modified time | relevance | path

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

/linux/fs/ext4/
A Dfsmap.c638 if (!ext4_getfsmap_is_valid_device(sb, &head->fmh_keys[0]) || in ext4_getfsmap()
639 !ext4_getfsmap_is_valid_device(sb, &head->fmh_keys[1])) in ext4_getfsmap()
668 dkeys[0] = head->fmh_keys[0]; in ext4_getfsmap()
674 if (!ext4_getfsmap_check_keys(dkeys, &head->fmh_keys[1])) in ext4_getfsmap()
677 info.gfi_next_fsblk = head->fmh_keys[0].fmr_physical + in ext4_getfsmap()
678 head->fmh_keys[0].fmr_length; in ext4_getfsmap()
688 if (head->fmh_keys[0].fmr_device > handlers[i].gfd_dev) in ext4_getfsmap()
690 if (head->fmh_keys[1].fmr_device < handlers[i].gfd_dev) in ext4_getfsmap()
700 if (handlers[i].gfd_dev == head->fmh_keys[1].fmr_device) in ext4_getfsmap()
701 dkeys[1] = head->fmh_keys[1]; in ext4_getfsmap()
[all …]
A Dioctl.c637 memchr_inv(head.fmh_keys[0].fmr_reserved, 0, in ext4_ioc_getfsmap()
638 sizeof(head.fmh_keys[0].fmr_reserved)) || in ext4_ioc_getfsmap()
639 memchr_inv(head.fmh_keys[1].fmr_reserved, 0, in ext4_ioc_getfsmap()
640 sizeof(head.fmh_keys[1].fmr_reserved))) in ext4_ioc_getfsmap()
646 if (head.fmh_keys[0].fmr_offset || in ext4_ioc_getfsmap()
647 (head.fmh_keys[1].fmr_offset != 0 && in ext4_ioc_getfsmap()
648 head.fmh_keys[1].fmr_offset != -1ULL)) in ext4_ioc_getfsmap()
653 ext4_fsmap_to_internal(sb, &xhead.fmh_keys[0], &head.fmh_keys[0]); in ext4_ioc_getfsmap()
654 ext4_fsmap_to_internal(sb, &xhead.fmh_keys[1], &head.fmh_keys[1]); in ext4_ioc_getfsmap()
656 trace_ext4_getfsmap_low_key(sb, &xhead.fmh_keys[0]); in ext4_ioc_getfsmap()
[all …]
A Dfsmap.h28 struct ext4_fsmap fmh_keys[2]; /* low and high keys */ member
/linux/fs/xfs/
A Dxfs_fsmap.c863 if (!xfs_getfsmap_is_valid_device(mp, &head->fmh_keys[0]) || in xfs_getfsmap()
864 !xfs_getfsmap_is_valid_device(mp, &head->fmh_keys[1])) in xfs_getfsmap()
910 dkeys[0] = head->fmh_keys[0]; in xfs_getfsmap()
921 if (!xfs_getfsmap_check_keys(dkeys, &head->fmh_keys[1])) in xfs_getfsmap()
924 info.next_daddr = head->fmh_keys[0].fmr_physical + in xfs_getfsmap()
925 head->fmh_keys[0].fmr_length; in xfs_getfsmap()
934 if (head->fmh_keys[0].fmr_device > handlers[i].dev) in xfs_getfsmap()
936 if (head->fmh_keys[1].fmr_device < handlers[i].dev) in xfs_getfsmap()
946 if (handlers[i].dev == head->fmh_keys[1].fmr_device) in xfs_getfsmap()
947 dkeys[1] = head->fmh_keys[1]; in xfs_getfsmap()
[all …]
A Dxfs_ioctl.c1592 memchr_inv(head.fmh_keys[0].fmr_reserved, 0, in xfs_ioc_getfsmap()
1593 sizeof(head.fmh_keys[0].fmr_reserved)) || in xfs_ioc_getfsmap()
1594 memchr_inv(head.fmh_keys[1].fmr_reserved, 0, in xfs_ioc_getfsmap()
1595 sizeof(head.fmh_keys[1].fmr_reserved))) in xfs_ioc_getfsmap()
1615 xfs_fsmap_to_internal(&xhead.fmh_keys[0], &head.fmh_keys[0]); in xfs_ioc_getfsmap()
1616 xfs_fsmap_to_internal(&xhead.fmh_keys[1], &head.fmh_keys[1]); in xfs_ioc_getfsmap()
1618 trace_xfs_getfsmap_low_key(ip->i_mount, &xhead.fmh_keys[0]); in xfs_ioc_getfsmap()
1619 trace_xfs_getfsmap_high_key(ip->i_mount, &xhead.fmh_keys[1]); in xfs_ioc_getfsmap()
1674 xfs_fsmap_to_internal(&xhead.fmh_keys[0], last_rec); in xfs_ioc_getfsmap()
1675 trace_xfs_getfsmap_low_key(ip->i_mount, &xhead.fmh_keys[0]); in xfs_ioc_getfsmap()
A Dxfs_fsmap.h27 struct xfs_fsmap fmh_keys[2]; /* low and high keys */ member
/linux/include/uapi/linux/
A 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()

Completed in 18 milliseconds