Home
last modified time | relevance | path

Searched refs:mnt_cifs_flags (Results 1 – 23 of 23) sorted by relevance

/fs/cifs/
Dfs_context.c1591 cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_NO_DFS; in smb3_update_mnt_flags()
1593 cifs_sb->mnt_cifs_flags &= ~CIFS_MOUNT_NO_DFS; in smb3_update_mnt_flags()
1596 cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_NO_PERM; in smb3_update_mnt_flags()
1598 cifs_sb->mnt_cifs_flags &= ~CIFS_MOUNT_NO_PERM; in smb3_update_mnt_flags()
1601 cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_SET_UID; in smb3_update_mnt_flags()
1603 cifs_sb->mnt_cifs_flags &= ~CIFS_MOUNT_SET_UID; in smb3_update_mnt_flags()
1606 cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_UID_FROM_ACL; in smb3_update_mnt_flags()
1608 cifs_sb->mnt_cifs_flags &= ~CIFS_MOUNT_UID_FROM_ACL; in smb3_update_mnt_flags()
1611 cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_SERVER_INUM; in smb3_update_mnt_flags()
1613 cifs_sb->mnt_cifs_flags &= ~CIFS_MOUNT_SERVER_INUM; in smb3_update_mnt_flags()
[all …]
Dcifsfs.c166 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_POSIXACL) in cifs_read_super()
242 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM) { in cifs_read_super()
343 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_PERM) { in cifs_permission()
477 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_STRICT_IO) in cifs_show_cache_flavor()
479 else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_DIRECT_IO) in cifs_show_cache_flavor()
481 else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_RW_CACHE) in cifs_show_cache_flavor()
483 else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_RO_CACHE) in cifs_show_cache_flavor()
554 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_OVERR_UID) in cifs_show_options()
561 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_OVERR_GID) in cifs_show_options()
598 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_DFS) in cifs_show_options()
[all …]
Dinode.c36 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_DIRECT_IO) {
37 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_BRL)
41 } else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_STRICT_IO) {
42 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_BRL)
46 } else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_BRL)
178 !(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_DYNPERM))
222 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM)
292 if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_OVERR_UID)) {
302 if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_OVERR_GID)) {
400 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MF_SYMLINKS) {
[all …]
Ddir.c99 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_USE_PREFIX_PATH) in build_path_from_dentry_optional_prefix()
126 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_POSIX_PATHS) { in build_path_from_dentry_optional_prefix()
153 if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_POSIX_PATHS)) { in check_name()
331 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SET_UID) { in cifs_do_create()
366 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_DYNPERM) in cifs_do_create()
368 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SET_UID) { in cifs_do_create()
497 CIFS_SB(inode->i_sb)->mnt_cifs_flags & CIFS_MOUNT_STRICT_IO) { in cifs_atomic_open()
498 if (CIFS_SB(inode->i_sb)->mnt_cifs_flags & CIFS_MOUNT_NO_BRL) in cifs_atomic_open()
Dreaddir.c103 if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM)) in cifs_prime_dcache()
209 if ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_ACL) || in cifs_fill_common_info()
210 (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MODE_FROM_SID)) in cifs_fill_common_info()
213 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_UNX_EMUL && in cifs_fill_common_info()
424 } else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM) { in _initiate_cifs_search()
444 (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM)) { in _initiate_cifs_search()
445 cifs_sb->mnt_cifs_flags &= ~CIFS_MOUNT_SERVER_INUM; in _initiate_cifs_search()
916 if (de.ino && (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM)) { in cifs_filldir()
923 if ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MF_SYMLINKS) && in cifs_filldir()
Dxattr.c150 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_XATTR) in cifs_xattr_set()
326 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_XATTR) in cifs_xattr_get()
420 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_XATTR) in cifs_listxattr()
Dconnect.c2413 unsigned int oldflags = old->mnt_cifs_flags & CIFS_MOUNT_MASK; in compare_mount_options()
2414 unsigned int newflags = new->mnt_cifs_flags & CIFS_MOUNT_MASK; in compare_mount_options()
2461 bool old_set = (old->mnt_cifs_flags & CIFS_MOUNT_USE_PREFIX_PATH) && in match_prepath()
2463 bool new_set = (new->mnt_cifs_flags & CIFS_MOUNT_USE_PREFIX_PATH) && in match_prepath()
2490 if (CIFS_MOUNT_SHUTDOWN & cifs_sb->mnt_cifs_flags) { in cifs_match_super()
2855 cifs_sb->mnt_cifs_flags |= in reset_cifs_unix_caps()
2864 cifs_sb->mnt_cifs_flags |= in reset_cifs_unix_caps()
2931 cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_RO_CACHE; in cifs_setup_cifs_sb()
2934 cifs_sb->mnt_cifs_flags |= (CIFS_MOUNT_RO_CACHE | in cifs_setup_cifs_sb()
2945 cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_USE_PREFIX_PATH; in cifs_setup_cifs_sb()
[all …]
Dcifs_fs_sb.h57 unsigned int mnt_cifs_flags; member
Dmisc.c519 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM) { in cifs_autodisable_serverino()
525 cifs_sb->mnt_cifs_flags &= ~CIFS_MOUNT_SERVER_INUM; in cifs_autodisable_serverino()
626 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_BACKUPUID) { in backup_cred()
630 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_BACKUPGID) { in backup_cred()
1322 cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_USE_PREFIX_PATH; in cifs_update_super_prepath()
Dfile.c480 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_STRICT_IO) in _cifsFileInfo_put()
558 cifs_sb->mnt_cifs_flags & CIFS_MOUNT_STRICT_IO) { in cifs_open()
559 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_BRL) in cifs_open()
685 ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NOPOSIXBRL) == 0)) in cifs_relock_file()
1446 ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NOPOSIXBRL) == 0)) in cifs_push_locks()
1826 ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NOPOSIXBRL) == 0)) in cifs_flock()
1875 ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NOPOSIXBRL) == 0)) in cifs_lock()
2007 if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MULTIUSER)) in find_readable_file()
2063 if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MULTIUSER)) in cifs_get_writable_file()
2610 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_RWPIDFORWARD) in cifs_write_end()
[all …]
Dcifs_unicode.c20 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MAP_SFM_CHR) in cifs_remap()
22 else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MAP_SPECIAL_CHR) in cifs_remap()
Dcifs_ioctl.h114 if (CIFS_MOUNT_SHUTDOWN & sbi->mnt_cifs_flags) in cifs_forced_shutdown()
Dcifs_dfs_ref.c286 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_DFS) in cifs_dfs_do_automount()
Dlink.c641 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MF_SYMLINKS) in cifs_get_link()
706 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MF_SYMLINKS) in cifs_symlink()
Dsmb2misc.c446 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MAP_SFM_CHR) in cifs_convert_path_to_utf16()
448 else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MAP_SPECIAL_CHR) in cifs_convert_path_to_utf16()
Dcifsglob.h1394 …->oplock & CIFS_CACHE_READ_FLG) || (CIFS_SB(cinode->vfs_inode.i_sb)->mnt_cifs_flags & CIFS_MOUNT_R…
1396 …>oplock & CIFS_CACHE_WRITE_FLG) || (CIFS_SB(cinode->vfs_inode.i_sb)->mnt_cifs_flags & CIFS_MOUNT_R…
1462 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_POSIX_PATHS) in CIFS_DIR_SEP()
Dcifsacl.c354 if ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_UID_FROM_ACL) || in sid_to_id()
1605 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MODE_FROM_SID) in id_mode_to_cifs_acl()
1610 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_UID_FROM_ACL) in id_mode_to_cifs_acl()
Dfscache.c156 if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_FSCACHE)) in cifs_fscache_enable_inode_cookie()
Dioctl.c197 sbi->mnt_cifs_flags |= CIFS_MOUNT_SHUTDOWN; in cifs_shutdown()
Dsmb1ops.c1053 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SET_UID) { in cifs_make_node()
1078 if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_UNX_EMUL)) in cifs_make_node()
Ddfs_cache.c1500 cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_USE_PREFIX_PATH; in dfs_cache_remount_fs()
Dsmb2pdu.c2866 if ((oparms->cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MODE_FROM_SID) && in SMB2_open_init()
2874 if (oparms->cifs_sb->mnt_cifs_flags & CIFS_MOUNT_UID_FROM_ACL) in SMB2_open_init()
Dsmb2ops.c5310 if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_UNX_EMUL)) in smb2_make_node()