/Linux-v5.10/samples/kfifo/ |
D | dma-example.c | 79 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/ |
D | scatterlist.h | 15 #define sg_is_last(sg) ((sg)->page_link & 0x02) macro 139 if (sg_is_last(sg)) in sg_next()
|
/Linux-v5.10/include/linux/ |
D | devcoredump.h | 40 while (!sg_is_last(iter)) { in _devcd_free_sgtable()
|
D | scatterlist.h | 73 #define sg_is_last(sg) ((sg)->page_link & SG_END) macro
|
/Linux-v5.10/drivers/gpu/drm/i915/ |
D | i915_scatterlist.h | 66 return sg_is_last(sg) ? NULL : ____sg_next(sg); in __sg_next()
|
D | i915_gpu_error.c | 672 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/ |
D | scatterlist.c | 25 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/ |
D | zfcp_qdio.h | 184 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/ |
D | qat_asym_algs.c | 277 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/ |
D | spi-bcm2835.c | 482 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/ |
D | stm32-hash.c | 305 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/ |
D | tdma.c | 25 if (sg_is_last(sgiter->sg)) in mv_cesa_req_dma_iter_next_transfer()
|
/Linux-v5.10/drivers/crypto/mediatek/ |
D | mtk-sha.c | 196 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/ |
D | rk3288_crypto_ahash.c | 239 if (sg_is_last(dev->sg_src)) { in rk_ahash_crypto_rx()
|
D | rk3288_crypto_skcipher.c | 357 if (sg_is_last(dev->sg_src)) { in rk_ablk_rx()
|
/Linux-v5.10/drivers/crypto/ |
D | s5p-sss.c | 582 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()
|
D | atmel-sha.c | 317 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/ |
D | espintcp.c | 223 if (sg_is_last(sg)) in espintcp_sendskmsg_locked()
|
/Linux-v5.10/drivers/usb/image/ |
D | microtek.c | 507 sg_is_last(context->curr_sg) ? in mts_do_sg()
|
/Linux-v5.10/drivers/memstick/core/ |
D | ms_block.c | 43 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/ |
D | NCR5380.c | 171 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()
|
D | aha152x.c | 2019 !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/ |
D | tls_main.c | 117 if (sg_is_last(sg)) in tls_push_sg()
|
/Linux-v5.10/drivers/ata/ |
D | pata_octeon_cf.c | 701 if (!sg_is_last(qc->cursg)) { in octeon_cf_interrupt()
|
/Linux-v5.10/drivers/rapidio/devices/ |
D | tsi721_dma.c | 514 if (sg_is_last(sg)) { in tsi721_submit_sg()
|