Lines Matching refs:ln
55 static void sym_alloc_lcb_tags (struct sym_hcb *np, u_char tn, u_char ln);
1872 int ln;
1874 for (ln = 1; ln < SYM_CONF_MAX_LUN; ln++)
1875 if (tp->lunmp[ln])
1876 tp->lunmp[ln]->to_clear = 0;
4593 u_char ln = cmd->device->lun;
4595 struct sym_lcb *lp = sym_lp(tp, ln);
4626 sym_alloc_lcb_tags(np, tn, ln);
4701 cp->lun = ln;
4904 struct sym_lcb *sym_alloc_lcb (struct sym_hcb *np, u_char tn, u_char ln)
4918 if (ln && !tp->luntbl) {
4932 if (ln && !tp->lunmp) {
4946 if (ln) {
4947 tp->lunmp[ln] = lp;
4948 tp->luntbl[ln] = cpu_to_scr(vtobus(lp));
4988 static void sym_alloc_lcb_tags (struct sym_hcb *np, u_char tn, u_char ln)
4991 struct sym_lcb *lp = sym_lp(tp, ln);
5035 int sym_free_lcb(struct sym_hcb *np, u_char tn, u_char ln)
5038 struct sym_lcb *lp = sym_lp(tp, ln);
5042 if (ln) {
5050 tp->luntbl[ln] = cpu_to_scr(vtobus(&np->badlun_sa));
5051 tp->lunmp[ln] = NULL;