/illumos-gate/usr/src/common/crypto/padding/ |
H A D | pkcs7.c | 51 * If databuf is non NULL, padbuf must be large enough 52 * to contain both databuf and the padding. databuf and 54 * databuf: 65 * If databuf is NULL, padbuf only needs to be large 75 pkcs7_encode(uint8_t *databuf, size_t datalen, uint8_t *padbuf, argument 81 if (databuf == NULL) 88 bcopy(databuf, padbuf, datalen);
|
H A D | pkcs1.c | 64 pkcs1_encode(int method, uint8_t *databuf, size_t datalen, uint8_t *padbuf, argument 101 bcopy(databuf, padbuf + padlen, datalen);
|
/illumos-gate/usr/src/lib/libnsl/nsl/ |
H A D | _conn_util.c | 158 struct strbuf databuf; local 182 * Acquire databuf for use in sending/receiving data part 184 if (_t_acquire_databuf(tiptr, &databuf, &didralloc) < 0) 194 if ((retval = getmsg(fd, ctlbufp, &databuf, &flg)) < 0) { 206 if (databuf.len == -1) databuf.len = 0; 271 if (databuf.len > (int)call->udata.maxlen) { 275 (void) memcpy(call->udata.buf, databuf.buf, 276 (size_t)databuf.len); 277 call->udata.len = databuf [all...] |
H A D | t_listen.c | 50 struct strbuf databuf; local 119 * Acquire databuf for use in sending/receiving data part 121 if (_t_acquire_databuf(tiptr, &databuf, &didralloc) < 0) { 140 if ((retval = getmsg(fd, &ctlbuf, &databuf, &flg)) < 0) { 152 if (databuf.len == -1) databuf.len = 0; 223 if (databuf.len > (int)call->udata.maxlen) { 227 (void) memcpy(call->udata.buf, databuf.buf, 228 (size_t)databuf.len); 229 call->udata.len = databuf [all...] |
H A D | t_rcvdis.c | 51 struct strbuf databuf; local 107 databuf.len = tiptr->ti_lookbufs.tl_lookdlen; 108 databuf.buf = tiptr->ti_lookbufs.tl_lookdbuf; 109 /* Note databuf.maxlen not used in this case */ 144 * Acquire databuf for use in sending/receiving data part 146 if (_t_acquire_databuf(tiptr, &databuf, &didralloc) < 0) { 163 retval = getmsg(fd, &ctlbuf, &databuf, &flg); 170 if (databuf.len == -1) databuf.len = 0; 215 if (databuf [all...] |
H A D | t_rcvrel.c | 55 struct strbuf databuf; local 139 * Acquire databuf for use in sending/receiving data part 141 if (_t_acquire_databuf(tiptr, &databuf, &didralloc) < 0) { 158 retval = getmsg(fd, &ctlbuf, &databuf, &flg); 191 if (_t_register_lookevent(tiptr, databuf.buf, 192 databuf.len, ctlbuf.buf, 215 free(databuf.buf); 217 tiptr->ti_rcvbuf = databuf.buf; 229 free(databuf.buf); 231 tiptr->ti_rcvbuf = databuf [all...] |
H A D | t_rcvreldata.c | 54 struct strbuf databuf; local 141 * Acquire databuf for use in sending/receiving data part 143 if (_t_acquire_databuf(tiptr, &databuf, &didralloc) < 0) { 160 retval = getmsg(fd, &ctlbuf, &databuf, &flg); 193 if (_t_register_lookevent(tiptr, databuf.buf, 194 databuf.len, ctlbuf.buf, 217 free(databuf.buf); 219 tiptr->ti_rcvbuf = databuf.buf; 231 free(databuf.buf); 233 tiptr->ti_rcvbuf = databuf [all...] |
H A D | t_rcvuderr.c | 50 struct strbuf ctlbuf, databuf; local 81 databuf.maxlen = 0; 82 databuf.len = 0; 83 databuf.buf = NULL; 112 databuf.maxlen = 0; 113 databuf.len = 0; 114 databuf.buf = NULL; 123 if ((retval = getmsg(fd, &ctlbuf, &databuf, &flg)) < 0) {
|
H A D | t_snddis.c | 51 struct strbuf databuf; local 147 databuf.maxlen = (call? call->udata.len: 0); 148 databuf.len = (call? call->udata.len: 0); 149 databuf.buf = (call? call->udata.buf: NULL); 157 if (putmsg(fd, &ctlbuf, (databuf.len? &databuf: NULL), 0) < 0) {
|
H A D | t_sndvudata.c | 55 struct strbuf databuf; local 168 databuf.buf = dataptr; 169 databuf.len = nbytes; 170 databuf.maxlen = nbytes; 177 if (putmsg(fd, &ctlbuf, &databuf, 0) < 0) {
|
H A D | t_rcv.c | 55 struct strbuf ctlbuf, databuf; local 170 databuf.maxlen = nbytes; 171 databuf.len = 0; 172 databuf.buf = buf; 183 if ((retval = getmsg(fd, &ctlbuf, &databuf, &flg)) < 0) { 197 if (databuf.len == -1) databuf.len = 0; 250 return (databuf.len); 270 if (_t_register_lookevent(tiptr, databuf.buf, 271 databuf [all...] |
H A D | t_rcvv.c | 53 struct strbuf ctlbuf, databuf; local 185 databuf.maxlen = (int)nbytes; 186 databuf.len = 0; 187 databuf.buf = dataptr; 198 if ((retval = getmsg(fd, &ctlbuf, &databuf, &flg)) < 0) { 212 if (databuf.len == -1) databuf.len = 0; 264 _t_scatter(&databuf, tiov, tiovcount); 268 return (databuf.len); 288 if (_t_register_lookevent(tiptr, databuf [all...] |
H A D | t_rcvvudata.c | 61 struct strbuf databuf; local 123 databuf.maxlen = nbytes; 124 databuf.len = 0; 125 databuf.buf = dataptr; 134 if ((retval = getmsg(fd, &ctlbuf, &databuf, &flg)) < 0) { 209 _t_scatter(&databuf, tiov, tiovcount); 213 return (databuf.len); 252 _t_scatter(&databuf, tiov, tiovcount); 256 return (databuf.len);
|
H A D | t_snd.c | 56 struct strbuf ctlbuf, databuf; local 190 databuf.maxlen = bytes_to_send; 191 databuf.len = bytes_to_send; 192 databuf.buf = curptr; 193 retval = putpmsg(fd, &ctlbuf, &databuf, band, MSG_BAND);
|
H A D | t_sndv.c | 52 struct strbuf ctlbuf, databuf; local 214 databuf.maxlen = bytes_to_send; 215 databuf.len = bytes_to_send; 216 databuf.buf = curptr; 217 retval = putpmsg(fd, &ctlbuf, &databuf, band, MSG_BAND);
|
/illumos-gate/usr/src/lib/librpcsvc/common/ |
H A D | bindresvport.c | 109 char databuf[256]; local 114 data->maxlen = sizeof (databuf); 115 data->buf = databuf;
|
/illumos-gate/usr/src/lib/libcryptoutil/common/ |
H A D | passutils.c | 69 char *databuf = NULL; local 96 databuf = strdup(tmpbuf); 98 if (databuf == NULL) 111 (void) memset(databuf, 0, strlen(databuf)); 112 free(databuf); 116 if (strcmp(databuf, tmpbuf) != 0) { 119 (void) memset(databuf, 0, strlen(databuf)); 120 free(databuf); [all...] |
/illumos-gate/usr/src/uts/common/io/cpqary3/ |
H A D | cpqary3_noe.c | 112 NoeBuffer *databuf; local 153 databuf = (NoeBuffer *)cpqary3_alloc_phyctgs_mem(ctlr, 155 if (!databuf) { 158 bzero(databuf, sizeof (NoeBuffer)); 174 memp->driverdata->sg = databuf;
|
H A D | cpqary3_ioctl.c | 325 int8_t *databuf = NULL; local 333 /* Get the databuf when buf_len is greater than zero */ 335 databuf = memp->driverdata->sg; 342 * to databuf 349 (void*)databuf, bmic_pass->buf_len, mode)) { 381 * First copy the buffer databuf to bmic_pass.buf 389 if (ddi_copyout((void *)databuf, 594 int8_t *databuf = NULL; local 604 /* Get the databuf when buf_len is greater than zero */ 606 databuf [all...] |
/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | inet6_opt.c | 197 inet6_opt_set_val(void *databuf, int offset, void *val, socklen_t vallen) argument 199 memcpy((uint8_t *)databuf + offset, val, vallen); 291 * Section 10.7 RFC 3542. databuf should be a pointer as returned by 296 inet6_opt_get_val(void *databuf, int offset, void *val, socklen_t vallen) argument 298 memcpy(val, (uint8_t *)databuf + offset, vallen);
|
/illumos-gate/usr/src/cmd/fs.d/smbclnt/smbutil/ |
H A D | print.c | 58 static char databuf[4096]; variable 204 rcnt = read(file, databuf, sizeof (databuf)); 213 wcnt = smb_fh_write(pfd, offset, rcnt, databuf);
|
/illumos-gate/usr/src/lib/pkcs11/libpkcs11/common/ |
H A D | metaSession.c | 354 CK_BYTE *databuf) 382 slot_session->hSession, databuf, state->op_state_len, 390 slot_session->hSession, databuf, state->op_state_len, 350 meta_set_opstate(slot_session_t *slot_session, meta_object_t *meta_enc_key, meta_object_t *meta_auth_key, struct opstate_data *state, CK_BYTE *databuf) argument
|
/illumos-gate/usr/src/lib/libbc/inc/include/sys/ |
H A D | stropts.h | 132 struct strbuf databuf; member in struct:strpeek 141 struct strbuf databuf; member in struct:strfdinsert
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/ |
H A D | pppoed.c | 257 handle_input(uint32_t *ctrlbuf, int ctrllen, uint32_t *databuf, int datalen) argument 259 poep_t *poep = (poep_t *)databuf;
|
/illumos-gate/usr/src/cmd/rpcsvc/rpc.bootparamd/ |
H A D | bootparam_ip_route.c | 78 struct strbuf ctlbuf, databuf; local 186 databuf.maxlen = last_item->length; 187 databuf.buf = last_item->valp; 188 databuf.len = 0; 190 getcode = getmsg(sd, nilp(struct strbuf), &databuf, &flags); 196 "databuf.maxlen = %d, databuf.len = %d", 197 getcode, databuf.maxlen, databuf.len);
|