| /freebsd-13.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-13.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-13.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-13.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-13.1/sys/dev/tws/ |
| H A D | tws_user.h | 94 char data_buf[1]; member 129 char data_buf[1]; member
|
| H A D | tws_user.c | 255 memcpy(&eventp, ubuf->data_buf, sizeof(struct tws_event_packet)); in tws_retrive_aen() 269 memcpy(&eventp, ubuf->data_buf, sizeof(struct tws_event_packet)); in tws_retrive_aen() 288 memcpy(ubuf->data_buf, &qp[index], in tws_retrive_aen() 316 memcpy(&lpkt, ubuf->data_buf, sizeof(struct tws_lock_packet)); in tws_ioctl_aen() 358 memcpy(ubuf->data_buf, &cpkt, len); in tws_ioctl_aen()
|
| /freebsd-13.1/sys/dev/twa/ |
| H A D | tw_cl_io.c | 406 tw_osl_memcpy(user_buf->data_buf, in tw_cl_ioctl() 441 tw_osl_memcpy(user_buf->data_buf, in tw_cl_ioctl() 482 tw_osl_memcpy(&event_buf, user_buf->data_buf, in tw_cl_ioctl() 518 tw_osl_memcpy(user_buf->data_buf, in tw_cl_ioctl() 551 tw_osl_memcpy(&event_buf, user_buf->data_buf, in tw_cl_ioctl() 580 tw_osl_memcpy(user_buf->data_buf, in tw_cl_ioctl() 597 tw_osl_memcpy(&lock_pkt, user_buf->data_buf, in tw_cl_ioctl() 618 tw_osl_memcpy(user_buf->data_buf, &lock_pkt, in tw_cl_ioctl() 667 tw_osl_memcpy(user_buf->data_buf, &comp_pkt, in tw_cl_ioctl()
|
| H A D | tw_osl_ioctl.h | 86 TW_INT8 data_buf[1]; member
|
| H A D | tw_cl_ioctl.h | 99 TW_INT8 data_buf[1]; member
|
| /freebsd-13.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-13.1/sys/dev/ntb/test/ |
| H A D | ntb_tool.c | 584 void *data_buf; in tool_mw_write_fn() local 621 data_buf = malloc(data_buf_size, M_NTB_TOOL, M_WAITOK | M_ZERO); in tool_mw_write_fn() 624 memset(data_buf, pattern, data_buf_size); in tool_mw_write_fn() 626 arc4rand(data_buf, data_buf_size, 1); in tool_mw_write_fn() 628 memcpy(write_buf + *buf_offset, data_buf, data_buf_size); in tool_mw_write_fn() 630 free(data_buf, M_NTB_TOOL); in tool_mw_write_fn()
|
| /freebsd-13.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-13.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-13.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-13.1/contrib/wpa/src/ap/ |
| H A D | ieee802_11.c | 2955 u8 *data_buf = NULL; in handle_auth_pasn_resp() local 3045 data_buf = os_zalloc(rsn_ie[1] + 2 + rsnxe_ie[1] + 2); in handle_auth_pasn_resp() 3046 if (!data_buf) in handle_auth_pasn_resp() 3049 os_memcpy(data_buf, rsn_ie, rsn_ie[1] + 2); in handle_auth_pasn_resp() 3050 os_memcpy(data_buf + rsn_ie[1] + 2, rsnxe_ie, rsnxe_ie[1] + 2); in handle_auth_pasn_resp() 3052 data = data_buf; in handle_auth_pasn_resp() 3060 os_free(data_buf); in handle_auth_pasn_resp()
|
| /freebsd-13.1/crypto/openssl/crypto/evp/ |
| H A D | e_aes.c | 92 unsigned char data_buf[16]; /* Store partial data blocks */ member 4158 buf = octx->data_buf; in aes_ocb_cipher() 4242 if (!CRYPTO_ocb128_encrypt(&octx->ocb, octx->data_buf, out, in aes_ocb_cipher() 4246 if (!CRYPTO_ocb128_decrypt(&octx->ocb, octx->data_buf, out, in aes_ocb_cipher()
|
| /freebsd-13.1/sys/dev/bxe/ |
| H A D | bxe.c | 1388 uint8_t *data_buf, in bxe_nvram_write1() argument 1418 val |= (*data_buf << BYTE_OFFSET(offset)); in bxe_nvram_write1() 1438 uint8_t *data_buf, in bxe_nvram_write() argument 1447 return (bxe_nvram_write1(sc, offset, data_buf, buf_size)); in bxe_nvram_write() 1487 memcpy(&val, data_buf, 4); in bxe_nvram_write() 1493 data_buf += sizeof(uint32_t); in bxe_nvram_write()
|
| /freebsd-13.1/sys/dev/bce/ |
| H A D | if_bce.c | 2715 bce_nvram_write(struct bce_softc *sc, u32 offset, u8 *data_buf, in bce_nvram_write() argument 2725 buf = data_buf; in bce_nvram_write() 2762 memcpy(buf + align_start, data_buf, buf_size); in bce_nvram_write()
|