/linux-3.4.99/drivers/s390/scsi/ |
D | zfcp_qdio.c | 38 static void zfcp_qdio_handler_error(struct zfcp_qdio *qdio, char *id, in zfcp_qdio_handler_error() argument 41 struct zfcp_adapter *adapter = qdio->adapter; in zfcp_qdio_handler_error() 66 static inline void zfcp_qdio_account(struct zfcp_qdio *qdio) in zfcp_qdio_account() argument 72 span = (now - qdio->req_q_time) >> 12; in zfcp_qdio_account() 73 used = QDIO_MAX_BUFFERS_PER_Q - atomic_read(&qdio->req_q_free); in zfcp_qdio_account() 74 qdio->req_q_util += used * span; in zfcp_qdio_account() 75 qdio->req_q_time = now; in zfcp_qdio_account() 82 struct zfcp_qdio *qdio = (struct zfcp_qdio *) parm; in zfcp_qdio_int_req() local 85 zfcp_qdio_handler_error(qdio, "qdireq1", qdio_err); in zfcp_qdio_int_req() 90 zfcp_qdio_zero_sbals(qdio->req_q, idx, count); in zfcp_qdio_int_req() [all …]
|
D | zfcp_qdio.h | 78 zfcp_qdio_sbale_req(struct zfcp_qdio *qdio, struct zfcp_qdio_req *q_req) in zfcp_qdio_sbale_req() argument 80 return &qdio->req_q[q_req->sbal_last]->element[0]; in zfcp_qdio_sbale_req() 90 zfcp_qdio_sbale_curr(struct zfcp_qdio *qdio, struct zfcp_qdio_req *q_req) in zfcp_qdio_sbale_curr() argument 92 return &qdio->req_q[q_req->sbal_last]->element[q_req->sbale_curr]; in zfcp_qdio_sbale_curr() 109 void zfcp_qdio_req_init(struct zfcp_qdio *qdio, struct zfcp_qdio_req *q_req, in zfcp_qdio_req_init() argument 113 int count = min(atomic_read(&qdio->req_q_free), in zfcp_qdio_req_init() 116 q_req->sbal_first = q_req->sbal_last = qdio->req_q_idx; in zfcp_qdio_req_init() 123 sbale = zfcp_qdio_sbale_req(qdio, q_req); in zfcp_qdio_req_init() 144 void zfcp_qdio_fill_next(struct zfcp_qdio *qdio, struct zfcp_qdio_req *q_req, in zfcp_qdio_fill_next() argument 149 BUG_ON(q_req->sbale_curr == qdio->max_sbale_per_sbal - 1); in zfcp_qdio_fill_next() [all …]
|
D | zfcp_fsf.c | 685 static struct zfcp_fsf_req *zfcp_fsf_req_create(struct zfcp_qdio *qdio, in zfcp_fsf_req_create() argument 689 struct zfcp_adapter *adapter = qdio->adapter; in zfcp_fsf_req_create() 727 zfcp_qdio_req_init(adapter->qdio, &req->qdio_req, req->req_id, sbtype, in zfcp_fsf_req_create() 736 struct zfcp_qdio *qdio = adapter->qdio; in zfcp_fsf_req_send() local 742 req->qdio_req.qdio_outb_usage = atomic_read(&qdio->req_q_free); in zfcp_fsf_req_send() 744 if (zfcp_qdio_send(qdio, &req->qdio_req)) { in zfcp_fsf_req_send() 766 int zfcp_fsf_status_read(struct zfcp_qdio *qdio) in zfcp_fsf_status_read() argument 768 struct zfcp_adapter *adapter = qdio->adapter; in zfcp_fsf_status_read() 774 spin_lock_irq(&qdio->req_q_lock); in zfcp_fsf_status_read() 775 if (zfcp_qdio_sbal_get(qdio)) in zfcp_fsf_status_read() [all …]
|
D | zfcp_sysfs.c | 481 retval = zfcp_fsf_exchange_port_data_sync(adapter->qdio, qtcb_port); in zfcp_sysfs_adapter_util_show() 507 retval = zfcp_fsf_exchange_config_data_sync(adapter->qdio, qtcb_config); in zfcp_sysfs_adapter_ex_config() 548 struct zfcp_qdio *qdio = in zfcp_sysfs_adapter_q_full_show() local 549 ((struct zfcp_adapter *) scsi_host->hostdata[0])->qdio; in zfcp_sysfs_adapter_q_full_show() 552 spin_lock_bh(&qdio->stat_lock); in zfcp_sysfs_adapter_q_full_show() 553 util = qdio->req_q_util; in zfcp_sysfs_adapter_q_full_show() 554 spin_unlock_bh(&qdio->stat_lock); in zfcp_sysfs_adapter_q_full_show() 556 return sprintf(buf, "%d %llu\n", atomic_read(&qdio->req_q_full), in zfcp_sysfs_adapter_q_full_show()
|
D | zfcp_scsi.c | 480 ret = zfcp_fsf_exchange_port_data_sync(adapter->qdio, data); in zfcp_get_fc_host_stats() 509 ret = zfcp_fsf_exchange_port_data_sync(adapter->qdio, data); in zfcp_reset_fc_host_stats() 677 shost->sg_prot_tablesize = adapter->qdio->max_sbale_per_req / 2; in zfcp_scsi_set_prot() 678 shost->sg_tablesize = adapter->qdio->max_sbale_per_req / 2; in zfcp_scsi_set_prot()
|
D | zfcp_def.h | 154 struct zfcp_qdio *qdio; member
|
D | zfcp_aux.c | 289 if (zfcp_fsf_status_read(adapter->qdio)) { in zfcp_status_read_refill() 444 zfcp_qdio_destroy(adapter->qdio); in zfcp_adapter_unregister()
|
D | zfcp_erp.c | 760 zfcp_qdio_close(adapter->qdio); in zfcp_erp_adapter_strategy_close() 775 if (zfcp_qdio_open(adapter->qdio)) { in zfcp_erp_adapter_strategy_open()
|
/linux-3.4.99/drivers/s390/net/ |
D | qeth_core_main.c | 200 &card->qdio.in_buf_pool.entry_list, list){ in qeth_clear_working_pool_list() 213 for (i = 0; i < card->qdio.init_pool.buf_count; ++i) { in qeth_alloc_buffer_pool() 232 &card->qdio.init_pool.entry_list); in qeth_alloc_buffer_pool() 248 card->qdio.in_buf_pool.buf_count = bufcnt; in qeth_realloc_buffer_pool() 249 card->qdio.init_pool.buf_count = bufcnt; in qeth_realloc_buffer_pool() 260 memset(card->qdio.c_q->qdio_bufs, 0, in qeth_cq_init() 262 card->qdio.c_q->next_buf_to_init = 127; in qeth_cq_init() 264 card->qdio.no_in_queues - 1, 0, in qeth_cq_init() 285 card->qdio.c_q = kzalloc(sizeof(struct qeth_qdio_q), in qeth_alloc_cq() 287 if (!card->qdio.c_q) { in qeth_alloc_cq() [all …]
|
D | qeth_core_sys.c | 85 if (card->qdio.in_buf_size == 16384) in qeth_get_bufsize_str() 87 else if (card->qdio.in_buf_size == 24576) in qeth_get_bufsize_str() 89 else if (card->qdio.in_buf_size == 32768) in qeth_get_bufsize_str() 91 else if (card->qdio.in_buf_size == 40960) in qeth_get_bufsize_str() 217 switch (card->qdio.do_prio_queueing) { in qeth_dev_prioqing_show() 224 card->qdio.default_out_queue); in qeth_dev_prioqing_show() 248 if (card->qdio.no_out_queues == 1) { in qeth_dev_prioqing_store() 249 card->qdio.do_prio_queueing = QETH_PRIOQ_DEFAULT; in qeth_dev_prioqing_store() 256 card->qdio.do_prio_queueing = QETH_PRIO_Q_ING_PREC; in qeth_dev_prioqing_store() 258 card->qdio.do_prio_queueing = QETH_PRIO_Q_ING_TOS; in qeth_dev_prioqing_store() [all …]
|
D | qeth_core.h | 237 #define QETH_MAX_BUFFER_ELEMENTS(card) ((card)->qdio.in_buf_size >> 12) 239 ((card)->qdio.in_buf_pool.buf_count / 2) 242 #define QETH_PCI_THRESHOLD_A(card) ((card)->qdio.in_buf_pool.buf_count+1) 774 struct qeth_qdio_info qdio; member 835 list_add_tail(&entry->list, &card->qdio.in_buf_pool.entry_list); in qeth_put_buffer_pool_entry()
|
D | qeth_l2_main.c | 419 &card->qdio.in_q->bufs[card->rx.b_index], in qeth_l2_process_inbound_buffer() 484 &card->qdio.in_q->bufs[card->rx.b_index] in qeth_l2_poll() 490 buffer = &card->qdio.in_q->bufs[card->rx.b_index]; in qeth_l2_poll() 511 &card->qdio.in_q in qeth_l2_poll() 721 struct qeth_qdio_out_q *queue = card->qdio.out_qs in qeth_l2_hard_start_xmit()
|
D | qeth_l3_main.c | 2010 &card->qdio.in_q->bufs[card->rx.b_index], in qeth_l3_process_inbound_buffer() 2084 &card->qdio.in_q->bufs[card->rx.b_index] in qeth_l3_poll() 2090 buffer = &card->qdio.in_q->bufs[card->rx.b_index]; in qeth_l3_poll() 2111 &card->qdio.in_q in qeth_l3_poll() 2984 struct qeth_qdio_out_q *queue = card->qdio.out_qs in qeth_l3_hard_start_xmit()
|
D | qeth_l3_sys.c | 334 if (card->qdio.init_pool.buf_count != in qeth_l3_dev_sniffer_store()
|
/linux-3.4.99/drivers/s390/cio/ |
D | Makefile | 13 qdio-objs := qdio_main.o qdio_thinint.o qdio_debug.o qdio_setup.o 14 obj-$(CONFIG_QDIO) += qdio.o
|
/linux-3.4.99/arch/s390/ |
D | Kconfig | 386 module will be called qdio.
|