Home
last modified time | relevance | path

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

/Linux-v5.15/fs/ksmbd/
Dauth.c86 ksmbd_debug(AUTH, "could not crypto alloc hmacmd5\n"); in ksmbd_gen_sess_key()
94 ksmbd_debug(AUTH, "hmacmd5 set key fail error %d\n", rc); in ksmbd_gen_sess_key()
100 ksmbd_debug(AUTH, "could not init hmacmd5 error %d\n", rc); in ksmbd_gen_sess_key()
108 ksmbd_debug(AUTH, "Could not update with response error %d\n", rc); in ksmbd_gen_sess_key()
114 ksmbd_debug(AUTH, "Could not generate hmacmd5 hash error %d\n", rc); in ksmbd_gen_sess_key()
133 ksmbd_debug(AUTH, "can't generate ntlmv2 hash\n"); in calc_ntlmv2_hash()
141 ksmbd_debug(AUTH, "Could not set NT Hash as a key\n"); in calc_ntlmv2_hash()
147 ksmbd_debug(AUTH, "could not init hmacmd5\n"); in calc_ntlmv2_hash()
171 ksmbd_debug(AUTH, "Could not update with user\n"); in calc_ntlmv2_hash()
194 ksmbd_debug(AUTH, "Could not update with domain\n"); in calc_ntlmv2_hash()
[all …]
Dsmb2misc.c173 ksmbd_debug(SMB, "no length check for command\n"); in smb2_get_data_area_len()
178 ksmbd_debug(SMB, "offset %d too large\n", *off); in smb2_get_data_area_len()
181 ksmbd_debug(SMB, "Request is larger than maximum stream protocol length(%u): %llu\n", in smb2_get_data_area_len()
224 ksmbd_debug(SMB, "SMB2 data length %u offset %u\n", data_length, in smb2_calc_size()
235 ksmbd_debug(SMB, in smb2_calc_size()
245 ksmbd_debug(SMB, "SMB2 len %u\n", *len); in smb2_calc_size()
327 ksmbd_debug(SMB, "Insufficient credit charge, given: %d, needed: %d\n", in smb2_validate_credit_charge()
331 ksmbd_debug(SMB, "Too large credit charge: %d\n", credit_charge); in smb2_validate_credit_charge()
340 ksmbd_debug(SMB, "Insufficient credits granted, given: %u, granted: %u\n", in smb2_validate_credit_charge()
372 ksmbd_debug(SMB, "Illegal structure size %u\n", in ksmbd_smb2_check_message()
[all …]
Dsmb2pdu.c103 ksmbd_debug(SMB, "skip to check tree connect request\n"); in smb2_get_ksmbd_tcon()
108 ksmbd_debug(SMB, "NO tree connected\n"); in smb2_get_ksmbd_tcon()
264 ksmbd_debug(SMB, "conn->dialect 0x%x\n", conn->dialect); in init_smb2_neg_rsp()
349 ksmbd_debug(SMB, in smb2_set_rsp_credits()
396 ksmbd_debug(SMB, in init_chained_smb2_rsp()
405 ksmbd_debug(SMB, "related flag should be set\n"); in init_chained_smb2_rsp()
458 ksmbd_debug(SMB, "got SMB2 chained command\n"); in is_chained_smb2_message()
469 ksmbd_debug(SMB, "padding len %u\n", len); in is_chained_smb2_message()
587 ksmbd_debug(SMB, "Invalid user session, Uid %llu\n", sess_id); in smb2_check_user_session()
657 ksmbd_debug(SMB, in setup_async_work()
[all …]
Dsmb_common.c106 ksmbd_debug(SMB, "selected %s dialect idx = %d\n", in ksmbd_lookup_protocol_idx()
116 ksmbd_debug(SMB, "selected %s dialect idx = %d\n", in ksmbd_lookup_protocol_idx()
194 ksmbd_debug(SMB, "client requested dialect %s\n", in ksmbd_lookup_dialect_by_name()
198 ksmbd_debug(SMB, in ksmbd_lookup_dialect_by_name()
222 ksmbd_debug(SMB, "client requested dialect 0x%x\n", in ksmbd_lookup_dialect_by_id()
229 ksmbd_debug(SMB, "selected %s dialect\n", in ksmbd_lookup_dialect_by_id()
438 ksmbd_debug(SMB, "Unsupported SMB protocol\n"); in smb_handle_negotiate()
449 ksmbd_debug(SMB, "conn->dialect 0x%x\n", conn->dialect); in ksmbd_smb_negotiate_common()
455 ksmbd_debug(SMB, "Downgrade to SMB1 negotiation\n"); in ksmbd_smb_negotiate_common()
471 ksmbd_debug(SMB, "Upgrade to SMB2 negotiation\n"); in ksmbd_smb_negotiate_common()
[all …]
Dvfs.c214 ksmbd_debug(VFS, "path create failed for %s, err %d\n", in ksmbd_vfs_mkdir()
262 ksmbd_debug(VFS, "%s, len %zd\n", name, strlen(name)); in ksmbd_vfs_getcasexattr()
286 ksmbd_debug(VFS, "read stream data pos : %llu, count : %zd\n", in ksmbd_vfs_stream_read()
419 ksmbd_debug(VFS, "write stream data pos : %llu, count : %zd\n", in ksmbd_vfs_stream_write()
523 ksmbd_debug(VFS, "smb write failed, err = %d\n", err); in ksmbd_vfs_write()
601 ksmbd_debug(VFS, "can't get %s, err %d\n", name, err); in ksmbd_vfs_remove_file()
624 ksmbd_debug(VFS, "%s: rmdir failed, err %d\n", name, in ksmbd_vfs_remove_file()
629 ksmbd_debug(VFS, "%s: unlink failed, err %d\n", name, in ksmbd_vfs_remove_file()
684 ksmbd_debug(VFS, "vfs_link failed err %d\n", err); in ksmbd_vfs_link()
709 ksmbd_debug(VFS, "Forbid rename, sub file/dir is in use\n"); in ksmbd_validate_entry_in_use()
[all …]
Dmisc.c95 ksmbd_debug(VFS, "File name validation failed: 0x%x\n", c); in ksmbd_validate_filename()
126 ksmbd_debug(SMB, "filename : %s, streams : %s\n", filename, s_name); in parse_stream_name()
137 ksmbd_debug(SMB, "stream name : %s, stream type : %s\n", s_name, in parse_stream_name()
Dtransport_rdma.c406 ksmbd_debug(RDMA, "wait for all send posted to IB to finish\n"); in free_transport()
421 ksmbd_debug(RDMA, "drain the reassembly queue\n"); in free_transport()
488 ksmbd_debug(RDMA, in smb_direct_check_recvmsg()
499 ksmbd_debug(RDMA, in smb_direct_check_recvmsg()
543 ksmbd_debug(RDMA, "Recv completed. status='%s (%d)', opcode=%d\n", in recv_done()
718 ksmbd_debug(RDMA, in smb_direct_read()
769 ksmbd_debug(RDMA, in smb_direct_read()
777 ksmbd_debug(RDMA, "wait_event on more data\n"); in smb_direct_read()
850 ksmbd_debug(RDMA, "Send completed. status='%s (%d)', opcode=%d\n", in send_done()
1034 ksmbd_debug(RDMA, in smb_direct_create_header()
[all …]
Dconnection.c257 ksmbd_debug(CONN, "No response from client in %lu minutes\n", in ksmbd_conn_alive()
299 ksmbd_debug(CONN, "RFC1002 header %u bytes\n", pdu_size); in ksmbd_conn_handler_loop()
398 ksmbd_debug(CONN, "Stop session handler %s/%d\n", in stop_sessions()
Dsmbacl.c140 ksmbd_debug(SMB, "all perms\n"); in access_flags_to_mode()
157 ksmbd_debug(SMB, "access flags 0x%x mode now %04o\n", flags, mode); in access_flags_to_mode()
188 ksmbd_debug(SMB, "mode: %o, access flags now 0x%x\n", in mode_to_access_flags()
401 ksmbd_debug(SMB, "DACL revision %d size %d num aces %d\n", in parse_dacl()
833 ksmbd_debug(SMB, in parse_sec_desc()
841 ksmbd_debug(SMB, "DACL_PRESENT in DACL type is not set\n"); in parse_sec_desc()
1180 ksmbd_debug(SMB, "check permission using windows acl\n"); in smb_check_perm_dacl()
1289 ksmbd_debug(SMB, "Can't find corresponding sid\n"); in smb_check_perm_dacl()
1308 ksmbd_debug(SMB, "Access denied with winACL, granted : %x, access_req : %x\n", in smb_check_perm_dacl()
1356 ksmbd_debug(SMB, in set_info_sec()
[all …]
Dglob.h41 #define ksmbd_debug(type, fmt, ...) \ macro
Doplock.c316 ksmbd_debug(OPLOCK, "bad lease state(0x%x)\n", lease->state); in lease_read_to_write()
341 ksmbd_debug(OPLOCK, "bad lease state(0x%x)\n", lease->state); in lease_none_upgrade()
664 ksmbd_debug(OPLOCK, in __smb2_oplock_break_noti()
733 ksmbd_debug(OPLOCK, "smb2_allocate_rsp_buf failed! "); in __smb2_lease_break_noti()
861 ksmbd_debug(OPLOCK, in oplock_break()
918 ksmbd_debug(OPLOCK, "oplock granted = %d\n", brk_opinfo->level); in oplock_break()
995 ksmbd_debug(OPLOCK, in find_same_lease_key()
1260 ksmbd_debug(OPLOCK, "unexpected lease state(0x%x)\n", in smb_break_all_levII_oplock()
1265 ksmbd_debug(OPLOCK, "unexpected oplock(0x%x)\n", in smb_break_all_levII_oplock()
1689 ksmbd_debug(OPLOCK, "found opinfo\n"); in lookup_lease_in_table()
Dasn1.c272 ksmbd_debug(AUTH, "Unexpected OID: %s\n", buf); in ksmbd_gssapi_this_mech()
311 ksmbd_debug(AUTH, "Unexpected OID: %s\n", buf); in ksmbd_neg_token_init_mech_type()
Dserver.c131 ksmbd_debug(SMB, "*** not implemented yet cmd = %x\n", command); in __process_request()
147 ksmbd_debug(CONN, "Failed to process %u [%d]\n", command, ret); in __process_request()
Dtransport_tcp.c242 ksmbd_debug(CONN, "connect success: accepted new connection\n"); in ksmbd_kthread_fn()
249 ksmbd_debug(CONN, "releasing socket\n"); in ksmbd_kthread_fn()
/Linux-v5.15/fs/ksmbd/mgmt/
Dshare_config.c158 ksmbd_debug(SMB, "failed to access '%s'\n", in share_config_request()