Home
last modified time | relevance | path

Searched refs:LP_F (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/char/
H A Dlp.c226 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()
[all …]
/linux/include/linux/
H A Dlp.h22 #define LP_F(minor) lp_table[(minor)].flags /* flags for busy, etc. */ macro