Lines Matching refs:dev
370 struct dm_dev *dev) in create_log_context() argument
430 if (!dev) { in create_log_context()
439 lc->log_dev = dev; in create_log_context()
452 if (buf_size > bdev_nr_bytes(dev->bdev)) { in create_log_context()
454 dev->name, (unsigned long long)buf_size); in create_log_context()
489 if (!dev) in create_log_context()
504 if (!dev) in create_log_context()
550 struct dm_dev *dev; in disk_ctr() local
557 r = dm_get_device(ti, argv[0], dm_table_get_mode(ti->table), &dev); in disk_ctr()
561 r = create_log_context(log, ti, argc - 1, argv + 1, dev); in disk_ctr()
563 dm_put_device(ti, dev); in disk_ctr()