Searched refs:sg_num (Results 1 – 6 of 6) sorted by relevance
336 iblock_get_bio(struct se_cmd *cmd, sector_t lba, u32 sg_num) in iblock_get_bio() argument345 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() local763 bio = iblock_get_bio(cmd, block_lba, sg_num); in iblock_execute_rw()774 sg_num--; in iblock_execute_rw()
1724 int sg_num = data->cur_lunt->sg_num; in nsp32_adjust_busfree() local1739 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()
500 unsigned int sg_num; /* Total number of SG entries */ member
1582 int err = -EINVAL, sg_num; in hifn_setup_session() local1608 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()
681 int sg_num; member
8317 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()