Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
mkbb.c File Reference
#include <fcntl.h>
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>

Go to the source code of this file.

Data Structures

struct  disklabel
 
struct  disklabel::d_partition
 
union  __bootblock
 

Macros

#define MAXPARTITIONS   8 /* max. # of partitions */
 
#define u8   unsigned char
 
#define u16   unsigned short
 
#define u32   unsigned int
 
#define bootblock_label   __u1.__label
 
#define bootblock_checksum   __u2.__checksum
 

Typedefs

typedef union __bootblock bootblock
 

Functions

int main (int argc, char **argv)
 

Macro Definition Documentation

#define bootblock_checksum   __u2.__checksum

Definition at line 83 of file mkbb.c.

#define bootblock_label   __u1.__label

Definition at line 82 of file mkbb.c.

#define MAXPARTITIONS   8 /* max. # of partitions */

Definition at line 21 of file mkbb.c.

const PCI_IO_ADDR addr const PCI_IO_ADDR addr u8 PCI_IO_ADDR addr u32 PCI_IO_ADDR addr u32 PCI_IO_ADDR addr u16   unsigned short

Definition at line 29 of file mkbb.c.

#define u32   unsigned int

Definition at line 33 of file mkbb.c.

#define u8   unsigned char

Definition at line 25 of file mkbb.c.

Typedef Documentation

typedef union __bootblock bootblock

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 85 of file mkbb.c.