62 sizeof (
hdr->magic ) ) != 0 ) ) {
63 DBGC (
disklog,
"DISKLOG has bad magic signature\n" );
104 ( character ==
'\n' ) ) {
#define NULL
NULL pointer (VOID *).
struct golan_inbox_hdr hdr
Message header.
struct arbelprm_rc_send_wqe rc
#define assert(condition)
Assert a condition at run-time.
int disklog_open(struct disklog *disklog)
Open disk log console.
void disklog_putchar(struct disklog *disklog, int character)
Write character to disk log console.
#define DISKLOG_MAX_UNWRITTEN
Maximum number of outstanding unwritten characters.
#define DISKLOG_MAGIC
Disk log partition magic signature.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define EINVAL
Invalid argument.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
void * memset(void *dest, int character, size_t len) __nonnull
char * strerror(int errno)
Retrieve string representation of error number.
int memcmp(const void *first, const void *second, size_t len)
Compare memory regions.
int disabled
Console disabled flags.
int(* write)(void)
Write current logical block.
struct disklog_operations * op
Disk log operations.
uint8_t * buffer
Logical block data buffer.
size_t blksize
Logical block size.
unsigned int offset
Current offset within logical block.
uint64_t lba
Current logical block index.
unsigned int unwritten
Current number of unwritten characters.
struct console_driver * console
Console device.
uint64_t max_lba
Maximum logical block index.