Home
last modified time | relevance | path

Searched refs:sg_is_last (Results 1 – 25 of 34) sorted by relevance

12

/Linux-v5.10/samples/kfifo/
Ddma-example.c79 if (sg_is_last(&sg[i])) in example_init()
108 if (sg_is_last(&sg[i])) in example_init()
/Linux-v5.10/tools/virtio/linux/
Dscatterlist.h15 #define sg_is_last(sg) ((sg)->page_link & 0x02) macro
139 if (sg_is_last(sg)) in sg_next()
/Linux-v5.10/include/linux/
Ddevcoredump.h40 while (!sg_is_last(iter)) { in _devcd_free_sgtable()
Dscatterlist.h73 #define sg_is_last(sg) ((sg)->page_link & SG_END) macro
/Linux-v5.10/drivers/gpu/drm/i915/
Di915_scatterlist.h66 return sg_is_last(sg) ? NULL : ____sg_next(sg); in __sg_next()
Di915_gpu_error.c672 if (sg_is_last(sg)) in err_free_sgl()
676 sg = sg_is_last(sg) ? NULL : sg_chain_ptr(sg); in err_free_sgl()
913 } while (!sg_is_last(sg++)); in i915_gpu_coredump_copy_to_buffer()
/Linux-v5.10/lib/
Dscatterlist.c25 if (sg_is_last(sg)) in sg_next()
109 BUG_ON(!sg_is_last(ret)); in sg_last()
379 if (!sg_is_last(next_sg) || needed_sges == 1) in get_next_sg()
/Linux-v5.10/drivers/s390/scsi/
Dzfcp_qdio.h184 return sg_is_last(sg) && sg->length <= ZFCP_QDIO_SBALE_LEN; in zfcp_qdio_sg_one_sbale()
/Linux-v5.10/drivers/crypto/qat/qat_common/
Dqat_asym_algs.c277 if (sg_is_last(req->src) && req->src_len == ctx->p_size) { in qat_dh_compute_value()
308 if (sg_is_last(req->dst) && req->dst_len == ctx->p_size) { in qat_dh_compute_value()
685 if (sg_is_last(req->src) && req->src_len == ctx->key_sz) { in qat_rsa_enc()
704 if (sg_is_last(req->dst) && req->dst_len == ctx->key_sz) { in qat_rsa_enc()
829 if (sg_is_last(req->src) && req->src_len == ctx->key_sz) { in qat_rsa_dec()
848 if (sg_is_last(req->dst) && req->dst_len == ctx->key_sz) { in qat_rsa_dec()
/Linux-v5.10/drivers/spi/
Dspi-bcm2835.c482 if (bs->tx_buf && !sg_is_last(&tfr->tx_sg.sgl[0])) in bcm2835_spi_transfer_prologue()
485 if (bs->rx_buf && !sg_is_last(&tfr->rx_sg.sgl[0])) { in bcm2835_spi_transfer_prologue()
489 if (!bs->tx_buf || sg_is_last(&tfr->tx_sg.sgl[0])) { in bcm2835_spi_transfer_prologue()
/Linux-v5.10/drivers/crypto/stm32/
Dstm32-hash.c305 if ((rctx->sg->length == 0) && !sg_is_last(rctx->sg)) { in stm32_hash_append_sg()
570 if (sg_is_last(sg)) { in stm32_hash_dma_send()
597 !sg_is_last(sg)); in stm32_hash_dma_send()
670 (!sg_is_last(sg))) in stm32_hash_dma_aligned_data()
/Linux-v5.10/drivers/crypto/marvell/cesa/
Dtdma.c25 if (sg_is_last(sgiter->sg)) in mv_cesa_req_dma_iter_next_transfer()
/Linux-v5.10/drivers/crypto/mediatek/
Dmtk-sha.c196 if ((ctx->sg->length == 0) && !sg_is_last(ctx->sg)) { in mtk_sha_append_sg()
530 if (!sg_is_last(sg) && !IS_ALIGNED(sg->length, ctx->bs)) in mtk_sha_update_start()
536 if (sg_is_last(sg)) { in mtk_sha_update_start()
/Linux-v5.10/drivers/crypto/rockchip/
Drk3288_crypto_ahash.c239 if (sg_is_last(dev->sg_src)) { in rk_ahash_crypto_rx()
Drk3288_crypto_skcipher.c357 if (sg_is_last(dev->sg_src)) { in rk_ablk_rx()
/Linux-v5.10/drivers/crypto/
Ds5p-sss.c582 if (!sg_is_last(dev->sg_dst)) { in s5p_aes_tx()
604 if (!sg_is_last(dev->sg_src)) { in s5p_aes_rx()
691 if (sg_is_last(dev->sg_dst)) in s5p_aes_interrupt()
Datmel-sha.c317 if ((ctx->sg->length == 0) && !sg_is_last(ctx->sg)) { in atmel_sha_append_sg()
780 if (!sg_is_last(sg) && !IS_ALIGNED(sg->length, ctx->block_size)) in atmel_sha_update_dma_start()
786 if (sg_is_last(sg)) { in atmel_sha_update_dma_start()
/Linux-v5.10/net/xfrm/
Despintcp.c223 if (sg_is_last(sg)) in espintcp_sendskmsg_locked()
/Linux-v5.10/drivers/usb/image/
Dmicrotek.c507 sg_is_last(context->curr_sg) ? in mts_do_sg()
/Linux-v5.10/drivers/memstick/core/
Dms_block.c43 if (sg_is_last(sg_from)) in msb_sg_copy()
58 if (sg_is_last(sg_from) || !len) in msb_sg_copy()
73 if (sg_is_last(sg_from) || !len) in msb_sg_copy()
/Linux-v5.10/drivers/scsi/
DNCR5380.c171 if (!cmd->SCp.this_residual && s && !sg_is_last(s)) { in advance_sg_buffer()
184 while (!sg_is_last(s)) { in set_resid_from_SCp()
Daha152x.c2019 !sg_is_last(CURRENT_SC->SCp.buffer)) { in datai_run()
2124 !sg_is_last(CURRENT_SC->SCp.buffer)) { in datao_run()
2154 while (done > 0 && !sg_is_last(sg)) { in datao_end()
/Linux-v5.10/net/tls/
Dtls_main.c117 if (sg_is_last(sg)) in tls_push_sg()
/Linux-v5.10/drivers/ata/
Dpata_octeon_cf.c701 if (!sg_is_last(qc->cursg)) { in octeon_cf_interrupt()
/Linux-v5.10/drivers/rapidio/devices/
Dtsi721_dma.c514 if (sg_is_last(sg)) { in tsi721_submit_sg()

12