Searched refs:data_buf (Results 1 - 17 of 17) sorted by relevance

/freebsd-12-stable/sys/dev/iser/
H A Diser_initiator.c279 iser_buf_to_sg(void *buf, struct iser_data_buf *data_buf) argument
286 tlen = data_buf->data_len;
289 sg = &data_buf->sgl[i];
296 data_buf->size = i;
302 iser_bio_to_sg(struct bio *bp, struct iser_data_buf *data_buf) argument
313 sg = &data_buf->sgl[i];
319 data_buf->size = i;
324 iser_csio_to_sg(struct ccb_scsiio *csio, struct iser_data_buf *data_buf) argument
332 iser_bio_to_sg((struct bio *) csio->data_ptr, data_buf);
343 iser_buf_to_sg(csio->data_ptr, data_buf);
362 struct iser_data_buf *data_buf; local
[all...]
/freebsd-12-stable/sys/dev/tws/
H A Dtws_user.h95 char data_buf[1]; member in struct:tws_ioctl_packet
104 * data_buf is not overwritten by the kernel, after we return
112 void *pdata; /* points to data_buf */
132 char data_buf[1]; member in union:tws_ioctl_with_payload::__anon15393
H A Dtws_user.c258 memcpy(&eventp, ubuf->data_buf, sizeof(struct tws_event_packet));
272 memcpy(&eventp, ubuf->data_buf, sizeof(struct tws_event_packet));
291 memcpy(ubuf->data_buf, &qp[index],
319 memcpy(&lpkt, ubuf->data_buf, sizeof(struct tws_lock_packet));
362 memcpy(ubuf->data_buf, &cpkt, len);
/freebsd-12-stable/sys/contrib/octeon-sdk/
H A Dcvmx-twsi.c126 u8 data_buf[8]; local
153 msg[1].buf = data_buf;
162 r = (r << 8) | data_buf[i];
259 u8 data_buf[8]; local
273 msg[0].buf = data_buf;
282 r = (r << 8) | data_buf[i];
371 u8 data_buf[8]; local
382 data_buf[j] = (u8)(data >> (i * 8));
387 msg[0].buf = data_buf;
454 u8 data_buf[ local
[all...]
/freebsd-12-stable/sys/dev/twa/
H A Dtw_cl_ioctl.h107 TW_INT8 data_buf[1]; member in struct:tw_cl_ioctl_packet
H A Dtw_osl_ioctl.h60 * data_buf is not overwritten by the kernel, after we return
68 TW_VOID *pdata; /* points to data_buf */
94 TW_INT8 data_buf[1]; member in union:tw_osli_ioctl_with_payload::__anon15372
H A Dtw_cl_io.c416 tw_osl_memcpy(user_buf->data_buf,
452 tw_osl_memcpy(user_buf->data_buf,
494 tw_osl_memcpy(&event_buf, user_buf->data_buf,
530 tw_osl_memcpy(user_buf->data_buf,
564 tw_osl_memcpy(&event_buf, user_buf->data_buf,
593 tw_osl_memcpy(user_buf->data_buf,
611 tw_osl_memcpy(&lock_pkt, user_buf->data_buf,
632 tw_osl_memcpy(user_buf->data_buf, &lock_pkt,
683 tw_osl_memcpy(user_buf->data_buf, &comp_pkt,
/freebsd-12-stable/sbin/camcontrol/
H A Dattrib.c126 uint8_t *data_buf = NULL; local
158 data_buf = malloc(dxfer_len);
159 if (data_buf == NULL) {
329 /*data_ptr*/ data_buf,
374 hdr = (struct scsi_read_attribute_values *)data_buf;
434 hdr = (struct scsi_attrib_list_header *)data_buf;
481 lv_list = (struct scsi_attrib_lv_list *)data_buf;
500 free(data_buf);
/freebsd-12-stable/contrib/ldns/
H A Ddnssec.c508 ldns_buffer *data_buf; local
577 data_buf = ldns_buffer_new(LDNS_MAX_PACKETLEN);
578 if (!data_buf) {
594 ldns_buffer_free(data_buf);
612 if (ldns_rdf2buffer_wire(data_buf, tmp) != LDNS_STATUS_OK) {
614 ldns_buffer_free(data_buf);
622 if (ldns_rr_rdata2buffer_wire(data_buf,
625 ldns_buffer_free(data_buf);
631 (void) ldns_sha1((unsigned char *) ldns_buffer_begin(data_buf),
632 (unsigned int) ldns_buffer_position(data_buf),
[all...]
/freebsd-12-stable/sys/i386/ibcs2/
H A Dimgact_coff.c74 unsigned char *data_buf = NULL; local
139 (vm_offset_t *) &data_buf,
149 error = copyout(data_buf, (caddr_t) map_addr, copy_len);
151 kmap_free_wakeup(exec_map, (vm_offset_t)data_buf, PAGE_SIZE);
/freebsd-12-stable/cddl/contrib/opensolaris/cmd/lockstat/
H A Dlockstat.c1116 char *data_buf; local
1527 if ((data_buf = memalign(sizeof (uint64_t),
1530 if (posix_memalign((void **)&data_buf, sizeof (uint64_t),
1538 g_nrecs_used = process_data(out, data_buf);
1545 for (i = 0, lsp = (lsrec_t *)data_buf; i < g_nrecs_used; i++,
1569 for (i = 0, oldlsp = (lsrec_t *)data_buf; i < g_nrecs_used; i++,
1604 free(data_buf);
1605 data_buf = (char *)newlsp;
1617 for (i = 0, lsp = (lsrec_t *)data_buf; i < g_nrecs_used; i++,
1717 for (i = 0, lsp = (lsrec_t *)data_buf;
[all...]
/freebsd-12-stable/sys/dev/cxgbe/cudbg/
H A Dcudbg.h468 * @data_buf : A pointer to data buffer.
472 int cudbg_read_flash_data(void *handle, void *data_buf, u32 data_buf_size);
/freebsd-12-stable/sys/powerpc/ps3/
H A Dps3-hvcall.h136 int lv1_storage_send_device_command(uint64_t dev, uint64_t cmd_id, uint64_t cmd_block, uint64_t cmd_size, uint64_t data_buf, uint64_t blocks, uint64_t *dma_tag);
/freebsd-12-stable/contrib/ofed/librdmacm/
H A Drsocket.c211 struct rs_sge data_buf; member in struct:rs_conn_data
1054 conn->data_buf.addr = (__force uint64_t)htobe64((uintptr_t) rs->rbuf);
1055 conn->data_buf.length = (__force uint32_t)htobe32(rs->rbuf_size >> 1);
1056 conn->data_buf.key = (__force uint32_t)htobe32(rs->rmr->rkey);
1076 rs->target_sgl[0].addr = be64toh((__force __be64)conn->data_buf.addr);
1077 rs->target_sgl[0].length = be32toh((__force __be32)conn->data_buf.length);
1078 rs->target_sgl[0].key = be32toh((__force __be32)conn->data_buf.key);
/freebsd-12-stable/crypto/openssl/crypto/evp/
H A De_aes.c92 unsigned char data_buf[16]; /* Store partial data blocks */ member in struct:__anon8067
4156 buf = octx->data_buf;
4240 if (!CRYPTO_ocb128_encrypt(&octx->ocb, octx->data_buf, out,
4244 if (!CRYPTO_ocb128_decrypt(&octx->ocb, octx->data_buf, out,
/freebsd-12-stable/sys/dev/bxe/
H A Dbxe.c1395 uint8_t *data_buf,
1425 val |= (*data_buf << BYTE_OFFSET(offset));
1445 uint8_t *data_buf,
1454 return (bxe_nvram_write1(sc, offset, data_buf, buf_size));
1494 memcpy(&val, data_buf, 4);
1500 data_buf += sizeof(uint32_t);
1393 bxe_nvram_write1(struct bxe_softc *sc, uint32_t offset, uint8_t *data_buf, int buf_size) argument
1443 bxe_nvram_write(struct bxe_softc *sc, uint32_t offset, uint8_t *data_buf, int buf_size) argument
/freebsd-12-stable/sys/dev/bce/
H A Dif_bce.c2771 bce_nvram_write(struct bce_softc *sc, u32 offset, u8 *data_buf, argument
2781 buf = data_buf;
2818 memcpy(buf + align_start, data_buf, buf_size);

Completed in 405 milliseconds