Lines Matching refs:ln
58 static void sym_alloc_lcb_tags (struct sym_hcb *np, u_char tn, u_char ln);
1899 int ln; local
1901 for (ln = 1; ln < SYM_CONF_MAX_LUN; ln++)
1902 if (tp->lunmp[ln])
1903 tp->lunmp[ln]->to_clear = 0;
4653 u_char ln = cmd->device->lun; local
4655 struct sym_lcb *lp = sym_lp(tp, ln);
4686 sym_alloc_lcb_tags(np, tn, ln);
4761 cp->lun = ln;
4973 struct sym_lcb *sym_alloc_lcb (struct sym_hcb *np, u_char tn, u_char ln) argument
4987 if (ln && !tp->luntbl) {
5001 if (ln && !tp->lunmp) {
5015 if (ln) {
5016 tp->lunmp[ln] = lp;
5017 tp->luntbl[ln] = cpu_to_scr(vtobus(lp));
5057 static void sym_alloc_lcb_tags (struct sym_hcb *np, u_char tn, u_char ln) argument
5060 struct sym_lcb *lp = sym_lp(tp, ln);
5104 int sym_free_lcb(struct sym_hcb *np, u_char tn, u_char ln) argument
5107 struct sym_lcb *lp = sym_lp(tp, ln);
5111 if (ln) {
5119 tp->luntbl[ln] = cpu_to_scr(vtobus(&np->badlun_sa));
5120 tp->lunmp[ln] = NULL;