Lines Matching refs:sr_buf
107 struct fsf_status_read_buffer *sr_buf = req->data; in zfcp_fsf_status_read_port_closed() local
110 int d_id = ntoh24(sr_buf->d_id); in zfcp_fsf_status_read_port_closed()
206 struct fsf_status_read_buffer *sr_buf = req->data; in zfcp_fsf_status_read_link_down() local
208 (struct fsf_link_down_info *) &sr_buf->payload; in zfcp_fsf_status_read_link_down()
210 switch (sr_buf->status_subtype) { in zfcp_fsf_status_read_link_down()
223 struct fsf_status_read_buffer *sr_buf = req->data; in zfcp_fsf_status_read_handler() local
227 mempool_free(virt_to_page(sr_buf), adapter->pool.sr_data); in zfcp_fsf_status_read_handler()
234 switch (sr_buf->status_type) { in zfcp_fsf_status_read_handler()
272 if (sr_buf->status_subtype & FSF_STATUS_READ_SUB_INCOMING_ELS) in zfcp_fsf_status_read_handler()
276 adapter->adapter_features = sr_buf->payload.word[0]; in zfcp_fsf_status_read_handler()
280 mempool_free(virt_to_page(sr_buf), adapter->pool.sr_data); in zfcp_fsf_status_read_handler()
801 struct fsf_status_read_buffer *sr_buf; in zfcp_fsf_status_read() local
822 sr_buf = page_address(page); in zfcp_fsf_status_read()
823 memset(sr_buf, 0, sizeof(*sr_buf)); in zfcp_fsf_status_read()
824 req->data = sr_buf; in zfcp_fsf_status_read()
826 zfcp_qdio_fill_next(qdio, &req->qdio_req, sr_buf, sizeof(*sr_buf)); in zfcp_fsf_status_read()
838 mempool_free(virt_to_page(sr_buf), adapter->pool.sr_data); in zfcp_fsf_status_read()