Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/can/
Dslcan.c97 #define SLF_INUSE 0 /* Channel in use */ macro
413 sl->flags &= (1 << SLF_INUSE); in slc_open()
599 if (!test_bit(SLF_INUSE, &sl->flags)) { in slcan_open()
604 set_bit(SLF_INUSE, &sl->flags); in slcan_open()
621 clear_bit(SLF_INUSE, &sl->flags); in slcan_open()
/Linux-v5.10/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()
487 sl->flags &= (1 << SLF_INUSE); /* Clear ESCAPE & ERROR flags */ in x25_asy_open()
753 set_bit(SLF_INUSE, &sl->flags); in x25_asy_setup()
/Linux-v5.10/drivers/net/slip/
Dslip.h78 #define SLF_INUSE 0 /* Channel in use */ macro
Dslip.c557 sl->flags &= (1 << SLF_INUSE);
824 if (!test_bit(SLF_INUSE, &sl->flags)) {
830 set_bit(SLF_INUSE, &sl->flags);
861 clear_bit(SLF_INUSE, &sl->flags);