Lines Matching full:diagnostics
5 * Functions to handle diagnostics.
23 * zfcp_diag_adapter_setup() - Setup storage for adapter diagnostics.
24 * @adapter: the adapter to setup diagnostics for.
26 * Creates the data-structures to store the diagnostics for an adapter. This
27 * overwrites whatever was stored before at &zfcp_adapter->diagnostics!
32 * &zfcp_adapter->diagnostics remains unchanged
63 adapter->diagnostics = diag; in zfcp_diag_adapter_setup()
68 * zfcp_diag_adapter_free() - Frees all adapter diagnostics allocations.
71 * Frees all data-structures in the given adapter that store diagnostics
72 * information. Can savely be called with partially setup diagnostics.
76 kfree(adapter->diagnostics); in zfcp_diag_adapter_free()
77 adapter->diagnostics = NULL; in zfcp_diag_adapter_free()
81 * zfcp_diag_update_xdata() - Update a diagnostics buffer.
115 * * 0 - Successfully retrieved new Diagnostics and Updated the buffer;
145 * * 0 - Successfully retrieved new Diagnostics and Updated the buffer;
219 * zfcp_diag_update_buffer_limited() - Collect diagnostics and update a
220 * diagnostics buffer rate limited.
221 * @adapter: Adapter to collect the diagnostics from.
222 * @hdr: buffer-header for which to update with the collected diagnostics.
252 !__zfcp_diag_test_buffer_age_isfresh(adapter->diagnostics, hdr); in zfcp_diag_update_buffer_limited()