Home
last modified time | relevance | path

Searched refs:bcc_ptr (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.15/fs/cifs/
Dsess.c347 char *bcc_ptr = *pbcc_area; in unicode_oslm_strings() local
351 bytes_ret = cifs_strtoUTF16((__le16 *)bcc_ptr, "Linux version ", 32, in unicode_oslm_strings()
353 bcc_ptr += 2 * bytes_ret; in unicode_oslm_strings()
354 bytes_ret = cifs_strtoUTF16((__le16 *) bcc_ptr, init_utsname()->release, in unicode_oslm_strings()
356 bcc_ptr += 2 * bytes_ret; in unicode_oslm_strings()
357 bcc_ptr += 2; /* trailing null */ in unicode_oslm_strings()
359 bytes_ret = cifs_strtoUTF16((__le16 *) bcc_ptr, CIFS_NETWORK_OPSYS, in unicode_oslm_strings()
361 bcc_ptr += 2 * bytes_ret; in unicode_oslm_strings()
362 bcc_ptr += 2; /* trailing null */ in unicode_oslm_strings()
364 *pbcc_area = bcc_ptr; in unicode_oslm_strings()
[all …]
Dconnect.c3665 unsigned char *bcc_ptr; in CIFSTCon() local
3689 bcc_ptr = &pSMB->Password[0]; in CIFSTCon()
3692 *bcc_ptr = 0; /* password is null byte */ in CIFSTCon()
3693 bcc_ptr++; /* skip password */ in CIFSTCon()
3709 cifs_strtoUTF16((__le16 *) bcc_ptr, tree, in CIFSTCon()
3712 bcc_ptr += 2 * length; /* convert num 16 bit words to bytes */ in CIFSTCon()
3713 bcc_ptr += 2; /* skip trailing null */ in CIFSTCon()
3715 strcpy(bcc_ptr, tree); in CIFSTCon()
3716 bcc_ptr += strlen(tree) + 1; in CIFSTCon()
3718 strcpy(bcc_ptr, "?????"); in CIFSTCon()
[all …]
Dntlmssp.h121 int decode_ntlmssp_challenge(char *bcc_ptr, int blob_len, struct cifs_ses *ses);