Lines Matching defs:blkdev
12 #include <linux/blkdev.h>
68 * blkdev - the block device to use for pstore storage
72 * blkdev accepts the following variants:
91 static char blkdev[80] = CONFIG_PSTORE_BLK_BLKDEV;
92 module_param_string(blkdev, blkdev, 80, 0400);
93 MODULE_PARM_DESC(blkdev, "block device for pstore storage");
241 if (!blkdev[0])
246 bdev = blkdev_get_by_path(blkdev, mode, holder);
250 devt = name_to_dev_t(blkdev);
260 pr_err("not enough space for '%s'\n", blkdev);
377 void *holder = blkdev;
386 pr_err("failed to open '%s'!\n", blkdev);
390 /* only allow driver matching the @blkdev */
456 void *holder = blkdev;
483 strncpy(info->device, blkdev, 80);
501 if (!pstore_zone_info && best_effort && blkdev[0])
506 if (best_effort && blkdev[0])