Home
last modified time | relevance | path

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

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