Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/s390/block/
Ddasd_ioctl.c209 if (base->discipline->format_device == NULL) in dasd_format()
234 rc = base->discipline->format_device(base, fdata, 1); in dasd_format()
236 rc = base->discipline->format_device(base, fdata, 0); in dasd_format()
Ddasd_int.h328 int (*format_device) (struct dasd_device *, member
Ddasd_eckd.c6559 .format_device = dasd_eckd_format_device,
/Linux-v5.4/drivers/md/
Ddm-thin-metadata.h46 bool format_device);
Ddm-thin-metadata.c712 static int __open_or_format_metadata(struct dm_pool_metadata *pmd, bool format_device) in __open_or_format_metadata() argument
721 return format_device ? __format_metadata(pmd) : -EPERM; in __open_or_format_metadata()
726 static int __create_persistent_data_objects(struct dm_pool_metadata *pmd, bool format_device) in __create_persistent_data_objects() argument
737 r = __open_or_format_metadata(pmd, format_device); in __create_persistent_data_objects()
877 bool format_device) in dm_pool_metadata_open() argument
896 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.c2946 bool format_device = read_only ? false : true; in pool_create() local
2948 pmd = dm_pool_metadata_open(metadata_dev, block_size, format_device); in pool_create()