Lines Matching refs:LP_F
224 if (LP_F(minor) & LP_ABORT) in lp_error()
244 if ((status & LP_PERRORP) && !(LP_F(minor) & LP_CAREFUL)) in lp_check_status()
289 if (error && (nonblock || (LP_F(minor) & LP_ABORT))) in lp_wait_ready()
309 (LP_F(minor) & LP_ABORT)); in lp_write()
426 (LP_F(minor) & LP_ABORT)); in lp_read()
506 if ((LP_F(minor) & LP_EXIST) == 0) { in lp_open()
510 if (test_and_set_bit(LP_BUSY_BIT_POS, &LP_F(minor))) { in lp_open()
519 if ((LP_F(minor) & LP_ABORTOPEN) && !(file->f_flags & O_NONBLOCK)) { in lp_open()
526 LP_F(minor) &= ~LP_BUSY; in lp_open()
531 LP_F(minor) &= ~LP_BUSY; in lp_open()
536 LP_F(minor) &= ~LP_BUSY; in lp_open()
543 LP_F(minor) &= ~LP_BUSY; in lp_open()
576 LP_F(minor) &= ~LP_BUSY; in lp_release()
591 if ((LP_F(minor) & LP_EXIST) == 0) in lp_do_ioctl()
604 LP_F(minor) |= LP_ABORT; in lp_do_ioctl()
606 LP_F(minor) &= ~LP_ABORT; in lp_do_ioctl()
610 LP_F(minor) |= LP_ABORTOPEN; in lp_do_ioctl()
612 LP_F(minor) &= ~LP_ABORTOPEN; in lp_do_ioctl()
616 LP_F(minor) |= LP_CAREFUL; in lp_do_ioctl()
618 LP_F(minor) &= ~LP_CAREFUL; in lp_do_ioctl()
655 status = LP_F(minor); in lp_do_ioctl()