Searched refs:fatent (Results 1 – 7 of 7) sorted by relevance
/fs/fat/ |
D | fatent.c | 42 static void fat12_ent_set_ptr(struct fat_entry *fatent, int offset) in fat12_ent_set_ptr() argument 44 struct buffer_head **bhs = fatent->bhs; in fat12_ent_set_ptr() 45 if (fatent->nr_bhs == 1) { in fat12_ent_set_ptr() 47 fatent->u.ent12_p[0] = bhs[0]->b_data + offset; in fat12_ent_set_ptr() 48 fatent->u.ent12_p[1] = bhs[0]->b_data + (offset + 1); in fat12_ent_set_ptr() 51 fatent->u.ent12_p[0] = bhs[0]->b_data + offset; in fat12_ent_set_ptr() 52 fatent->u.ent12_p[1] = bhs[1]->b_data; in fat12_ent_set_ptr() 56 static void fat16_ent_set_ptr(struct fat_entry *fatent, int offset) in fat16_ent_set_ptr() argument 59 fatent->u.ent16_p = (__le16 *)(fatent->bhs[0]->b_data + offset); in fat16_ent_set_ptr() 62 static void fat32_ent_set_ptr(struct fat_entry *fatent, int offset) in fat32_ent_set_ptr() argument [all …]
|
D | fat.h | 353 static inline void fatent_init(struct fat_entry *fatent) in fatent_init() argument 355 fatent->nr_bhs = 0; in fatent_init() 356 fatent->entry = 0; in fatent_init() 357 fatent->u.ent32_p = NULL; in fatent_init() 358 fatent->bhs[0] = fatent->bhs[1] = NULL; in fatent_init() 359 fatent->fat_inode = NULL; in fatent_init() 362 static inline void fatent_set_entry(struct fat_entry *fatent, int entry) in fatent_set_entry() argument 364 fatent->entry = entry; in fatent_set_entry() 365 fatent->u.ent32_p = NULL; in fatent_set_entry() 368 static inline void fatent_brelse(struct fat_entry *fatent) in fatent_brelse() argument [all …]
|
D | misc.c | 124 struct fat_entry fatent; in fat_chain_add() local 126 fatent_init(&fatent); in fat_chain_add() 127 ret = fat_ent_read(inode, &fatent, last); in fat_chain_add() 130 ret = fat_ent_write(inode, &fatent, new_dclus, wait); in fat_chain_add() 131 fatent_brelse(&fatent); in fat_chain_add()
|
D | file.c | 342 struct fat_entry fatent; in fat_free() local 351 fatent_init(&fatent); in fat_free() 352 ret = fat_ent_read(inode, &fatent, dclus); in fat_free() 354 fatent_brelse(&fatent); in fat_free() 362 err = fat_ent_write(inode, &fatent, FAT_ENT_EOF, wait); in fat_free() 366 fatent_brelse(&fatent); in fat_free()
|
D | cache.c | 230 struct fat_entry fatent; in fat_get_cluster() local 255 fatent_init(&fatent); in fat_get_cluster() 266 nr = fat_ent_read(inode, &fatent, *dclus); in fat_get_cluster() 287 fatent_brelse(&fatent); in fat_get_cluster()
|
D | Makefile | 10 fat-y := cache.o dir.o fatent.o file.o inode.o misc.o nfs.o
|
/fs/exfat/ |
D | Makefile | 7 exfat-y := inode.o namei.o dir.o super.o fatent.o cache.o nls.o misc.o \
|