/linux-6.6.21/fs/smb/client/ |
D | dns_resolve.c | 43 cifs_dbg(FYI, "%s: unc is too short: %s\n", __func__, unc); in dns_resolve_server_name_to_ip() 56 cifs_dbg(FYI, "%s: probably server name is whole unc: %s\n", in dns_resolve_server_name_to_ip() 62 cifs_dbg(FYI, "%s: unc is IP, skipping dns upcall: %*.*s\n", __func__, len, len, in dns_resolve_server_name_to_ip() 71 cifs_dbg(FYI, "%s: unable to resolve: %*.*s\n", in dns_resolve_server_name_to_ip() 74 cifs_dbg(FYI, "%s: resolved: %*.*s to %s expiry %llu\n", in dns_resolve_server_name_to_ip() 82 cifs_dbg(FYI, "%s: unable to determine ip address\n", __func__); in dns_resolve_server_name_to_ip()
|
D | cifs_swn.c | 167 cifs_dbg(FYI, "%s: Message to register for network name %s with id %d sent\n", __func__, in cifs_swn_send_register_message() 236 cifs_dbg(FYI, "%s: Message to unregister for network name %s with id %d sent\n", __func__, in cifs_swn_send_unregister_message() 286 cifs_dbg(FYI, "Existing swn registration for %s:%s found\n", swnreg->net_name, in cifs_find_swn_reg() 333 cifs_dbg(FYI, "%s: failed to allocate registration id\n", __func__); in cifs_get_swn_reg() 398 cifs_dbg(FYI, "%s: resource name '%s' become unavailable\n", __func__, name); in cifs_swn_resource_state_changed() 402 cifs_dbg(FYI, "%s: resource name '%s' become available\n", __func__, name); in cifs_swn_resource_state_changed() 406 cifs_dbg(FYI, "%s: resource name '%s' changed to unknown state\n", __func__, name); in cifs_swn_resource_state_changed() 515 cifs_dbg(FYI, "%s: move to %pI4\n", __func__, &ipv4->sin_addr); in cifs_swn_client_move() 517 cifs_dbg(FYI, "%s: move to %pI6\n", __func__, &ipv6->sin6_addr); in cifs_swn_client_move() 536 cifs_dbg(FYI, "%s: registration id %d not found\n", __func__, swnreg_id); in cifs_swn_notify() [all …]
|
D | connect.c | 94 cifs_dbg(FYI, "%s: failed to create UNC path\n", __func__); in reconn_set_ipaddr_from_hostname() 107 cifs_dbg(FYI, "%s: failed to resolve server part of %s to IP: %d\n", in reconn_set_ipaddr_from_hostname() 134 cifs_dbg(FYI, "%s: failed to query server interfaces: %d\n", in smb2_query_server_interfaces() 210 cifs_dbg(FYI, "%s: marking necessary sessions and tcons for reconnect\n", __func__); in cifs_mark_tcp_ses_conns_for_reconnect() 254 cifs_dbg(FYI, "%s: channel connect bitmap: 0x%lx\n", in cifs_mark_tcp_ses_conns_for_reconnect() 296 cifs_dbg(FYI, "%s: tearing down socket\n", __func__); in cifs_abort_connection() 299 cifs_dbg(FYI, "State: 0x%x Flags: 0x%lx\n", server->ssocket->state, in cifs_abort_connection() 302 cifs_dbg(FYI, "Post shutdown state: 0x%x Flags: 0x%lx\n", server->ssocket->state, in cifs_abort_connection() 316 cifs_dbg(FYI, "%s: moving mids to private list\n", __func__); in cifs_abort_connection() 328 cifs_dbg(FYI, "%s: issuing mid callbacks\n", __func__); in cifs_abort_connection() [all …]
|
D | smb2misc.c | 114 cifs_dbg(FYI, "no SPNEGO security blob in negprot rsp\n"); in get_neg_ctxt_len() 128 cifs_dbg(FYI, "length of negcontexts %d pad %d\n", in get_neg_ctxt_len() 269 cifs_dbg(FYI, "Server response too short: calculated " in smb2_check_message() 430 cifs_dbg(FYI, "SMB2 data length %d offset %d\n", data_length, offset); in smb2_calc_size() 448 cifs_dbg(FYI, "SMB2 len %d\n", len); in smb2_calc_size() 516 cifs_dbg(FYI, "Lease release rc %d\n", rc); in cifs_ses_oplock_break() 558 cifs_dbg(FYI, "found in the open list\n"); in smb2_tcon_has_lease() 559 cifs_dbg(FYI, "lease key match, lease break 0x%x\n", in smb2_tcon_has_lease() 598 cifs_dbg(FYI, "found in the pending open list\n"); in smb2_tcon_find_pending_open_lease() 599 cifs_dbg(FYI, "lease key match, lease break 0x%x\n", in smb2_tcon_find_pending_open_lease() [all …]
|
D | cifssmb.c | 95 cifs_dbg(FYI, "can not send cmd %d while umounting\n", in cifs_reconnect_tcon() 169 cifs_dbg(FYI, "reconnect tcon rc = %d\n", rc); in cifs_reconnect_tcon() 363 cifs_dbg(FYI, "server UID changed\n"); in decode_ext_sec_blob() 427 cifs_dbg(FYI, "Requesting extended security\n"); in CIFSSMBNegotiate() 451 cifs_dbg(FYI, "Dialect: %d\n", server->dialect); in CIFSSMBNegotiate() 468 cifs_dbg(FYI, "share mode security\n"); in CIFSSMBNegotiate() 505 cifs_dbg(FYI, "negprot rc %d\n", rc); in CIFSSMBNegotiate() 515 cifs_dbg(FYI, "In tree disconnect\n"); in CIFSSMBTDis() 542 cifs_dbg(FYI, "Tree disconnect failed %d\n", rc); in CIFSSMBTDis() 578 cifs_dbg(FYI, "In echo request\n"); in CIFSSMBEcho() [all …]
|
D | dfs_cache.c | 203 cifs_dbg(FYI, "clearing dfs cache\n"); in dfscache_proc_write() 230 cifs_dbg(FYI, "target list:\n"); in dump_tgts() 232 cifs_dbg(FYI, " %s%s\n", t->name, in dump_tgts() 239 …cifs_dbg(FYI, "cache entry: path=%s,type=%s,ttl=%d,etime=%ld,hdr_flags=0x%x,ref_flags=0x%x,interli… in dump_ce() 254 cifs_dbg(FYI, "DFS referrals returned by the server:\n"); in dump_refs() 258 cifs_dbg(FYI, in dump_refs() 311 cifs_dbg(FYI, "%s: initialized DFS referral cache\n", __func__); in dfs_cache_init() 465 cifs_dbg(FYI, "%s: no entry to remove\n", __func__); in remove_oldest_entry_locked() 469 cifs_dbg(FYI, "%s: removing entry\n", __func__); in remove_oldest_entry_locked() 486 cifs_dbg(FYI, "%s: reached max cache size (%d)\n", __func__, CACHE_MAX_ENTRIES); in add_cache_entry_locked() [all …]
|
D | readdir.c | 41 cifs_dbg(FYI, "empty cifs private file data\n"); in dump_cifs_file_struct() 45 cifs_dbg(FYI, "Invalid handle\n"); in dump_cifs_file_struct() 47 cifs_dbg(FYI, "end of search\n"); in dump_cifs_file_struct() 49 cifs_dbg(FYI, "empty dir\n"); in dump_cifs_file_struct() 75 cifs_dbg(FYI, "%s: for %s\n", __func__, name->name); in cifs_prime_dcache() 254 cifs_dbg(FYI, "posix fattr: dev %d, reparse %d, mode %o\n", in cifs_posix_to_fattr() 409 cifs_dbg(FYI, "Full path: %s start at: %lld\n", full_path, file->f_pos); in _initiate_cifs_search() 482 cifs_dbg(FYI, "Unicode string longer than PATH_MAX found\n"); in cifs_unicode_bytelen() 506 cifs_dbg(FYI, "new entry %p old entry %p\n", new_entry, old_entry); in nxt_dir_entry() 630 cifs_dbg(FYI, "Unknown findfirst level %d\n", level); in cifs_fill_dirent() [all …]
|
D | misc.c | 51 cifs_dbg(FYI, "warning: more than 65000 requests active\n"); in _get_xid() 94 cifs_dbg(FYI, "Null buffer passed to sesInfoFree\n"); in sesInfoFree() 154 cifs_dbg(FYI, "Null buffer passed to tconInfoFree\n"); in tconInfoFree() 235 cifs_dbg(FYI, "Null buffer passed to cifs_small_buf_release\n"); in cifs_small_buf_release() 334 cifs_dbg(FYI, "checkSMB Length: 0x%x, smb_buf_length: 0x%x\n", in checkSMB() 391 cifs_dbg(FYI, "Calculated size %u vs length %u mismatch for mid=%u\n", in checkSMB() 427 cifs_dbg(FYI, "Checking for oplock break or dnotify response\n"); in is_valid_oplock_break() 441 cifs_dbg(FYI, "Invalid data_offset %u\n", in is_valid_oplock_break() 447 cifs_dbg(FYI, "dnotify on %s Action: 0x%x\n", in is_valid_oplock_break() 454 cifs_dbg(FYI, "notify err 0x%x\n", in is_valid_oplock_break() [all …]
|
D | fscache.c | 50 cifs_dbg(FYI, "%s: couldn't extract sharename\n", __func__); in cifs_fscache_get_super_cookie() 67 cifs_dbg(FYI, "%s: (%s/0x%p)\n", __func__, key, vcookie); in cifs_fscache_get_super_cookie() 90 cifs_dbg(FYI, "%s: (0x%p)\n", __func__, tcon->fscache); in cifs_fscache_release_super_cookie() 134 cifs_dbg(FYI, "%s: (0x%p)\n", __func__, cookie); in cifs_fscache_release_inode_cookie() 198 cifs_dbg(FYI, "%s: (fsc:%p, p:%p, i:0x%p\n", in __cifs_readpage_from_fscache() 212 cifs_dbg(FYI, "%s: (fsc: %p, p: %llx, l: %zx, i: %p)\n", in __cifs_readahead_to_fscache()
|
D | sess.c | 137 cifs_dbg(FYI, "Set reconnect bitmask for chan %u; now 0x%lx\n", in cifs_chan_set_need_reconnect() 150 cifs_dbg(FYI, "Cleared reconnect bitmask for chan %u; now 0x%lx\n", in cifs_chan_clear_need_reconnect() 196 cifs_dbg(FYI, in cifs_try_adding_channels() 438 cifs_dbg(FYI, "unable to find a suitable iface\n"); in cifs_chan_update_iface() 442 cifs_dbg(FYI, "unable to get the interface matching: %pIS\n", in cifs_chan_update_iface() 450 cifs_dbg(FYI, "replacing iface: %pIS with %pIS\n", in cifs_chan_update_iface() 462 cifs_dbg(FYI, "releasing ref to iface: %pIS\n", in cifs_chan_update_iface() 472 cifs_dbg(FYI, "referencing primary channel iface: %pIS\n", in cifs_chan_update_iface() 478 cifs_dbg(FYI, "adding new iface: %pIS\n", &iface->sockaddr); in cifs_chan_update_iface() 538 cifs_dbg(FYI, "adding channel to ses %p (speed:%zu bps rdma:%s ip:%pI4)\n", in cifs_ses_add_channel() [all …]
|
D | dir.c | 110 cifs_dbg(FYI, "using cifs_sb prepath <%s>\n", cifs_sb->prepath); in __build_path_from_dentry_optional_prefix() 166 cifs_dbg(FYI, "Invalid file name\n"); in check_name() 288 cifs_dbg(FYI, "Create flag not set in create function\n"); 319 cifs_dbg(FYI, "cifs_create returned 0x%x\n", rc); 391 cifs_dbg(FYI, "Create worked, get_inode_info failed rc = %d\n", 465 cifs_dbg(FYI, "parent inode = 0x%p name is: %pd and dentry = 0x%p\n", 553 cifs_dbg(FYI, "cifs_create parent inode = 0x%p name is: %pd and dentry = 0x%p\n", 642 cifs_dbg(FYI, "parent inode = 0x%p name is: %pd and dentry = 0x%p\n", 675 cifs_dbg(FYI, "non-NULL inode in lookup\n"); 677 cifs_dbg(FYI, "NULL inode in lookup\n"); [all …]
|
D | ioctl.c | 44 cifs_dbg(FYI, "%s %s\n", __func__, path); in cifs_ioctl_query_info() 78 cifs_dbg(FYI, "ioctl copychunk range\n"); in cifs_ioctl_copychunk() 81 cifs_dbg(FYI, "file target not open for write\n"); in cifs_ioctl_copychunk() 88 cifs_dbg(FYI, "mnt_want_write failed with rc %d\n", rc); in cifs_ioctl_copychunk() 202 cifs_dbg(FYI, "shutdown with default flag not supported\n"); in cifs_shutdown() 346 cifs_dbg(FYI, "cifs ioctl 0x%x\n", command); in cifs_ioctl() 406 cifs_dbg(FYI, "set compress flag rc %d\n", rc); in cifs_ioctl() 532 cifs_dbg(FYI, "ioctl notify rc %d\n", rc); in cifs_ioctl() 554 cifs_dbg(FYI, "ioctl notify info rc %d\n", rc); in cifs_ioctl() 563 cifs_dbg(FYI, "unsupported ioctl\n"); in cifs_ioctl()
|
D | cifs_debug.h | 27 #define FYI 2 macro 64 if ((type) & FYI && cifsFYI & CIFS_INFO) { \ 85 if ((type) & FYI && cifsFYI & CIFS_INFO) { \ 113 if ((type) & FYI && cifsFYI & CIFS_INFO) { \
|
D | inode.c | 87 cifs_dbg(FYI, "%s: revalidating inode %llu\n", in cifs_revalidate_cache() 91 cifs_dbg(FYI, "%s: inode %llu is new\n", in cifs_revalidate_cache() 98 cifs_dbg(FYI, "%s: inode %llu is oplocked\n", in cifs_revalidate_cache() 108 cifs_dbg(FYI, "%s: inode %llu is unchanged\n", in cifs_revalidate_cache() 113 cifs_dbg(FYI, "%s: invalidating inode %llu mapping\n", in cifs_revalidate_cache() 296 cifs_dbg(FYI, "unknown type %d\n", le32_to_cpu(info->Type)); in cifs_unix_basic_to_fattr() 335 cifs_dbg(FYI, "%s: creating fake fattr\n", __func__); in cifs_create_junction_fattr() 425 cifs_dbg(FYI, "Getting info on %s\n", full_path); in cifs_get_unix_fattr() 436 cifs_dbg(FYI, "%s: query path info: rc = %d\n", __func__, rc); in cifs_get_unix_fattr() 454 cifs_dbg(FYI, "check_mf_symlink: %d\n", tmprc); in cifs_get_unix_fattr() [all …]
|
D | cifsacl.c | 239 cifs_dbg(FYI, "auth %d did not match\n", i); in is_well_known_sid() 258 cifs_dbg(FYI, "Unix UID %d returned from SID\n", *puid); in is_well_known_sid() 299 cifs_dbg(FYI, "%s: Can't map %cid %u to a SID\n", in id_to_sid() 304 cifs_dbg(FYI, "%s: Downcall contained malformed key (datalen=%hu)\n", in id_to_sid() 321 cifs_dbg(FYI, "%s: Downcall contained malformed key (datalen=%hu, ksid_size=%u)\n", in id_to_sid() 354 cifs_dbg(FYI, "%s: %u subauthorities is too many!\n", in sid_to_id() 404 cifs_dbg(FYI, "%s: Can't map SID %s to a %cid\n", in sid_to_id() 416 cifs_dbg(FYI, "%s: Downcall contained malformed key (datalen=%hu)\n", in sid_to_id() 464 cifs_dbg(FYI, "Registering the %s key type\n", in init_cifs_idmap() 498 cifs_dbg(FYI, "cifs idmap keyring: %d\n", key_serial(keyring)); in init_cifs_idmap() [all …]
|
D | cifs_spnego.c | 159 cifs_dbg(FYI, "key description = %s\n", description); in cifs_get_spnego_key() 184 cifs_dbg(FYI, "Registering the %s key type\n", in init_cifs_spnego() 219 cifs_dbg(FYI, "cifs spnego keyring: %d\n", key_serial(keyring)); in init_cifs_spnego() 235 cifs_dbg(FYI, "Unregistered %s key type\n", cifs_spnego_key_type.name); in exit_cifs_spnego()
|
D | smb1ops.c | 60 cifs_dbg(FYI, "issued NT_CANCEL for mid %u, rc = %d\n", in send_nt_cancel() 257 cifs_dbg(FYI, "Invalid transact2 word count\n"); in check2ndT2() 269 cifs_dbg(FYI, "total data %d smaller than data in frame %d\n", in check2ndT2() 276 cifs_dbg(FYI, "missing %d bytes from transact2, check next response\n", in check2ndT2() 301 cifs_dbg(FYI, "total data count of primary and secondary t2 differ source=%hu target=%hu\n", in coalesce_t2() 309 cifs_dbg(FYI, "Server sent too much data. tgt_total_cnt=%hu total_in_tgt=%u\n", in coalesce_t2() 316 cifs_dbg(FYI, "no more data remains\n"); in coalesce_t2() 322 cifs_dbg(FYI, "transact2 2nd response contains too much data\n"); in coalesce_t2() 337 cifs_dbg(FYI, "coalesced DataCount too large (%u)\n", in coalesce_t2() 348 cifs_dbg(FYI, "coalesced BCC too large (%u)\n", byte_count); in coalesce_t2() [all …]
|
D | smb2pdu.c | 240 cifs_dbg(FYI, "can not send cmd %d while umounting\n", in smb2_reconnect() 296 cifs_dbg(FYI, "sess reconnect mask: 0x%lx, tcon reconnect: %d", in smb2_reconnect() 394 cifs_dbg(FYI, "reconnect tcon rc = %d\n", rc); in smb2_reconnect() 434 cifs_dbg(FYI, "%s: failed to query server interfaces: %d\n", in smb2_reconnect() 808 cifs_dbg(FYI, "decode SMB3.11 encryption neg context of len %d\n", len); in decode_encrypt_ctx() 823 cifs_dbg(FYI, "SMB311 cipher type:%d\n", le16_to_cpu(ctxt->Ciphers[0])); in decode_encrypt_ctx() 880 cifs_dbg(FYI, "signing algorithm %d chosen\n", in decode_signing_ctx() 895 cifs_dbg(FYI, "decoding %d negotiate contexts\n", ctxt_cnt); in smb311_decode_neg_context() 983 cifs_dbg(FYI, "mode on posix create 0%o\n", mode); in create_posix_buf() 994 cifs_dbg(FYI, "%s: no mode\n", __func__); in add_posix_context() [all …]
|
D | namespace.c | 244 cifs_dbg(FYI, "%s: ctx: source=%s UNC=%s prepath=%s dfs_automount=%d\n", in cifs_do_automount() 261 cifs_dbg(FYI, "%s: %pd\n", __func__, path->dentry); in cifs_d_automount() 265 cifs_dbg(FYI, "leaving %s [automount failed]\n" , __func__); in cifs_d_automount() 273 cifs_dbg(FYI, "leaving %s [ok]\n" , __func__); in cifs_d_automount()
|
D | file.c | 244 …cifs_dbg(FYI, "Application %s pid %d has incorrectly set O_EXCL flag but not O_CREAT on file open.… in cifs_posix_convert_flags() 290 cifs_dbg(FYI, "posix open %s\n", full_path); in cifs_posix_open() 505 cifs_dbg(FYI, "Reset oplock val from read to None due to mand locks\n"); in cifs_new_fileinfo() 649 cifs_dbg(FYI, "closing last open instance for inode %p\n", in _cifsFileInfo_put() 731 cifs_dbg(FYI, "inode = 0x%p file flags are 0x%x for %s\n", in cifs_open() 770 cifs_dbg(FYI, "posix open succeeded\n"); in cifs_open() 935 cifs_dbg(FYI, "inode = 0x%p file flags 0x%x for %s\n", in cifs_reopen_file() 958 cifs_dbg(FYI, "posix reopen succeeded\n"); in cifs_reopen_file() 1009 cifs_dbg(FYI, "cifs_reopen returned 0x%x\n", rc); in cifs_reopen_file() 1010 cifs_dbg(FYI, "oplock: %d\n", oplock); in cifs_reopen_file() [all …]
|
D | asn1.c | 32 cifs_dbg(FYI, "Error decoding negTokenInit header: unexpected OID %s\n", in cifs_gssapi_this_mech() 59 cifs_dbg(FYI, "Decoding negTokenInit: unsupported OID %s\n", in cifs_neg_token_init_mech_type()
|
D | transport.c | 59 cifs_dbg(FYI, "For smb_command %d\n", smb_buffer->Command); in alloc_mid() 301 cifs_dbg(FYI, "signal pending before send request\n"); in __smb_send_rqst() 338 cifs_dbg(FYI, "Sending smb: smb_len=%u\n", send_length); in __smb_send_rqst() 383 cifs_dbg(FYI, "signal is pending after attempt to send\n"); in __smb_send_rqst() 391 cifs_dbg(FYI, "partial send (wanted=%u sent=%zu): terminating session\n", in __smb_send_rqst() 524 cifs_dbg(FYI, "%s: remove %u credits total=%d\n", in wait_for_free_credits() 631 cifs_dbg(FYI, "%s: remove %u credits total=%d\n", in wait_for_free_credits() 682 cifs_dbg(FYI, "%s: %d requests in flight, needed %d total=%d\n", in wait_for_compound_request() 890 cifs_dbg(FYI, "%s: cmd=%d mid=%llu state=%d\n", in cifs_sync_mid_result() 1215 cifs_server_dbg(FYI, "Cancelling wait for mid %llu cmd: %d\n", in compound_send_recv() [all …]
|
D | cifsfs.c | 277 cifs_dbg(FYI, "export ops supported\n"); in cifs_read_super() 759 cifs_dbg(FYI, "wake up tasks now - umount begin not complete\n"); in cifs_umount_begin() 850 cifs_dbg(FYI, "Get root dentry for %s\n", full_path); in cifs_get_root() 902 cifs_dbg(FYI, "%s: devname=%s flags=0x%x\n", __func__, in cifs_smb3_do_mount() 952 cifs_dbg(FYI, "Use existing superblock\n"); in cifs_smb3_do_mount() 972 cifs_dbg(FYI, "dentry root is: %p\n", root); in cifs_smb3_do_mount() 1013 cifs_dbg(FYI, in cifs_file_write_iter() 1032 cifs_dbg(FYI, "cifs_file_write_iter: %d rc on %p inode\n", in cifs_file_write_iter() 1218 cifs_dbg(FYI, "SetFSize for copychunk rc = %d\n", rc); in cifs_precopy_set_eof() 1285 cifs_dbg(FYI, "clone range\n"); in cifs_remap_file_range() [all …]
|
D | smb2ops.c | 126 cifs_dbg(FYI, "trying to put %d credits from the old server instance %d\n", in smb2_add_credits() 133 …cifs_dbg(FYI, "Negotiate operation when server credits is non-zero. Optype: %d, server credits: %d… in smb2_add_credits() 156 cifs_dbg(FYI, "disabling oplocks\n"); in smb2_add_credits() 165 cifs_dbg(FYI, "%s: added %u credits total=%d\n", __func__, add, scredits); in smb2_add_credits() 192 cifs_dbg(FYI, "%s: set %u credits\n", __func__, val); in smb2_set_credits() 196 cifs_dbg(FYI, "set credits to 1 due to smb2 reconnect\n"); in smb2_set_credits() 277 cifs_dbg(FYI, "%s: removed %u credits total=%d\n", in smb2_wait_mtu_credits() 327 cifs_dbg(FYI, "%s: adjust added %u credits total=%d\n", in smb2_adjust_credits() 643 cifs_dbg(FYI, "%s: ipv4 %pI4\n", __func__, in parse_server_interfaces() 657 cifs_dbg(FYI, "%s: ipv6 %pI6\n", __func__, in parse_server_interfaces() [all …]
|
D | link.c | 92 cifs_dbg(FYI, "%s: MD5 hash failure: %d\n", __func__, rc); in parse_mf_symlink() 131 cifs_dbg(FYI, "%s: MD5 hash failure: %d\n", __func__, rc); in format_mf_symlink() 422 cifs_dbg(FYI, "%s: path: %s\n", __func__, path); in smb3_create_mf_symlink() 612 cifs_dbg(FYI, "Full path: %s\n", full_path); 613 cifs_dbg(FYI, "symname is %s\n", symname); 639 cifs_dbg(FYI, "Create symlink ok, getinodeinfo fail rc = %d\n",
|