Lines Matching refs:LP_F
226 if (LP_F(minor) & LP_ABORT) in lp_error()
246 if ((status & LP_PERRORP) && !(LP_F(minor) & LP_CAREFUL)) in lp_check_status()
291 if (error && (nonblock || (LP_F(minor) & LP_ABORT))) in lp_wait_ready()
311 (LP_F(minor) & LP_ABORT)); in lp_write()
428 (LP_F(minor) & LP_ABORT)); in lp_read()
508 if ((LP_F(minor) & LP_EXIST) == 0) { in lp_open()
512 if (test_and_set_bit(LP_BUSY_BIT_POS, &LP_F(minor))) { in lp_open()
521 if ((LP_F(minor) & LP_ABORTOPEN) && !(file->f_flags & O_NONBLOCK)) { in lp_open()
528 LP_F(minor) &= ~LP_BUSY; in lp_open()
533 LP_F(minor) &= ~LP_BUSY; in lp_open()
538 LP_F(minor) &= ~LP_BUSY; in lp_open()
545 LP_F(minor) &= ~LP_BUSY; in lp_open()
578 LP_F(minor) &= ~LP_BUSY; in lp_release()
593 if ((LP_F(minor) & LP_EXIST) == 0) in lp_do_ioctl()
606 LP_F(minor) |= LP_ABORT; in lp_do_ioctl()
608 LP_F(minor) &= ~LP_ABORT; in lp_do_ioctl()
612 LP_F(minor) |= LP_ABORTOPEN; in lp_do_ioctl()
614 LP_F(minor) &= ~LP_ABORTOPEN; in lp_do_ioctl()
618 LP_F(minor) |= LP_CAREFUL; in lp_do_ioctl()
620 LP_F(minor) &= ~LP_CAREFUL; in lp_do_ioctl()
657 status = LP_F(minor); in lp_do_ioctl()