Lines Matching defs:fattr
158 couldbe_mf_symlink(const struct cifs_fattr *fattr)
160 if (!S_ISREG(fattr->cf_mode))
164 if (fattr->cf_eof != CIFS_MF_SYMLINK_FILE_SIZE)
206 struct cifs_sb_info *cifs_sb, struct cifs_fattr *fattr,
215 if (!couldbe_mf_symlink(fattr))
246 fattr->cf_eof = link_len;
247 fattr->cf_mode &= ~S_IFMT;
248 fattr->cf_mode |= S_IFLNK | S_IRWXU | S_IRWXG | S_IRWXO;
249 fattr->cf_dtype = DT_LNK;
250 fattr->cf_symlink_target = symlink;