Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
alloc.c File Reference
#include "hpfs_fn.h"

Go to the source code of this file.

Functions

int hpfs_chk_sectors (struct super_block *s, secno start, int len, char *msg)
 
secno hpfs_alloc_sector (struct super_block *s, secno near, unsigned n, int forward)
 
int hpfs_alloc_if_possible (struct super_block *s, secno sec)
 
void hpfs_free_sectors (struct super_block *s, secno sec, unsigned n)
 
int hpfs_check_free_dnodes (struct super_block *s, int n)
 
void hpfs_free_dnode (struct super_block *s, dnode_secno dno)
 
struct dnodehpfs_alloc_dnode (struct super_block *s, secno near, dnode_secno *dno, struct quad_buffer_head *qbh)
 
struct fnodehpfs_alloc_fnode (struct super_block *s, secno near, fnode_secno *fno, struct buffer_head **bh)
 
struct anodehpfs_alloc_anode (struct super_block *s, secno near, anode_secno *ano, struct buffer_head **bh)
 

Function Documentation

struct anode* hpfs_alloc_anode ( struct super_block s,
secno  near,
anode_secno ano,
struct buffer_head **  bh 
)
read

Definition at line 408 of file alloc.c.

struct dnode* hpfs_alloc_dnode ( struct super_block s,
secno  near,
dnode_secno dno,
struct quad_buffer_head qbh 
)
read

Definition at line 365 of file alloc.c.

struct fnode* hpfs_alloc_fnode ( struct super_block s,
secno  near,
fnode_secno fno,
struct buffer_head **  bh 
)
read

Definition at line 391 of file alloc.c.

int hpfs_alloc_if_possible ( struct super_block s,
secno  sec 
)

Definition at line 236 of file alloc.c.

secno hpfs_alloc_sector ( struct super_block s,
secno  near,
unsigned  n,
int  forward 
)

Definition at line 150 of file alloc.c.

int hpfs_check_free_dnodes ( struct super_block s,
int  n 
)

Definition at line 297 of file alloc.c.

int hpfs_chk_sectors ( struct super_block s,
secno  start,
int  len,
char msg 
)

Definition at line 47 of file alloc.c.

void hpfs_free_dnode ( struct super_block s,
dnode_secno  dno 
)

Definition at line 343 of file alloc.c.

void hpfs_free_sectors ( struct super_block s,
secno  sec,
unsigned  n 
)

Definition at line 254 of file alloc.c.