Lines Matching refs:devnum
46 int dev = block_dev->devnum;
76 int dev = block_dev->devnum;
92 int host_dev_bind(int devnum, char *filename) argument
101 ret = blk_get_device(IF_TYPE_HOST, devnum, &dev);
116 snprintf(dev_name, sizeof(dev_name), "host%d", devnum);
133 IF_TYPE_HOST, devnum, 512,
148 desc = blk_get_devnum_by_type(IF_TYPE_HOST, devnum);
196 blk_dev->devnum = dev;
208 int host_get_dev_err(int devnum, struct blk_desc **blk_devp) argument
214 ret = blk_get_device(IF_TYPE_HOST, devnum, &dev);
219 struct host_block_dev *host_dev = find_host_device(devnum);