Home
last modified time | relevance | path

Searched refs:sg_num (Results 1 – 8 of 8) sorted by relevance

/Linux-v4.19/drivers/target/
Dtarget_core_iblock.c320 iblock_get_bio(struct se_cmd *cmd, sector_t lba, u32 sg_num, int op, in iblock_get_bio() argument
330 if (sg_num > BIO_MAX_PAGES) in iblock_get_bio()
331 sg_num = BIO_MAX_PAGES; in iblock_get_bio()
333 bio = bio_alloc_bioset(GFP_NOIO, sg_num, &ib_dev->ibd_bio_set); in iblock_get_bio()
692 u32 sg_num = sgl_nents; in iblock_execute_rw() local
749 bio = iblock_get_bio(cmd, block_lba, sg_num, op, in iblock_execute_rw()
761 sg_num--; in iblock_execute_rw()
/Linux-v4.19/net/smc/
Dsmc_ib.c357 int sg_num; in smc_ib_map_mr_sg() local
360 sg_num = ib_map_mr_sg(buf_slot->mr_rx[SMC_SINGLE_LINK], in smc_ib_map_mr_sg()
365 return sg_num; in smc_ib_map_mr_sg()
/Linux-v4.19/drivers/scsi/
Dnsp32.c1721 int sg_num = data->cur_lunt->sg_num; in nsp32_adjust_busfree() local
1736 for (new_entry = old_entry; new_entry < sg_num; new_entry++) { in nsp32_adjust_busfree()
1744 if (new_entry == sg_num) { in nsp32_adjust_busfree()
2672 .sg_num = 0, in nsp32_detect()
Dnsp32.h500 unsigned int sg_num; /* Total number of SG entries */ member
/Linux-v4.19/drivers/crypto/
Dhifn_795x.c1537 int err = -EINVAL, sg_num; in hifn_setup_session() local
1563 sg_num = hifn_cipher_walk(req, &rctx->walk); in hifn_setup_session()
1564 if (sg_num < 0) { in hifn_setup_session()
1565 err = sg_num; in hifn_setup_session()
1570 if (dev->started + sg_num > HIFN_QUEUE_LENGTH) { in hifn_setup_session()
/Linux-v4.19/drivers/net/ethernet/neterion/
Ds2io.h681 int sg_num; member
Ds2io.c8237 lro->sg_num = 1; in initiate_new_session()
8280 swstats->sum_avg_pkts_aggregated += lro->sg_num; in update_L3L4_header()
8291 lro->sg_num++; in aggregate_new_rx()
8449 if ((*lro)->sg_num == sp->lro_max_aggr_per_sess) { in s2io_club_tcp_session()
/Linux-v4.19/drivers/crypto/caam/
Dcaamhash.c684 int sg_num, u32 *sh_desc, in ahash_edesc_alloc() argument
689 unsigned int sg_size = sg_num * sizeof(struct sec4_sg_entry); in ahash_edesc_alloc()