Home
last modified time | relevance | path

Searched refs:sbp2_bus_buf_t (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/uts/common/io/1394/targets/scsa1394/
H A Dsbp2_bus.c53 static int scsa1394_bus_alloc_buf(void *, sbp2_bus_buf_t *);
54 static int scsa1394_bus_alloc_buf_phys(void *, sbp2_bus_buf_t *);
55 static void scsa1394_bus_free_buf_phys(void *, sbp2_bus_buf_t *);
56 static int scsa1394_bus_alloc_buf_normal(void *, sbp2_bus_buf_t *,
58 static void scsa1394_bus_free_buf_normal(void *, sbp2_bus_buf_t *);
59 static void scsa1394_bus_free_buf(void *, sbp2_bus_buf_t *);
60 static int scsa1394_bus_sync_buf(void *, sbp2_bus_buf_t *, off_t, size_t,
62 static void scsa1394_bus_buf_rw_done(void *, sbp2_bus_buf_t *, void *, int);
286 scsa1394_bus_alloc_buf(void *hdl, sbp2_bus_buf_t *buf) in scsa1394_bus_alloc_buf()
302 scsa1394_bus_free_buf(void *hdl, sbp2_bus_buf_t *buf) in scsa1394_bus_free_buf()
[all …]
/illumos-gate/usr/src/uts/common/sys/sbp2/
H A Dbus.h64 } sbp2_bus_buf_t; typedef
96 int (*sb_alloc_buf)(void *hdl, sbp2_bus_buf_t *buf);
97 void (*sb_free_buf)(void *hdl, sbp2_bus_buf_t *buf);
98 int (*sb_sync_buf)(void *hdl, sbp2_bus_buf_t *buf,
100 void (*sb_buf_rd_done)(void *hdl, sbp2_bus_buf_t *buf,
102 void (*sb_buf_wr_done)(void *hdl, sbp2_bus_buf_t *buf,
H A Ddriver.h115 sbp2_bus_buf_t *ts_buf; /* bus buffer */
168 sbp2_bus_buf_t s_status_fifo_buf; /* status FIFO */
192 sbp2_bus_buf_t *bl_head; /* first element */
193 sbp2_bus_buf_t *bl_tail; /* last element */
250 sbp2_bus_buf_t t_mgt_orb_buf; /* mgt ORB */
253 sbp2_bus_buf_t t_mgt_status_fifo_buf; /* status FIFO buf */
257 sbp2_bus_buf_t t_mgt_login_resp_buf; /* login response */
/illumos-gate/usr/src/uts/common/io/sbp2/
H A Dsbp2.c71 static sbp2_bus_buf_t *sbp2_orb_freelist_get(sbp2_lun_t *, sbp2_task_t *, int);
72 static int sbp2_orb_freelist_put(sbp2_lun_t *, sbp2_bus_buf_t *);
88 static void sbp2_mgt_status_fifo_wb_cb(sbp2_bus_buf_t *, void *, mblk_t **);
90 static void sbp2_status_fifo_wb_cb(sbp2_bus_buf_t *, void *, mblk_t **);
1243 static sbp2_bus_buf_t *
1247 sbp2_bus_buf_t *buf = NULL; in sbp2_orb_freelist_get()
1266 sbp2_orb_freelist_put(sbp2_lun_t *lp, sbp2_bus_buf_t *buf) in sbp2_orb_freelist_put()
1296 sbp2_bus_buf_t *buf, *buf_next; in sbp2_orb_freelist_destroy()
1302 kmem_free(buf, sizeof (sbp2_bus_buf_t)); in sbp2_orb_freelist_destroy()
1324 task->ts_buf = kmem_zalloc(sizeof (sbp2_bus_buf_t), KM_SLEEP); in sbp2_task_orb_alloc()
[all …]