Home
last modified time | relevance | path

Searched refs:ksmbd_debug (Results 1 – 16 of 16) sorted by relevance

/linux-6.6.21/fs/smb/server/
Dauth.c87 ksmbd_debug(AUTH, "could not crypto alloc hmacmd5\n"); in ksmbd_gen_sess_key()
95 ksmbd_debug(AUTH, "hmacmd5 set key fail error %d\n", rc); in ksmbd_gen_sess_key()
101 ksmbd_debug(AUTH, "could not init hmacmd5 error %d\n", rc); in ksmbd_gen_sess_key()
109 ksmbd_debug(AUTH, "Could not update with response error %d\n", rc); in ksmbd_gen_sess_key()
115 ksmbd_debug(AUTH, "Could not generate hmacmd5 hash error %d\n", rc); in ksmbd_gen_sess_key()
134 ksmbd_debug(AUTH, "can't generate ntlmv2 hash\n"); in calc_ntlmv2_hash()
142 ksmbd_debug(AUTH, "Could not set NT Hash as a key\n"); in calc_ntlmv2_hash()
148 ksmbd_debug(AUTH, "could not init hmacmd5\n"); in calc_ntlmv2_hash()
172 ksmbd_debug(AUTH, "Could not update with user\n"); in calc_ntlmv2_hash()
195 ksmbd_debug(AUTH, "Could not update with domain\n"); in calc_ntlmv2_hash()
[all …]
Dsmb2misc.c175 ksmbd_debug(SMB, "no length check for command\n"); in smb2_get_data_area_len()
180 ksmbd_debug(SMB, "offset %d too large\n", *off); in smb2_get_data_area_len()
183 ksmbd_debug(SMB, "Request is larger than maximum stream protocol length(%u): %llu\n", in smb2_get_data_area_len()
226 ksmbd_debug(SMB, "SMB2 data length %u offset %u\n", data_length, in smb2_calc_size()
237 ksmbd_debug(SMB, in smb2_calc_size()
247 ksmbd_debug(SMB, "SMB2 len %u\n", *len); in smb2_calc_size()
329 ksmbd_debug(SMB, "Insufficient credit charge, given: %d, needed: %d\n", in smb2_validate_credit_charge()
333 ksmbd_debug(SMB, "Too large credit charge: %d\n", credit_charge); in smb2_validate_credit_charge()
339 ksmbd_debug(SMB, "Insufficient credits granted, given: %u, granted: %u\n", in smb2_validate_credit_charge()
345ksmbd_debug(SMB, "Limits exceeding the maximum allowable outstanding requests, given : %u, pending… in smb2_validate_credit_charge()
[all …]
Dsmb2pdu.c97 ksmbd_debug(SMB, "skip to check tree connect request\n"); in smb2_get_ksmbd_tcon()
102 ksmbd_debug(SMB, "NO tree connected\n"); in smb2_get_ksmbd_tcon()
276 ksmbd_debug(SMB, "conn->dialect 0x%x\n", conn->dialect); in init_smb2_neg_rsp()
333 ksmbd_debug(SMB, "Insufficient credits granted, given: %u, granted: %u\n", in smb2_set_rsp_credits()
362 ksmbd_debug(SMB, in smb2_set_rsp_credits()
406 ksmbd_debug(SMB, in init_chained_smb2_rsp()
415 ksmbd_debug(SMB, "related flag should be set\n"); in init_chained_smb2_rsp()
468 ksmbd_debug(SMB, "got SMB2 chained command\n"); in is_chained_smb2_message()
479 ksmbd_debug(SMB, "padding len %u\n", len); in is_chained_smb2_message()
606 ksmbd_debug(SMB, "Invalid user session, Uid %llu\n", sess_id); in smb2_check_user_session()
[all …]
Dsmb_common.c108 ksmbd_debug(SMB, "selected %s dialect idx = %d\n", in ksmbd_lookup_protocol_idx()
118 ksmbd_debug(SMB, "selected %s dialect idx = %d\n", in ksmbd_lookup_protocol_idx()
214 ksmbd_debug(SMB, "client requested dialect %s\n", in ksmbd_lookup_dialect_by_name()
218 ksmbd_debug(SMB, in ksmbd_lookup_dialect_by_name()
242 ksmbd_debug(SMB, "client requested dialect 0x%x\n", in ksmbd_lookup_dialect_by_id()
249 ksmbd_debug(SMB, "selected %s dialect\n", in ksmbd_lookup_dialect_by_id()
570 ksmbd_debug(SMB, "Unsupported SMB1 protocol\n"); in smb_handle_negotiate()
590 ksmbd_debug(SMB, "conn->dialect 0x%x\n", conn->dialect); in ksmbd_smb_negotiate_common()
601 ksmbd_debug(SMB, "Upgrade to SMB2 negotiation\n"); in ksmbd_smb_negotiate_common()
632 ksmbd_debug(SMB, "%s\n", shared_mode_errors[error]); in smb_shared_mode_error()
[all …]
Dvfs.c219 ksmbd_debug(VFS, "path create failed for %s, err %d\n", in ksmbd_vfs_mkdir()
266 ksmbd_debug(VFS, "%s, len %zd\n", name, strlen(name)); in ksmbd_vfs_getcasexattr()
290 ksmbd_debug(VFS, "read stream data pos : %llu, count : %zd\n", in ksmbd_vfs_stream_read()
422 ksmbd_debug(VFS, "write stream data pos : %llu, count : %zd\n", in ksmbd_vfs_stream_write()
528 ksmbd_debug(VFS, "smb write failed, err = %d\n", err); in ksmbd_vfs_write()
612 ksmbd_debug(VFS, "rmdir failed, err %d\n", err); in ksmbd_vfs_remove_file()
616 ksmbd_debug(VFS, "unlink failed, err %d\n", err); in ksmbd_vfs_remove_file()
667 ksmbd_debug(VFS, "vfs_link failed err %d\n", err); in ksmbd_vfs_link()
773 ksmbd_debug(VFS, "vfs_rename failed err %d\n", err); in ksmbd_vfs_rename()
861 ksmbd_debug(VFS, "listxattr failed\n"); in ksmbd_vfs_listxattr()
[all …]
Dtransport_rdma.c418 ksmbd_debug(RDMA, "wait for all send posted to IB to finish\n"); in free_transport()
432 ksmbd_debug(RDMA, "drain the reassembly queue\n"); in free_transport()
499 ksmbd_debug(RDMA, in smb_direct_check_recvmsg()
510 ksmbd_debug(RDMA, in smb_direct_check_recvmsg()
554 ksmbd_debug(RDMA, "Recv completed. status='%s (%d)', opcode=%d\n", in recv_done()
731 ksmbd_debug(RDMA, in smb_direct_read()
782 ksmbd_debug(RDMA, in smb_direct_read()
790 ksmbd_debug(RDMA, "wait_event on more data\n"); in smb_direct_read()
863 ksmbd_debug(RDMA, "Send completed. status='%s (%d)', opcode=%d\n", in send_done()
1046 ksmbd_debug(RDMA, in smb_direct_create_header()
[all …]
Dmisc.c96 ksmbd_debug(VFS, "File name validation failed: 0x%x\n", c); in ksmbd_validate_filename()
127 ksmbd_debug(SMB, "filename : %s, streams : %s\n", filename, s_name); in parse_stream_name()
138 ksmbd_debug(SMB, "stream name : %s, stream type : %s\n", s_name, in parse_stream_name()
Dsmbacl.c141 ksmbd_debug(SMB, "all perms\n"); in access_flags_to_mode()
158 ksmbd_debug(SMB, "access flags 0x%x mode now %04o\n", flags, mode); in access_flags_to_mode()
189 ksmbd_debug(SMB, "mode: %o, access flags now 0x%x\n", in mode_to_access_flags()
390 ksmbd_debug(SMB, "DACL revision %d size %d num aces %d\n", in parse_dacl()
836 ksmbd_debug(SMB, in parse_sec_desc()
844 ksmbd_debug(SMB, "DACL_PRESENT in DACL type is not set\n"); in parse_sec_desc()
1233 ksmbd_debug(SMB, "check permission using windows acl\n"); in smb_check_perm_dacl()
1350 ksmbd_debug(SMB, "Can't find corresponding sid\n"); in smb_check_perm_dacl()
1369 ksmbd_debug(SMB, "Access denied with winACL, granted : %x, access_req : %x\n", in smb_check_perm_dacl()
1417 ksmbd_debug(SMB, in set_info_sec()
[all …]
Dasn1.c172 ksmbd_debug(AUTH, "Unexpected OID: %s\n", buf); in ksmbd_gssapi_this_mech()
200 ksmbd_debug(AUTH, "Unexpected OID: %s\n", buf); in ksmbd_neg_token_init_mech_type()
Dndr.c245 ksmbd_debug(VFS, "v%d version is not supported\n", da->version); in ndr_decode_dos_attr()
254 ksmbd_debug(VFS, "ndr version mismatched(version: %d, version2: %d)\n", in ndr_decode_dos_attr()
460 ksmbd_debug(VFS, "v%d version is not supported\n", acl->version); in ndr_decode_v4_ntacl()
468 ksmbd_debug(VFS, "ndr version mismatched(version: %d, version2: %d)\n", in ndr_decode_v4_ntacl()
Dglob.h41 #define ksmbd_debug(type, fmt, ...) \ macro
Doplock.c347 ksmbd_debug(OPLOCK, "bad lease state(0x%x)\n", lease->state); in lease_read_to_write()
372 ksmbd_debug(OPLOCK, "bad lease state(0x%x)\n", lease->state); in lease_none_upgrade()
687 ksmbd_debug(OPLOCK, in __smb2_oplock_break_noti()
754 ksmbd_debug(OPLOCK, "smb2_allocate_rsp_buf failed! "); in __smb2_lease_break_noti()
881 ksmbd_debug(OPLOCK, in oplock_break()
939 ksmbd_debug(OPLOCK, "oplock granted = %d\n", brk_opinfo->level); in oplock_break()
1016 ksmbd_debug(OPLOCK, in find_same_lease_key()
1377 ksmbd_debug(OPLOCK, "unexpected lease state(0x%x)\n", in smb_break_all_levII_oplock()
1382 ksmbd_debug(OPLOCK, "unexpected oplock(0x%x)\n", in smb_break_all_levII_oplock()
1802 ksmbd_debug(OPLOCK, "found opinfo\n"); in lookup_lease_in_table()
Dconnection.c254 ksmbd_debug(CONN, "No response from client in %lu minutes\n", in ksmbd_conn_alive()
300 ksmbd_debug(CONN, "RFC1002 header %u bytes\n", pdu_size); in ksmbd_conn_handler_loop()
Dserver.c134 ksmbd_debug(SMB, "*** not implemented yet cmd = %x\n", command); in __process_request()
150 ksmbd_debug(CONN, "Failed to process %u [%d]\n", command, ret); in __process_request()
Dtransport_tcp.c256 ksmbd_debug(CONN, "connect success: accepted new connection\n"); in ksmbd_kthread_fn()
263 ksmbd_debug(CONN, "releasing socket\n"); in ksmbd_kthread_fn()
/linux-6.6.21/fs/smb/server/mgmt/
Dshare_config.c177 ksmbd_debug(SMB, "failed to access '%s'\n", in share_config_request()