Home
last modified time | relevance | path

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

/linux-6.12.1/fs/smb/client/
Dfs_context.c1776 cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_NO_DFS; in smb3_update_mnt_flags()
1778 cifs_sb->mnt_cifs_flags &= ~CIFS_MOUNT_NO_DFS; in smb3_update_mnt_flags()
1781 cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_NO_PERM; in smb3_update_mnt_flags()
1783 cifs_sb->mnt_cifs_flags &= ~CIFS_MOUNT_NO_PERM; in smb3_update_mnt_flags()
1786 cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_SET_UID; in smb3_update_mnt_flags()
1788 cifs_sb->mnt_cifs_flags &= ~CIFS_MOUNT_SET_UID; in smb3_update_mnt_flags()
1791 cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_UID_FROM_ACL; in smb3_update_mnt_flags()
1793 cifs_sb->mnt_cifs_flags &= ~CIFS_MOUNT_UID_FROM_ACL; in smb3_update_mnt_flags()
1796 cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_SERVER_INUM; in smb3_update_mnt_flags()
1798 cifs_sb->mnt_cifs_flags &= ~CIFS_MOUNT_SERVER_INUM; in smb3_update_mnt_flags()
[all …]
Dcifsfs.c198 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_POSIXACL) in cifs_read_super()
274 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM) { in cifs_read_super()
369 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_PERM) { in cifs_permission()
517 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_STRICT_IO) in cifs_show_cache_flavor()
519 else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_DIRECT_IO) in cifs_show_cache_flavor()
521 else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_RW_CACHE) in cifs_show_cache_flavor()
523 else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_RO_CACHE) in cifs_show_cache_flavor()
594 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_OVERR_UID) in cifs_show_options()
601 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_OVERR_GID) in cifs_show_options()
640 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_DFS) in cifs_show_options()
[all …]
Dinode.c49 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_DIRECT_IO) { in cifs_set_ops()
51 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_BRL) in cifs_set_ops()
55 } else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_STRICT_IO) { in cifs_set_ops()
56 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_BRL) in cifs_set_ops()
60 } else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_BRL) in cifs_set_ops()
198 !(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_DYNPERM)) in cifs_fattr_to_inode()
251 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM) in cifs_fill_uniqueid()
321 if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_OVERR_UID)) { in cifs_unix_basic_to_fattr()
331 if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_OVERR_GID)) { in cifs_unix_basic_to_fattr()
385 if (unlikely((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM) && in update_inode_info()
[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()
163 if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_POSIX_PATHS)) { in check_name()
352 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SET_UID) {
389 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_DYNPERM)
391 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SET_UID) {
521 CIFS_SB(inode->i_sb)->mnt_cifs_flags & CIFS_MOUNT_STRICT_IO) {
522 if (CIFS_SB(inode->i_sb)->mnt_cifs_flags & CIFS_MOUNT_NO_BRL)
Dreparse.h33 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_OVERR_UID) in wsl_make_kuid()
43 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_OVERR_GID) in wsl_make_kgid()
Dreaddir.c108 if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM)) in cifs_prime_dcache()
202 if ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_ACL) || in cifs_fill_common_info()
203 (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MODE_FROM_SID)) in cifs_fill_common_info()
206 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_UNX_EMUL && in cifs_fill_common_info()
384 } else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM) { in _initiate_cifs_search()
401 (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM)) { in _initiate_cifs_search()
402 cifs_sb->mnt_cifs_flags &= ~CIFS_MOUNT_SERVER_INUM; in _initiate_cifs_search()
989 if (de.ino && (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM)) { in cifs_filldir()
996 if ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MF_SYMLINKS) && in cifs_filldir()
Dcifs_fs_sb.h57 unsigned int mnt_cifs_flags; member
Dxattr.c150 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_XATTR) in cifs_xattr_set()
302 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_XATTR) in cifs_xattr_get()
376 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_XATTR) in cifs_listxattr()
Dfile.c269 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_RWPIDFORWARD) in cifs_init_request()
894 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_STRICT_IO) in _cifsFileInfo_put()
985 cifs_sb->mnt_cifs_flags & CIFS_MOUNT_STRICT_IO) { in cifs_open()
986 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_BRL) in cifs_open()
1129 ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NOPOSIXBRL) == 0)) in cifs_relock_file()
1930 ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NOPOSIXBRL) == 0)) in cifs_push_locks()
2315 ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NOPOSIXBRL) == 0)) in cifs_flock()
2365 ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NOPOSIXBRL) == 0)) in cifs_lock()
2420 if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MULTIUSER)) in find_readable_file()
2476 if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MULTIUSER)) in cifs_get_writable_file()
[all …]
Dmisc.c546 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM) { in cifs_autodisable_serverino()
552 cifs_sb->mnt_cifs_flags &= ~CIFS_MOUNT_SERVER_INUM; in cifs_autodisable_serverino()
653 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_BACKUPUID) { in backup_cred()
657 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_BACKUPGID) { in backup_cred()
1222 cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_USE_PREFIX_PATH; in cifs_update_super_prepath()
1251 (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_DFS) || in cifs_inval_name_dfs_link_error()
Dconnect.c2780 unsigned int oldflags = old->mnt_cifs_flags & CIFS_MOUNT_MASK; in compare_mount_options()
2781 unsigned int newflags = new->mnt_cifs_flags & CIFS_MOUNT_MASK; in compare_mount_options()
2832 bool old_set = (old->mnt_cifs_flags & CIFS_MOUNT_USE_PREFIX_PATH) && in match_prepath()
2834 bool new_set = (new->mnt_cifs_flags & CIFS_MOUNT_USE_PREFIX_PATH) && in match_prepath()
2865 if (CIFS_MOUNT_SHUTDOWN & cifs_sb->mnt_cifs_flags) { in cifs_match_super()
3242 cifs_sb->mnt_cifs_flags |= in reset_cifs_unix_caps()
3251 cifs_sb->mnt_cifs_flags |= in reset_cifs_unix_caps()
3319 cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_RO_CACHE; in cifs_setup_cifs_sb()
3322 cifs_sb->mnt_cifs_flags |= (CIFS_MOUNT_RO_CACHE | in cifs_setup_cifs_sb()
3333 cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_USE_PREFIX_PATH; in cifs_setup_cifs_sb()
[all …]
Dcifs_ioctl.h128 if (CIFS_MOUNT_SHUTDOWN & sbi->mnt_cifs_flags) in cifs_forced_shutdown()
Dcifs_unicode.c19 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MAP_SFM_CHR) in cifs_remap()
21 else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MAP_SPECIAL_CHR) in cifs_remap()
Dlink.c607 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MF_SYMLINKS) {
609 } else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_UNX_EMUL) {
Dsmb2misc.c461 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MAP_SFM_CHR) in cifs_convert_path_to_utf16()
463 else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MAP_SPECIAL_CHR) in cifs_convert_path_to_utf16()
Dcifsglob.h1524 …oplock & CIFS_CACHE_READ_FLG) || (CIFS_SB(cinode->netfs.inode.i_sb)->mnt_cifs_flags & CIFS_MOUNT_R…
1526 …plock & CIFS_CACHE_WRITE_FLG) || (CIFS_SB(cinode->netfs.inode.i_sb)->mnt_cifs_flags & CIFS_MOUNT_R…
1589 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_POSIX_PATHS) in CIFS_DIR_SEP()
Dcifsacl.c359 if ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_UID_FROM_ACL) || in sid_to_id()
1614 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MODE_FROM_SID) in id_mode_to_cifs_acl()
1619 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_UID_FROM_ACL) in id_mode_to_cifs_acl()
Dsmb1ops.c1058 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SET_UID) { in cifs_make_node()
1084 if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_UNX_EMUL)) in cifs_make_node()
Dioctl.c223 sbi->mnt_cifs_flags |= CIFS_MOUNT_SHUTDOWN; in cifs_shutdown()
Dcached_dir.c112 if ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_USE_PREFIX_PATH) && in path_no_prefix()
Ddfs_cache.c1324 cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_USE_PREFIX_PATH; in dfs_cache_remount_fs()
Dsmb2pdu.c3122 if ((oparms->cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MODE_FROM_SID) && in SMB2_open_init()
3130 if (oparms->cifs_sb->mnt_cifs_flags & CIFS_MOUNT_UID_FROM_ACL) in SMB2_open_init()
Dsmb2ops.c972 (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_DFS)) in smb2_is_path_accessible()
5240 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_UNX_EMUL) { in smb2_make_node()