Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/target/
Dtarget_core_iblock.c336 iblock_get_bio(struct se_cmd *cmd, sector_t lba, u32 sg_num) in iblock_get_bio() argument
345 if (sg_num > BIO_MAX_PAGES) in iblock_get_bio()
346 sg_num = BIO_MAX_PAGES; in iblock_get_bio()
348 bio = bio_alloc_bioset(GFP_NOIO, sg_num, ib_dev->ibd_bio_set); in iblock_get_bio()
683 u32 sg_num = sgl_nents; in iblock_execute_rw() local
763 bio = iblock_get_bio(cmd, block_lba, sg_num); in iblock_execute_rw()
774 sg_num--; in iblock_execute_rw()
/linux-4.1.27/drivers/scsi/
Dnsp32.c1724 int sg_num = data->cur_lunt->sg_num; in nsp32_adjust_busfree() local
1739 for (new_entry = old_entry; new_entry < sg_num; new_entry++) { in nsp32_adjust_busfree()
1747 if (new_entry == sg_num) { in nsp32_adjust_busfree()
2675 .sg_num = 0, in nsp32_detect()
Dnsp32.h500 unsigned int sg_num; /* Total number of SG entries */ member
/linux-4.1.27/drivers/crypto/
Dhifn_795x.c1582 int err = -EINVAL, sg_num; in hifn_setup_session() local
1608 sg_num = hifn_cipher_walk(req, &rctx->walk); in hifn_setup_session()
1609 if (sg_num < 0) { in hifn_setup_session()
1610 err = sg_num; in hifn_setup_session()
1615 if (dev->started + sg_num > HIFN_QUEUE_LENGTH) { in hifn_setup_session()
/linux-4.1.27/drivers/net/ethernet/neterion/
Ds2io.h681 int sg_num; member
Ds2io.c8317 lro->sg_num = 1; in initiate_new_session()
8360 swstats->sum_avg_pkts_aggregated += lro->sg_num; in update_L3L4_header()
8371 lro->sg_num++; in aggregate_new_rx()
8529 if ((*lro)->sg_num == sp->lro_max_aggr_per_sess) { in s2io_club_tcp_session()