Lines Matching refs:discipline
604 if (!device->discipline || !device->discipline->pprc_status) { in dasd_devmap_get_pprc_status()
613 if (device->discipline->pprc_status(device, temp)) { in dasd_devmap_get_pprc_status()
668 if (!device->discipline || !device->discipline->get_uid || in dasd_devmap_check_copy_relation()
669 device->discipline->get_uid(device, &uid)) in dasd_devmap_check_copy_relation()
1250 if (!device->discipline) in dasd_access_show()
1252 else if (!device->discipline->host_access_count) in dasd_access_show()
1255 count = device->discipline->host_access_count(device); in dasd_access_show()
1276 else if (!device->discipline) { in dasd_discipline_show()
1281 device->discipline->name); in dasd_discipline_show()
1290 static DEVICE_ATTR(discipline, 0444, dasd_discipline_show, NULL);
1342 if (device->discipline && device->discipline->get_uid && in dasd_alias_show()
1343 !device->discipline->get_uid(device, &uid)) { in dasd_alias_show()
1369 if (device->discipline && device->discipline->get_uid && in dasd_vendor_show()
1370 !device->discipline->get_uid(device, &uid)) in dasd_vendor_show()
1397 if (device->discipline && device->discipline->get_uid && in dasd_uid_show()
1398 !device->discipline->get_uid(device, &uid)) { in dasd_uid_show()
1622 if (device->discipline && device->discipline->reset_path) in dasd_path_reset_store()
1623 device->discipline->reset_path(device, (__u8) val); in dasd_path_reset_store()
1640 if (!device->discipline || !device->discipline->hpf_enabled) { in dasd_hpf_show()
1644 hpf = device->discipline->hpf_enabled(device); in dasd_hpf_show()
2179 if (device->discipline->pprc_enabled) { in dasd_copy_pair_store()
2180 pprc_enabled = device->discipline->pprc_enabled(device); in dasd_copy_pair_store()
2255 if (!device->discipline || !device->discipline->device_ping) { in dasd_device_ping()
2259 rc = device->discipline->device_ping(device); in dasd_device_ping()
2279 if (device->discipline && _func) \
2287 DASD_DEFINE_ATTR(ese, device->discipline->is_ese);
2288 DASD_DEFINE_ATTR(extent_size, device->discipline->ext_size);
2289 DASD_DEFINE_ATTR(pool_id, device->discipline->ext_pool_id);
2290 DASD_DEFINE_ATTR(space_configured, device->discipline->space_configured);
2291 DASD_DEFINE_ATTR(space_allocated, device->discipline->space_allocated);
2292 DASD_DEFINE_ATTR(logical_capacity, device->discipline->logical_capacity);
2293 DASD_DEFINE_ATTR(warn_threshold, device->discipline->ext_pool_warn_thrshld);
2294 DASD_DEFINE_ATTR(cap_at_warnlevel, device->discipline->ext_pool_cap_at_warnlevel);
2295 DASD_DEFINE_ATTR(pool_oos, device->discipline->ext_pool_oos);