Lines Matching refs:discipline
204 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()
242 if (!base->discipline->check_device_format) in dasd_check_format()
245 rc = base->discipline->check_device_format(base, cdata, 1); in dasd_check_format()
247 rc = base->discipline->check_device_format(base, cdata, 0); in dasd_check_format()
333 if (!device->discipline->is_ese && !device->discipline->is_ese(device)) in dasd_release_space()
335 if (!device->discipline->release_space) in dasd_release_space()
338 return device->discipline->release_space(device, rdata); in dasd_release_space()
422 if (!device->discipline->copy_pair_swap) { in dasd_ioctl_copy_pair_swap()
426 rc = device->discipline->copy_pair_swap(device, data.primary, in dasd_ioctl_copy_pair_swap()
516 if (!base->discipline || !base->discipline->fill_info) in __dasd_ioctl_information()
519 rc = base->discipline->fill_info(base, dasd_info); in __dasd_ioctl_information()
554 memcpy(dasd_info->type, base->discipline->name, 4); in __dasd_ioctl_information()
697 if (base->discipline->ioctl) in dasd_ioctl()
698 rc = base->discipline->ioctl(block, cmd, argp); in dasd_ioctl()