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.h382 int (*format_device) (struct dasd_device *, member
Ddasd_eckd.c6936 .format_device = dasd_eckd_format_device,
/drivers/md/
Ddm-thin-metadata.h46 bool format_device);
Ddm-thin-metadata.c765 static int __open_or_format_metadata(struct dm_pool_metadata *pmd, bool format_device) in __open_or_format_metadata() argument
774 return format_device ? __format_metadata(pmd) : -EPERM; in __open_or_format_metadata()
779 static int __create_persistent_data_objects(struct dm_pool_metadata *pmd, bool format_device) in __create_persistent_data_objects() argument
792 r = __open_or_format_metadata(pmd, format_device); in __create_persistent_data_objects()
949 bool format_device) in dm_pool_metadata_open() argument
970 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.c2918 bool format_device = read_only ? false : true; in pool_create() local
2920 pmd = dm_pool_metadata_open(metadata_dev, block_size, format_device); in pool_create()