Home
last modified time | relevance | path

Searched refs:format_device (Results 1 – 7 of 7) sorted by relevance

/drivers/s390/block/
Ddasd_ioctl.c204 if (base->discipline->format_device == NULL) in dasd_format()
228 rc = base->discipline->format_device(base, fdata, 1); in dasd_format()
230 rc = base->discipline->format_device(base, fdata, 0); in dasd_format()
Ddasd_int.h330 int (*format_device) (struct dasd_device *, member
Ddasd_eckd.c6684 .format_device = dasd_eckd_format_device,
/drivers/md/
Ddm-thin-metadata.h46 bool format_device);
Ddm-thin-metadata.c752 static int __open_or_format_metadata(struct dm_pool_metadata *pmd, bool format_device) in __open_or_format_metadata() argument
761 return format_device ? __format_metadata(pmd) : -EPERM; in __open_or_format_metadata()
766 static int __create_persistent_data_objects(struct dm_pool_metadata *pmd, bool format_device) in __create_persistent_data_objects() argument
779 r = __open_or_format_metadata(pmd, format_device); in __create_persistent_data_objects()
932 bool format_device) in dm_pool_metadata_open() argument
953 r = __create_persistent_data_objects(pmd, format_device); in dm_pool_metadata_open()
Ddm-cache-metadata.c517 bool format_device) in __open_or_format_metadata() argument
527 return format_device ? __format_metadata(cmd) : -EPERM; in __open_or_format_metadata()
Ddm-thin.c2938 bool format_device = read_only ? false : true; in pool_create() local
2940 pmd = dm_pool_metadata_open(metadata_dev, block_size, format_device); in pool_create()