fcp_pkt
wsp->walk_data = mdb_alloc(sizeof (struct fcp_pkt), UM_SLEEP);
if (mdb_vread(wsp->walk_data, sizeof (struct fcp_pkt),
(uintptr_t)(((struct fcp_pkt *)wsp->walk_data)->cmd_forw);
mdb_free(wsp->walk_data, sizeof (struct fcp_pkt));
wsp->walk_data = mdb_alloc(sizeof (struct fcp_pkt), UM_SLEEP);
if (mdb_vread(wsp->walk_data, sizeof (struct fcp_pkt),
(uintptr_t)(((struct fcp_pkt *)wsp->walk_data)->cmd_next);
mdb_free(wsp->walk_data, sizeof (struct fcp_pkt));
struct fcp_pkt *cmd;
cmd = (struct fcp_pkt *)pkt->pkt_ha_private;
sizeof (struct fcp_pkt) + pptr->port_dmacookie_sz);
sizeof (struct fcp_pkt));
struct fcp_pkt *cmd;
struct fcp_pkt *cmd = PKT2CMD(pkt);
struct fcp_pkt *cmd;
cmd = (struct fcp_pkt *)pkt->pkt_ha_private;
struct fcp_pkt *cmd = (struct fcp_pkt *)pkt->pkt_ha_private;
struct fcp_pkt *cmd;
struct fcp_pkt *cmd;
struct fcp_pkt *ncmd;
struct fcp_pkt *tail;
struct fcp_pkt *pcmd;
struct fcp_pkt *save_head;
struct fcp_pkt *pcmd = NULL, *ncmd = NULL,
fcp_prepare_pkt(struct fcp_port *pptr, struct fcp_pkt *cmd,
fcp_post_callback(struct fcp_pkt *cmd)
fcp_dopoll(struct fcp_port *pptr, struct fcp_pkt *cmd)
fcp_retransport_cmd(struct fcp_port *pptr, struct fcp_pkt *cmd)
fcp_fail_cmd(struct fcp_pkt *cmd, uchar_t reason, uint_t statistics)
fcp_queue_pkt(struct fcp_port *pptr, struct fcp_pkt *cmd)
struct fcp_pkt *cmd;
sizeof (struct fcp_pkt));
struct fcp_pkt *head = NULL;
static struct fcp_pkt *fcp_scan_commands(struct fcp_lun *plun);
static void fcp_abort_commands(struct fcp_pkt *head, struct
static void fcp_prepare_pkt(struct fcp_port *pptr, struct fcp_pkt *cmd,
static void fcp_post_callback(struct fcp_pkt *cmd);
static int fcp_dopoll(struct fcp_port *pptr, struct fcp_pkt *cmd);
struct fcp_pkt *cmd);
static void fcp_fail_cmd(struct fcp_pkt *cmd, uchar_t reason,
static void fcp_queue_pkt(struct fcp_port *pptr, struct fcp_pkt *cmd);
struct fcp_pkt *head = NULL;
static struct fcp_pkt *
struct fcp_pkt *cmd = NULL; /* pkt cmd ptr */
struct fcp_pkt *ncmd = NULL; /* next pkt ptr */
struct fcp_pkt *pcmd = NULL; /* the previous command */
struct fcp_pkt *head = NULL; /* head of our list */
struct fcp_pkt *tail = NULL; /* tail of our list */
fcp_abort_commands(struct fcp_pkt *head, struct fcp_port *pptr)
struct fcp_pkt *cmd = NULL; /* pkt cmd ptr */
struct fcp_pkt *ncmd = NULL; /* next pkt ptr */
struct fcp_pkt *cmd = (struct fcp_pkt *)fpkt->pkt_ulp_private;
struct fcp_pkt *cmd = (struct fcp_pkt *)
struct fcp_pkt *cmd;
cmd = (struct fcp_pkt *)fpkt->pkt_ulp_private;
sizeof (struct fcp_pkt) + pptr->port_dmacookie_sz;
#define PKT2CMD(pkt) ((struct fcp_pkt *)((pkt)->pkt_ha_private))
fcp_hp_elem::link_cnt fcp_reset_elem fcp_pkt fcp_ipkt
struct fcp_pkt *port_pkt_head;
struct fcp_pkt *port_pkt_tail;
struct fcp_pkt *cmd_forw;
struct fcp_pkt *cmd_back;
struct fcp_pkt *cmd_next;
struct fcp_pkt *lun_pkt_head;
struct fcp_pkt *lun_pkt_tail;