file_attr
struct file_attr *fattr)
memset(fattr, 0, sizeof(struct file_attr));
static int file_attr_to_fileattr(const struct file_attr *fattr,
struct file_attr __user *, ufattr, size_t, usize,
struct file_attr fattr;
BUILD_BUG_ON(sizeof(struct file_attr) < FILE_ATTR_SIZE_VER0);
BUILD_BUG_ON(sizeof(struct file_attr) != FILE_ATTR_SIZE_LATEST);
sizeof(struct file_attr), NULL);
struct file_attr __user *, ufattr, size_t, usize,
struct file_attr fattr;
BUILD_BUG_ON(sizeof(struct file_attr) < FILE_ATTR_SIZE_VER0);
BUILD_BUG_ON(sizeof(struct file_attr) != FILE_ATTR_SIZE_LATEST);
error = copy_struct_from_user(&fattr, sizeof(struct file_attr), ufattr,
unsigned int file_attr;
struct file_attr __user *attr, size_t usize,
struct file_attr __user *attr, size_t usize,
struct file_attr;