Searched refs:fatent (Results 1 – 7 of 7) sorted by relevance
/linux-6.12.1/fs/fat/ |
D | fatent.c | 43 static void fat12_ent_set_ptr(struct fat_entry *fatent, int offset) in fat12_ent_set_ptr() argument 45 struct buffer_head **bhs = fatent->bhs; in fat12_ent_set_ptr() 46 if (fatent->nr_bhs == 1) { in fat12_ent_set_ptr() 48 fatent->u.ent12_p[0] = bhs[0]->b_data + offset; in fat12_ent_set_ptr() 49 fatent->u.ent12_p[1] = bhs[0]->b_data + (offset + 1); in fat12_ent_set_ptr() 52 fatent->u.ent12_p[0] = bhs[0]->b_data + offset; in fat12_ent_set_ptr() 53 fatent->u.ent12_p[1] = bhs[1]->b_data; in fat12_ent_set_ptr() 57 static void fat16_ent_set_ptr(struct fat_entry *fatent, int offset) in fat16_ent_set_ptr() argument 60 fatent->u.ent16_p = (__le16 *)(fatent->bhs[0]->b_data + offset); in fat16_ent_set_ptr() 63 static void fat32_ent_set_ptr(struct fat_entry *fatent, int offset) in fat32_ent_set_ptr() argument [all …]
|
D | fat.h | 357 static inline void fatent_init(struct fat_entry *fatent) in fatent_init() argument 359 fatent->nr_bhs = 0; in fatent_init() 360 fatent->entry = 0; in fatent_init() 361 fatent->u.ent32_p = NULL; in fatent_init() 362 fatent->bhs[0] = fatent->bhs[1] = NULL; in fatent_init() 363 fatent->fat_inode = NULL; in fatent_init() 366 static inline void fatent_set_entry(struct fat_entry *fatent, int entry) in fatent_set_entry() argument 368 fatent->entry = entry; in fatent_set_entry() 369 fatent->u.ent32_p = NULL; in fatent_set_entry() 372 static inline void fatent_brelse(struct fat_entry *fatent) in fatent_brelse() argument [all …]
|
D | misc.c | 130 struct fat_entry fatent; in fat_chain_add() local 132 fatent_init(&fatent); in fat_chain_add() 133 ret = fat_ent_read(inode, &fatent, last); in fat_chain_add() 136 ret = fat_ent_write(inode, &fatent, new_dclus, wait); in fat_chain_add() 137 fatent_brelse(&fatent); in fat_chain_add()
|
D | file.c | 343 struct fat_entry fatent; in fat_free() local 352 fatent_init(&fatent); in fat_free() 353 ret = fat_ent_read(inode, &fatent, dclus); in fat_free() 355 fatent_brelse(&fatent); in fat_free() 363 err = fat_ent_write(inode, &fatent, FAT_ENT_EOF, wait); in fat_free() 367 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
|
/linux-6.12.1/fs/exfat/ |
D | Makefile | 7 exfat-y := inode.o namei.o dir.o super.o fatent.o cache.o nls.o misc.o \
|