Searched refs:oembuf (Results 1 – 3 of 3) sorted by relevance
/illumos-gate/usr/src/common/smbsrv/ |
H A D | smb_msgbuf.c | 382 uint8_t *oembuf = NULL; in msgbuf_get_oem_string() local 415 oembuf = smb_msgbuf_malloc(mb, datalen + 1); in msgbuf_get_oem_string() 416 if (oembuf == NULL) in msgbuf_get_oem_string() 418 bcopy(mb->scan, oembuf, datalen); in msgbuf_get_oem_string() 420 oembuf[oemlen] = '\0'; in msgbuf_get_oem_string() 430 rlen = smb_oemtombs(mbs, oembuf, mbsmax); in msgbuf_get_oem_string() 715 uint8_t *oembuf = NULL; in msgbuf_put_oem_string() local 741 oembuf = smb_msgbuf_malloc(mb, oemlen + 1); in msgbuf_put_oem_string() 742 if (oembuf == NULL) in msgbuf_put_oem_string() 744 rlen = smb_mbstooem(oembuf, mbs, oemlen); in msgbuf_put_oem_string() [all …]
|
H A D | smb_utf8.c | 288 uint8_t oembuf[8]; in smb_sbequiv_strlen() local 291 oemlen = smb_mbstooem(oembuf, mbsbuf, 8); in smb_sbequiv_strlen()
|
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_mbuf_marshaling.c | 1096 uint8_t *oembuf = NULL; in mbc_marshal_put_oem_string() local 1120 oembuf = smb_mem_zalloc(oemlen + 1); in mbc_marshal_put_oem_string() 1121 ASSERT(oembuf != NULL); in mbc_marshal_put_oem_string() 1122 rlen = smb_mbstooem(oembuf, mbs, oemlen); in mbc_marshal_put_oem_string() 1129 oembuf[rlen] = '\0'; in mbc_marshal_put_oem_string() 1135 s = oembuf; in mbc_marshal_put_oem_string() 1149 if (oembuf != NULL) in mbc_marshal_put_oem_string() 1150 smb_mem_free(oembuf); in mbc_marshal_put_oem_string() 1536 uint8_t *oembuf = NULL; in mbc_marshal_get_oem_string() local 1551 oembuf = smb_mem_alloc(oemmax); in mbc_marshal_get_oem_string() [all …]
|