/illumos-gate/usr/src/cmd/cmd-crypto/decrypt/ |
H A D | decrypt.c | 1055 CK_BYTE databuf[BUFFERSIZE]; in crypt_multipart() local 1064 datalen = sizeof (databuf); in crypt_multipart() 1072 while ((nread = read(infd, databuf, datalen)) > 0) { in crypt_multipart() 1076 rv = cmd->Update(hSession, databuf, (CK_ULONG)nread, in crypt_multipart() 1098 rv = cmd->Update(hSession, databuf, (CK_ULONG)nread, in crypt_multipart()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/netstat/ |
H A D | netstat.c | 1136 struct strbuf ctlbuf, databuf; in mibget() local 1258 databuf.maxlen = last_item->length; in mibget() 1259 databuf.buf = (char *)last_item->valp; in mibget() 1260 databuf.len = 0; in mibget() 1262 getcode = getmsg(sd, (struct strbuf *)0, &databuf, &flags); in mibget() 1269 getcode, databuf.maxlen, databuf.len); in mibget()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.mpathd/ |
H A D | mpd_main.c | 2913 struct strbuf ctlbuf, databuf; in mibwalk() local 3048 databuf.maxlen = last_item->mi_opthdr.len; in mibwalk() 3049 databuf.buf = (char *)last_item->mi_valp; in mibwalk() 3050 databuf.len = 0; in mibwalk() 3055 if ((rval = getmsg(mibfd, NULL, &databuf, in mibwalk()
|
/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) in handle_input() argument 259 poep_t *poep = (poep_t *)databuf; in handle_input()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | route.c | 3062 struct strbuf ctlbuf, databuf; in mibget() local 3175 databuf.maxlen = last_item->length; in mibget() 3176 databuf.buf = (char *)last_item->valp; in mibget() 3177 databuf.len = 0; in mibget() 3179 getcode = getmsg(sd, NULL, &databuf, &flags); in mibget() 3186 getcode, databuf.maxlen, databuf.len); in mibget()
|
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | nfs_tbind.c | 899 char databuf[256]; in do_poll_clts_action() local 1158 data->maxlen = sizeof (databuf); in do_poll_clts_action() 1159 data->buf = databuf; in do_poll_clts_action()
|
/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)); in print_file() 213 wcnt = smb_fh_write(pfd, offset, rcnt, databuf); in print_file()
|
/illumos-gate/usr/src/cmd/listen/ |
H A D | nlps_serv.c | 355 peekp->databuf.maxlen = 2; in nullfix() 356 peekp->databuf.buf = junk; in nullfix() 367 if (peekp->databuf.len == 2) { in nullfix() 383 else if (peekp->databuf.len == 1) { in nullfix() 389 peekp->databuf.maxlen = 1; in nullfix() 400 if (peekp->databuf.len == 1) { in nullfix()
|
/illumos-gate/usr/src/cmd/rpcsvc/rpc.bootparamd/ |
H A D | bootparam_ip_route.c | 76 struct strbuf ctlbuf, databuf; in mibget() local 184 databuf.maxlen = last_item->length; in mibget() 185 databuf.buf = last_item->valp; in mibget() 186 databuf.len = 0; in mibget() 188 getcode = getmsg(sd, nilp(struct strbuf), &databuf, &flags); in mibget() 195 getcode, databuf.maxlen, databuf.len); in mibget()
|
/illumos-gate/usr/src/cmd/rpcsvc/ |
H A D | rstat_proc.c | 444 struct strbuf ctlbuf, databuf; in mibget() local 559 databuf.maxlen = last_item->length; in mibget() 560 databuf.buf = last_item->valp; in mibget() 561 databuf.len = 0; in mibget() 563 getcode = getmsg(sd, NULL, &databuf, &flags); in mibget() 570 getcode, databuf.maxlen, databuf.len); in mibget()
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | expound.c | 946 print_strbuf(pri, &strpeek.databuf, "dat", FALSE); in show_strpeek() 963 print_strbuf32(pri, &strpeek.databuf, "dat", FALSE); in show_strpeek32() 980 print_strbuf(pri, &strfdinsert.databuf, "dat", FALSE); in show_strfdinsert() 999 print_strbuf32(pri, &strfdinsert.databuf, "dat", FALSE); in show_strfdinsert32()
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | tmpeek.c | 167 peekp->databuf.maxlen = n; in do_peek() 168 peekp->databuf.buf = buf; in do_peek() 177 return (&(peekp->databuf)); in do_peek()
|
/illumos-gate/usr/src/common/crypto/padding/ |
H A D | padding.h | 68 int pkcs1_encode(int method, uint8_t *databuf, size_t datalen, uint8_t *padbuf, 72 int pkcs7_encode(uint8_t *databuf, size_t datalen, uint8_t *padbuf,
|
H A D | pkcs1.c | 64 pkcs1_encode(int method, uint8_t *databuf, size_t datalen, uint8_t *padbuf, in pkcs1_encode() argument 101 bcopy(databuf, padbuf + padlen, datalen); in pkcs1_encode()
|
H A D | pkcs7.c | 75 pkcs7_encode(uint8_t *databuf, size_t datalen, uint8_t *padbuf, in pkcs7_encode() argument 81 if (databuf == NULL) in pkcs7_encode() 88 bcopy(databuf, padbuf, datalen); in pkcs7_encode()
|
/illumos-gate/usr/src/common/zfs/ |
H A D | zfs_fletcher.c | 712 char *databuf = kmem_alloc(data_size, KM_SLEEP); in fletcher_4_benchmark() local 715 ((uint64_t *)databuf)[i] = (uintptr_t)(databuf+i); /* warm-up */ in fletcher_4_benchmark() 717 fletcher_4_benchmark_impl(B_FALSE, databuf, data_size); in fletcher_4_benchmark() 718 fletcher_4_benchmark_impl(B_TRUE, databuf, data_size); in fletcher_4_benchmark() 720 kmem_free(databuf, data_size); in fletcher_4_benchmark()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/ |
H A D | lib | 393 char databuf[32]; 397 peek.databuf.maxlen = peek.databuf.len = sizeof(databuf); 398 peek.databuf.buf = databuf;
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/sfio/ |
H A D | sfpkrd.c | 99 pbuf.databuf.maxlen = n; 100 pbuf.databuf.buf = buf; 101 pbuf.databuf.len = 0; 110 if(r > 0 && (r = pbuf.databuf.len) <= 0)
|
/illumos-gate/usr/src/head/arpa/ |
H A D | nameser.h | 284 struct databuf *r_dp; /* databuf to process */ 285 struct databuf *r_deldp; /* databuf's deleted/overwritten */
|
/illumos-gate/usr/src/lib/libcryptoutil/common/ |
H A D | passutils.c | 69 char *databuf = NULL; in pkcs11_get_pass() local 96 databuf = strdup(tmpbuf); in pkcs11_get_pass() 98 if (databuf == NULL) in pkcs11_get_pass() 111 (void) memset(databuf, 0, strlen(databuf)); in pkcs11_get_pass() 112 free(databuf); in pkcs11_get_pass() 116 if (strcmp(databuf, tmpbuf) != 0) { in pkcs11_get_pass() 119 (void) memset(databuf, 0, strlen(databuf)); in pkcs11_get_pass() 120 free(databuf); in pkcs11_get_pass() 125 *pdata = databuf; in pkcs11_get_pass() 126 *psize = strlen(databuf); in pkcs11_get_pass()
|
/illumos-gate/usr/src/lib/libdlpi/common/ |
H A D | libdlpi.c | 1261 const void *databuf, size_t datalen, int flags) in i_dlpi_strputmsg() argument 1273 data.buf = (void *)databuf; in i_dlpi_strputmsg() 1277 (databuf == NULL ? NULL : &data), flags); in i_dlpi_strputmsg() 1305 void *databuf, size_t *datalenp, size_t *totdatalenp) in i_dlpi_strgetmsg() argument 1325 if ((databuf == NULL && datalenp != NULL) || in i_dlpi_strgetmsg() 1326 (databuf != NULL && datalenp == NULL)) in i_dlpi_strgetmsg() 1336 data.buf = (databuf == NULL) ? bufd : databuf; in i_dlpi_strgetmsg() 1338 data.maxlen = (databuf == NULL) ? sizeof (bufd): *datalenp; in i_dlpi_strgetmsg() 1426 if (databuf != NULL && data.len >= 0) { in i_dlpi_strgetmsg()
|
/illumos-gate/usr/src/lib/libnsl/nsl/ |
H A D | _conn_util.c | 156 struct strbuf databuf; in _t_rcv_conn_con() local 204 if (databuf.len == -1) databuf.len = 0; in _t_rcv_conn_con() 269 if (databuf.len > (int)call->udata.maxlen) { in _t_rcv_conn_con() 273 (void) memcpy(call->udata.buf, databuf.buf, in _t_rcv_conn_con() 274 (size_t)databuf.len); in _t_rcv_conn_con() 275 call->udata.len = databuf.len; in _t_rcv_conn_con() 284 free(databuf.buf); in _t_rcv_conn_con() 286 tiptr->ti_rcvbuf = databuf.buf; in _t_rcv_conn_con() 299 if (_t_register_lookevent(tiptr, databuf.buf, databuf.len, in _t_rcv_conn_con() 316 free(databuf.buf); in _t_rcv_conn_con() [all …]
|
H A D | _utility.c | 338 struct strbuf databuf; in _t_is_ok() local 355 if (_t_acquire_databuf(tiptr, &databuf, &didralloc) < 0) { in _t_is_ok() 421 free(databuf.buf); in _t_is_ok() 423 tiptr->ti_rcvbuf = databuf.buf; in _t_is_ok() 464 free(databuf.buf); in _t_is_ok() 466 tiptr->ti_rcvbuf = databuf.buf; in _t_is_ok() 1119 arg.databuf.buf = databuf; in _t_adjust_state() 1120 arg.databuf.maxlen = (int)sizeof (databuf); in _t_adjust_state() 1121 arg.databuf.len = 0; in _t_adjust_state() 1146 ((arg.ctlbuf.len == 0) && arg.databuf.len)) { in _t_adjust_state() [all …]
|
H A D | t_accept.c | 256 strfdinsert.databuf.maxlen = call->udata.maxlen; in _tx_accept() 257 strfdinsert.databuf.len = in _tx_accept() 259 strfdinsert.databuf.buf = call->udata.buf; in _tx_accept()
|
H A D | t_listen.c | 48 struct strbuf databuf; in _tx_listen() local 150 if (databuf.len == -1) databuf.len = 0; in _tx_listen() 221 if (databuf.len > (int)call->udata.maxlen) { in _tx_listen() 225 (void) memcpy(call->udata.buf, databuf.buf, in _tx_listen() 226 (size_t)databuf.len); in _tx_listen() 227 call->udata.len = databuf.len; in _tx_listen() 235 free(databuf.buf); in _tx_listen() 237 tiptr->ti_rcvbuf = databuf.buf; in _tx_listen() 247 databuf.len, ctlbuf.buf, in _tx_listen() 270 free(databuf.buf); in _tx_listen() [all …]
|