Searched refs:depend_tx (Results 1 - 7 of 7) sorted by relevance

/linux-4.4.14/crypto/async_tx/
H A Dasync_tx.c59 struct dma_async_tx_descriptor *depend_tx = submit->depend_tx; __async_tx_find_channel() local
62 if (depend_tx && __async_tx_find_channel()
63 dma_has_cap(tx_type, depend_tx->chan->device->cap_mask)) __async_tx_find_channel()
64 return depend_tx->chan; __async_tx_find_channel()
74 * @depend_tx: the operation that must finish before the new operation runs
78 async_tx_channel_switch(struct dma_async_tx_descriptor *depend_tx, async_tx_channel_switch() argument
81 struct dma_chan *chan = depend_tx->chan; async_tx_channel_switch()
85 /* first check to see if we can still append to depend_tx */ async_tx_channel_switch()
86 txd_lock(depend_tx); async_tx_channel_switch()
87 if (txd_parent(depend_tx) && depend_tx->chan == tx->chan) { async_tx_channel_switch()
88 txd_chain(depend_tx, tx); async_tx_channel_switch()
91 txd_unlock(depend_tx); async_tx_channel_switch()
116 txd_lock(depend_tx); async_tx_channel_switch()
117 if (txd_parent(depend_tx)) { async_tx_channel_switch()
118 txd_chain(depend_tx, intr_tx); async_tx_channel_switch()
122 txd_unlock(depend_tx); async_tx_channel_switch()
131 if (dma_wait_for_async_tx(depend_tx) != DMA_COMPLETE) async_tx_channel_switch()
132 panic("%s: DMA error waiting for depend_tx\n", async_tx_channel_switch()
145 * while holding depend_tx->lock we must avoid submitting new operations
159 struct dma_async_tx_descriptor *depend_tx = submit->depend_tx; async_tx_submit() local
164 if (depend_tx) { async_tx_submit()
173 BUG_ON(async_tx_test_ack(depend_tx) || txd_next(depend_tx) || async_tx_submit()
179 txd_lock(depend_tx); async_tx_submit()
180 if (txd_parent(depend_tx)) { async_tx_submit()
185 if (depend_tx->chan == chan) { async_tx_submit()
186 txd_chain(depend_tx, tx); async_tx_submit()
194 if (depend_tx->chan == chan) async_tx_submit()
199 txd_unlock(depend_tx); async_tx_submit()
205 async_tx_channel_switch(depend_tx, tx); async_tx_submit()
220 if (depend_tx) async_tx_submit()
221 async_tx_ack(depend_tx); async_tx_submit()
239 struct dma_async_tx_descriptor *depend_tx = submit->depend_tx; async_trigger_callback() local
241 if (depend_tx) { async_trigger_callback()
242 chan = depend_tx->chan; async_trigger_callback()
263 async_tx_quiesce(&submit->depend_tx); async_trigger_callback()
H A Dasync_xor.c83 async_tx_quiesce(&submit->depend_tx); do_async_xor()
97 submit->depend_tx = tx; do_async_xor()
227 async_tx_quiesce(&submit->depend_tx); async_xor()
306 async_tx_quiesce(&submit->depend_tx); async_xor_val()
H A Dasync_pq.c100 async_tx_quiesce(&submit->depend_tx); do_async_gen_syndrome()
106 submit->depend_tx = tx; do_async_gen_syndrome()
254 async_tx_quiesce(&submit->depend_tx); async_gen_syndrome()
365 async_tx_quiesce(&submit->depend_tx); async_syndrome_val()
391 async_tx_quiesce(&submit->depend_tx); async_syndrome_val()
H A Dasync_memcpy.c89 async_tx_quiesce(&submit->depend_tx); async_memcpy()
H A Dasync_raid6_recov.c80 async_tx_quiesce(&submit->depend_tx); async_sum_product()
148 async_tx_quiesce(&submit->depend_tx); async_mult()
370 async_tx_quiesce(&submit->depend_tx); async_raid6_2data_recov()
446 async_tx_quiesce(&submit->depend_tx); async_raid6_datap_recov()
/linux-4.4.14/include/linux/
H A Dasync_tx.h77 * @depend_tx: parent dependency of the current operation being submitted
84 struct dma_async_tx_descriptor *depend_tx; member in struct:async_submit_ctl
165 args->depend_tx = tx; init_async_submit()
/linux-4.4.14/drivers/md/
H A Draid5.c1160 submit.depend_tx = tx; bio_for_each_segment()

Completed in 200 milliseconds