Home
last modified time | relevance | path

Searched refs:SLF_INUSE (Results 1 – 5 of 5) sorted by relevance

/Linux-v4.19/drivers/net/can/
Dslcan.c96 #define SLF_INUSE 0 /* Channel in use */ macro
410 sl->flags &= (1 << SLF_INUSE); in slc_open()
593 if (!test_bit(SLF_INUSE, &sl->flags)) { in slcan_open()
598 set_bit(SLF_INUSE, &sl->flags); in slcan_open()
615 clear_bit(SLF_INUSE, &sl->flags); in slcan_open()
/Linux-v4.19/drivers/net/wan/
Dx25_asy.h35 #define SLF_INUSE 0 /* Channel in use */ macro
Dx25_asy.c70 if (!test_and_set_bit(SLF_INUSE, &sl->flags)) in x25_asy_alloc()
96 set_bit(SLF_INUSE, &sl->flags); in x25_asy_alloc()
117 if (!test_and_clear_bit(SLF_INUSE, &sl->flags)) in x25_asy_free()
476 sl->flags &= (1 << SLF_INUSE); /* Clear ESCAPE & ERROR flags */ in x25_asy_open()
745 set_bit(SLF_INUSE, &sl->flags); in x25_asy_setup()
/Linux-v4.19/drivers/net/slip/
Dslip.h78 #define SLF_INUSE 0 /* Channel in use */ macro
Dslip.c553 sl->flags &= (1 << SLF_INUSE);
820 if (!test_bit(SLF_INUSE, &sl->flags)) {
826 set_bit(SLF_INUSE, &sl->flags);
857 clear_bit(SLF_INUSE, &sl->flags);