Home
last modified time | relevance | path

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

/Linux-v6.6/fs/smb/client/
Dsess.c569 char *bcc_ptr = *pbcc_area; in unicode_oslm_strings() local
573 bytes_ret = cifs_strtoUTF16((__le16 *)bcc_ptr, "Linux version ", 32, in unicode_oslm_strings()
575 bcc_ptr += 2 * bytes_ret; in unicode_oslm_strings()
576 bytes_ret = cifs_strtoUTF16((__le16 *) bcc_ptr, init_utsname()->release, in unicode_oslm_strings()
578 bcc_ptr += 2 * bytes_ret; in unicode_oslm_strings()
579 bcc_ptr += 2; /* trailing null */ in unicode_oslm_strings()
581 bytes_ret = cifs_strtoUTF16((__le16 *) bcc_ptr, CIFS_NETWORK_OPSYS, in unicode_oslm_strings()
583 bcc_ptr += 2 * bytes_ret; in unicode_oslm_strings()
584 bcc_ptr += 2; /* trailing null */ in unicode_oslm_strings()
586 *pbcc_area = bcc_ptr; in unicode_oslm_strings()
[all …]
Dconnect.c3621 unsigned char *bcc_ptr; in CIFSTCon() local
3645 bcc_ptr = &pSMB->Password[0]; in CIFSTCon()
3648 *bcc_ptr = 0; /* password is null byte */ in CIFSTCon()
3649 bcc_ptr++; /* skip password */ in CIFSTCon()
3664 cifs_strtoUTF16((__le16 *) bcc_ptr, tree, in CIFSTCon()
3667 bcc_ptr += 2 * length; /* convert num 16 bit words to bytes */ in CIFSTCon()
3668 bcc_ptr += 2; /* skip trailing null */ in CIFSTCon()
3670 strcpy(bcc_ptr, tree); in CIFSTCon()
3671 bcc_ptr += strlen(tree) + 1; in CIFSTCon()
3673 strcpy(bcc_ptr, "?????"); in CIFSTCon()
[all …]
Dntlmssp.h145 int decode_ntlmssp_challenge(char *bcc_ptr, int blob_len, struct cifs_ses *ses);