Lines Matching refs:lcb
1115 struct lcb;
1183 ** SCR_JUMP ^ IFTRUE(MASK(i, 3)), @(first lcb mod. i)
1190 struct lcb * lp[MAX_LUN]; /* The lcb's of this tcb */
1243 struct lcb {
1249 ** JUMP IF (SFBR != #lun#), @(next lcb of this target)
1600 /* when lcb is not allocated. */
1913 static struct lcb * ncr_alloc_lcb (struct ncb *np, u_char tn, u_char ln);
1914 static struct lcb * ncr_setup_lcb (struct ncb *np, struct scsi_device *sdev);
1940 static void ncr_start_next_ccb (struct ncb *np, struct lcb * lp, int maxn);
2595 ** - struct lcb
4114 struct lcb *lp = tp->lp[sdev->lun];
4419 static void ncr_start_next_ccb(struct ncb *np, struct lcb *lp, int maxn)
4699 struct lcb *lp;
4811 struct lcb *lp;
4926 ** Allocate the lcb if not yet.
5086 struct lcb *lp = tp->lp[cp->lun];
5627 struct lcb *lp = tp->lp[ln];
6536 struct lcb *lp = tp->lp[cmd->device->lun];
7140 struct lcb *lp = tp->lp[ln];
7249 struct lcb *lp = tp->lp[cp->lun];
7350 struct lcb *lp = tp->lp[ln];
7483 static struct lcb *ncr_alloc_lcb (struct ncb *np, u_char tn, u_char ln)
7486 struct lcb *lp = tp->lp[ln];
7497 ** Allocate the lcb.
7499 lp = m_calloc_dma(sizeof(struct lcb), "LCB");
7530 ** Jump to next lcb if SFBR does not match this lun.
7534 ** JUMP IF (SFBR != #lun#), @(next lcb)
7573 static struct lcb *ncr_setup_lcb (struct ncb *np, struct scsi_device *sdev)
7577 struct lcb *lp = tp->lp[ln];
7579 /* If no lcb, try to allocate it. */
7970 struct lcb *lp = tp->lp[device->lun];