Searched refs:cf_mode (Results 1 - 9 of 9) sorted by relevance

/linux-master/fs/smb/client/
H A Dreparse.c427 fattr->cf_mode |= S_IFLNK;
430 fattr->cf_mode |= S_IFIFO;
433 fattr->cf_mode |= S_IFSOCK;
436 fattr->cf_mode |= S_IFCHR;
439 fattr->cf_mode |= S_IFBLK;
466 fattr->cf_mode = (umode_t)le32_to_cpu(*(__le32 *)v);
471 fattr->cf_dtype = S_DT(fattr->cf_mode);
484 fattr->cf_mode |= S_IFCHR;
488 fattr->cf_mode |= S_IFBLK;
492 fattr->cf_mode |
[all...]
H A Dreaddir.c126 fattr->cf_mode = inode->i_mode;
181 fattr->cf_mode = S_IFDIR | cifs_sb->ctx->dir_mode;
184 fattr->cf_mode = S_IFREG | cifs_sb->ctx->file_mode;
193 fattr->cf_mode &= ~S_IWUGO;
209 fattr->cf_mode &= ~S_IFMT;
210 fattr->cf_mode |= S_IFIFO;
249 fattr->cf_mode = le32_to_cpu(info->Mode) & ~S_IFMT;
257 fattr->cf_mode |= S_IFDIR;
265 fattr->cf_mode |= S_IFREG;
970 if (S_ISLNK(fattr.cf_mode))
[all...]
H A Dinode.c158 unlikely(inode_wrong_type(inode, fattr->cf_mode))) {
184 inode->i_mode = fattr->cf_mode;
215 if (S_ISLNK(fattr->cf_mode) && fattr->cf_symlink_target) {
255 fattr->cf_mode = le64_to_cpu(info->Permissions);
261 fattr->cf_mode &= ~S_IFMT;
264 fattr->cf_mode |= S_IFREG;
268 fattr->cf_mode |= S_IFLNK;
272 fattr->cf_mode |= S_IFDIR;
276 fattr->cf_mode |= S_IFCHR;
282 fattr->cf_mode |
[all...]
H A Dlink.c148 if (!S_ISREG(fattr->cf_mode))
235 fattr->cf_mode &= ~S_IFMT;
236 fattr->cf_mode |= S_IFLNK | S_IRWXU | S_IRWXG | S_IRWXO;
H A Dcifsacl.c776 fattr->cf_mode |= 0777;
793 fattr->cf_mode &= ~(0777);
822 fattr->cf_mode &= ~07777;
823 fattr->cf_mode |=
830 &fattr->cf_mode,
836 &fattr->cf_mode,
843 &fattr->cf_mode,
H A Dcifsglob.h1176 umode_t cf_mode; member in struct:cifs_fattr
/linux-master/fs/smb/server/
H A Dsmbacl.c149 if (S_ISDIR(fattr->cf_mode))
447 fattr->cf_mode =
543 fattr->cf_mode &= ~(0007);
544 fattr->cf_mode |= mode & 0007;
630 if (S_ISDIR(fattr->cf_mode) && pace->e_tag == ACL_OTHER)
641 if (S_ISDIR(fattr->cf_mode) &&
759 fattr->cf_mode, 0700);
767 ACCESS_ALLOWED, 0, fattr->cf_mode, 0070);
775 if (S_ISDIR(fattr->cf_mode)) {
780 0x0b, fattr->cf_mode, 070
[all...]
H A Dsmbacl.h154 umode_t cf_mode; member in struct:smb_fattr
H A Dsmb2pdu.c2619 fattr->cf_mode = inode->i_mode;

Completed in 314 milliseconds