Lines Matching defs:fattr
146 couldbe_mf_symlink(const struct cifs_fattr *fattr)
148 if (!S_ISREG(fattr->cf_mode))
152 if (fattr->cf_eof != CIFS_MF_SYMLINK_FILE_SIZE)
194 struct cifs_sb_info *cifs_sb, struct cifs_fattr *fattr,
203 if (!couldbe_mf_symlink(fattr))
234 fattr->cf_eof = link_len;
235 fattr->cf_mode &= ~S_IFMT;
236 fattr->cf_mode |= S_IFLNK | S_IRWXU | S_IRWXG | S_IRWXO;
237 fattr->cf_dtype = DT_LNK;
238 fattr->cf_symlink_target = symlink;