Home
last modified time | relevance | path

Searched refs:bufaddr (Results 1 – 25 of 33) sorted by relevance

12

/titanic_44/usr/src/cmd/audio/utilities/
H A DAudioBuffer.cc42 AudioStream(local_name), buflen(len), bufaddr(0), zflag(0), bufsize(0) in AudioBuffer()
89 if (bufaddr != 0) { in alloc()
94 (void) zfree((char *)bufaddr); in alloc()
99 (void) free((char *)bufaddr); in alloc()
103 bufaddr = 0; in alloc()
111 } else if (bufaddr == 0) { in alloc()
117 bufaddr = (void*) zmalloc((unsigned int)size); in alloc()
123 bufaddr = (void*) malloc((unsigned int)size); in alloc()
126 if (bufaddr == 0) { in alloc()
140 bufaddr = (void*) in alloc()
[all …]
/titanic_44/usr/src/cmd/format/
H A Ddisk_generic.c68 caddr_t bufaddr, int flags, int *xfercntp);
111 generic_rdwr(dir, fd, blkno, secnt, bufaddr, flags, xfercntp) in generic_rdwr() argument
116 caddr_t bufaddr;
138 status = read(fd, bufaddr, (size_t)tmpsec);
150 status = write(fd, bufaddr, (size_t)tmpsec);
H A Dctlr_ata.c143 ata_rdwr(int dir, int fd, diskaddr_t blk64, int secnt, caddr_t bufaddr, in ata_rdwr() argument
147 ata_rdwr(int dir, int fd, diskaddr_t blk64, int secnt, caddr_t bufaddr, in ata_rdwr()
166 dadkio_rwcmd.bufaddr = bufaddr; in ata_rdwr()
216 char *bufaddr; in ata_ck_format() local
219 bufaddr = (char *)zalloc(4 * cur_blksz); in ata_ck_format()
221 (caddr_t)bufaddr, 0, NULL); in ata_ck_format()
223 free(bufaddr); in ata_ck_format()
H A Dctlr_scsi.c199 scsi_rdwr(dir, fd, blkno, secnt, bufaddr, flags, xfercntp) in scsi_rdwr() argument
204 caddr_t bufaddr;
257 ucmd.uscsi_bufaddr = bufaddr;
284 bufaddr += nsectors * cur_blksz;
/titanic_44/usr/src/uts/common/sys/
H A Dcmlb_impl.h226 #define DK_TG_READ(ihdlp, bufaddr, start_block, reqlength, tg_cookie)\ argument
228 bufaddr, start_block, reqlength, tg_cookie)
230 #define DK_TG_WRITE(ihdlp, bufaddr, start_block, reqlength, tg_cookie)\ argument
232 bufaddr, start_block, reqlength, tg_cookie)
/titanic_44/usr/src/uts/sun/sys/dada/targets/
H A Ddadpriv.h86 caddr_t bufaddr; member
95 caddr32_t bufaddr; member
/titanic_44/usr/src/uts/i86pc/i86hvm/io/
H A Dpv_cmdk.c340 rwcmdp->bufaddr = (caddr_t)(intptr_t)cmd32.bufaddr; in xdfs_rwcmd_copyin()
373 ASSERT64(((uintptr_t)rwcmdp->bufaddr >> 32) == 0); in xdfs_rwcmd_copyout()
374 cmd32.bufaddr = (caddr32_t)(uintptr_t)rwcmdp->bufaddr; in xdfs_rwcmd_copyout()
427 aiov.iov_base = rwcmdp->bufaddr; in xdfs_dioctl_rwcmd()
H A Dxdf_shell.c469 xdfs_lb_rdwr(dev_info_t *dip, uchar_t cmd, void *bufaddr, in xdfs_lb_rdwr() argument
483 cmd, bufaddr, start, count, tg_cookie); in xdfs_lb_rdwr()
/titanic_44/usr/src/uts/common/sys/dktp/
H A Ddadkio.h197 caddr_t bufaddr; member
207 caddr32_t bufaddr; member
/titanic_44/usr/src/grub/grub-0.97/netboot/
H A Depic100.c33 unsigned long bufaddr; member
42 unsigned long bufaddr; member
271 rx_ring[i].bufaddr = virt_to_bus(&rx_packet[i * PKT_BUF_SZ]); in epic100_init_ring()
285 tx_ring[i].bufaddr = virt_to_bus(&tx_packet[i * PKT_BUF_SZ]); in epic100_init_ring()
/titanic_44/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_ixl_update.c135 uv.bufaddr = 0; in hci1394_ixl_update()
1081 uvp->bufaddr = ((ixl1394_xfer_pkt_t *) in hci1394_ixl_update_prep_recv_pkt()
1211 uvp->bufaddr = new_xfer_buf_ixlp->ixl_buf.ixldmac_addr; in hci1394_ixl_update_prep_recv_buf()
1339 uvp->bufaddr = new_xfer_pkt_ixlp->ixl_buf.ixldmac_addr; in hci1394_ixl_update_prep_send_pkt()
1347 uvp->bufaddr += 4; in hci1394_ixl_update_prep_send_pkt()
1488 uvp->bufaddr = new_xfer_buf_ixlp->ixl_buf.ixldmac_addr; in hci1394_ixl_update_prep_send_buf()
1496 uvp->bufaddr += 4; in hci1394_ixl_update_prep_send_buf()
1721 ddi_put32(acc_hdl, &hcidescp->data_addr, uvp->bufaddr); in hci1394_ixl_update_perform()
1782 ddi_put32(acc_hdl, &hcidescp->data_addr, uvp->bufaddr); in hci1394_ixl_update_perform()
1788 uvp->bufaddr += uvp->bufsize; in hci1394_ixl_update_perform()
[all …]
/titanic_44/usr/src/uts/common/io/
H A Demul64_bsd.c1014 diskaddr_t blkno, int nblks, unsigned char *bufaddr) in bsd_readblks() argument
1076 (void) bcopy(blk->bl_data, bufaddr, DEV_BSIZE); in bsd_readblks()
1078 (void) bzero(bufaddr, DEV_BSIZE); in bsd_readblks()
1081 bufaddr += DEV_BSIZE; in bsd_readblks()
1095 diskaddr_t blkno, int nblks, unsigned char *bufaddr) in bsd_writeblks() argument
1173 if (bcmp(bufaddr, emul64_zeros, DEV_BSIZE) == 0) { in bsd_writeblks()
1179 (void) bcopy(bufaddr, blk->bl_data, in bsd_writeblks()
1183 (caddr_t)bufaddr, where); in bsd_writeblks()
1188 bufaddr += DEV_BSIZE; in bsd_writeblks()
H A Dlofi.c677 lofi_rdwr(caddr_t bufaddr, offset_t offset, struct buf *bp, in lofi_rdwr() argument
694 bcopy(bcopy_locn, bufaddr, len); in lofi_rdwr()
697 error = vn_rdwr(UIO_READ, lsp->ls_vp, bufaddr, len, in lofi_rdwr()
703 if (lofi_crypto(lsp, bp, bufaddr, NULL, len, in lofi_rdwr()
717 void *iobuf = bufaddr; in lofi_rdwr()
722 if (lofi_crypto(lsp, bp, bufaddr, iobuf, len, in lofi_rdwr()
748 lofi_mapped_rdwr(caddr_t bufaddr, offset_t offset, struct buf *bp, in lofi_mapped_rdwr() argument
827 error = lofi_rdwr(bufaddr, 0, bp, lsp, xfersize, in lofi_mapped_rdwr()
831 bufaddr += xfersize; in lofi_mapped_rdwr()
1011 caddr_t bufaddr; in lofi_strategy_task() local
[all …]
/titanic_44/usr/src/cmd/audio/include/
H A DAudioBuffer.h48 void* bufaddr; // buffer address variable
/titanic_44/usr/src/uts/common/syscall/
H A Dlgrpsys.c292 lgrp_affinity_init(lgrp_affinity_t **bufaddr) in lgrp_affinity_init() argument
294 if (bufaddr) in lgrp_affinity_init()
295 *bufaddr = NULL; in lgrp_affinity_init()
304 lgrp_affinity_free(lgrp_affinity_t **bufaddr) in lgrp_affinity_free() argument
306 if (bufaddr && *bufaddr) { in lgrp_affinity_free()
307 kmem_free(*bufaddr, nlgrpsmax * sizeof (lgrp_affinity_t)); in lgrp_affinity_free()
308 *bufaddr = NULL; in lgrp_affinity_free()
/titanic_44/usr/src/uts/intel/io/dktp/disk/
H A Dcmdk.c215 static int cmdk_lb_rdwr(dev_info_t *dip, uchar_t cmd, void *bufaddr,
800 rwcmdp->bufaddr = (caddr_t)(intptr_t)cmd32.bufaddr; in rwcmd_copyin()
834 ASSERT64(((uintptr_t)rwcmdp->bufaddr >> 32) == 0); in rwcmd_copyout()
835 cmd32.bufaddr = (caddr32_t)(uintptr_t)rwcmdp->bufaddr; in rwcmd_copyout()
1462 cmdk_lb_rdwr(dev_info_t *dip, uchar_t cmd, void *bufaddr, in cmdk_lb_rdwr() argument
1489 bcopy(bufa, bufaddr, count); in cmdk_lb_rdwr()
1492 bcopy(bufaddr, bufa, count); in cmdk_lb_rdwr()
/titanic_44/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_cache.h173 #define bufaddr sv_addr macro
/titanic_44/usr/src/grub/grub-0.97/stage2/
H A Ddisk_io.c171 char *bufaddr; in rawread() local
202 bufaddr = ((char *) BUFFERADDR in rawread()
219 bufaddr = (char *) BUFFERADDR + byte_offset; in rawread()
241 bufaddr = (char *) BUFFERADDR + byte_offset; in rawread()
295 grub_memmove (buf, bufaddr, size); in rawread()
/titanic_44/usr/src/uts/common/io/ib/clients/ibd/
H A Dibd_cm.c989 uint8_t *bufaddr; in ibd_rc_init_srq_list() local
1042 bufaddr = state->rc_srq_rx_bufs; in ibd_rc_init_srq_list()
1046 for (i = 0; i < state->rc_srq_size; i++, rwqe++, bufaddr += len) { in ibd_rc_init_srq_list()
1051 rwqe->rwqe_copybuf.ic_bufaddr = bufaddr; in ibd_rc_init_srq_list()
1053 if ((rwqe->rwqe_im_mblk = desballoc(bufaddr, len, 0, in ibd_rc_init_srq_list()
1069 (ib_vaddr_t)(uintptr_t)(bufaddr + IPOIB_GRH_SIZE); in ibd_rc_init_srq_list()
1354 uint8_t *bufaddr; in ibd_rc_init_rxlist() local
1365 bufaddr = chan->rx_bufs; in ibd_rc_init_rxlist()
1367 for (i = 0; i < chan->rcq_size; i++, rwqe++, bufaddr += len) { in ibd_rc_init_rxlist()
1373 rwqe->rwqe_copybuf.ic_bufaddr = bufaddr; in ibd_rc_init_rxlist()
[all …]
H A Dibd.c3647 uint8_t *bufaddr; in ibd_init_txlist() local
3672 bufaddr = state->id_tx_bufs; in ibd_init_txlist()
3676 for (i = 0; i < state->id_ud_num_swqe; i++, swqe++, bufaddr += len) { in ibd_init_txlist()
3681 bufaddr; in ibd_init_txlist()
4081 uint8_t *bufaddr; in ibd_init_rxlist() local
4132 bufaddr = state->id_rx_bufs; in ibd_init_rxlist()
4134 for (i = 0; i < state->id_ud_num_rwqe; i++, rwqe++, bufaddr += len) { in ibd_init_rxlist()
4139 rwqe->rwqe_copybuf.ic_bufaddr = bufaddr; in ibd_init_rxlist()
4141 if ((rwqe->rwqe_im_mblk = desballoc(bufaddr, len, 0, in ibd_init_rxlist()
4170 (ib_vaddr_t)(uintptr_t)bufaddr; in ibd_init_rxlist()
/titanic_44/usr/src/uts/common/sys/1394/adapters/
H A Dhci1394_ixl.h252 uint32_t bufaddr; /* new buf addr if xfer buffr addr change */ member
/titanic_44/usr/src/cmd/mdb/common/modules/genunix/
H A Dleaky.c468 leaky_add_leak(int type, uintptr_t addr, uintptr_t bufaddr, hrtime_t timestamp, in leaky_add_leak() argument
484 nlkb->lkb_bufaddr = bufaddr; in leaky_add_leak()
535 lkb->lkb_bufaddr = bufaddr; in leaky_add_leak()
/titanic_44/usr/src/uts/common/io/scsi/targets/
H A Dsd.c1527 static int sd_send_scsi_INQUIRY(sd_ssc_t *ssc, uchar_t *bufaddr,
1539 uchar_t *bufaddr, uint_t buflen, int path_flag);
1542 uchar_t *bufaddr, uint_t buflen, char feature, int path_flag);
1544 uchar_t *bufaddr, size_t buflen, uchar_t page_code, int path_flag);
1546 uchar_t *bufaddr, size_t buflen, uchar_t save_page, int path_flag);
1547 static int sd_send_scsi_RDWR(sd_ssc_t *ssc, uchar_t cmd, void *bufaddr,
1549 #define sd_send_scsi_READ(ssc, bufaddr, buflen, start_block, path_flag) \ argument
1550 sd_send_scsi_RDWR(ssc, SCMD_READ, bufaddr, buflen, start_block, \
1552 #define sd_send_scsi_WRITE(ssc, bufaddr, buflen, start_block, path_flag)\ argument
1553 sd_send_scsi_RDWR(ssc, SCMD_WRITE, bufaddr, buflen, start_block,\
[all …]
/titanic_44/usr/src/uts/sun/io/dada/targets/
H A Ddad.c98 static int dcd_send_lb_rw_cmd(dev_info_t *devinfo, void *bufaddr,
126 static int dcd_lb_rdwr(dev_info_t *devi, uchar_t cmd, void *bufaddr,
3209 rwcmd32.bufaddr = (caddr32_t)(uintptr_t)rwcmd.bufaddr; in dcdioctl()
3259 scmd->udcd_bufaddr = (caddr_t)(uintptr_t)rwcmd32.bufaddr; in dcdioctl()
4468 dcd_send_lb_rw_cmd(dev_info_t *devi, void *bufaddr, in dcd_send_lb_rw_cmd() argument
4506 bcopy((caddr_t)bufaddr, bp->b_un.b_addr, buffer_size); in dcd_send_lb_rw_cmd()
4554 bcopy(bp->b_un.b_addr, bufaddr, reqlength); in dcd_send_lb_rw_cmd()
4589 dcd_lb_rdwr(dev_info_t *devi, uchar_t cmd, void *bufaddr, in dcd_lb_rdwr() argument
4595 return (dcd_send_lb_rw_cmd(devi, bufaddr, start_block, in dcd_lb_rdwr()
/titanic_44/usr/src/uts/common/io/scsi/conf/
H A Dscsi_confsubr.c94 int (*callback)(), uchar_t *bufaddr, size_t buflen,
2156 uchar_t *bufaddr, size_t buflen, in send_scsi_INQUIRY() argument
2205 bufaddr, buflen - inq_pkt->pkt_resid); in send_scsi_INQUIRY()

12