Home
last modified time | relevance | path

Searched refs:p_dir (Results 1 – 3 of 3) sorted by relevance

/linux/fs/exfat/
H A Dnamei.c209 struct exfat_hint_femp *hint_femp, struct exfat_chain *p_dir, in exfat_search_empty_slot() argument
216 int total_entries = EXFAT_CLU_TO_DEN(p_dir->size, sbi); in exfat_search_empty_slot()
236 exfat_chain_dup(&clu, p_dir); in exfat_search_empty_slot()
295 struct exfat_chain *p_dir, int num_entries, in exfat_find_empty_entry() argument
314 while ((dentry = exfat_search_empty_slot(sb, &hint_femp, p_dir, in exfat_find_empty_entry()
327 if (exfat_find_last_cluster(sb, p_dir, &last_clu)) in exfat_find_empty_entry()
330 exfat_chain_set(&clu, last_clu + 1, 0, p_dir->flags); in exfat_find_empty_entry()
347 p_dir->dir = clu.dir; in exfat_find_empty_entry()
351 if (clu.flags != p_dir->flags) { in exfat_find_empty_entry()
355 exfat_chain_cont_cluster(sb, p_dir->dir, p_dir->size); in exfat_find_empty_entry()
[all …]
H A Ddir.c33 struct exfat_chain *p_dir, int entry, unsigned short *uniname) in exfat_get_uniname_from_ext_entry() argument
39 err = exfat_get_dentry_set(&es, sb, p_dir, entry, ES_ALL_ENTRIES); in exfat_get_uniname_from_ext_entry()
581 struct exfat_chain *p_dir, unsigned int byte_offset, in exfat_walk_fat_chain() argument
589 cur_clu = p_dir->dir; in exfat_walk_fat_chain()
591 if (p_dir->flags == ALLOC_NO_FAT_CHAIN) { in exfat_walk_fat_chain()
600 p_dir->dir, in exfat_walk_fat_chain()
612 static int exfat_find_location(struct super_block *sb, struct exfat_chain *p_dir, in exfat_find_location() argument
621 ret = exfat_walk_fat_chain(sb, p_dir, off, &clu); in exfat_find_location()
673 struct exfat_chain *p_dir, int entry, struct buffer_head **bh) in exfat_get_dentry() argument
679 if (p_dir->dir == DIR_DELETED) { in exfat_get_dentry()
[all …]
H A Dexfat_fs.h491 struct exfat_chain *p_dir, struct exfat_uni_name *p_uniname,
495 struct exfat_chain *p_dir, int entry, struct buffer_head **bh);
499 struct super_block *sb, struct exfat_chain *p_dir, int entry,
502 struct super_block *sb, struct exfat_chain *p_dir, int entry,
505 int exfat_count_dir_entries(struct super_block *sb, struct exfat_chain *p_dir);