Home
last modified time | relevance | path

Searched refs:destroy_now (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/w1/
H A Dw1.c818 int destroy_now; in w1_slave_detach() local
820 destroy_now = !test_bit(W1_SLAVE_DETACH, &sl->flags); in w1_slave_detach()
824 if (destroy_now) in w1_slave_detach()
825 destroy_now = !w1_unref_slave(sl); in w1_slave_detach()
826 return destroy_now ? 0 : -EBUSY; in w1_slave_detach()
/kernel/linux/linux-6.6/drivers/w1/
H A Dw1.c811 int destroy_now; in w1_slave_detach() local
813 destroy_now = !test_bit(W1_SLAVE_DETACH, &sl->flags); in w1_slave_detach()
817 if (destroy_now) in w1_slave_detach()
818 destroy_now = !w1_unref_slave(sl); in w1_slave_detach()
819 return destroy_now ? 0 : -EBUSY; in w1_slave_detach()

Completed in 5 milliseconds