Searched refs:sg_num (Results 1 – 6 of 6) sorted by relevance
314 iblock_get_bio(struct se_cmd *cmd, sector_t lba, u32 sg_num) in iblock_get_bio() argument323 if (sg_num > BIO_MAX_PAGES) in iblock_get_bio()324 sg_num = BIO_MAX_PAGES; in iblock_get_bio()326 bio = bio_alloc_bioset(GFP_NOIO, sg_num, ib_dev->ibd_bio_set); in iblock_get_bio()643 u32 sg_num = sgl_nents; in iblock_execute_rw() local704 bio = iblock_get_bio(cmd, block_lba, sg_num); in iblock_execute_rw()715 sg_num--; in iblock_execute_rw()
1723 int sg_num = data->cur_lunt->sg_num; in nsp32_adjust_busfree() local1738 for (new_entry = old_entry; new_entry < sg_num; new_entry++) { in nsp32_adjust_busfree()1746 if (new_entry == sg_num) { in nsp32_adjust_busfree()2674 .sg_num = 0, in nsp32_detect()
500 unsigned int sg_num; /* Total number of SG entries */ member
1580 int err = -EINVAL, sg_num; in hifn_setup_session() local1606 sg_num = hifn_cipher_walk(req, &rctx->walk); in hifn_setup_session()1607 if (sg_num < 0) { in hifn_setup_session()1608 err = sg_num; in hifn_setup_session()1613 if (dev->started + sg_num > HIFN_QUEUE_LENGTH) { in hifn_setup_session()
681 int sg_num; member
8293 lro->sg_num = 1; in initiate_new_session()8336 swstats->sum_avg_pkts_aggregated += lro->sg_num; in update_L3L4_header()8347 lro->sg_num++; in aggregate_new_rx()8505 if ((*lro)->sg_num == sp->lro_max_aggr_per_sess) { in s2io_club_tcp_session()