Lines Matching defs:ln
45 static void sym_alloc_lcb_tags (struct sym_hcb *np, u_char tn, u_char ln);
1886 int ln;
1888 for (ln = 1; ln < SYM_CONF_MAX_LUN; ln++)
1889 if (tp->lunmp[ln])
1890 tp->lunmp[ln]->to_clear = 0;
4647 u_char ln = cmd->device->lun;
4649 struct sym_lcb *lp = sym_lp(tp, ln);
4680 sym_alloc_lcb_tags(np, tn, ln);
4755 cp->lun = ln;
4967 struct sym_lcb *sym_alloc_lcb (struct sym_hcb *np, u_char tn, u_char ln)
4981 if (ln && !tp->luntbl) {
4992 if (ln && !tp->lunmp) {
5006 if (ln) {
5007 tp->lunmp[ln] = lp;
5008 tp->luntbl[ln] = cpu_to_scr(vtobus(lp));
5048 static void sym_alloc_lcb_tags (struct sym_hcb *np, u_char tn, u_char ln)
5051 struct sym_lcb *lp = sym_lp(tp, ln);
5094 int sym_free_lcb(struct sym_hcb *np, u_char tn, u_char ln)
5097 struct sym_lcb *lp = sym_lp(tp, ln);
5101 if (ln) {
5109 tp->luntbl[ln] = cpu_to_scr(vtobus(&np->badlun_sa));
5110 tp->lunmp[ln] = NULL;