tools/testing/selftests/ublk/ublk_dep.h

Source file repositories/reference/linux-study-clean/tools/testing/selftests/ublk/ublk_dep.h

File Facts

System
Linux kernel
Corpus path
tools/testing/selftests/ublk/ublk_dep.h
Extension
.h
Size
399 bytes
Lines
19
Domain
Support Tooling And Documentation
Bucket
tools
Inferred role
Support Tooling And Documentation: implementation source
Status
source implementation candidate

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef UBLK_DEP_H
#define UBLK_DEP_H

#ifndef UBLK_U_IO_REGISTER_IO_BUF
#define	UBLK_U_IO_REGISTER_IO_BUF	\
	_IOWR('u', 0x23, struct ublksrv_io_cmd)
#define	UBLK_U_IO_UNREGISTER_IO_BUF	\
	_IOWR('u', 0x24, struct ublksrv_io_cmd)
#endif

#ifndef UBLK_F_USER_RECOVERY_FAIL_IO
#define UBLK_F_USER_RECOVERY_FAIL_IO (1ULL << 9)
#endif

#ifndef UBLK_F_ZONED
#define UBLK_F_ZONED (1ULL << 8)
#endif
#endif

Annotation

Implementation Notes