Lines Matching refs:sr_buf
109 struct fsf_status_read_buffer *sr_buf = req->data; in zfcp_fsf_status_read_port_closed() local
112 int d_id = ntoh24(sr_buf->d_id); in zfcp_fsf_status_read_port_closed()
231 struct fsf_status_read_buffer *sr_buf = req->data; in zfcp_fsf_status_read_link_down() local
233 (struct fsf_link_down_info *) &sr_buf->payload; in zfcp_fsf_status_read_link_down()
235 switch (sr_buf->status_subtype) { in zfcp_fsf_status_read_link_down()
247 struct fsf_status_read_buffer *sr_buf) in zfcp_fsf_status_read_version_change() argument
249 if (sr_buf->status_subtype == FSF_STATUS_READ_SUB_LIC_CHANGE) { in zfcp_fsf_status_read_version_change()
250 u32 version = sr_buf->payload.version_change.current_version; in zfcp_fsf_status_read_version_change()
261 struct fsf_status_read_buffer *sr_buf = req->data; in zfcp_fsf_status_read_handler() local
265 mempool_free(virt_to_page(sr_buf), adapter->pool.sr_data); in zfcp_fsf_status_read_handler()
272 switch (sr_buf->status_type) { in zfcp_fsf_status_read_handler()
310 if (sr_buf->status_subtype & FSF_STATUS_READ_SUB_INCOMING_ELS) in zfcp_fsf_status_read_handler()
312 if (sr_buf->status_subtype & FSF_STATUS_READ_SUB_VERSION_CHANGE) in zfcp_fsf_status_read_handler()
317 adapter->adapter_features = sr_buf->payload.word[0]; in zfcp_fsf_status_read_handler()
320 zfcp_fsf_status_read_version_change(adapter, sr_buf); in zfcp_fsf_status_read_handler()
324 mempool_free(virt_to_page(sr_buf), adapter->pool.sr_data); in zfcp_fsf_status_read_handler()
933 struct fsf_status_read_buffer *sr_buf; in zfcp_fsf_status_read() local
954 sr_buf = page_address(page); in zfcp_fsf_status_read()
955 memset(sr_buf, 0, sizeof(*sr_buf)); in zfcp_fsf_status_read()
956 req->data = sr_buf; in zfcp_fsf_status_read()
958 zfcp_qdio_fill_next(qdio, &req->qdio_req, sr_buf, sizeof(*sr_buf)); in zfcp_fsf_status_read()
970 mempool_free(virt_to_page(sr_buf), adapter->pool.sr_data); in zfcp_fsf_status_read()