Lines Matching defs:fattr
103 struct file_attr *fattr)
107 memset(fattr, 0, sizeof(struct file_attr));
108 fattr->fa_xflags = fa->fsx_xflags & mask;
109 fattr->fa_extsize = fa->fsx_extsize;
110 fattr->fa_nextents = fa->fsx_nextents;
111 fattr->fa_projid = fa->fsx_projid;
112 fattr->fa_cowextsize = fa->fsx_cowextsize;
141 static int file_attr_to_fileattr(const struct file_attr *fattr,
146 if (fattr->fa_xflags & ~mask)
149 fileattr_fill_xflags(fa, fattr->fa_xflags & ~FS_XFLAG_RDONLY_MASK);
150 fa->fsx_extsize = fattr->fa_extsize;
151 fa->fsx_projid = fattr->fa_projid;
152 fa->fsx_cowextsize = fattr->fa_cowextsize;
380 struct file_attr fattr;
420 fileattr_to_file_attr(&fa, &fattr);
421 error = copy_struct_to_user(ufattr, usize, &fattr,
433 struct file_attr fattr;
452 error = copy_struct_from_user(&fattr, sizeof(struct file_attr), ufattr,
457 error = file_attr_to_fileattr(&fattr, &fa);