Searched refs:bcc_ptr (Results 1 – 2 of 2) sorted by relevance
| /linux/fs/smb/client/ |
| H A D | smb1session.c | 89 char *bcc_ptr = *pbcc_area; in unicode_oslm_strings() local 93 bytes_ret = cifs_strtoUTF16((__le16 *)bcc_ptr, "Linux version ", 32, in unicode_oslm_strings() 95 bcc_ptr += 2 * bytes_ret; in unicode_oslm_strings() 96 bytes_ret = cifs_strtoUTF16((__le16 *) bcc_ptr, init_utsname()->release, in unicode_oslm_strings() 98 bcc_ptr += 2 * bytes_ret; in unicode_oslm_strings() 99 bcc_ptr += 2; /* trailing null */ in unicode_oslm_strings() 101 bytes_ret = cifs_strtoUTF16((__le16 *) bcc_ptr, CIFS_NETWORK_OPSYS, in unicode_oslm_strings() 103 bcc_ptr += 2 * bytes_ret; in unicode_oslm_strings() 104 bcc_ptr += 2; /* trailing null */ in unicode_oslm_strings() 106 *pbcc_area = bcc_ptr; in unicode_oslm_strings() [all …]
|
| H A D | cifssmb.c | 549 unsigned char *bcc_ptr; in CIFSTCon() local 573 bcc_ptr = &pSMB->Password[0]; in CIFSTCon() 576 *bcc_ptr = 0; /* password is null byte */ in CIFSTCon() 577 bcc_ptr++; /* skip password */ in CIFSTCon() 592 cifs_strtoUTF16((__le16 *) bcc_ptr, tree, in CIFSTCon() 595 bcc_ptr += 2 * length; /* convert num 16 bit words to bytes */ in CIFSTCon() 596 bcc_ptr += 2; /* skip trailing null */ in CIFSTCon() 598 strcpy(bcc_ptr, tree); in CIFSTCon() 599 bcc_ptr += strlen(tree) + 1; in CIFSTCon() 601 strcpy(bcc_ptr, "?????"); in CIFSTCon() [all …]
|