Home
last modified time | relevance | path

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

/drivers/net/can/
Dslcan.c96 #define SLF_INUSE 0 /* Channel in use */ macro
416 sl->flags &= (1 << SLF_INUSE); in slc_open()
598 if (!test_bit(SLF_INUSE, &sl->flags)) { in slcan_open()
603 set_bit(SLF_INUSE, &sl->flags); in slcan_open()
620 clear_bit(SLF_INUSE, &sl->flags); in slcan_open()
/drivers/net/wan/
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()
485 sl->flags &= (1 << SLF_INUSE); /* Clear ESCAPE & ERROR flags */ in x25_asy_open()
752 set_bit(SLF_INUSE, &sl->flags); in x25_asy_setup()
Dx25_asy.h34 #define SLF_INUSE 0 /* Channel in use */ macro
/drivers/net/slip/
Dslip.h77 #define SLF_INUSE 0 /* Channel in use */ macro
Dslip.c560 sl->flags &= (1 << SLF_INUSE);
832 if (!test_bit(SLF_INUSE, &sl->flags)) {
838 set_bit(SLF_INUSE, &sl->flags);
869 clear_bit(SLF_INUSE, &sl->flags);