Home
last modified time | relevance | path

Searched refs:seg_grants (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/scsi/
H A Dxen-scsifront.c480 unsigned int data_grants = 0, seg_grants = 0; in map_data_for_request() local
496 seg_grants = vscsiif_grants_sg(data_grants); in map_data_for_request()
504 err = gnttab_alloc_grant_references(seg_grants + data_grants, in map_data_for_request()
513 if (seg_grants) { in map_data_for_request()
536 BUG_ON(seg_grants < ref_cnt); in map_data_for_request()
537 seg_grants = ref_cnt; in map_data_for_request()
576 if (seg_grants) in map_data_for_request()
577 shadow->nr_segments = VSCSIIF_SG_GRANT | seg_grants; in map_data_for_request()