Searched refs:fsmap_head (Results 1 - 3 of 3) sorted by relevance

/linux-master/include/uapi/linux/
H A Dfsmap.h18 * struct fsmap_head, followed by two struct fsmap that describe
35 * contents of fsmap_head.fmh_recs[fsmap_head.fmh_count - 1] should be
60 struct fsmap_head { struct
71 /* Size of an fsmap_head with room for nr records. */
76 return sizeof(struct fsmap_head) + nr * sizeof(struct fsmap);
82 struct fsmap_head *head)
111 #define FS_IOC_GETFSMAP _IOWR('X', 59, struct fsmap_head)
/linux-master/fs/ext4/
H A Dioctl.c862 struct fsmap_head __user *gi_data;
884 struct fsmap_head __user *arg)
888 struct fsmap_head head;
892 if (copy_from_user(&head, arg, sizeof(struct fsmap_head)))
937 if (copy_to_user(arg, &head, sizeof(struct fsmap_head)))
/linux-master/fs/xfs/
H A Dxfs_ioctl.c1516 struct fsmap_head __user *arg)
1519 struct fsmap_head head;
1526 if (copy_from_user(&head, arg, sizeof(struct fsmap_head)))
1633 if (copy_to_user(arg, &head, sizeof(struct fsmap_head))) {

Completed in 123 milliseconds