| /freebsd-12.1/sys/dev/iser/ |
| H A D | iser_initiator.c | 286 tlen = data_buf->data_len; in iser_buf_to_sg() 289 sg = &data_buf->sgl[i]; in iser_buf_to_sg() 296 data_buf->size = i; in iser_buf_to_sg() 313 sg = &data_buf->sgl[i]; in iser_bio_to_sg() 319 data_buf->size = i; in iser_bio_to_sg() 362 struct iser_data_buf *data_buf; in iser_send_command() local 374 data_buf = &iser_pdu->data[ISER_DIR_IN]; in iser_send_command() 376 data_buf = &iser_pdu->data[ISER_DIR_OUT]; in iser_send_command() 379 data_buf->sg = csio->data_ptr; in iser_send_command() 380 data_buf->data_len = csio->dxfer_len; in iser_send_command() [all …]
|
| /freebsd-12.1/sys/contrib/octeon-sdk/ |
| H A D | cvmx-twsi.c | 126 u8 data_buf[8]; in cvmx_twsix_read_ia() local 153 msg[1].buf = data_buf; in cvmx_twsix_read_ia() 162 r = (r << 8) | data_buf[i]; in cvmx_twsix_read_ia() 259 u8 data_buf[8]; in cvmx_twsix_read() local 273 msg[0].buf = data_buf; in cvmx_twsix_read() 282 r = (r << 8) | data_buf[i]; in cvmx_twsix_read() 371 u8 data_buf[8]; in cvmx_twsix_write() local 382 data_buf[j] = (u8)(data >> (i * 8)); in cvmx_twsix_write() 387 msg[0].buf = data_buf; in cvmx_twsix_write() 454 u8 data_buf[8]; in cvmx_twsix_write_ia() local [all …]
|
| /freebsd-12.1/sbin/camcontrol/ |
| H A D | attrib.c | 126 uint8_t *data_buf = NULL; in scsiattrib() local 158 data_buf = malloc(dxfer_len); in scsiattrib() 159 if (data_buf == NULL) { in scsiattrib() 329 /*data_ptr*/ data_buf, in scsiattrib() 374 hdr = (struct scsi_read_attribute_values *)data_buf; in scsiattrib() 434 hdr = (struct scsi_attrib_list_header *)data_buf; in scsiattrib() 481 lv_list = (struct scsi_attrib_lv_list *)data_buf; in scsiattrib() 500 free(data_buf); in scsiattrib()
|
| /freebsd-12.1/contrib/ldns/ |
| H A D | dnssec.c | 508 ldns_buffer *data_buf; in ldns_key_rr2ds() local 577 data_buf = ldns_buffer_new(LDNS_MAX_PACKETLEN); in ldns_key_rr2ds() 578 if (!data_buf) { in ldns_key_rr2ds() 594 ldns_buffer_free(data_buf); in ldns_key_rr2ds() 612 if (ldns_rdf2buffer_wire(data_buf, tmp) != LDNS_STATUS_OK) { in ldns_key_rr2ds() 614 ldns_buffer_free(data_buf); in ldns_key_rr2ds() 622 if (ldns_rr_rdata2buffer_wire(data_buf, in ldns_key_rr2ds() 625 ldns_buffer_free(data_buf); in ldns_key_rr2ds() 653 (unsigned int) ldns_buffer_position(data_buf), in ldns_key_rr2ds() 656 ldns_buffer_free(data_buf); in ldns_key_rr2ds() [all …]
|
| /freebsd-12.1/sys/dev/tws/ |
| H A D | tws_user.c | 258 memcpy(&eventp, ubuf->data_buf, sizeof(struct tws_event_packet)); in tws_retrive_aen() 272 memcpy(&eventp, ubuf->data_buf, sizeof(struct tws_event_packet)); in tws_retrive_aen() 291 memcpy(ubuf->data_buf, &qp[index], in tws_retrive_aen() 319 memcpy(&lpkt, ubuf->data_buf, sizeof(struct tws_lock_packet)); in tws_ioctl_aen() 362 memcpy(ubuf->data_buf, &cpkt, len); in tws_ioctl_aen()
|
| H A D | tws_user.h | 95 char data_buf[1]; member 132 char data_buf[1]; member
|
| /freebsd-12.1/sys/dev/twa/ |
| H A D | tw_cl_io.c | 416 tw_osl_memcpy(user_buf->data_buf, in tw_cl_ioctl() 452 tw_osl_memcpy(user_buf->data_buf, in tw_cl_ioctl() 494 tw_osl_memcpy(&event_buf, user_buf->data_buf, in tw_cl_ioctl() 530 tw_osl_memcpy(user_buf->data_buf, in tw_cl_ioctl() 564 tw_osl_memcpy(&event_buf, user_buf->data_buf, in tw_cl_ioctl() 593 tw_osl_memcpy(user_buf->data_buf, in tw_cl_ioctl() 611 tw_osl_memcpy(&lock_pkt, user_buf->data_buf, in tw_cl_ioctl() 632 tw_osl_memcpy(user_buf->data_buf, &lock_pkt, in tw_cl_ioctl() 683 tw_osl_memcpy(user_buf->data_buf, &comp_pkt, in tw_cl_ioctl()
|
| H A D | tw_osl_ioctl.h | 94 TW_INT8 data_buf[1]; member
|
| H A D | tw_cl_ioctl.h | 107 TW_INT8 data_buf[1]; member
|
| /freebsd-12.1/sys/i386/ibcs2/ |
| H A D | imgact_coff.c | 74 unsigned char *data_buf = NULL; in load_coff_section() local 139 (vm_offset_t *) &data_buf, in load_coff_section() 149 error = copyout(data_buf, (caddr_t) map_addr, copy_len); in load_coff_section() 151 kmap_free_wakeup(exec_map, (vm_offset_t)data_buf, PAGE_SIZE); in load_coff_section()
|
| /freebsd-12.1/cddl/contrib/opensolaris/cmd/lockstat/ |
| H A D | lockstat.c | 1116 char *data_buf; in main() local 1527 if ((data_buf = memalign(sizeof (uint64_t), in main() 1530 if (posix_memalign((void **)&data_buf, sizeof (uint64_t), in main() 1538 g_nrecs_used = process_data(out, data_buf); in main() 1545 for (i = 0, lsp = (lsrec_t *)data_buf; i < g_nrecs_used; i++, in main() 1569 for (i = 0, oldlsp = (lsrec_t *)data_buf; i < g_nrecs_used; i++, in main() 1604 free(data_buf); in main() 1605 data_buf = (char *)newlsp; in main() 1617 for (i = 0, lsp = (lsrec_t *)data_buf; i < g_nrecs_used; i++, in main() 1717 for (i = 0, lsp = (lsrec_t *)data_buf; i < g_nrecs_used; i++, in main()
|
| /freebsd-12.1/sys/dev/cxgbe/cudbg/ |
| H A D | cudbg.h | 472 int cudbg_read_flash_data(void *handle, void *data_buf, u32 data_buf_size);
|
| /freebsd-12.1/sys/powerpc/ps3/ |
| H A D | ps3-hvcall.h | 136 …t dev, uint64_t cmd_id, uint64_t cmd_block, uint64_t cmd_size, uint64_t data_buf, uint64_t blocks,…
|
| /freebsd-12.1/contrib/ofed/librdmacm/ |
| H A D | rsocket.c | 211 struct rs_sge data_buf; member 1054 conn->data_buf.addr = (__force uint64_t)htobe64((uintptr_t) rs->rbuf); in rs_format_conn_data() 1055 conn->data_buf.length = (__force uint32_t)htobe32(rs->rbuf_size >> 1); in rs_format_conn_data() 1056 conn->data_buf.key = (__force uint32_t)htobe32(rs->rmr->rkey); in rs_format_conn_data() 1076 rs->target_sgl[0].addr = be64toh((__force __be64)conn->data_buf.addr); in rs_save_conn_data() 1077 rs->target_sgl[0].length = be32toh((__force __be32)conn->data_buf.length); in rs_save_conn_data() 1078 rs->target_sgl[0].key = be32toh((__force __be32)conn->data_buf.key); in rs_save_conn_data()
|
| /freebsd-12.1/crypto/openssl/crypto/evp/ |
| H A D | e_aes.c | 92 unsigned char data_buf[16]; /* Store partial data blocks */ member 4156 buf = octx->data_buf; in aes_ocb_cipher() 4240 if (!CRYPTO_ocb128_encrypt(&octx->ocb, octx->data_buf, out, in aes_ocb_cipher() 4244 if (!CRYPTO_ocb128_decrypt(&octx->ocb, octx->data_buf, out, in aes_ocb_cipher()
|
| /freebsd-12.1/sys/dev/bxe/ |
| H A D | bxe.c | 1395 uint8_t *data_buf, in bxe_nvram_write1() argument 1425 val |= (*data_buf << BYTE_OFFSET(offset)); in bxe_nvram_write1() 1445 uint8_t *data_buf, in bxe_nvram_write() argument 1454 return (bxe_nvram_write1(sc, offset, data_buf, buf_size)); in bxe_nvram_write() 1494 memcpy(&val, data_buf, 4); in bxe_nvram_write() 1500 data_buf += sizeof(uint32_t); in bxe_nvram_write()
|
| /freebsd-12.1/sys/dev/bce/ |
| H A D | if_bce.c | 2771 bce_nvram_write(struct bce_softc *sc, u32 offset, u8 *data_buf, in bce_nvram_write() argument 2781 buf = data_buf; in bce_nvram_write() 2818 memcpy(buf + align_start, data_buf, buf_size); in bce_nvram_write()
|