block.h (7bed14551659875e1cd23a7c0266394a29a773b3) block.h (f3bdc62fd82ed93dbe4d049eacba310de7eb2a6a)
1/* SPDX-License-Identifier: GPL-2.0 */
2#undef TRACE_SYSTEM
3#define TRACE_SYSTEM block
4
5#if !defined(_TRACE_BLOCK_H) || defined(TRACE_HEADER_MULTI_READ)
6#define _TRACE_BLOCK_H
7
8#include <linux/blktrace_api.h>

--- 198 unchanged lines hidden (view full) ---

207DEFINE_EVENT(block_rq, block_rq_issue,
208
209 TP_PROTO(struct request_queue *q, struct request *rq),
210
211 TP_ARGS(q, rq)
212);
213
214/**
1/* SPDX-License-Identifier: GPL-2.0 */
2#undef TRACE_SYSTEM
3#define TRACE_SYSTEM block
4
5#if !defined(_TRACE_BLOCK_H) || defined(TRACE_HEADER_MULTI_READ)
6#define _TRACE_BLOCK_H
7
8#include <linux/blktrace_api.h>

--- 198 unchanged lines hidden (view full) ---

207DEFINE_EVENT(block_rq, block_rq_issue,
208
209 TP_PROTO(struct request_queue *q, struct request *rq),
210
211 TP_ARGS(q, rq)
212);
213
214/**
215 * block_rq_merge - merge request with another one in the elevator
216 * @q: queue holding operation
217 * @rq: block IO operation operation request
218 *
219 * Called when block operation request @rq from queue @q is merged to another
220 * request queued in the elevator.
221 */
222DEFINE_EVENT(block_rq, block_rq_merge,
223
224 TP_PROTO(struct request_queue *q, struct request *rq),
225
226 TP_ARGS(q, rq)
227);
228
229/**
215 * block_bio_bounce - used bounce buffer when processing block operation
216 * @q: queue holding the block operation
217 * @bio: block operation
218 *
219 * A bounce buffer was used to handle the block operation @bio in @q.
220 * This occurs when hardware limitations prevent a direct transfer of
221 * data between the @bio data memory area and the IO device. Use of a
222 * bounce buffer requires extra copying of data and decreases

--- 419 unchanged lines hidden ---
230 * block_bio_bounce - used bounce buffer when processing block operation
231 * @q: queue holding the block operation
232 * @bio: block operation
233 *
234 * A bounce buffer was used to handle the block operation @bio in @q.
235 * This occurs when hardware limitations prevent a direct transfer of
236 * data between the @bio data memory area and the IO device. Use of a
237 * bounce buffer requires extra copying of data and decreases

--- 419 unchanged lines hidden ---