Lines Matching refs:discipline
203 if (base->discipline->format_device == NULL) in dasd_format()
227 rc = base->discipline->format_device(base, fdata, 1); in dasd_format()
229 rc = base->discipline->format_device(base, fdata, 0); in dasd_format()
241 if (!base->discipline->check_device_format) in dasd_check_format()
244 rc = base->discipline->check_device_format(base, cdata, 1); in dasd_check_format()
246 rc = base->discipline->check_device_format(base, cdata, 0); in dasd_check_format()
332 if (!device->discipline->is_ese && !device->discipline->is_ese(device)) in dasd_release_space()
334 if (!device->discipline->release_space) in dasd_release_space()
337 return device->discipline->release_space(device, rdata); in dasd_release_space()
421 if (!device->discipline->copy_pair_swap) { in dasd_ioctl_copy_pair_swap()
425 rc = device->discipline->copy_pair_swap(device, data.primary, in dasd_ioctl_copy_pair_swap()
515 if (!base->discipline || !base->discipline->fill_info) in __dasd_ioctl_information()
518 rc = base->discipline->fill_info(base, dasd_info); in __dasd_ioctl_information()
553 memcpy(dasd_info->type, base->discipline->name, 4); in __dasd_ioctl_information()
696 if (base->discipline->ioctl) in dasd_ioctl()
697 rc = base->discipline->ioctl(block, cmd, argp); in dasd_ioctl()