block/blk-ioprio.h

Source file repositories/reference/linux-study-clean/block/blk-ioprio.h

File Facts

System
Linux kernel
Corpus path
block/blk-ioprio.h
Extension
.h
Size
321 bytes
Lines
20
Domain
Representative Device Path
Bucket
PCIe NVMe Storage Path
Inferred role
Representative Device Path: implementation source
Status
source implementation candidate

Why This File Exists

Part of the selected hardware vertical slice: PCI discovery, driver binding, NVMe queues, block requests, DMA, interrupts, and completion.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef _BLK_IOPRIO_H_
#define _BLK_IOPRIO_H_

#include <linux/kconfig.h>

struct request_queue;
struct bio;

#ifdef CONFIG_BLK_CGROUP_IOPRIO
void blkcg_set_ioprio(struct bio *bio);
#else
static inline void blkcg_set_ioprio(struct bio *bio)
{
}
#endif

#endif /* _BLK_IOPRIO_H_ */

Annotation

Implementation Notes