Home
last modified time | relevance | path

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

/linux-6.1.9/fs/cifs/
Dsess.c555 char *bcc_ptr = *pbcc_area; in unicode_oslm_strings() local
559 bytes_ret = cifs_strtoUTF16((__le16 *)bcc_ptr, "Linux version ", 32, in unicode_oslm_strings()
561 bcc_ptr += 2 * bytes_ret; in unicode_oslm_strings()
562 bytes_ret = cifs_strtoUTF16((__le16 *) bcc_ptr, init_utsname()->release, in unicode_oslm_strings()
564 bcc_ptr += 2 * bytes_ret; in unicode_oslm_strings()
565 bcc_ptr += 2; /* trailing null */ in unicode_oslm_strings()
567 bytes_ret = cifs_strtoUTF16((__le16 *) bcc_ptr, CIFS_NETWORK_OPSYS, in unicode_oslm_strings()
569 bcc_ptr += 2 * bytes_ret; in unicode_oslm_strings()
570 bcc_ptr += 2; /* trailing null */ in unicode_oslm_strings()
572 *pbcc_area = bcc_ptr; in unicode_oslm_strings()
[all …]
Dconnect.c3911 unsigned char *bcc_ptr; in CIFSTCon() local
3935 bcc_ptr = &pSMB->Password[0]; in CIFSTCon()
3938 *bcc_ptr = 0; /* password is null byte */ in CIFSTCon()
3939 bcc_ptr++; /* skip password */ in CIFSTCon()
3954 cifs_strtoUTF16((__le16 *) bcc_ptr, tree, in CIFSTCon()
3957 bcc_ptr += 2 * length; /* convert num 16 bit words to bytes */ in CIFSTCon()
3958 bcc_ptr += 2; /* skip trailing null */ in CIFSTCon()
3960 strcpy(bcc_ptr, tree); in CIFSTCon()
3961 bcc_ptr += strlen(tree) + 1; in CIFSTCon()
3963 strcpy(bcc_ptr, "?????"); in CIFSTCon()
[all …]
Dntlmssp.h145 int decode_ntlmssp_challenge(char *bcc_ptr, int blob_len, struct cifs_ses *ses);