pintos/src/tests/filesys/extended/grow-file-size.c File Reference

#include <syscall.h>
#include "tests/filesys/seq-test.h"
#include "tests/lib.h"
#include "tests/main.h"

Go to the source code of this file.

Functions

static size_t return_block_size (void)
static void check_file_size (int fd, long ofs)
void test_main (void)

Variables

static char buf [2134]


Function Documentation

static void check_file_size ( int  fd,
long  ofs 
) [static]

Definition at line 19 of file grow-file-size.c.

References fail(), and filesize().

Referenced by test_main().

static size_t return_block_size ( void   )  [static]

Definition at line 13 of file grow-file-size.c.

Referenced by test_main().

void test_main ( void   ) 

Definition at line 28 of file grow-file-size.c.

References buf, check_file_size(), return_block_size(), and seq_test().


Variable Documentation

char buf[2134] [static]

Definition at line 10 of file grow-file-size.c.


Generated on Mon Jan 10 16:43:58 2011 for Pintos by  doxygen 1.5.6