We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eca53cb commit d3df0acCopy full SHA for d3df0ac
drivers/block/xen-blkfront.c
@@ -251,14 +251,9 @@ static DEFINE_SPINLOCK(minor_lock);
251
#define GRANTS_PER_INDIRECT_FRAME \
252
(XEN_PAGE_SIZE / sizeof(struct blkif_request_segment))
253
254
-#define PSEGS_PER_INDIRECT_FRAME \
255
- (GRANTS_INDIRECT_FRAME / GRANTS_PSEGS)
256
-
257
#define INDIRECT_GREFS(_grants) \
258
DIV_ROUND_UP(_grants, GRANTS_PER_INDIRECT_FRAME)
259
260
-#define GREFS(_psegs) ((_psegs) * GRANTS_PER_PSEG)
261
262
static int blkfront_setup_indirect(struct blkfront_ring_info *rinfo);
263
static void blkfront_gather_backend_features(struct blkfront_info *info);
264
static int negotiate_mq(struct blkfront_info *info);
0 commit comments