Searched refs:n_segs (Results 1 – 2 of 2) sorted by relevance
498 int i, err, n_segs, i_seg = 0; in scsiback_gnttab_data_map() local530 n_segs = ring_req->seg[i].length / in scsiback_gnttab_data_map()534 n_segs * sizeof(struct scsiif_request_segment) != in scsiback_gnttab_data_map()537 nr_segments += n_segs; in scsiback_gnttab_data_map()570 n_segs = ring_req->seg[i].length / in scsiback_gnttab_data_map()573 pg, grant, n_segs, flags); in scsiback_gnttab_data_map()576 pg += n_segs; in scsiback_gnttab_data_map()577 grant += n_segs; in scsiback_gnttab_data_map()
2949 int i, n_segs = 0; in is_manual_mode() local2994 n_segs += c->layer[i].segment_count; in is_manual_mode()3008 if (n_segs == 0 || n_segs > 13) { in is_manual_mode()