Home
last modified time | relevance | path

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

/linux-6.1.9/fs/cifs/
Dfs_context.c1615 cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_NO_DFS; in smb3_update_mnt_flags()
1617 cifs_sb->mnt_cifs_flags &= ~CIFS_MOUNT_NO_DFS; in smb3_update_mnt_flags()
1620 cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_NO_PERM; in smb3_update_mnt_flags()
1622 cifs_sb->mnt_cifs_flags &= ~CIFS_MOUNT_NO_PERM; in smb3_update_mnt_flags()
1625 cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_SET_UID; in smb3_update_mnt_flags()
1627 cifs_sb->mnt_cifs_flags &= ~CIFS_MOUNT_SET_UID; in smb3_update_mnt_flags()
1630 cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_UID_FROM_ACL; in smb3_update_mnt_flags()
1632 cifs_sb->mnt_cifs_flags &= ~CIFS_MOUNT_UID_FROM_ACL; in smb3_update_mnt_flags()
1635 cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_SERVER_INUM; in smb3_update_mnt_flags()
1637 cifs_sb->mnt_cifs_flags &= ~CIFS_MOUNT_SERVER_INUM; in smb3_update_mnt_flags()
[all …]
Dcifsfs.c195 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_POSIXACL) in cifs_read_super()
271 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM) { in cifs_read_super()
355 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_PERM) { in cifs_permission()
497 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_STRICT_IO) in cifs_show_cache_flavor()
499 else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_DIRECT_IO) in cifs_show_cache_flavor()
501 else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_RW_CACHE) in cifs_show_cache_flavor()
503 else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_RO_CACHE) in cifs_show_cache_flavor()
574 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_OVERR_UID) in cifs_show_options()
581 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_OVERR_GID) in cifs_show_options()
620 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_DFS) in cifs_show_options()
[all …]
Dinode.c37 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_DIRECT_IO) {
38 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_BRL)
42 } else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_STRICT_IO) {
43 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_BRL)
47 } else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_BRL)
183 !(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_DYNPERM))
233 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM)
303 if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_OVERR_UID)) {
313 if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_OVERR_GID)) {
424 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MF_SYMLINKS) {
[all …]
Ddir.c100 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_USE_PREFIX_PATH) in build_path_from_dentry_optional_prefix()
127 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_POSIX_PATHS) { in build_path_from_dentry_optional_prefix()
154 if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_POSIX_PATHS)) { in check_name()
327 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SET_UID) {
364 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_DYNPERM)
366 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SET_UID) {
496 CIFS_SB(inode->i_sb)->mnt_cifs_flags & CIFS_MOUNT_STRICT_IO) {
497 if (CIFS_SB(inode->i_sb)->mnt_cifs_flags & CIFS_MOUNT_NO_BRL)
Dreaddir.c104 if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM)) in cifs_prime_dcache()
210 if ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_ACL) || in cifs_fill_common_info()
211 (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MODE_FROM_SID)) in cifs_fill_common_info()
214 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_UNX_EMUL && in cifs_fill_common_info()
425 } else if (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()
446 cifs_sb->mnt_cifs_flags &= ~CIFS_MOUNT_SERVER_INUM; in _initiate_cifs_search()
1034 if (de.ino && (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM)) { in cifs_filldir()
1041 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()
325 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()
Dcifs_ioctl.h122 if (CIFS_MOUNT_SHUTDOWN & sbi->mnt_cifs_flags) in cifs_forced_shutdown()
Dmisc.c523 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM) { in cifs_autodisable_serverino()
529 cifs_sb->mnt_cifs_flags &= ~CIFS_MOUNT_SERVER_INUM; in cifs_autodisable_serverino()
630 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_BACKUPUID) { in backup_cred()
634 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_BACKUPGID) { in backup_cred()
1314 cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_USE_PREFIX_PATH; in cifs_update_super_prepath()
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()
Dconnect.c2655 unsigned int oldflags = old->mnt_cifs_flags & CIFS_MOUNT_MASK; in compare_mount_options()
2656 unsigned int newflags = new->mnt_cifs_flags & CIFS_MOUNT_MASK; in compare_mount_options()
2703 bool old_set = (old->mnt_cifs_flags & CIFS_MOUNT_USE_PREFIX_PATH) && in match_prepath()
2705 bool new_set = (new->mnt_cifs_flags & CIFS_MOUNT_USE_PREFIX_PATH) && in match_prepath()
3106 cifs_sb->mnt_cifs_flags |= in reset_cifs_unix_caps()
3115 cifs_sb->mnt_cifs_flags |= in reset_cifs_unix_caps()
3183 cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_RO_CACHE; in cifs_setup_cifs_sb()
3186 cifs_sb->mnt_cifs_flags |= (CIFS_MOUNT_RO_CACHE | in cifs_setup_cifs_sb()
3197 cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_USE_PREFIX_PATH; in cifs_setup_cifs_sb()
3214 mnt_ctx->cifs_sb->mnt_cifs_flags &= ~CIFS_MOUNT_POSIX_PATHS; in mount_put_conns()
[all …]
Dfile.c526 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_STRICT_IO) in _cifsFileInfo_put()
605 cifs_sb->mnt_cifs_flags & CIFS_MOUNT_STRICT_IO) { in cifs_open()
606 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_BRL) in cifs_open()
749 ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NOPOSIXBRL) == 0)) in cifs_relock_file()
1519 ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NOPOSIXBRL) == 0)) in cifs_push_locks()
1905 ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NOPOSIXBRL) == 0)) in cifs_flock()
1954 ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NOPOSIXBRL) == 0)) in cifs_lock()
2086 if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MULTIUSER)) in find_readable_file()
2142 if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MULTIUSER)) in cifs_get_writable_file()
2872 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_RWPIDFORWARD) in cifs_write_end()
[all …]
Dcifs_dfs_ref.c324 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_DFS) { in cifs_dfs_do_automount()
Dsmb2misc.c467 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MAP_SFM_CHR) in cifs_convert_path_to_utf16()
469 else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MAP_SPECIAL_CHR) in cifs_convert_path_to_utf16()
Dcifsglob.h1520 …oplock & CIFS_CACHE_READ_FLG) || (CIFS_SB(cinode->netfs.inode.i_sb)->mnt_cifs_flags & CIFS_MOUNT_R…
1522 …plock & CIFS_CACHE_WRITE_FLG) || (CIFS_SB(cinode->netfs.inode.i_sb)->mnt_cifs_flags & CIFS_MOUNT_R…
1586 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()
1607 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MODE_FROM_SID) in id_mode_to_cifs_acl()
1612 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_UID_FROM_ACL) in id_mode_to_cifs_acl()
Dioctl.c197 sbi->mnt_cifs_flags |= CIFS_MOUNT_SHUTDOWN; in cifs_shutdown()
Dsmb1ops.c1085 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SET_UID) { in cifs_make_node()
1110 if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_UNX_EMUL)) in cifs_make_node()
Dlink.c610 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MF_SYMLINKS)
Dsmb2inode.c576 (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_DFS)) in smb2_query_path_info()
Ddfs_cache.c1511 cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_USE_PREFIX_PATH; in dfs_cache_remount_fs()
Dsmb2pdu.c2920 if ((oparms->cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MODE_FROM_SID) && in SMB2_open_init()
2928 if (oparms->cifs_sb->mnt_cifs_flags & CIFS_MOUNT_UID_FROM_ACL) in SMB2_open_init()
Dsmb2ops.c843 (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_DFS)) in smb2_is_path_accessible()
5122 if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_UNX_EMUL)) in smb2_make_node()