• Home
  • Raw
  • Download

Lines Matching full:smb

56  * check_session_id() - check for valid session id in smb header
58 * @id: session id from smb header
85 * @work: smb work
99 ksmbd_debug(SMB, "skip to check tree connect request\n"); in smb2_get_ksmbd_tcon()
104 ksmbd_debug(SMB, "NO tree connected\n"); in smb2_get_ksmbd_tcon()
137 * smb2_set_err_rsp() - set error response code on smb response
138 * @work: smb work containing response buffer
167 * @work: smb work containing smb header
191 * @work: smb work containing smb response buffer
211 * get_smb2_cmd_val() - get smb command code from smb header
212 * @work: smb work containing smb request buffer
229 * @work: smb work containing response buffer
247 * @work: smb work containing smb request buffer
278 ksmbd_debug(SMB, "conn->dialect 0x%x\n", conn->dialect); in init_smb2_neg_rsp()
311 * @work: smb work containing smb response buffer
335 ksmbd_debug(SMB, "Insufficient credits granted, given: %u, granted: %u\n", in smb2_set_rsp_credits()
364 ksmbd_debug(SMB, in smb2_set_rsp_credits()
373 * @work: smb work containing smb response buffer
408 ksmbd_debug(SMB, in init_chained_smb2_rsp()
417 ksmbd_debug(SMB, "related flag should be set\n"); in init_chained_smb2_rsp()
441 * @work: smb work containing smb request buffer
459 pr_err("next command(%u) offset exceeds smb msg size\n", in is_chained_smb2_message()
470 ksmbd_debug(SMB, "got SMB2 chained command\n"); in is_chained_smb2_message()
481 ksmbd_debug(SMB, "padding len %u\n", len); in is_chained_smb2_message()
492 * @work: smb work containing smb request buffer
522 * @work: smb work containing smb request buffer
566 * @work: smb work containing smb request buffer
612 ksmbd_debug(SMB, "Invalid user session, Uid %llu\n", sess_id); in smb2_check_user_session()
617 * smb2_get_name() - get filename string from on the wire smb format
664 ksmbd_debug(SMB, in setup_async_work()
838 ksmbd_debug(SMB, in assemble_neg_contexts()
847 ksmbd_debug(SMB, in assemble_neg_contexts()
861 ksmbd_debug(SMB, in assemble_neg_contexts()
871 ksmbd_debug(SMB, in assemble_neg_contexts()
934 ksmbd_debug(SMB, "Cipher ID = 0x%x\n", in decode_encrypt_ctxt()
944 * @conn: smb connection
954 * SMB 3.0 and 3.0.2 dialects use the SMB2_GLOBAL_CAP_ENCRYPTION flag. in smb3_encryption_negotiated()
955 * SMB 3.1.1 uses the cipher_type field. in smb3_encryption_negotiated()
992 ksmbd_debug(SMB, "Signing Algorithm ID = 0x%x\n", in decode_sign_cap_ctxt()
1013 ksmbd_debug(SMB, "decoding %d negotiate contexts\n", neg_ctxt_cnt); in deassemble_neg_contexts()
1015 ksmbd_debug(SMB, "Invalid response: negotiate context offset\n"); in deassemble_neg_contexts()
1035 ksmbd_debug(SMB, in deassemble_neg_contexts()
1046 ksmbd_debug(SMB, in deassemble_neg_contexts()
1055 ksmbd_debug(SMB, in deassemble_neg_contexts()
1063 ksmbd_debug(SMB, in deassemble_neg_contexts()
1066 ksmbd_debug(SMB, in deassemble_neg_contexts()
1070 ksmbd_debug(SMB, in deassemble_neg_contexts()
1087 * @work: smb work containing smb request buffer
1100 ksmbd_debug(SMB, "Received negotiate request\n"); in smb2_handle_negotiate()
1204 ksmbd_debug(SMB, "Server dialect :0x%x not supported\n", in smb2_handle_negotiate()
1232 ksmbd_debug(SMB, "negotiate context offset %d, count %d\n", in smb2_handle_negotiate()
1342 ksmbd_debug(SMB, "negotiate phase\n"); in ntlm_negotiate()
1416 ksmbd_debug(SMB, "blob len %d too small\n", secbuf_len); in session_user()
1435 ksmbd_debug(SMB, "session setup request for user %s\n", name); in session_user()
1452 ksmbd_debug(SMB, "authenticate phase\n"); in ntlm_authenticate()
1470 ksmbd_debug(SMB, "Unknown user name or an error\n"); in ntlm_authenticate()
1511 ksmbd_debug(SMB, "authentication failed\n"); in ntlm_authenticate()
1536 ksmbd_debug(SMB, in ntlm_authenticate()
1566 ksmbd_debug(SMB, "SMB3 signing key generation failed\n"); in ntlm_authenticate()
1602 ksmbd_debug(SMB, "krb5 authentication failed\n"); in krb5_authenticate()
1620 ksmbd_debug(SMB, in krb5_authenticate()
1645 ksmbd_debug(SMB, "SMB3 signing key generation failed\n"); in krb5_authenticate()
1675 ksmbd_debug(SMB, "Received request for session setup\n"); in smb2_sess_setup()
1935 * @work: smb work containing smb request buffer
1967 ksmbd_debug(SMB, "tree connect request for tree %s treename %s\n", in smb2_tree_connect()
1978 ksmbd_debug(SMB, "IPC share path request\n"); in smb2_tree_connect()
2061 * smb2_create_open_flags() - convert smb open flags to unix open flags
2079 ksmbd_debug(SMB, "Discard write access to a directory\n"); in smb2_create_open_flags()
2131 * smb2_tree_disconnect() - handler for smb tree connect request
2132 * @work: smb work containing request buffer
2146 ksmbd_debug(SMB, "request\n"); in smb2_tree_disconnect()
2149 ksmbd_debug(SMB, "Invalid tid %d\n", req->hdr.Id.SyncId.TreeId); in smb2_tree_disconnect()
2196 * @work: smb work containing request buffer
2211 ksmbd_debug(SMB, "request\n"); in smb2_session_logoff()
2228 ksmbd_debug(SMB, "Invalid tid %d\n", req->hdr.Id.SyncId.TreeId); in smb2_session_logoff()
2256 * @work: smb work containing request buffer
2358 ksmbd_debug(SMB, in smb2_set_ea()
2391 ksmbd_debug(SMB, in smb2_set_ea()
2405 ksmbd_debug(SMB, in smb2_set_ea()
2462 ksmbd_debug(SMB, "XATTR stream name lookup failed: %d\n", rc); in smb2_set_stream_name_xattr()
2483 ksmbd_debug(SMB, "empty xattr in the file\n"); in smb2_remove_smb_xattrs()
2489 ksmbd_debug(SMB, "%s, len %zd\n", name, strlen(name)); in smb2_remove_smb_xattrs()
2497 ksmbd_debug(SMB, "remove xattr failed : %s\n", in smb2_remove_smb_xattrs()
2519 ksmbd_debug(SMB, in smb2_create_truncate()
2543 ksmbd_debug(SMB, "failed to store file attribute into xattr\n"); in smb2_new_xattrs()
2580 ksmbd_debug(SMB, "file does not exist, so creating\n"); in smb2_creat()
2582 ksmbd_debug(SMB, "creating directory\n"); in smb2_creat()
2589 ksmbd_debug(SMB, "creating regular file\n"); in smb2_creat()
2623 ksmbd_debug(SMB, in smb2_create_sd_buffer()
2715 ksmbd_debug(SMB, "Failed to get durable handle state\n"); in parse_durable_handle_context()
2729 ksmbd_debug(SMB, in parse_durable_handle_context()
2755 ksmbd_debug(SMB, "Failed to get durable handle state\n"); in parse_durable_handle_context()
2762 ksmbd_debug(SMB, "reconnect Persistent-id from reconnect = %llu\n", in parse_durable_handle_context()
2785 ksmbd_debug(SMB, "Request for durable v2 open\n"); in parse_durable_handle_context()
2824 ksmbd_debug(SMB, "Request for durable open\n"); in parse_durable_handle_context()
2835 * smb2_open() - handler for smb file open request
2836 * @work: smb work containing request buffer
2878 ksmbd_debug(SMB, "invalid flag in chained command\n"); in smb2_open()
2885 ksmbd_debug(SMB, "IPC pipe create request\n"); in smb2_open()
2903 ksmbd_debug(SMB, "get posix context\n"); in smb2_open()
2920 ksmbd_debug(SMB, "converted name = %s\n", name); in smb2_open()
2940 ksmbd_debug(SMB, "Reject open(), vetoed file: %s\n", in smb2_open()
2959 ksmbd_debug(SMB, "error parsing durable handle context\n"); in smb2_open()
3079 ksmbd_debug(SMB, in smb2_open()
3090 ksmbd_debug(SMB, "get timewarp context\n"); in smb2_open()
3118 ksmbd_debug(SMB, in smb2_open()
3133 ksmbd_debug(SMB, "can not get linux path for %s, rc = %d\n", in smb2_open()
3165 ksmbd_debug(SMB, "open() argument is a directory: %s, %x\n", in smb2_open()
3215 ksmbd_debug(SMB, in smb2_open()
3334 ksmbd_debug(SMB, "inherit posix acl failed : %d\n", posix_acl_rc); in smb2_open()
3460 ksmbd_debug(SMB, in smb2_open()
3507 ksmbd_debug(SMB, in smb2_open()
3514 ksmbd_debug(SMB, in smb2_open()
3524 ksmbd_debug(SMB, "get query on disk id context\n"); in smb2_open()
3609 ksmbd_debug(SMB, "lease granted on(%s) lease state 0x%x\n", in smb2_open()
3748 ksmbd_debug(SMB, "Error response: %x\n", rsp->hdr.Status); in smb2_open()
3861 * @info_level: smb information level
4074 ksmbd_debug(SMB, in smb2_populate_readdir_entry()
4128 ksmbd_debug(SMB, "Cannot lookup `%s' [%ld]\n", in process_query_dir_entries()
4135 ksmbd_debug(SMB, "Negative dentry `%s'\n", in process_query_dir_entries()
4398 ksmbd_debug(SMB, "Search Pattern not found\n"); in smb2_query_dir()
4402 ksmbd_debug(SMB, "Search pattern is %s\n", srch_ptr); in smb2_query_dir()
4406 ksmbd_debug(SMB, "Restart directory scan\n"); in smb2_query_dir()
4607 ksmbd_debug(SMB, "FileInfoClass %u, FileId 0x%llx\n", in smb2_get_info_file_pipe()
4622 ksmbd_debug(SMB, "smb2_info_file_pipe for %u not supported\n", in smb2_get_info_file_pipe()
4631 * @work: smb work containing query info command buffer
4669 ksmbd_debug(SMB, in smb2_get_ea()
4685 ksmbd_debug(SMB, "no ea data in the file\n"); in smb2_get_ea()
4699 ksmbd_debug(SMB, "%s, len %d\n", name, name_len); in smb2_get_ea()
4776 ksmbd_debug(SMB, "single entry requested\n"); in smb2_get_ea()
4891 ksmbd_debug(SMB, "no right to read the attributes : 0x%x\n", in get_file_all_info()
4905 ksmbd_debug(SMB, "filename = %s\n", filename); in get_file_all_info()
4996 ksmbd_debug(SMB, "empty xattr in the file\n"); in get_file_stream_info()
5005 ksmbd_debug(SMB, "%s, len %d\n", stream_name, streamlen); in get_file_stream_info()
5289 ksmbd_debug(SMB, "Compound request set FID = %llu\n", in smb2_get_info_file()
5376 ksmbd_debug(SMB, "fileinfoclass %d not supported yet\n", in smb2_get_info_file()
5622 ksmbd_debug(SMB, "Unsupported addition info: 0x%x)\n", in smb2_get_info_sec()
5640 ksmbd_debug(SMB, "Compound request set FID = %llu\n", in smb2_get_info_sec()
5683 * @work: smb work containing query info request buffer
5695 ksmbd_debug(SMB, "GOT query info request\n"); in smb2_query_info()
5704 ksmbd_debug(SMB, "GOT SMB2_O_INFO_FILE\n"); in smb2_query_info()
5708 ksmbd_debug(SMB, "GOT SMB2_O_INFO_FILESYSTEM\n"); in smb2_query_info()
5712 ksmbd_debug(SMB, "GOT SMB2_O_INFO_SECURITY\n"); in smb2_query_info()
5716 ksmbd_debug(SMB, "InfoType %d not supported yet\n", in smb2_query_info()
5744 ksmbd_debug(SMB, "error while processing smb2 query rc = %d\n", in smb2_query_info()
5753 * @work: smb work containing close request buffer
5785 * @work: smb work containing close request buffer
5804 ksmbd_debug(SMB, "IPC pipe close request\n"); in smb2_close()
5827 ksmbd_debug(SMB, "file already closed\n"); in smb2_close()
5832 ksmbd_debug(SMB, in smb2_close()
5845 ksmbd_debug(SMB, "volatile_id = %llu\n", volatile_id); in smb2_close()
5908 * @work: smb work containing echo request buffer
5933 ksmbd_debug(SMB, "setting FILE_RENAME_INFO\n"); in smb2_rename()
5978 ksmbd_debug(SMB, "new name %s\n", new_name); in smb2_rename()
5981 ksmbd_debug(SMB, "Can't rename vetoed file: %s\n", new_name); in smb2_rename()
6011 ksmbd_debug(SMB, "setting FILE_LINK_INFORMATION\n"); in smb2_create_link()
6024 ksmbd_debug(SMB, "link name is %s\n", link_name); in smb2_create_link()
6031 ksmbd_debug(SMB, "target name is %s\n", target_name); in smb2_create_link()
6045 ksmbd_debug(SMB, "cannot delete %s\n", in smb2_create_link()
6053 ksmbd_debug(SMB, "link already exists\n"); in smb2_create_link()
6132 ksmbd_debug(SMB, in set_file_basic_info()
6158 * properly with any smb.conf option in set_file_allocation_info()
6228 ksmbd_debug(SMB, "truncated to newsize %lld\n", newsize); in set_end_of_file_info()
6231 ksmbd_debug(SMB, "truncate failed!, err %d\n", rc); in set_end_of_file_info()
6327 * @work: smb work containing set info command buffer
6440 * @work: smb work containing set info request buffer
6452 ksmbd_debug(SMB, "Received set info request\n"); in smb2_set_info()
6458 ksmbd_debug(SMB, "Compound request set FID = %llu\n", in smb2_set_info()
6469 ksmbd_debug(SMB, "User does not have write permission\n"); in smb2_set_info()
6482 ksmbd_debug(SMB, "Invalid id for close: %u\n", id); in smb2_set_info()
6489 ksmbd_debug(SMB, "GOT SMB2_O_INFO_FILE\n"); in smb2_set_info()
6493 ksmbd_debug(SMB, "GOT SMB2_O_INFO_SECURITY\n"); in smb2_set_info()
6540 ksmbd_debug(SMB, "error while processing smb2 query rc = %d\n", rc); in smb2_set_info()
6546 * @work: smb work containing read IPC pipe command buffer
6659 * @work: smb work containing read command buffer
6680 ksmbd_debug(SMB, "IPC pipe read request\n"); in smb2_read()
6688 ksmbd_debug(SMB, "Compound request set FID = %llu\n", in smb2_read()
6746 ksmbd_debug(SMB, "limiting read size to max size(%u)\n", in smb2_read()
6752 ksmbd_debug(SMB, "filename %pD, offset %lld, len %zu\n", in smb2_read()
6775 ksmbd_debug(SMB, "nbytes %zu, offset %lld mincount %zu\n", in smb2_read()
6833 * @work: smb work containing write IPC pipe command buffer
6930 * @work: smb work containing write command buffer
6950 ksmbd_debug(SMB, "IPC pipe write request\n"); in smb2_write()
6984 ksmbd_debug(SMB, "User does not have write permission\n"); in smb2_write()
7002 ksmbd_debug(SMB, "limiting write size to max size(%u)\n", in smb2_write()
7008 ksmbd_debug(SMB, "flags %u\n", le32_to_cpu(req->Flags)); in smb2_write()
7022 ksmbd_debug(SMB, "filename %pD, offset %lld, len %zu\n", in smb2_write()
7075 * @work: smb work containing flush command buffer
7087 ksmbd_debug(SMB, "SMB2_FLUSH called for fid %llu\n", req->VolatileFileId); in smb2_flush()
7105 * @work: smb work containing cancel command buffer
7120 ksmbd_debug(SMB, "smb2 cancel called on mid %llu, async flags 0x%x\n", in smb2_cancel()
7135 ksmbd_debug(SMB, in smb2_cancel()
7156 ksmbd_debug(SMB, in smb2_cancel()
7199 ksmbd_debug(SMB, "received shared request\n"); in smb2_set_flock_flags()
7205 ksmbd_debug(SMB, "received exclusive request\n"); in smb2_set_flock_flags()
7211 ksmbd_debug(SMB, in smb2_set_flock_flags()
7217 ksmbd_debug(SMB, in smb2_set_flock_flags()
7223 ksmbd_debug(SMB, "received unlock request\n"); in smb2_set_flock_flags()
7273 * @work: smb work containing lock command buffer
7299 ksmbd_debug(SMB, "Received lock request\n"); in smb2_lock()
7302 ksmbd_debug(SMB, "Invalid file id for lock : %llu\n", req->VolatileFileId); in smb2_lock()
7311 ksmbd_debug(SMB, "lock count is %d\n", lock_count); in smb2_lock()
7347 ksmbd_debug(SMB, in smb2_lock()
7491 ksmbd_debug(SMB, "File unlocked\n"); in smb2_lock()
7502 ksmbd_debug(SMB, in smb2_lock()
7564 ksmbd_debug(SMB, "successful in taking lock\n"); in smb2_lock()
7575 ksmbd_debug(SMB, "successful in taking lock\n"); in smb2_lock()
7616 ksmbd_debug(SMB, "failed in taking lock(flags : %x), err : %d\n", flags, err); in smb2_lock()
7811 ksmbd_debug(SMB, "%s %s\n", netdev->name, in fsctl_query_iface_info_ioctl()
8053 * @work: smb work containing ioctl command buffer
8071 ksmbd_debug(SMB, "Compound request set FID = %llu\n", in smb2_ioctl()
8180 ksmbd_debug(SMB, in smb2_ioctl()
8224 ksmbd_debug(SMB, in smb2_ioctl()
8334 * beneficial when re-exporting nfs/smb mount, but note that in smb2_ioctl()
8365 ksmbd_debug(SMB, "not implemented yet ioctl command 0x%x\n", in smb2_ioctl()
8401 * @work: smb work containing oplock break command buffer
8447 ksmbd_debug(SMB, "unexpected oplock state 0x%x\n", opinfo->op_state); in smb20_oplock_break_ack()
8541 * @work: smb work containing lease break command buffer
8673 * @work: smb work containing oplock/lease break command buffer
8703 * @work: smb work containing notify command buffer
8727 * @work: smb work containing notify command buffer
8747 * @work: smb work containing notify command buffer
8791 * @work: smb work containing notify command buffer
8819 * @work: smb work containing notify command buffer
8879 * @work: smb work containing notify command buffer
8925 * @work: smb work containing response buffer