Home
last modified time | relevance | path

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

/fs/ksmbd/
Dsmb2ops.c19 .capabilities = SMB2_GLOBAL_CAP_LARGE_MTU,
45 .capabilities = SMB2_GLOBAL_CAP_LARGE_MTU,
72 .capabilities = SMB2_GLOBAL_CAP_LARGE_MTU,
99 .capabilities = SMB2_GLOBAL_CAP_LARGE_MTU,
208 conn->vals->capabilities |= SMB2_GLOBAL_CAP_LEASING; in init_smb2_1_server()
225 conn->vals->capabilities |= SMB2_GLOBAL_CAP_LEASING | in init_smb3_0_server()
230 conn->vals->capabilities |= SMB2_GLOBAL_CAP_ENCRYPTION; in init_smb3_0_server()
233 conn->vals->capabilities |= SMB2_GLOBAL_CAP_MULTI_CHANNEL; in init_smb3_0_server()
250 conn->vals->capabilities |= SMB2_GLOBAL_CAP_LEASING | in init_smb3_02_server()
256 conn->vals->capabilities |= SMB2_GLOBAL_CAP_ENCRYPTION; in init_smb3_02_server()
[all …]
Dsmb2misc.c452 if ((work->conn->vals->capabilities & SMB2_GLOBAL_CAP_LARGE_MTU) && in ksmbd_smb2_check_message()
Dsmb_common.h397 __u32 capabilities; member
Dsmb2pdu.c281 rsp->Capabilities = cpu_to_le32(conn->vals->capabilities); in init_smb2_neg_rsp()
961 return (conn->vals->capabilities & SMB2_GLOBAL_CAP_ENCRYPTION) || in smb3_encryption_negotiated()
1214 rsp->Capabilities = cpu_to_le32(conn->vals->capabilities); in smb2_handle_negotiate()
3214 !(conn->vals->capabilities & SMB2_GLOBAL_CAP_LEASING))) { in smb2_open()
7494 neg_rsp->Capabilities = cpu_to_le32(conn->vals->capabilities); in fsctl_validate_negotiate_info()
/fs/cifs/
Dsess.c98 if (!(ses->server->capabilities & SMB2_GLOBAL_CAP_MULTI_CHANNEL)) { in cifs_try_adding_channels()
329 __u32 capabilities = 0; in cifs_ssetup_hdr() local
348 capabilities = CAP_LARGE_FILES | CAP_NT_SMBS | CAP_LEVEL_II_OPLOCKS | in cifs_ssetup_hdr()
354 if (ses->capabilities & CAP_UNICODE) { in cifs_ssetup_hdr()
356 capabilities |= CAP_UNICODE; in cifs_ssetup_hdr()
358 if (ses->capabilities & CAP_STATUS32) { in cifs_ssetup_hdr()
360 capabilities |= CAP_STATUS32; in cifs_ssetup_hdr()
362 if (ses->capabilities & CAP_DFS) { in cifs_ssetup_hdr()
364 capabilities |= CAP_DFS; in cifs_ssetup_hdr()
366 if (ses->capabilities & CAP_UNIX) in cifs_ssetup_hdr()
[all …]
Dsmb1ops.c455 if (!(server->capabilities & CAP_LARGE_WRITE_X) || in cifs_negotiate_wsize()
456 (!(server->capabilities & CAP_UNIX) && server->sign)) in cifs_negotiate_wsize()
487 else if (server->capabilities & CAP_LARGE_READ_X) in cifs_negotiate_rsize()
498 if (!(server->capabilities & CAP_LARGE_READ_X)) in cifs_negotiate_rsize()
701 if (!(oparms->tcon->ses->capabilities & CAP_NT_SMBS)) in cifs_open_file()
885 if ((tcon->ses->capabilities & CAP_UNIX) && in cifs_queryfs()
893 if (rc && (tcon->ses->capabilities & CAP_NT_SMBS)) in cifs_queryfs()
Dconnect.c1651 if (server->capabilities & SMB2_GLOBAL_CAP_ENCRYPTION) in cifs_setup_ipc()
2251 } else if (tcon->ses->server->capabilities & in cifs_get_tcon()
2292 } else if (ses->server->capabilities & in cifs_get_tcon()
2301 } else if ((tcon->capabilities & SMB2_SHARE_CAP_CONTINUOUS_AVAILABILITY) in cifs_get_tcon()
2302 && (ses->server->capabilities & SMB2_GLOBAL_CAP_PERSISTENT_HANDLES) in cifs_get_tcon()
2319 if (tcon->capabilities & SMB2_SHARE_CAP_CLUSTER) { in cifs_get_tcon()
2369 if (ses->server->capabilities & SMB2_GLOBAL_CAP_DIRECTORY_LEASING) in cifs_get_tcon()
2995 if ((ctx->persistent == true) && (!(ses->server->capabilities & in mount_get_conns()
3669 if (ses->capabilities & CAP_STATUS32) { in CIFSTCon()
3672 if (ses->capabilities & CAP_DFS) { in CIFSTCon()
[all …]
Dcifssmb.c283 if (ses->capabilities & CAP_UNICODE) in small_smb_init_no_tc()
285 if (ses->capabilities & CAP_STATUS32) in small_smb_init_no_tc()
557 server->capabilities = le32_to_cpu(pSMBr->Capabilities); in CIFSSMBNegotiate()
566 server->capabilities & CAP_EXTENDED_SECURITY) { in CIFSSMBNegotiate()
573 server->capabilities &= ~CAP_EXTENDED_SECURITY; in CIFSSMBNegotiate()
656 if (server->capabilities & CAP_UNICODE) in CIFSSMBEcho()
1273 if (tcon->ses->capabilities & CAP_UNIX) in CIFS_open()
1573 if (tcon->ses->capabilities & CAP_LARGE_FILES) in cifs_async_readv()
1645 if (tcon->ses->capabilities & CAP_LARGE_FILES) in CIFSSMBRead()
1758 if (tcon->ses->capabilities & CAP_LARGE_FILES) in CIFSSMBWrite()
[all …]
Dcifsglob.h628 unsigned int capabilities; /* selective disabling of caps by smb sess */ member
922 unsigned int capabilities; member
1004 return ses->server->vals->cap_unix & ses->capabilities; in cap_unix()
1096 __le32 capabilities; member
Dsmb2pdu.c81 (tcon->ses->server->capabilities & SMB2_GLOBAL_CAP_ENCRYPTION)) in smb3_encryption_required()
114 if (server && (server->capabilities & SMB2_GLOBAL_CAP_LARGE_MTU)) in smb2_hdr_assemble()
668 server->capabilities &= ~SMB2_GLOBAL_CAP_ENCRYPTION; in decode_encrypt_ctx()
679 server->capabilities |= SMB2_GLOBAL_CAP_ENCRYPTION; in decode_encrypt_ctx()
1023 server->capabilities = le32_to_cpu(rsp->Capabilities); in SMB2_negotiate()
1025 server->capabilities |= SMB2_NT_FIND | SMB2_LARGE_FILES; in SMB2_negotiate()
1031 if (server->dialect == SMB30_PROT_ID && (server->capabilities & SMB2_GLOBAL_CAP_ENCRYPTION)) in SMB2_negotiate()
1193 SMB2_LARGE_FILES) != server->capabilities) in smb3_validate_negotiate()
1883 tcon->capabilities = rsp->Capabilities; /* we keep caps little endian */ in SMB2_tcon()
1895 !(server->capabilities & SMB2_GLOBAL_CAP_ENCRYPTION)) in SMB2_tcon()
[all …]
Dsmb2ops.c411 if (!(server->capabilities & SMB2_GLOBAL_CAP_LARGE_MTU)) in smb2_negotiate_wsize()
443 if (!(server->capabilities & SMB2_GLOBAL_CAP_LARGE_MTU)) in smb3_negotiate_wsize()
459 if (!(server->capabilities & SMB2_GLOBAL_CAP_LARGE_MTU)) in smb2_negotiate_rsize()
492 if (!(server->capabilities & SMB2_GLOBAL_CAP_LARGE_MTU)) in smb3_negotiate_rsize()
1423 if (tcon->capabilities & SMB2_SHARE_CAP_DFS) in smb2_dump_share_caps()
1425 if (tcon->capabilities & SMB2_SHARE_CAP_CONTINUOUS_AVAILABILITY) in smb2_dump_share_caps()
1427 if (tcon->capabilities & SMB2_SHARE_CAP_SCALEOUT) in smb2_dump_share_caps()
1429 if (tcon->capabilities & SMB2_SHARE_CAP_CLUSTER) in smb2_dump_share_caps()
1431 if (tcon->capabilities & SMB2_SHARE_CAP_ASYMMETRIC) in smb2_dump_share_caps()
1433 if (tcon->capabilities == 0) in smb2_dump_share_caps()
[all …]
Dcifs_debug.c389 ses->capabilities, ses->status); in cifs_debug_data_proc_show()
401 ses->capabilities, ses->status); in cifs_debug_data_proc_show()
Dioctl.c141 fsinf->share_caps = le32_to_cpu(tcon->capabilities); in smb_mnt_get_fsinfo()
Dmisc.c258 if (treeCon->ses->capabilities & CAP_UNICODE) in header_assemble()
260 if (treeCon->ses->capabilities & CAP_STATUS32) in header_assemble()
Dcifs_swn.c354 reg->ip_notify = (tcon->capabilities & SMB2_SHARE_CAP_SCALEOUT); in cifs_get_swn_reg()
Dcifsfs.c172 if (tcon->ses->capabilities & tcon->ses->server->vals->cap_large_files) in cifs_read_super()
185 ((tcon->ses->capabilities & in cifs_read_super()
Dreaddir.c421 else if ((tcon->ses->capabilities & in _initiate_cifs_search()
Dinode.c825 else if ((tcon->ses->capabilities &
1466 if (!(tcon->ses->capabilities & CAP_INFOLEVEL_PASSTHRU)) {
Dfile.c4177 if (!(tcon->ses->capabilities & in cifs_read()
/fs/ocfs2/dlmfs/
Ddlmfs.c86 module_param_call(capabilities, param_set_dlmfs_capabilities,
88 MODULE_PARM_DESC(capabilities, DLMFS_CAPABILITIES);
/fs/cramfs/
DKconfig19 This filesystem is limited in capabilities and performance on
/fs/fuse/
Dinode.c1499 sb->s_bdi->capabilities &= ~BDI_CAP_WRITEBACK_ACCT; in fuse_bdi_init()
1500 sb->s_bdi->capabilities |= BDI_CAP_STRICTLIMIT; in fuse_bdi_init()
/fs/
Dfs-writeback.c2559 (wb->bdi->capabilities & BDI_CAP_WRITEBACK)) in __mark_inode_dirty()