Home
last modified time | relevance | path

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

/linux/fs/smb/server/
H A Dsmb2misc.c186 ksmbd_debug(SMB, "no length check for command\n"); in smb2_get_data_area_len()
191 ksmbd_debug(SMB, "offset %d too large\n", *off); in smb2_get_data_area_len()
194 ksmbd_debug(SMB, "Request is larger than maximum stream protocol length(%u): %llu\n", in smb2_get_data_area_len()
237 ksmbd_debug(SMB, "SMB2 data length %u offset %u\n", data_length, in smb2_calc_size()
248 ksmbd_debug(SMB, in smb2_calc_size()
258 ksmbd_debug(SMB, "SMB2 len %u\n", *len); in smb2_calc_size()
340 ksmbd_debug(SMB, "Insufficient credit charge, given: %d, needed: %d\n", in smb2_validate_credit_charge()
344 ksmbd_debug(SMB, "Too large credit charge: %d\n", credit_charge); in smb2_validate_credit_charge()
350 ksmbd_debug(SMB, "Insufficient credits granted, given: %u, granted: %u\n", in smb2_validate_credit_charge()
356ksmbd_debug(SMB, "Limits exceeding the maximum allowable outstanding requests, given : %u, pending… in smb2_validate_credit_charge()
[all …]
H A Dsmb2pdu.c108 ksmbd_debug(SMB, "skip to check tree connect request\n"); in smb2_get_ksmbd_tcon()
113 ksmbd_debug(SMB, "NO tree connected\n"); in smb2_get_ksmbd_tcon()
289 ksmbd_debug(SMB, "conn->dialect 0x%x\n", conn->dialect); in init_smb2_neg_rsp()
346 ksmbd_debug(SMB, "Insufficient credits granted, given: %u, granted: %u\n", in smb2_set_rsp_credits()
375 ksmbd_debug(SMB, in smb2_set_rsp_credits()
419 ksmbd_debug(SMB, in init_chained_smb2_rsp()
428 ksmbd_debug(SMB, "related flag should be set\n"); in init_chained_smb2_rsp()
481 ksmbd_debug(SMB, "got SMB2 chained command\n"); in is_chained_smb2_message()
492 ksmbd_debug(SMB, "padding len %u\n", len); in is_chained_smb2_message()
623 ksmbd_debug(SMB, "Invalid user session, Uid %llu\n", sess_id); in smb2_check_user_session()
[all …]
H A Dauth.c149 ksmbd_debug(AUTH, "NTLMv2 support is disabled due to FIPS\n"); in ksmbd_auth_ntlmv2()
155 ksmbd_debug(AUTH, "could not get v2 hash rc %d\n", rc); in ksmbd_auth_ntlmv2()
195 ksmbd_debug(AUTH, "negotiate blob len %d too small\n", in ksmbd_decode_ntlmssp_auth_blob()
201 ksmbd_debug(AUTH, "blob signature incorrect %s\n", in ksmbd_decode_ntlmssp_auth_blob()
222 ksmbd_debug(AUTH, "decode_ntlmssp_authenticate_blob dname%s\n", in ksmbd_decode_ntlmssp_auth_blob()
269 ksmbd_debug(AUTH, "negotiate blob len %d too small\n", in ksmbd_decode_ntlmssp_neg_blob()
275 ksmbd_debug(AUTH, "blob signature incorrect %s\n", in ksmbd_decode_ntlmssp_neg_blob()
385 ksmbd_debug(AUTH, "NTLMSSP SecurityBufferLength %d\n", blob_len); in ksmbd_build_ntlmssp_challenge_blob()
400 ksmbd_debug(AUTH, "SPNEGO_AUTHEN_REQUEST failure\n"); in ksmbd_krb5_authenticate()
405 ksmbd_debug(AUTH, "krb5 authentication failure\n"); in ksmbd_krb5_authenticate()
[all …]
H A Dvfs.c201 ksmbd_debug(VFS, "path create failed for %s, err %d\n", in ksmbd_vfs_mkdir()
236 ksmbd_debug(VFS, "%s, len %zd\n", name, strlen(name)); in ksmbd_vfs_getcasexattr()
260 ksmbd_debug(VFS, "read stream data pos : %llu, count : %zd\n", in ksmbd_vfs_stream_read()
397 ksmbd_debug(VFS, "write stream data pos : %llu, count : %zd\n", in ksmbd_vfs_stream_write()
509 ksmbd_debug(VFS, "smb write failed, err = %d\n", err); in ksmbd_vfs_write()
595 ksmbd_debug(VFS, "rmdir failed, err %d\n", err); in ksmbd_vfs_remove_file()
599 ksmbd_debug(VFS, "unlink failed, err %d\n", err); in ksmbd_vfs_remove_file()
651 ksmbd_debug(VFS, "vfs_link failed err %d\n", err); in ksmbd_vfs_link()
722 ksmbd_debug(VFS, "vfs_rename failed err %d\n", err); in ksmbd_vfs_rename()
805 ksmbd_debug(VFS, "listxattr failed\n"); in ksmbd_vfs_listxattr()
[all …]
H A Dsmb_common.c132 ksmbd_debug(SMB, "selected %s dialect idx = %d\n", in ksmbd_lookup_protocol_idx()
142 ksmbd_debug(SMB, "selected %s dialect idx = %d\n", in ksmbd_lookup_protocol_idx()
238 ksmbd_debug(SMB, "client requested dialect %s\n", in ksmbd_lookup_dialect_by_name()
242 ksmbd_debug(SMB, in ksmbd_lookup_dialect_by_name()
266 ksmbd_debug(SMB, "client requested dialect 0x%x\n", in ksmbd_lookup_dialect_by_id()
273 ksmbd_debug(SMB, "selected %s dialect\n", in ksmbd_lookup_dialect_by_id()
601 ksmbd_debug(SMB, "Unsupported SMB1 protocol\n"); in smb_handle_negotiate()
621 ksmbd_debug(SMB, "conn->dialect 0x%x\n", conn->dialect); in ksmbd_smb_negotiate_common()
632 ksmbd_debug(SMB, "Upgrade to SMB2 negotiation\n"); in ksmbd_smb_negotiate_common()
663 ksmbd_debug(SMB, "%s\n", shared_mode_errors[error]); in smb_shared_mode_error()
[all …]
H A Dtransport_rdma.c149 ksmbd_debug(RDMA, "%pV", vaf); in smb_direct_logging_vaprintf()
284 ksmbd_debug(RDMA, "Disconnecting sc=%p\n", sc); in smb_direct_disconnect()
294 ksmbd_debug(RDMA, "smb-direct shutdown sc=%p\n", sc); in smb_direct_shutdown()
344 ksmbd_debug(CONN, "connect success: accepted new connection\n"); in smb_direct_listener_kthread_fn()
348 ksmbd_debug(CONN, "releasing socket\n"); in smb_direct_listener_kthread_fn()
501 ksmbd_debug(RDMA, "InfiniBand/RoCEv1/RoCEv2 RDMA listener. socket=%p\n", in ksmbd_rdma_init()
511 ksmbd_debug(RDMA, "iWarp RDMA listener. socket=%p\n", in ksmbd_rdma_init()
H A Doplock.c338 ksmbd_debug(OPLOCK, "bad lease state(0x%x)\n", lease->state); in lease_read_to_write()
363 ksmbd_debug(OPLOCK, "bad lease state(0x%x)\n", lease->state); in lease_none_upgrade()
694 ksmbd_debug(OPLOCK, in __smb2_oplock_break_noti()
764 ksmbd_debug(OPLOCK, "smb2_allocate_rsp_buf failed! "); in __smb2_lease_break_noti()
883 ksmbd_debug(OPLOCK, in oplock_break()
946 ksmbd_debug(OPLOCK, "oplock granted = %d\n", brk_opinfo->level); in oplock_break()
1023 ksmbd_debug(OPLOCK, in find_same_lease_key()
1393 ksmbd_debug(OPLOCK, "unexpected lease state(0x%x)\n", in smb_break_all_levII_oplock()
1398 ksmbd_debug(OPLOCK, "unexpected oplock(0x%x)\n", in smb_break_all_levII_oplock()
1826 ksmbd_debug(OPLOCK, "found opinfo\n"); in lookup_lease_in_table()
[all …]
H A 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()
H A 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()
395 ksmbd_debug(SMB, "DACL revision %d size %d num aces %d\n", in parse_dacl()
866 ksmbd_debug(SMB, in parse_sec_desc()
874 ksmbd_debug(SMB, "DACL_PRESENT in DACL type is not set\n"); in parse_sec_desc()
1380 ksmbd_debug(SMB, "check permission using windows acl\n"); in smb_check_perm_dacl()
1504 ksmbd_debug(SMB, "Can't find corresponding sid\n"); in smb_check_perm_dacl()
1523 ksmbd_debug(SMB, "Access denied with winACL, granted : %x, access_req : %x\n", in smb_check_perm_dacl()
1571 ksmbd_debug(SMB, in set_info_sec()
[all …]
H A 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()
H A Dglob.h39 #define ksmbd_debug(type, fmt, ...) \ macro
H A Dconnection.c433 ksmbd_debug(CONN, "No response from client in %lu minutes\n", in ksmbd_conn_alive()
485 ksmbd_debug(CONN, "RFC1002 header %u bytes\n", pdu_size); in ksmbd_conn_handler_loop()
556 ksmbd_debug(CONN, "Wait for all pending requests(%d)\n", atomic_read(&conn->r_count)); in ksmbd_conn_handler_loop()
H A Dserver.c135 ksmbd_debug(SMB, "*** not implemented yet cmd = %x\n", command); in __process_request()
153 ksmbd_debug(CONN, "Failed to process %u [%d]\n", command, ret); in __process_request()
H A Dvfs_cache.c1368 ksmbd_debug(SMB, "invalid name reconnect %s\n", name); in ksmbd_validate_name_reconnect()
/linux/fs/smb/server/mgmt/
H A Dshare_config.c199 ksmbd_debug(SMB, "failed to access '%s'\n", in share_config_request()