#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <assert.h>
#include "types.h"
#include "fs.h"
#include "stat.h"
#include "param.h"
Go to the source code of this file.
|
#define | stat xv6_stat |
|
#define | static_assert(a, b) do { switch (0) case 0: case (a): ; } while (0) |
|
#define | NINODES 200 |
|
#define | min(a, b) ((a) < (b) ? (a) : (b)) |
|
#define min |
( |
|
a, |
|
|
|
b |
|
) |
| ((a) < (b) ? (a) : (b)) |
Definition at line 8 of file mkfs.c.
#define static_assert |
( |
|
a, |
|
|
|
b |
|
) |
| do { switch (0) case 0: case (a): ; } while (0) |
void iappend |
( |
uint |
inum, |
|
|
void * |
p, |
|
|
int |
n |
|
) |
| |
int main |
( |
int |
argc, |
|
|
char * |
argv[] |
|
) |
| |
void rsect |
( |
uint |
sec, |
|
|
void * |
buf |
|
) |
| |
void wsect |
( |
uint |
sec, |
|
|
void * |
buf |
|
) |
| |