Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/io/1394/targets/scsa1394/
H A Dsbp2_bus.c55 static int scsa1394_bus_alloc_buf(void *, sbp2_bus_buf_t *);
56 static int scsa1394_bus_alloc_buf_phys(void *, sbp2_bus_buf_t *);
57 static void scsa1394_bus_free_buf_phys(void *, sbp2_bus_buf_t *);
58 static int scsa1394_bus_alloc_buf_normal(void *, sbp2_bus_buf_t *,
60 static void scsa1394_bus_free_buf_normal(void *, sbp2_bus_buf_t *);
61 static void scsa1394_bus_free_buf(void *, sbp2_bus_buf_t *);
62 static int scsa1394_bus_sync_buf(void *, sbp2_bus_buf_t *, off_t, size_t,
64 static void scsa1394_bus_buf_rw_done(void *, sbp2_bus_buf_t *, void *, int);
288 scsa1394_bus_alloc_buf(void *hdl, sbp2_bus_buf_t *buf) in scsa1394_bus_alloc_buf()
304 scsa1394_bus_free_buf(void *hdl, sbp2_bus_buf_t *buf) in scsa1394_bus_free_buf()
[all …]
/titanic_50/usr/src/uts/common/sys/sbp2/
H A Dbus.h66 } sbp2_bus_buf_t; typedef
98 int (*sb_alloc_buf)(void *hdl, sbp2_bus_buf_t *buf);
99 void (*sb_free_buf)(void *hdl, sbp2_bus_buf_t *buf);
100 int (*sb_sync_buf)(void *hdl, sbp2_bus_buf_t *buf,
102 void (*sb_buf_rd_done)(void *hdl, sbp2_bus_buf_t *buf,
104 void (*sb_buf_wr_done)(void *hdl, sbp2_bus_buf_t *buf,
H A Ddriver.h117 sbp2_bus_buf_t *ts_buf; /* bus buffer */
170 sbp2_bus_buf_t s_status_fifo_buf; /* status FIFO */
194 sbp2_bus_buf_t *bl_head; /* first element */
195 sbp2_bus_buf_t *bl_tail; /* last element */
252 sbp2_bus_buf_t t_mgt_orb_buf; /* mgt ORB */
255 sbp2_bus_buf_t t_mgt_status_fifo_buf; /* status FIFO buf */
259 sbp2_bus_buf_t t_mgt_login_resp_buf; /* login response */
/titanic_50/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 …]