/openbmc/linux/fs/smb/client/ |
H A D | fs_context.c | 1855 cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_NO_DFS; in smb3_update_mnt_flags() 1857 cifs_sb->mnt_cifs_flags &= ~CIFS_MOUNT_NO_DFS; in smb3_update_mnt_flags() 1860 cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_NO_PERM; in smb3_update_mnt_flags() 1862 cifs_sb->mnt_cifs_flags &= ~CIFS_MOUNT_NO_PERM; in smb3_update_mnt_flags() 1865 cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_SET_UID; in smb3_update_mnt_flags() 1867 cifs_sb->mnt_cifs_flags &= ~CIFS_MOUNT_SET_UID; in smb3_update_mnt_flags() 1870 cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_UID_FROM_ACL; in smb3_update_mnt_flags() 1872 cifs_sb->mnt_cifs_flags &= ~CIFS_MOUNT_UID_FROM_ACL; in smb3_update_mnt_flags() 1875 cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_SERVER_INUM; in smb3_update_mnt_flags() 1877 cifs_sb->mnt_cifs_flags &= ~CIFS_MOUNT_SERVER_INUM; in smb3_update_mnt_flags() [all …]
|
H A D | cifsfs.c | 198 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() 512 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_STRICT_IO) in cifs_show_cache_flavor() 514 else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_DIRECT_IO) in cifs_show_cache_flavor() 516 else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_RW_CACHE) in cifs_show_cache_flavor() 518 else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_RO_CACHE) in cifs_show_cache_flavor() 589 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_OVERR_UID) in cifs_show_options() 596 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_OVERR_GID) in cifs_show_options() 635 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_DFS) in cifs_show_options() [all …]
|
H A D | inode.c | 38 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_DIRECT_IO) { in cifs_set_ops() 39 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_BRL) in cifs_set_ops() 43 } else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_STRICT_IO) { in cifs_set_ops() 44 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_BRL) in cifs_set_ops() 48 } else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_BRL) in cifs_set_ops() 183 !(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_DYNPERM)) in cifs_fattr_to_inode() 234 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM) in cifs_fill_uniqueid() 304 if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_OVERR_UID)) { in cifs_unix_basic_to_fattr() 314 if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_OVERR_GID)) { in cifs_unix_basic_to_fattr() 368 if (unlikely((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM) && in update_inode_info() [all …]
|
H A D | dir.c | 99 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)
|
H A D | reparse.h | 35 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_OVERR_UID) in wsl_make_kuid() 45 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_OVERR_GID) in wsl_make_kgid()
|
H A D | readdir.c | 124 if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM)) in cifs_prime_dcache() 218 if ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_ACL) || in cifs_fill_common_info() 219 (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MODE_FROM_SID)) in cifs_fill_common_info() 222 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_UNX_EMUL && in cifs_fill_common_info() 398 } else if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM) { in _initiate_cifs_search() 415 (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM)) { in _initiate_cifs_search() 416 cifs_sb->mnt_cifs_flags &= ~CIFS_MOUNT_SERVER_INUM; in _initiate_cifs_search() 1003 if (de.ino && (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM)) { in cifs_filldir() 1010 if ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MF_SYMLINKS) && in cifs_filldir()
|
H A D | cifs_fs_sb.h | 57 unsigned int mnt_cifs_flags; member
|
H A D | xattr.c | 150 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()
|
H A D | misc.c | 543 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_SERVER_INUM) { in cifs_autodisable_serverino() 549 cifs_sb->mnt_cifs_flags &= ~CIFS_MOUNT_SERVER_INUM; in cifs_autodisable_serverino() 650 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_BACKUPUID) { in backup_cred() 654 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_CIFS_BACKUPGID) { in backup_cred() 1275 cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_USE_PREFIX_PATH; in cifs_update_super_prepath() 1304 (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_DFS) || in cifs_inval_name_dfs_link_error()
|
H A D | connect.c | 2840 unsigned int oldflags = old->mnt_cifs_flags & CIFS_MOUNT_MASK; in compare_mount_options() 2841 unsigned int newflags = new->mnt_cifs_flags & CIFS_MOUNT_MASK; in compare_mount_options() 2892 bool old_set = (old->mnt_cifs_flags & CIFS_MOUNT_USE_PREFIX_PATH) && in match_prepath() 2894 bool new_set = (new->mnt_cifs_flags & CIFS_MOUNT_USE_PREFIX_PATH) && in match_prepath() 2925 if (CIFS_MOUNT_SHUTDOWN & cifs_sb->mnt_cifs_flags) { in cifs_match_super() 3308 cifs_sb->mnt_cifs_flags |= in reset_cifs_unix_caps() 3317 cifs_sb->mnt_cifs_flags |= in reset_cifs_unix_caps() 3385 cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_RO_CACHE; in cifs_setup_cifs_sb() 3388 cifs_sb->mnt_cifs_flags |= (CIFS_MOUNT_RO_CACHE | in cifs_setup_cifs_sb() 3399 cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_USE_PREFIX_PATH; in cifs_setup_cifs_sb() [all …]
|
H A D | cifs_ioctl.h | 128 if (CIFS_MOUNT_SHUTDOWN & sbi->mnt_cifs_flags) in cifs_forced_shutdown()
|
H A D | cifs_unicode.c | 19 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()
|
H A D | file.c | 709 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_STRICT_IO) in _cifsFileInfo_put() 800 cifs_sb->mnt_cifs_flags & CIFS_MOUNT_STRICT_IO) { in cifs_open() 801 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_BRL) in cifs_open() 944 ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NOPOSIXBRL) == 0)) in cifs_relock_file() 1744 ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NOPOSIXBRL) == 0)) in cifs_push_locks() 2130 ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NOPOSIXBRL) == 0)) in cifs_flock() 2179 ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NOPOSIXBRL) == 0)) in cifs_lock() 2311 if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MULTIUSER)) in find_readable_file() 2367 if (!(cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MULTIUSER)) in cifs_get_writable_file() 3177 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_RWPIDFORWARD) in cifs_write_end() [all …]
|
H A D | smb2misc.c | 461 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()
|
H A D | cifsglob.h | 1564 …oplock & CIFS_CACHE_READ_FLG) || (CIFS_SB(cinode->netfs.inode.i_sb)->mnt_cifs_flags & CIFS_MOUNT_R… 1566 …plock & CIFS_CACHE_WRITE_FLG) || (CIFS_SB(cinode->netfs.inode.i_sb)->mnt_cifs_flags & CIFS_MOUNT_R… 1631 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_POSIX_PATHS) in CIFS_DIR_SEP()
|
H A D | cifsacl.c | 359 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()
|
H A D | smb1ops.c | 1058 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()
|
H A D | ioctl.c | 212 sbi->mnt_cifs_flags |= CIFS_MOUNT_SHUTDOWN; in cifs_shutdown()
|
H A D | link.c | 606 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MF_SYMLINKS) {
|
H A D | cached_dir.c | 127 if ((cifs_sb->mnt_cifs_flags & CIFS_MOUNT_USE_PREFIX_PATH) && in path_no_prefix()
|
H A D | dfs_cache.c | 1281 cifs_sb->mnt_cifs_flags |= CIFS_MOUNT_USE_PREFIX_PATH; in dfs_cache_remount_fs()
|
H A D | smb2ops.c | 936 (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_DFS)) in smb2_is_path_accessible() 5107 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_UNX_EMUL) { in smb2_make_node()
|
H A D | smb2pdu.c | 3111 if ((oparms->cifs_sb->mnt_cifs_flags & CIFS_MOUNT_MODE_FROM_SID) && in SMB2_open_init() 3119 if (oparms->cifs_sb->mnt_cifs_flags & CIFS_MOUNT_UID_FROM_ACL) in SMB2_open_init()
|