Home
last modified time | relevance | path

Searched refs:num_grant (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/block/
H A Dxen-blkfront.c736 int num_sg, max_grefs, num_grant; in blkif_queue_rw_req() local
767 num_grant = 0; in blkif_queue_rw_req()
770 num_grant += gnttab_count_grant(sg->offset, sg->length); in blkif_queue_rw_req()
773 num_grant > BLKIF_MAX_SEGMENTS_PER_REQUEST; in blkif_queue_rw_req()
777 if (num_grant > BLKIF_MAX_SEGMENTS_PER_REQUEST && in blkif_queue_rw_req()
789 ring_req->u.indirect.nr_segments = num_grant; in blkif_queue_rw_req()
813 ring_req->u.rw.nr_segments = num_grant; in blkif_queue_rw_req()
1462 int num_sg, num_grant; in blkif_completion() local
1469 num_grant = s->req.operation == BLKIF_OP_INDIRECT ? in blkif_completion()
1490 num_grant in blkif_completion()
[all...]
/kernel/linux/linux-6.6/drivers/block/
H A Dxen-blkfront.c724 int num_sg, max_grefs, num_grant; in blkif_queue_rw_req() local
755 num_grant = 0; in blkif_queue_rw_req()
758 num_grant += gnttab_count_grant(sg->offset, sg->length); in blkif_queue_rw_req()
761 num_grant > BLKIF_MAX_SEGMENTS_PER_REQUEST; in blkif_queue_rw_req()
765 if (num_grant > BLKIF_MAX_SEGMENTS_PER_REQUEST && in blkif_queue_rw_req()
777 ring_req->u.indirect.nr_segments = num_grant; in blkif_queue_rw_req()
801 ring_req->u.rw.nr_segments = num_grant; in blkif_queue_rw_req()
1389 int num_sg, num_grant; in blkif_completion() local
1396 num_grant = s->req.operation == BLKIF_OP_INDIRECT ? in blkif_completion()
1417 num_grant in blkif_completion()
[all...]

Completed in 6 milliseconds