Searched refs:data_grants (Results 1 – 1 of 1) sorted by relevance
488 unsigned int data_grants = 0, seg_grants = 0; in map_data_for_request() local496 data_grants += PFN_UP(sg->offset + sg->length); in map_data_for_request()498 if (data_grants > VSCSIIF_SG_TABLESIZE) { in map_data_for_request()499 if (data_grants > info->host->sg_tablesize) { in map_data_for_request()504 seg_grants = vscsiif_grants_sg(data_grants); in map_data_for_request()505 shadow->sg = kcalloc(data_grants, in map_data_for_request()512 err = gnttab_alloc_grant_references(seg_grants + data_grants, in map_data_for_request()524 len = sizeof(struct scsiif_request_segment) * data_grants; in map_data_for_request()