fsmap_head
struct fsmap_head __user *gi_data;
struct fsmap_head __user *arg)
struct fsmap_head head;
if (copy_from_user(&head, arg, sizeof(struct fsmap_head)))
if (copy_to_user(arg, &head, sizeof(struct fsmap_head)))
struct fsmap_head __user *arg)
struct fsmap_head head;
if (copy_from_user(&head, arg, sizeof(struct fsmap_head)))
if (copy_to_user(arg, &head, sizeof(struct fsmap_head))) {
struct fsmap_head;
int xfs_ioc_getfsmap(struct xfs_inode *ip, struct fsmap_head __user *arg);
#define FS_IOC_GETFSMAP _IOWR('X', 59, struct fsmap_head)
return sizeof(struct fsmap_head) + nr * sizeof(struct fsmap);
struct fsmap_head *head)