android_kernel_xiaomi_sm8350/drivers/net/mlx4
Jean Delvare bf6aede712 workqueue: add to_delayed_work() helper function
It is a fairly common operation to have a pointer to a work and to need a
pointer to the delayed work it is contained in.  In particular, all
delayed works which want to rearm themselves will have to do that.  So it
would seem fair to offer a helper function for this operation.

[akpm@linux-foundation.org: coding-style fixes]
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Ingo Molnar <mingo@elte.hu>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Greg KH <greg@kroah.com>
Cc: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-04-02 19:04:50 -07:00
..
alloc.c
catas.c
cmd.c
cq.c
en_cq.c
en_main.c
en_netdev.c
en_params.c
en_port.c
en_port.h
en_resources.c
en_rx.c
en_tx.c
eq.c
fw.c
fw.h
icm.c
icm.h
intf.c
main.c
Makefile
mcg.c
mlx4_en.h
mlx4.h
mr.c
pd.c
port.c
profile.c
qp.c
reset.c
sense.c
srq.c