Home
last modified time | relevance | path

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

/Linux-v6.1/fs/cifs/
Dsess.c554 char *bcc_ptr = *pbcc_area; in unicode_oslm_strings() local
558 bytes_ret = cifs_strtoUTF16((__le16 *)bcc_ptr, "Linux version ", 32, in unicode_oslm_strings()
560 bcc_ptr += 2 * bytes_ret; in unicode_oslm_strings()
561 bytes_ret = cifs_strtoUTF16((__le16 *) bcc_ptr, init_utsname()->release, in unicode_oslm_strings()
563 bcc_ptr += 2 * bytes_ret; in unicode_oslm_strings()
564 bcc_ptr += 2; /* trailing null */ in unicode_oslm_strings()
566 bytes_ret = cifs_strtoUTF16((__le16 *) bcc_ptr, CIFS_NETWORK_OPSYS, in unicode_oslm_strings()
568 bcc_ptr += 2 * bytes_ret; in unicode_oslm_strings()
569 bcc_ptr += 2; /* trailing null */ in unicode_oslm_strings()
571 *pbcc_area = bcc_ptr; in unicode_oslm_strings()
[all …]
Dconnect.c3916 unsigned char *bcc_ptr; in CIFSTCon() local
3940 bcc_ptr = &pSMB->Password[0]; in CIFSTCon()
3943 *bcc_ptr = 0; /* password is null byte */ in CIFSTCon()
3944 bcc_ptr++; /* skip password */ in CIFSTCon()
3959 cifs_strtoUTF16((__le16 *) bcc_ptr, tree, in CIFSTCon()
3962 bcc_ptr += 2 * length; /* convert num 16 bit words to bytes */ in CIFSTCon()
3963 bcc_ptr += 2; /* skip trailing null */ in CIFSTCon()
3965 strcpy(bcc_ptr, tree); in CIFSTCon()
3966 bcc_ptr += strlen(tree) + 1; in CIFSTCon()
3968 strcpy(bcc_ptr, "?????"); in CIFSTCon()
[all …]
Dntlmssp.h145 int decode_ntlmssp_challenge(char *bcc_ptr, int blob_len, struct cifs_ses *ses);