discipline 298 drivers/s390/block/dasd.c if (device->discipline->basic_to_known) { discipline 299 drivers/s390/block/dasd.c rc = device->discipline->basic_to_known(device); discipline 350 drivers/s390/block/dasd.c if (block->base->discipline->do_analysis != NULL) discipline 351 drivers/s390/block/dasd.c rc = block->base->discipline->do_analysis(block); discipline 362 drivers/s390/block/dasd.c if (device->discipline->setup_blk_queue) discipline 363 drivers/s390/block/dasd.c device->discipline->setup_blk_queue(block); discipline 376 drivers/s390/block/dasd.c if (device->discipline->basic_to_ready) discipline 377 drivers/s390/block/dasd.c rc = device->discipline->basic_to_ready(device); discipline 464 drivers/s390/block/dasd.c if (device->discipline->online_to_ready) { discipline 465 drivers/s390/block/dasd.c rc = device->discipline->online_to_ready(device); discipline 610 drivers/s390/block/dasd.c device->discipline->reload(device); discipline 683 drivers/s390/block/dasd.c if (device->discipline->kick_validate) discipline 684 drivers/s390/block/dasd.c device->discipline->kick_validate(device); discipline 1200 drivers/s390/block/dasd.c if (device->discipline->hosts_print) discipline 1201 drivers/s390/block/dasd.c rc = device->discipline->hosts_print(device, m); discipline 1348 drivers/s390/block/dasd.c if (strncmp((char *) &cqr->magic, device->discipline->ebcname, 4)) { discipline 1353 drivers/s390/block/dasd.c *(unsigned int *) device->discipline->name); discipline 1603 drivers/s390/block/dasd.c strncmp(cqr->startdev->discipline->ebcname, discipline 1650 drivers/s390/block/dasd.c if (!device || !device->discipline->is_ese) discipline 1652 drivers/s390/block/dasd.c if (!device->discipline->is_ese(device)) discipline 1723 drivers/s390/block/dasd.c if (device->discipline == dasd_diag_discipline_pointer) { discipline 1747 drivers/s390/block/dasd.c device->discipline->ext_pool_exhaust(device, cqr); discipline 1753 drivers/s390/block/dasd.c device->discipline->dump_sense_dbf(device, irb, "int"); discipline 1756 drivers/s390/block/dasd.c device->discipline->dump_sense(device, cqr, irb); discipline 1757 drivers/s390/block/dasd.c device->discipline->check_for_device_change(device, cqr, irb); discipline 1765 drivers/s390/block/dasd.c device->discipline->check_attention(device, discipline 1776 drivers/s390/block/dasd.c strncmp(device->discipline->ebcname, (char *) &cqr->magic, 4)) { discipline 1784 drivers/s390/block/dasd.c device->discipline->ese_read(cqr, irb); discipline 1791 drivers/s390/block/dasd.c fcqr = device->discipline->ese_format(device, cqr, irb); discipline 1848 drivers/s390/block/dasd.c device->discipline->handle_hpf_error) discipline 1849 drivers/s390/block/dasd.c device->discipline->handle_hpf_error(device, irb); discipline 1870 drivers/s390/block/dasd.c if (device->discipline->start_IO(next) == 0) discipline 1891 drivers/s390/block/dasd.c !device->discipline->check_for_device_change){ discipline 1895 drivers/s390/block/dasd.c if (device->discipline->dump_sense_dbf) discipline 1896 drivers/s390/block/dasd.c device->discipline->dump_sense_dbf(device, irb, "uc"); discipline 1897 drivers/s390/block/dasd.c device->discipline->check_for_device_change(device, NULL, irb); discipline 2028 drivers/s390/block/dasd.c if (device->discipline->term_IO(cqr) != 0) { discipline 2098 drivers/s390/block/dasd.c rc = device->discipline->start_IO(cqr); discipline 2118 drivers/s390/block/dasd.c rc = device->discipline->verify_path(device, discipline 2149 drivers/s390/block/dasd.c rc = device->discipline->term_IO(cqr); discipline 2317 drivers/s390/block/dasd.c device->discipline->handle_terminated_request(cqr); discipline 2321 drivers/s390/block/dasd.c erp_fn = device->discipline->erp_action(cqr); discipline 2585 drivers/s390/block/dasd.c rc = device->discipline->term_IO(cqr); discipline 2667 drivers/s390/block/dasd.c rc = device->discipline->term_IO(cqr); discipline 2751 drivers/s390/block/dasd.c erp_fn = device->discipline->erp_postaction(cqr); discipline 2766 drivers/s390/block/dasd.c status = cqr->block->base->discipline->free_cp(cqr, req); discipline 2834 drivers/s390/block/dasd.c base->discipline->handle_terminated_request(cqr); discipline 2840 drivers/s390/block/dasd.c erp_fn = base->discipline->erp_action(cqr); discipline 3120 drivers/s390/block/dasd.c cqr = basedev->discipline->build_cp(basedev, block, req); discipline 3319 drivers/s390/block/dasd.c if (!try_module_get(base->discipline->owner)) { discipline 3350 drivers/s390/block/dasd.c module_put(base->discipline->owner); discipline 3362 drivers/s390/block/dasd.c module_put(base->discipline->owner); discipline 3378 drivers/s390/block/dasd.c if (!base->discipline || discipline 3379 drivers/s390/block/dasd.c !base->discipline->fill_geometry) { discipline 3383 drivers/s390/block/dasd.c base->discipline->fill_geometry(base->block, geo); discipline 3469 drivers/s390/block/dasd.c struct dasd_discipline *discipline) discipline 3497 drivers/s390/block/dasd.c if (device->discipline) { discipline 3498 drivers/s390/block/dasd.c if (device->discipline->uncheck_device) discipline 3499 drivers/s390/block/dasd.c device->discipline->uncheck_device(device); discipline 3500 drivers/s390/block/dasd.c module_put(device->discipline->owner); discipline 3501 drivers/s390/block/dasd.c device->discipline = NULL; discipline 3561 drivers/s390/block/dasd.c struct dasd_discipline *discipline; discipline 3571 drivers/s390/block/dasd.c discipline = base_discipline; discipline 3594 drivers/s390/block/dasd.c discipline = dasd_diag_discipline_pointer; discipline 3600 drivers/s390/block/dasd.c if (!try_module_get(discipline->owner)) { discipline 3606 drivers/s390/block/dasd.c device->discipline = discipline; discipline 3609 drivers/s390/block/dasd.c rc = discipline->check_device(device); discipline 3612 drivers/s390/block/dasd.c dev_name(&cdev->dev), discipline->name, rc); discipline 3613 drivers/s390/block/dasd.c module_put(discipline->owner); discipline 3869 drivers/s390/block/dasd.c if (device->discipline->kick_validate) discipline 3870 drivers/s390/block/dasd.c device->discipline->kick_validate(device); discipline 3881 drivers/s390/block/dasd.c if (device->discipline->disable_hpf) discipline 3882 drivers/s390/block/dasd.c device->discipline->disable_hpf(device); discipline 3973 drivers/s390/block/dasd.c rc = device->discipline->term_IO(cqr); discipline 4017 drivers/s390/block/dasd.c cqr->block->base->discipline->free_cp( discipline 4065 drivers/s390/block/dasd.c if (device->discipline->freeze) discipline 4066 drivers/s390/block/dasd.c device->discipline->freeze(device); discipline 4093 drivers/s390/block/dasd.c if (device->discipline->restore && !(device->stopped)) discipline 4094 drivers/s390/block/dasd.c rc = device->discipline->restore(device); discipline 195 drivers/s390/block/dasd_alias.c device->discipline->get_uid(device, &uid); discipline 257 drivers/s390/block/dasd_alias.c device->discipline->get_uid(device, &uid); discipline 998 drivers/s390/block/dasd_devmap.c if (!device->discipline) discipline 1000 drivers/s390/block/dasd_devmap.c else if (!device->discipline->host_access_count) discipline 1003 drivers/s390/block/dasd_devmap.c count = device->discipline->host_access_count(device); discipline 1024 drivers/s390/block/dasd_devmap.c else if (!device->discipline) { discipline 1029 drivers/s390/block/dasd_devmap.c device->discipline->name); discipline 1038 drivers/s390/block/dasd_devmap.c static DEVICE_ATTR(discipline, 0444, dasd_discipline_show, NULL); discipline 1090 drivers/s390/block/dasd_devmap.c if (device->discipline && device->discipline->get_uid && discipline 1091 drivers/s390/block/dasd_devmap.c !device->discipline->get_uid(device, &uid)) { discipline 1117 drivers/s390/block/dasd_devmap.c if (device->discipline && device->discipline->get_uid && discipline 1118 drivers/s390/block/dasd_devmap.c !device->discipline->get_uid(device, &uid)) discipline 1145 drivers/s390/block/dasd_devmap.c if (device->discipline && device->discipline->get_uid && discipline 1146 drivers/s390/block/dasd_devmap.c !device->discipline->get_uid(device, &uid)) { discipline 1373 drivers/s390/block/dasd_devmap.c if (device->discipline && device->discipline->reset_path) discipline 1374 drivers/s390/block/dasd_devmap.c device->discipline->reset_path(device, (__u8) val); discipline 1391 drivers/s390/block/dasd_devmap.c if (!device->discipline || !device->discipline->hpf_enabled) { discipline 1395 drivers/s390/block/dasd_devmap.c hpf = device->discipline->hpf_enabled(device); discipline 1656 drivers/s390/block/dasd_devmap.c if (device->discipline && _func) \ discipline 1664 drivers/s390/block/dasd_devmap.c DASD_DEFINE_ATTR(ese, device->discipline->is_ese); discipline 1665 drivers/s390/block/dasd_devmap.c DASD_DEFINE_ATTR(extent_size, device->discipline->ext_size); discipline 1666 drivers/s390/block/dasd_devmap.c DASD_DEFINE_ATTR(pool_id, device->discipline->ext_pool_id); discipline 1667 drivers/s390/block/dasd_devmap.c DASD_DEFINE_ATTR(space_configured, device->discipline->space_configured); discipline 1668 drivers/s390/block/dasd_devmap.c DASD_DEFINE_ATTR(space_allocated, device->discipline->space_allocated); discipline 1669 drivers/s390/block/dasd_devmap.c DASD_DEFINE_ATTR(logical_capacity, device->discipline->logical_capacity); discipline 1670 drivers/s390/block/dasd_devmap.c DASD_DEFINE_ATTR(warn_threshold, device->discipline->ext_pool_warn_thrshld); discipline 1671 drivers/s390/block/dasd_devmap.c DASD_DEFINE_ATTR(cap_at_warnlevel, device->discipline->ext_pool_cap_at_warnlevel); discipline 1672 drivers/s390/block/dasd_devmap.c DASD_DEFINE_ATTR(pool_oos, device->discipline->ext_pool_oos); discipline 261 drivers/s390/block/dasd_diag.c if (strncmp(device->discipline->ebcname, (char *) &cqr->magic, 4)) { discipline 265 drivers/s390/block/dasd_diag.c cqr->magic, *(int *) (&device->discipline->name)); discipline 6452 drivers/s390/block/dasd_eckd.c device->discipline->check_attention(device, lpum); discipline 6519 drivers/s390/block/dasd_eckd.c device->discipline->check_attention(device, lpum); discipline 467 drivers/s390/block/dasd_eer.c else if (!device->discipline || discipline 468 drivers/s390/block/dasd_eer.c strcmp(device->discipline->name, "ECKD")) discipline 182 drivers/s390/block/dasd_erp.c if (device->discipline && device->discipline->dump_sense) discipline 183 drivers/s390/block/dasd_erp.c device->discipline->dump_sense(device, cqr, irb); discipline 193 drivers/s390/block/dasd_erp.c if (device->discipline && device->discipline->dump_sense_dbf) discipline 194 drivers/s390/block/dasd_erp.c device->discipline->dump_sense_dbf(device, irb, "log"); discipline 496 drivers/s390/block/dasd_int.h struct dasd_discipline *discipline; discipline 209 drivers/s390/block/dasd_ioctl.c if (base->discipline->format_device == NULL) discipline 234 drivers/s390/block/dasd_ioctl.c rc = base->discipline->format_device(base, fdata, 1); discipline 236 drivers/s390/block/dasd_ioctl.c rc = base->discipline->format_device(base, fdata, 0); discipline 248 drivers/s390/block/dasd_ioctl.c if (!base->discipline->check_device_format) discipline 251 drivers/s390/block/dasd_ioctl.c rc = base->discipline->check_device_format(base, cdata, 1); discipline 253 drivers/s390/block/dasd_ioctl.c rc = base->discipline->check_device_format(base, cdata, 0); discipline 339 drivers/s390/block/dasd_ioctl.c if (!device->discipline->is_ese && !device->discipline->is_ese(device)) discipline 341 drivers/s390/block/dasd_ioctl.c if (!device->discipline->release_space) discipline 344 drivers/s390/block/dasd_ioctl.c return device->discipline->release_space(device, rdata); discipline 473 drivers/s390/block/dasd_ioctl.c if (!base->discipline || !base->discipline->fill_info) discipline 480 drivers/s390/block/dasd_ioctl.c rc = base->discipline->fill_info(base, dasd_info); discipline 517 drivers/s390/block/dasd_ioctl.c memcpy(dasd_info->type, base->discipline->name, 4); discipline 657 drivers/s390/block/dasd_ioctl.c if (base->discipline->ioctl) discipline 658 drivers/s390/block/dasd_ioctl.c rc = base->discipline->ioctl(block, cmd, argp); discipline 54 drivers/s390/block/dasd_proc.c if (device->discipline != NULL) discipline 55 drivers/s390/block/dasd_proc.c seq_printf(m, "(%s)", device->discipline->name); discipline 193 drivers/s390/char/tape.h struct tape_discipline * discipline; discipline 166 drivers/s390/char/tape_char.c request = device->discipline->read_block(device, block_size); discipline 219 drivers/s390/char/tape_char.c request = device->discipline->write_block(device, block_size); discipline 247 drivers/s390/char/tape_char.c if (device->discipline->process_eov) discipline 248 drivers/s390/char/tape_char.c device->discipline->process_eov(device); discipline 433 drivers/s390/char/tape_char.c if (device->discipline->ioctl_fn == NULL) discipline 435 drivers/s390/char/tape_char.c return device->discipline->ioctl_fn(device, no, data); discipline 466 drivers/s390/char/tape_char.c if (device->discipline->ioctl_fn) { discipline 468 drivers/s390/char/tape_char.c rval = device->discipline->ioctl_fn(device, no, argp); discipline 374 drivers/s390/char/tape_core.c struct tape_discipline *discipline) discipline 378 drivers/s390/char/tape_core.c DBF_LH(6, "tape_enable_device(%p, %p)\n", device, discipline); discipline 388 drivers/s390/char/tape_core.c device->discipline = discipline; discipline 389 drivers/s390/char/tape_core.c if (!try_module_get(discipline->owner)) { discipline 393 drivers/s390/char/tape_core.c rc = discipline->setup_device(device); discipline 413 drivers/s390/char/tape_core.c device->discipline->cleanup_device(device); discipline 414 drivers/s390/char/tape_core.c device->discipline = NULL; discipline 416 drivers/s390/char/tape_core.c module_put(discipline->owner); discipline 424 drivers/s390/char/tape_core.c device->discipline->cleanup_device(device); discipline 425 drivers/s390/char/tape_core.c module_put(device->discipline->owner); discipline 1198 drivers/s390/char/tape_core.c rc = device->discipline->irq(device, request, irb); discipline 1260 drivers/s390/char/tape_core.c } else if (device->discipline != NULL && discipline 1261 drivers/s390/char/tape_core.c !try_module_get(device->discipline->owner)) { discipline 1281 drivers/s390/char/tape_core.c module_put(device->discipline->owner); discipline 1301 drivers/s390/char/tape_core.c fn = device->discipline->mtop_array[mt_op]; discipline 838 drivers/s390/net/qeth_core.h struct qeth_discipline *discipline; discipline 623 drivers/s390/net/qeth_core_main.c if (card->discipline->control_event_handler(card, cmd)) discipline 1331 drivers/s390/net/qeth_core_main.c ts = kthread_run(card->discipline->recover, (void *)card, discipline 5178 drivers/s390/net/qeth_core_main.c card->discipline->process_rx_buffer( discipline 5461 drivers/s390/net/qeth_core_main.c enum qeth_discipline_id discipline) discipline 5464 drivers/s390/net/qeth_core_main.c switch (discipline) { discipline 5466 drivers/s390/net/qeth_core_main.c card->discipline = try_then_request_module( discipline 5470 drivers/s390/net/qeth_core_main.c card->discipline = try_then_request_module( discipline 5478 drivers/s390/net/qeth_core_main.c if (!card->discipline) { discipline 5480 drivers/s390/net/qeth_core_main.c "support discipline %d\n", discipline); discipline 5484 drivers/s390/net/qeth_core_main.c card->options.layer = discipline; discipline 5495 drivers/s390/net/qeth_core_main.c card->discipline = NULL; discipline 5697 drivers/s390/net/qeth_core_main.c card->discipline->devtype; discipline 5698 drivers/s390/net/qeth_core_main.c rc = card->discipline->setup(card->gdev); discipline 5724 drivers/s390/net/qeth_core_main.c if (card->discipline) { discipline 5725 drivers/s390/net/qeth_core_main.c card->discipline->remove(gdev); discipline 5740 drivers/s390/net/qeth_core_main.c if (!card->discipline) { discipline 5746 drivers/s390/net/qeth_core_main.c rc = card->discipline->setup(card->gdev); discipline 5752 drivers/s390/net/qeth_core_main.c rc = card->discipline->set_online(gdev); discipline 5760 drivers/s390/net/qeth_core_main.c return card->discipline->set_offline(gdev); discipline 5783 drivers/s390/net/qeth_core_main.c card->discipline->set_offline(gdev); discipline 5792 drivers/s390/net/qeth_core_main.c rc = card->discipline->set_online(gdev); discipline 5892 drivers/s390/net/qeth_core_main.c if (card->discipline->do_ioctl) discipline 5893 drivers/s390/net/qeth_core_main.c rc = card->discipline->do_ioctl(dev, rq, cmd); discipline 418 drivers/s390/net/qeth_core_sys.c if (card->discipline) { discipline 426 drivers/s390/net/qeth_core_sys.c card->discipline->remove(card->gdev); discipline 436 drivers/s390/net/qeth_core_sys.c rc = card->discipline->setup(card->gdev);