Lines Matching refs:work
213 struct delayed_work work; member
306 static void tipc_crypto_work_tx(struct work_struct *work);
307 static void tipc_crypto_work_rx(struct work_struct *work);
1223 if (cancel_delayed_work(&rx->work)) { in tipc_crypto_key_flush()
1422 if (queue_delayed_work(tx->wq, &rx->work, delay)) in tipc_crypto_key_synch()
1516 INIT_DELAYED_WORK(&c->work, tipc_crypto_work_rx); in tipc_crypto_start()
1518 INIT_DELAYED_WORK(&c->work, tipc_crypto_work_tx); in tipc_crypto_start()
1535 cancel_delayed_work_sync(&c->work); in tipc_crypto_stop()
2344 if (likely(skey && queue_delayed_work(tx->wq, &rx->work, 0))) in tipc_crypto_key_rcv()
2357 static void tipc_crypto_work_rx(struct work_struct *work) in tipc_crypto_work_rx() argument
2359 struct delayed_work *dwork = to_delayed_work(work); in tipc_crypto_work_rx()
2360 struct tipc_crypto *rx = container_of(dwork, struct tipc_crypto, work); in tipc_crypto_work_rx()
2405 if (resched && queue_delayed_work(tx->wq, &rx->work, delay)) in tipc_crypto_work_rx()
2428 cancel_delayed_work_sync(&tx->work); in tipc_crypto_rekeying_sched()
2433 queue_delayed_work(tx->wq, &tx->work, msecs_to_jiffies(delay)); in tipc_crypto_rekeying_sched()
2446 static void tipc_crypto_work_tx(struct work_struct *work) in tipc_crypto_work_tx() argument
2448 struct delayed_work *dwork = to_delayed_work(work); in tipc_crypto_work_tx()
2449 struct tipc_crypto *tx = container_of(dwork, struct tipc_crypto, work); in tipc_crypto_work_tx()