/linux-6.1.9/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-6.1.9/tools/testing/selftests/bpf/progs/ |
D | loop6.c | 35 #define sg_is_last(sg) ((sg)->page_link & SG_END) macro 44 if (sg_is_last(&sg)) in __sg_next()
|
/linux-6.1.9/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-6.1.9/include/linux/ |
D | devcoredump.h | 40 while (!sg_is_last(iter)) { in _devcd_free_sgtable()
|
D | scatterlist.h | 92 static inline bool sg_is_last(struct scatterlist *sg) in sg_is_last() function
|
/linux-6.1.9/lib/ |
D | scatterlist.c | 25 if (sg_is_last(sg)) in sg_next() 109 BUG_ON(!sg_is_last(ret)); in sg_last() 394 if (!sg_is_last(next_sg) || needed_sges == 1) in get_next_sg()
|
/linux-6.1.9/drivers/crypto/qat/qat_common/ |
D | qat_asym_algs.c | 289 if (sg_is_last(req->src) && req->src_len == ctx->p_size) { in qat_dh_compute_value() 317 if (sg_is_last(req->dst) && req->dst_len == ctx->p_size) { in qat_dh_compute_value() 695 if (sg_is_last(req->src) && req->src_len == ctx->key_sz) { in qat_rsa_enc() 715 if (sg_is_last(req->dst) && req->dst_len == ctx->key_sz) { in qat_rsa_enc() 839 if (sg_is_last(req->src) && req->src_len == ctx->key_sz) { in qat_rsa_dec() 859 if (sg_is_last(req->dst) && req->dst_len == ctx->key_sz) { in qat_rsa_dec()
|
/linux-6.1.9/drivers/s390/scsi/ |
D | zfcp_qdio.h | 191 return sg_is_last(sg) && sg->length <= ZFCP_QDIO_SBALE_LEN; in zfcp_qdio_sg_one_sbale()
|
/linux-6.1.9/drivers/gpu/drm/i915/ |
D | i915_scatterlist.h | 79 return sg_is_last(sg) ? NULL : ____sg_next(sg); in __sg_next()
|
D | i915_gpu_error.c | 707 if (sg_is_last(sg)) in err_free_sgl() 711 sg = sg_is_last(sg) ? NULL : sg_chain_ptr(sg); in err_free_sgl() 997 } while (!sg_is_last(sg++)); in i915_gpu_coredump_copy_to_buffer()
|
/linux-6.1.9/drivers/dma/qcom/ |
D | qcom_adm.c | 280 if (sg_is_last(sg)) in adm_process_fc_descriptors() 283 if (box_desc && sg_is_last(sg)) in adm_process_fc_descriptors() 330 if (sg_is_last(sg)) in adm_process_non_fc_descriptors()
|
/linux-6.1.9/drivers/spi/ |
D | spi-bcm2835.c | 493 if (bs->tx_buf && !sg_is_last(&tfr->tx_sg.sgl[0])) in bcm2835_spi_transfer_prologue() 496 if (bs->rx_buf && !sg_is_last(&tfr->rx_sg.sgl[0])) { in bcm2835_spi_transfer_prologue() 500 if (!bs->tx_buf || sg_is_last(&tfr->tx_sg.sgl[0])) { in bcm2835_spi_transfer_prologue()
|
/linux-6.1.9/drivers/crypto/stm32/ |
D | stm32-hash.c | 306 if ((rctx->sg->length == 0) && !sg_is_last(rctx->sg)) { in stm32_hash_append_sg() 571 if (sg_is_last(sg)) { in stm32_hash_dma_send() 598 !sg_is_last(sg)); in stm32_hash_dma_send() 671 (!sg_is_last(sg))) in stm32_hash_dma_aligned_data()
|
/linux-6.1.9/drivers/crypto/marvell/cesa/ |
D | tdma.c | 25 if (sg_is_last(sgiter->sg)) in mv_cesa_req_dma_iter_next_transfer()
|
/linux-6.1.9/drivers/crypto/ |
D | s5p-sss.c | 580 if (!sg_is_last(dev->sg_dst)) { in s5p_aes_tx() 602 if (!sg_is_last(dev->sg_src)) { in s5p_aes_rx() 689 if (sg_is_last(dev->sg_dst)) in s5p_aes_interrupt()
|
D | atmel-sha.c | 318 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()
|
D | mxs-dcp.c | 358 if (actx->fill == out_off || sg_is_last(src) || in mxs_dcp_aes_block_crypt()
|
/linux-6.1.9/drivers/usb/image/ |
D | microtek.c | 511 sg_is_last(context->curr_sg) ? in mts_do_sg()
|
/linux-6.1.9/net/xfrm/ |
D | espintcp.c | 221 if (sg_is_last(sg)) in espintcp_sendskmsg_locked()
|
/linux-6.1.9/net/core/ |
D | skmsg.c | 466 } while ((i != msg_rx->sg.end) && !sg_is_last(sge)); in sk_msg_recvmsg() 476 if (!sge->length && (i == msg_rx->sg.end || sg_is_last(sge))) { in sk_msg_recvmsg()
|
/linux-6.1.9/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-6.1.9/drivers/crypto/hisilicon/hpre/ |
D | hpre_crypto.c | 285 if ((sg_is_last(data) && len == ctx->key_sz) && in hpre_hw_data_init() 1547 if (unlikely(!data || !sg_is_last(data) || len != ctx->key_sz << 1)) { in hpre_ecdh_dst_data_init() 1893 if (!data || !sg_is_last(data) || len != ctx->key_sz) { in hpre_curve25519_dst_init()
|
/linux-6.1.9/drivers/scsi/ |
D | NCR5380.c | 167 if (!ncmd->this_residual && s && !sg_is_last(s)) { in advance_sg_buffer() 181 while (!sg_is_last(s)) { in set_resid_from_SCp()
|
D | aha152x.c | 2065 !sg_is_last(acp->buffer)) { in datai_run() 2170 if (acp->this_residual == 0 && !sg_is_last(acp->buffer)) { in datao_run() 2202 while (done > 0 && !sg_is_last(sg)) { in datao_end()
|
/linux-6.1.9/drivers/ata/ |
D | pata_octeon_cf.c | 666 if (!sg_is_last(qc->cursg)) { in octeon_cf_interrupt()
|