Lines Matching refs:devname
312 const char *devname; in bl_open_udev_path() local
314 devname = kasprintf(GFP_KERNEL, "/dev/disk/by-id/wwn-0x%*phN", in bl_open_udev_path()
316 if (!devname) in bl_open_udev_path()
319 bdev = blkdev_get_by_path(devname, FMODE_READ | FMODE_WRITE, NULL); in bl_open_udev_path()
322 devname, PTR_ERR(bdev)); in bl_open_udev_path()
325 kfree(devname); in bl_open_udev_path()
337 const char *devname; in bl_open_dm_mpath_udev_path() local
339 devname = kasprintf(GFP_KERNEL, in bl_open_dm_mpath_udev_path()
343 if (!devname) in bl_open_dm_mpath_udev_path()
346 bdev = blkdev_get_by_path(devname, FMODE_READ | FMODE_WRITE, NULL); in bl_open_dm_mpath_udev_path()
347 kfree(devname); in bl_open_dm_mpath_udev_path()