Mario Kart 64
osPfsAllocateFile.c File Reference
#include "libultra_internal.h"
#include "controller.h"
Include dependency graph for osPfsAllocateFile.c:

Functions

static s32 __osClearPage (OSPfs *pfs, int page_no, u8 *data, u8 bank)
 
s32 osPfsAllocateFile (OSPfs *pfs, u16 company_code, u32 game_code, u8 *game_name, u8 *ext_name, int file_size_in_bytes, s32 *file_no)
 
s32 __osPfsDeclearPage (OSPfs *pfs, __OSInode *inode, int file_size_in_pages, int *first_page, u8 bank, int *decleared, int *last_page)
 

Function Documentation

◆ __osClearPage()

static s32 __osClearPage ( OSPfs *  pfs,
int  page_no,
u8 data,
u8  bank 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ __osPfsDeclearPage()

s32 __osPfsDeclearPage ( OSPfs *  pfs,
__OSInode inode,
int  file_size_in_pages,
int *  first_page,
u8  bank,
int *  decleared,
int *  last_page 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ osPfsAllocateFile()

s32 osPfsAllocateFile ( OSPfs *  pfs,
u16  company_code,
u32  game_code,
u8 game_name,
u8 ext_name,
int  file_size_in_bytes,
s32 file_no 
)
Here is the call graph for this function:
Here is the caller graph for this function: