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

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

Completed in 496 milliseconds