/fs/ntfs3/ |
D | lznt.c | 29 const u8 *unc; member 60 if (hash[0] >= ctx->unc && hash[0] < src && hash[0][0] == src[0] && in longest_match_std() 68 if (hash[1] >= ctx->unc && hash[1] < src && hash[1][0] == src[0] && in longest_match_std() 94 if (ctx->unc >= src || !ctx->max_len) in longest_match_best() 98 for (ptr = ctx->unc; ptr < src; ++ptr) { in longest_match_best() 139 const u8 *unc, const u8 *unc_end, u8 *cmpr, in compress_chunk() argument 145 const u8 *up = unc; in compress_chunk() 154 if (unc + LZNT_CHUNK_SIZE < unc_end) in compress_chunk() 155 unc_end = unc + LZNT_CHUNK_SIZE; in compress_chunk() 159 ctx->unc = unc; in compress_chunk() [all …]
|
D | frecord.c | 2384 size_t cmpr_size, void *unc, size_t unc_size, in decompress_lzx_xpress() argument 2392 memcpy(unc, cmpr, unc_size); in decompress_lzx_xpress() 2412 if (lzx_decompress(ctx, cmpr, cmpr_size, unc, unc_size)) { in decompress_lzx_xpress() 2433 if (xpress_decompress(ctx, cmpr, cmpr_size, unc, unc_size)) { in decompress_lzx_xpress()
|
/fs/smb/client/ |
D | dns_resolve.c | 34 dns_resolve_server_name_to_ip(const char *unc, char **ip_addr, time64_t *expiry) in dns_resolve_server_name_to_ip() argument 41 if (!ip_addr || !unc) in dns_resolve_server_name_to_ip() 44 len = strlen(unc); in dns_resolve_server_name_to_ip() 46 cifs_dbg(FYI, "%s: unc is too short: %s\n", __func__, unc); in dns_resolve_server_name_to_ip() 52 hostname = unc + 2; in dns_resolve_server_name_to_ip() 60 __func__, unc); in dns_resolve_server_name_to_ip()
|
D | unc.c | 18 char *extract_hostname(const char *unc) in extract_hostname() argument 26 if (strlen(unc) < 3) in extract_hostname() 28 for (src = unc; *src && *src == '\\'; src++) in extract_hostname() 49 char *extract_sharename(const char *unc) in extract_sharename() argument 55 src = unc + 2; in extract_sharename()
|
D | misc.c | 1162 void extract_unc_hostname(const char *unc, const char **h, size_t *len) in extract_unc_hostname() argument 1167 while (*unc && (*unc == '\\' || *unc == '/')) in extract_unc_hostname() 1168 unc++; in extract_unc_hostname() 1170 end = unc; in extract_unc_hostname() 1175 *h = unc; in extract_unc_hostname() 1176 *len = end - unc; in extract_unc_hostname()
|
D | dfs_cache.c | 97 char unc[SERVER_NAME_LENGTH + sizeof("//x/IPC$")] = {0}; in find_ipc_from_server_path() local 99 get_ipc_unc(path, unc, sizeof(unc)); in find_ipc_from_server_path() 101 if (!strcasecmp(unc, (*ses)->tcon_ipc->tree_name)) in find_ipc_from_server_path() 1318 char unc[sizeof("\\\\") + SERVER_NAME_LENGTH] = {0}; in target_share_equal() local 1335 scnprintf(unc, sizeof(unc), "\\\\%.*s", (int)hostlen, host); in target_share_equal() 1337 rc = dns_resolve_server_name_to_ip(unc, &ip, NULL); in target_share_equal()
|
D | dns_resolve.h | 15 extern int dns_resolve_server_name_to_ip(const char *unc, char **ip_addr, time64_t *expiry);
|
D | Makefile | 11 readdir.o ioctl.o sess.o export.o unc.o winucase.o \
|
D | cifsproto.h | 643 void extract_unc_hostname(const char *unc, const char **h, size_t *len); 652 char *extract_hostname(const char *unc); 653 char *extract_sharename(const char *unc);
|
D | connect.c | 93 char *unc, *ipaddr = NULL; in reconn_set_ipaddr_from_hostname() local 106 unc = kmalloc(len, GFP_KERNEL); in reconn_set_ipaddr_from_hostname() 107 if (!unc) { in reconn_set_ipaddr_from_hostname() 111 scnprintf(unc, len, "\\\\%s", server->hostname); in reconn_set_ipaddr_from_hostname() 113 rc = dns_resolve_server_name_to_ip(unc, &ipaddr, &expiry); in reconn_set_ipaddr_from_hostname() 114 kfree(unc); in reconn_set_ipaddr_from_hostname() 1917 char unc[SERVER_NAME_LENGTH + sizeof("//x/IPC$")] = {0}; in cifs_setup_ipc() local 1940 scnprintf(unc, sizeof(unc), "\\\\%s\\IPC$", server->hostname); in cifs_setup_ipc() 1947 rc = server->ops->tree_connect(xid, ses, unc, tcon, ctx->local_nls); in cifs_setup_ipc()
|
D | sess.c | 450 char unc[sizeof(unc_fmt)+SERVER_NAME_LEN_WITH_NULL] = {0}; in cifs_ses_add_channel() local 494 sprintf(unc, unc_fmt, ses->ip_addr); in cifs_ses_add_channel() 495 ctx.UNC = unc; in cifs_ses_add_channel()
|