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

/freebsd-10-stable/sys/dev/tws/
H A Dtws_user.h93 char data_buf[1]; member in struct:tws_ioctl_packet
102 * data_buf is not overwritten by the kernel, after we return
110 void *pdata; /* points to data_buf */
130 char data_buf[1]; member in union:tws_ioctl_with_payload::__anon9999
H A Dtws_user.c252 memcpy(&eventp, ubuf->data_buf, sizeof(struct tws_event_packet));
266 memcpy(&eventp, ubuf->data_buf, sizeof(struct tws_event_packet));
285 memcpy(ubuf->data_buf, &qp[index],
313 memcpy(&lpkt, ubuf->data_buf, sizeof(struct tws_lock_packet));
356 memcpy(ubuf->data_buf, &cpkt, len);
/freebsd-10-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-10-stable/sys/dev/twa/
H A Dtw_cl_ioctl.h105 TW_INT8 data_buf[1]; member in struct:tw_cl_ioctl_packet
H A Dtw_osl_ioctl.h58 * data_buf is not overwritten by the kernel, after we return
66 TW_VOID *pdata; /* points to data_buf */
92 TW_INT8 data_buf[1]; member in union:tw_osli_ioctl_with_payload::__anon9978
H A Dtw_cl_io.c414 tw_osl_memcpy(user_buf->data_buf,
450 tw_osl_memcpy(user_buf->data_buf,
492 tw_osl_memcpy(&event_buf, user_buf->data_buf,
528 tw_osl_memcpy(user_buf->data_buf,
562 tw_osl_memcpy(&event_buf, user_buf->data_buf,
591 tw_osl_memcpy(user_buf->data_buf,
609 tw_osl_memcpy(&lock_pkt, user_buf->data_buf,
630 tw_osl_memcpy(user_buf->data_buf, &lock_pkt,
681 tw_osl_memcpy(user_buf->data_buf, &comp_pkt,
/freebsd-10-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,
380 hdr = (struct scsi_read_attribute_values *)data_buf;
440 hdr = (struct scsi_attrib_list_header *)data_buf;
487 lv_list = (struct scsi_attrib_lv_list *)data_buf;
506 free(data_buf);
/freebsd-10-stable/contrib/ldns/
H A Ddnssec.c481 ldns_buffer *data_buf; local
550 data_buf = ldns_buffer_new(LDNS_MAX_PACKETLEN);
551 if (!data_buf) {
567 ldns_buffer_free(data_buf);
585 if (ldns_rdf2buffer_wire(data_buf, tmp) != LDNS_STATUS_OK) {
587 ldns_buffer_free(data_buf);
595 if (ldns_rr_rdata2buffer_wire(data_buf,
598 ldns_buffer_free(data_buf);
604 (void) ldns_sha1((unsigned char *) ldns_buffer_begin(data_buf),
605 (unsigned int) ldns_buffer_position(data_buf),
[all...]
/freebsd-10-stable/sys/i386/ibcs2/
H A Dimgact_coff.c72 unsigned char *data_buf = 0; local
137 (vm_offset_t *) &data_buf,
147 error = copyout(data_buf, (caddr_t) map_addr, copy_len);
149 kmap_free_wakeup(exec_map, (vm_offset_t)data_buf, PAGE_SIZE);
/freebsd-10-stable/cddl/contrib/opensolaris/cmd/lockstat/
H A Dlockstat.c1073 char *data_buf; local
1482 if ((data_buf = memalign(sizeof (uint64_t),
1485 if (posix_memalign((void **)&data_buf, sizeof (uint64_t),
1493 g_nrecs_used = process_data(out, data_buf);
1500 for (i = 0, lsp = (lsrec_t *)data_buf; i < g_nrecs_used; i++,
1524 for (i = 0, oldlsp = (lsrec_t *)data_buf; i < g_nrecs_used; i++,
1553 free(data_buf);
1554 data_buf = (char *)newlsp;
1566 for (i = 0, lsp = (lsrec_t *)data_buf; i < g_nrecs_used; i++,
/freebsd-10-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-10-stable/sys/dev/bxe/
H A Dbxe.c1396 uint8_t *data_buf,
1426 val |= (*data_buf << BYTE_OFFSET(offset));
1446 uint8_t *data_buf,
1455 return (bxe_nvram_write1(sc, offset, data_buf, buf_size));
1495 memcpy(&val, data_buf, 4);
1501 data_buf += sizeof(uint32_t);
1394 bxe_nvram_write1(struct bxe_softc *sc, uint32_t offset, uint8_t *data_buf, int buf_size) argument
1444 bxe_nvram_write(struct bxe_softc *sc, uint32_t offset, uint8_t *data_buf, int buf_size) argument
/freebsd-10-stable/sys/dev/bce/
H A Dif_bce.c2733 bce_nvram_write(struct bce_softc *sc, u32 offset, u8 *data_buf, argument
2743 buf = data_buf;
2780 memcpy(buf + align_start, data_buf, buf_size);

Completed in 306 milliseconds