drivers/md/dm-vdo/funnel-workqueue.h
Source file repositories/reference/linux-study-clean/drivers/md/dm-vdo/funnel-workqueue.h
File Facts
- System
- Linux kernel
- Corpus path
drivers/md/dm-vdo/funnel-workqueue.h- Extension
.h- Size
- 1451 bytes
- Lines
- 52
- Domain
- Driver Families
- Bucket
- drivers/md
- Inferred role
- Driver Families: implementation source
- Status
- source implementation candidate
Why This File Exists
Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.
- Defines or uses C structs; map object ownership, embedded links, reference counts, and lock ownership.
Dependency Surface
linux/sched.htypes.h
Detected Declarations
struct vdo_work_queue_typestruct vdo_completionstruct vdo_threadstruct vdo_work_queue
Annotated Snippet
struct vdo_work_queue_type {
void (*start)(void *context);
void (*finish)(void *context);
enum vdo_completion_priority max_priority;
enum vdo_completion_priority default_priority;
};
struct vdo_completion;
struct vdo_thread;
struct vdo_work_queue;
int vdo_make_work_queue(const char *thread_name_prefix, const char *name,
struct vdo_thread *owner, const struct vdo_work_queue_type *type,
unsigned int thread_count, void *thread_privates[],
struct vdo_work_queue **queue_ptr);
void vdo_enqueue_work_queue(struct vdo_work_queue *queue, struct vdo_completion *completion);
void vdo_finish_work_queue(struct vdo_work_queue *queue);
void vdo_free_work_queue(struct vdo_work_queue *queue);
void vdo_dump_work_queue(struct vdo_work_queue *queue);
void vdo_dump_completion_to_buffer(struct vdo_completion *completion, char *buffer,
size_t length);
void *vdo_get_work_queue_private_data(void);
struct vdo_work_queue *vdo_get_current_work_queue(void);
struct vdo_thread *vdo_get_work_queue_owner(struct vdo_work_queue *queue);
bool __must_check vdo_work_queue_type_is(struct vdo_work_queue *queue,
const struct vdo_work_queue_type *type);
#endif /* VDO_WORK_QUEUE_H */
Annotation
- Immediate include surface: `linux/sched.h`, `types.h`.
- Detected declarations: `struct vdo_work_queue_type`, `struct vdo_completion`, `struct vdo_thread`, `struct vdo_work_queue`.
- Atlas domain: Driver Families / drivers/md.
- Implementation status: source implementation candidate.
Implementation Notes
- This generated page is the file-by-file coverage layer; curated subsystem chapters should link here when they synthesize a multi-file control flow.
- Core OS pages should be promoted from atlas-only to deep-reviewed when they explain data structures, invariants, locking, lifecycle, and C implementation snippets.
- Driver-family pages are intentionally pattern-oriented unless they are part of the selected PCIe/NVMe representative device path.