Searched refs:n_segs (Results 1 – 2 of 2) sorted by relevance
475 int i, err, n_segs, i_seg = 0; in scsiback_gnttab_data_map() local507 n_segs = ring_req->seg[i].length / in scsiback_gnttab_data_map()511 n_segs * sizeof(struct scsiif_request_segment) != in scsiback_gnttab_data_map()514 nr_segments += n_segs; in scsiback_gnttab_data_map()547 n_segs = ring_req->seg[i].length / in scsiback_gnttab_data_map()550 pg, grant, n_segs, flags); in scsiback_gnttab_data_map()553 pg += n_segs; in scsiback_gnttab_data_map()554 grant += n_segs; in scsiback_gnttab_data_map()
2952 int i, n_segs = 0; in is_manual_mode() local2997 n_segs += c->layer[i].segment_count; in is_manual_mode()3011 if (n_segs == 0 || n_segs > 13) { in is_manual_mode()