Searched refs:fatent (Results 1 - 6 of 6) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/fat/
H A Dfatent.c44 static void fat12_ent_set_ptr(struct fat_entry *fatent, int offset) argument
46 struct buffer_head **bhs = fatent->bhs;
47 if (fatent->nr_bhs == 1) {
49 fatent->u.ent12_p[0] = bhs[0]->b_data + offset;
50 fatent->u.ent12_p[1] = bhs[0]->b_data + (offset + 1);
53 fatent->u.ent12_p[0] = bhs[0]->b_data + offset;
54 fatent->u.ent12_p[1] = bhs[1]->b_data;
58 static void fat16_ent_set_ptr(struct fat_entry *fatent, int offset) argument
61 fatent->u.ent16_p = (__le16 *)(fatent
64 fat32_ent_set_ptr(struct fat_entry *fatent, int offset) argument
70 fat12_ent_bread(struct super_block *sb, struct fat_entry *fatent, int offset, sector_t blocknr) argument
102 fat_ent_bread(struct super_block *sb, struct fat_entry *fatent, int offset, sector_t blocknr) argument
120 fat12_ent_get(struct fat_entry *fatent) argument
138 fat16_ent_get(struct fat_entry *fatent) argument
147 fat32_ent_get(struct fat_entry *fatent) argument
156 fat12_ent_put(struct fat_entry *fatent, int new) argument
178 fat16_ent_put(struct fat_entry *fatent, int new) argument
187 fat32_ent_put(struct fat_entry *fatent, int new) argument
198 fat12_ent_next(struct fat_entry *fatent) argument
228 fat16_ent_next(struct fat_entry *fatent) argument
240 fat32_ent_next(struct fat_entry *fatent) argument
311 fat_ent_update_ptr(struct super_block *sb, struct fat_entry *fatent, int offset, sector_t blocknr) argument
341 fat_ent_read(struct inode *inode, struct fat_entry *fatent, int entry) argument
398 fat_ent_write(struct inode *inode, struct fat_entry *fatent, int new, int wait) argument
414 fat_ent_next(struct msdos_sb_info *sbi, struct fat_entry *fatent) argument
424 fat_ent_read_block(struct super_block *sb, struct fat_entry *fatent) argument
436 fat_collect_bhs(struct buffer_head **bhs, int *nr_bhs, struct fat_entry *fatent) argument
459 struct fat_entry fatent, prev_ent; local
548 struct fat_entry fatent; local
627 fat_ent_reada(struct super_block *sb, struct fat_entry *fatent, unsigned long reada_blocks) argument
644 struct fat_entry fatent; local
[all...]
H A Dfat.h254 /* fat/fatent.c */
267 static inline void fatent_init(struct fat_entry *fatent) argument
269 fatent->nr_bhs = 0;
270 fatent->entry = 0;
271 fatent->u.ent32_p = NULL;
272 fatent->bhs[0] = fatent->bhs[1] = NULL;
273 fatent->fat_inode = NULL;
276 static inline void fatent_set_entry(struct fat_entry *fatent, int entry) argument
278 fatent
282 fatent_brelse(struct fat_entry *fatent) argument
[all...]
H A DMakefile9 fat-y := cache.o dir.o fatent.o file.o inode.o misc.o
H A Dmisc.c110 struct fat_entry fatent; local
112 fatent_init(&fatent);
113 ret = fat_ent_read(inode, &fatent, last);
116 ret = fat_ent_write(inode, &fatent, new_dclus, wait);
117 fatent_brelse(&fatent);
H A Dfile.c250 struct fat_entry fatent; local
259 fatent_init(&fatent);
260 ret = fat_ent_read(inode, &fatent, dclus);
262 fatent_brelse(&fatent);
270 err = fat_ent_write(inode, &fatent, FAT_ENT_EOF, wait);
274 fatent_brelse(&fatent);
H A Dcache.c222 struct fat_entry fatent; local
241 fatent_init(&fatent);
253 nr = fat_ent_read(inode, &fatent, *dclus);
274 fatent_brelse(&fatent);

Completed in 103 milliseconds