Home
last modified time | relevance | path

Searched refs:fsmap_head (Results 1 – 4 of 4) sorted by relevance

/linux-6.15/include/uapi/linux/
H A Dfsmap.h60 struct fsmap_head { struct
76 return sizeof(struct fsmap_head) + nr * sizeof(struct fsmap); in fsmap_sizeof()
82 struct fsmap_head *head) in fsmap_advance()
111 #define FS_IOC_GETFSMAP _IOWR('X', 59, struct fsmap_head)
/linux-6.15/fs/xfs/
H A Dxfs_fsmap.h10 struct fsmap_head;
46 int xfs_ioc_getfsmap(struct xfs_inode *ip, struct fsmap_head __user *arg);
H A Dxfs_fsmap.c1305 struct fsmap_head __user *arg) in xfs_ioc_getfsmap()
1308 struct fsmap_head head; in xfs_ioc_getfsmap()
1315 if (copy_from_user(&head, arg, sizeof(struct fsmap_head))) in xfs_ioc_getfsmap()
1422 if (copy_to_user(arg, &head, sizeof(struct fsmap_head))) { in xfs_ioc_getfsmap()
/linux-6.15/fs/ext4/
H A Dioctl.c862 struct fsmap_head __user *gi_data;
884 struct fsmap_head __user *arg) in ext4_ioc_getfsmap()
888 struct fsmap_head head; in ext4_ioc_getfsmap()
892 if (copy_from_user(&head, arg, sizeof(struct fsmap_head))) in ext4_ioc_getfsmap()
937 if (copy_to_user(arg, &head, sizeof(struct fsmap_head))) in ext4_ioc_getfsmap()