/openbmc/linux/samples/kfifo/ |
H A D | dma-example.c | 79 if (sg_is_last(&sg[i])) in example_init() 108 if (sg_is_last(&sg[i])) in example_init()
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | loop6.c | 36 #define sg_is_last(sg) ((sg)->page_link & SG_END) macro 45 if (sg_is_last(&sg)) in __sg_next()
|
/openbmc/linux/tools/virtio/linux/ |
H A D | scatterlist.h | 16 #define sg_is_last(sg) ((sg)->page_link & 0x02) macro 140 if (sg_is_last(sg)) in sg_next()
|
/openbmc/linux/include/linux/ |
H A D | devcoredump.h | 40 while (!sg_is_last(iter)) { in _devcd_free_sgtable()
|
H A D | scatterlist.h | 92 static inline bool sg_is_last(struct scatterlist *sg) in sg_is_last() function
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_scatterlist.h | 79 return sg_is_last(sg) ? NULL : ____sg_next(sg); in __sg_next()
|
H A D | i915_gpu_error.c | 711 if (sg_is_last(sg)) in err_free_sgl() 715 sg = sg_is_last(sg) ? NULL : sg_chain_ptr(sg); in err_free_sgl() 1006 } while (!sg_is_last(sg++)); in i915_gpu_coredump_copy_to_buffer()
|
/openbmc/linux/drivers/s390/scsi/ |
H A D | zfcp_qdio.h | 191 return sg_is_last(sg) && sg->length <= ZFCP_QDIO_SBALE_LEN; in zfcp_qdio_sg_one_sbale()
|
/openbmc/linux/drivers/crypto/intel/qat/qat_common/ |
H A D | qat_asym_algs.c | 288 if (sg_is_last(req->src) && req->src_len == ctx->p_size) { in qat_dh_compute_value() 316 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()
|
/openbmc/linux/drivers/dma/qcom/ |
H A 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()
|
/openbmc/linux/lib/ |
H A D | scatterlist.c | 27 if (sg_is_last(sg)) in sg_next() 111 BUG_ON(!sg_is_last(ret)); in sg_last() 397 if (!sg_is_last(next_sg) || needed_sges == 1) in get_next_sg()
|
/openbmc/linux/drivers/spi/ |
H A 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()
|
/openbmc/linux/drivers/crypto/marvell/cesa/ |
H A D | tdma.c | 25 if (sg_is_last(sgiter->sg)) in mv_cesa_req_dma_iter_next_transfer()
|
/openbmc/linux/drivers/crypto/ |
H A D | s5p-sss.c | 579 if (!sg_is_last(dev->sg_dst)) { in s5p_aes_tx() 601 if (!sg_is_last(dev->sg_src)) { in s5p_aes_rx() 688 if (sg_is_last(dev->sg_dst)) in s5p_aes_interrupt()
|
H A 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()
|
/openbmc/linux/drivers/usb/image/ |
H A D | microtek.c | 511 sg_is_last(context->curr_sg) ? in mts_do_sg()
|
/openbmc/linux/net/xfrm/ |
H A D | espintcp.c | 226 if (sg_is_last(sg) && !more) in espintcp_sendskmsg_locked()
|
/openbmc/linux/net/core/ |
H A D | skmsg.c | 468 } while ((i != msg_rx->sg.end) && !sg_is_last(sge)); in sk_msg_recvmsg() 478 if (!sge->length && (i == msg_rx->sg.end || sg_is_last(sge))) { in sk_msg_recvmsg()
|
/openbmc/linux/drivers/crypto/stm32/ |
H A D | stm32-hash.c | 342 if ((rctx->sg->length == 0) && !sg_is_last(rctx->sg)) { in stm32_hash_append_sg() 679 if (sg_is_last(sg) || (bufcnt + sg[0].length) >= rctx->total) { in stm32_hash_dma_send() 784 (!sg_is_last(sg))) in stm32_hash_dma_aligned_data()
|
/openbmc/linux/drivers/memstick/core/ |
H A 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()
|
/openbmc/linux/drivers/crypto/hisilicon/hpre/ |
H A D | hpre_crypto.c | 295 if ((sg_is_last(data) && len == ctx->key_sz) && in hpre_hw_data_init() 1568 if (unlikely(!data || !sg_is_last(data) || len != ctx->key_sz << 1)) { in hpre_ecdh_dst_data_init() 1920 if (!data || !sg_is_last(data) || len != ctx->key_sz) { in hpre_curve25519_dst_init()
|
/openbmc/linux/drivers/scsi/ |
H A 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()
|
H A 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()
|
/openbmc/linux/drivers/ata/ |
H A D | pata_octeon_cf.c | 667 if (!sg_is_last(qc->cursg)) { in octeon_cf_interrupt()
|
/openbmc/linux/drivers/rapidio/devices/ |
H A D | tsi721_dma.c | 514 if (sg_is_last(sg)) { in tsi721_submit_sg()
|