Lines Matching refs:p_dir
33 struct exfat_chain *p_dir, int entry, unsigned short *uniname) in exfat_get_uniname_from_ext_entry() argument
39 es = exfat_get_dentry_set(sb, p_dir, entry, ES_ALL_ENTRIES); in exfat_get_uniname_from_ext_entry()
438 int exfat_init_dir_entry(struct inode *inode, struct exfat_chain *p_dir, in exfat_init_dir_entry() argument
452 ep = exfat_get_dentry(sb, p_dir, entry, &bh); in exfat_init_dir_entry()
476 ep = exfat_get_dentry(sb, p_dir, entry + 1, &bh); in exfat_init_dir_entry()
489 int exfat_update_dir_chksum(struct inode *inode, struct exfat_chain *p_dir, in exfat_update_dir_chksum() argument
499 fep = exfat_get_dentry(sb, p_dir, entry, &fbh); in exfat_update_dir_chksum()
507 ep = exfat_get_dentry(sb, p_dir, entry + i, &bh); in exfat_update_dir_chksum()
524 int exfat_init_ext_entry(struct inode *inode, struct exfat_chain *p_dir, in exfat_init_ext_entry() argument
534 ep = exfat_get_dentry(sb, p_dir, entry, &bh); in exfat_init_ext_entry()
542 ep = exfat_get_dentry(sb, p_dir, entry + 1, &bh); in exfat_init_ext_entry()
552 ep = exfat_get_dentry(sb, p_dir, entry + i, &bh); in exfat_init_ext_entry()
562 exfat_update_dir_chksum(inode, p_dir, entry); in exfat_init_ext_entry()
566 int exfat_remove_entries(struct inode *inode, struct exfat_chain *p_dir, in exfat_remove_entries() argument
575 ep = exfat_get_dentry(sb, p_dir, entry + i, &bh); in exfat_remove_entries()
621 struct exfat_chain *p_dir, unsigned int byte_offset, in exfat_walk_fat_chain() argument
629 cur_clu = p_dir->dir; in exfat_walk_fat_chain()
631 if (p_dir->flags == ALLOC_NO_FAT_CHAIN) { in exfat_walk_fat_chain()
640 p_dir->dir, in exfat_walk_fat_chain()
652 static int exfat_find_location(struct super_block *sb, struct exfat_chain *p_dir, in exfat_find_location() argument
661 ret = exfat_walk_fat_chain(sb, p_dir, off, &clu); in exfat_find_location()
713 struct exfat_chain *p_dir, int entry, struct buffer_head **bh) in exfat_get_dentry() argument
719 if (p_dir->dir == DIR_DELETED) { in exfat_get_dentry()
724 if (exfat_find_location(sb, p_dir, entry, &sec, &off)) in exfat_get_dentry()
727 if (p_dir->dir != EXFAT_FREE_CLUSTER && in exfat_get_dentry()
814 struct exfat_chain *p_dir, int entry, unsigned int type) in exfat_get_dentry_set() argument
826 if (p_dir->dir == DIR_DELETED) { in exfat_get_dentry_set()
832 ret = exfat_walk_fat_chain(sb, p_dir, byte_offset, &clu); in exfat_get_dentry_set()
870 if (p_dir->flags == ALLOC_NO_FAT_CHAIN) in exfat_get_dentry_set()
917 struct exfat_chain *p_dir, struct exfat_uni_name *p_uniname, in exfat_find_dir_entry() argument
932 exfat_chain_dup(&clu, p_dir); in exfat_find_dir_entry()
1091 clu.dir = p_dir->dir; in exfat_find_dir_entry()
1099 hint_stat->clu = p_dir->dir; in exfat_find_dir_entry()
1119 hint_stat->clu = p_dir->dir; in exfat_find_dir_entry()
1130 int exfat_count_ext_entries(struct super_block *sb, struct exfat_chain *p_dir, in exfat_count_ext_entries() argument
1139 ext_ep = exfat_get_dentry(sb, p_dir, entry, &bh); in exfat_count_ext_entries()
1153 int exfat_count_dir_entries(struct super_block *sb, struct exfat_chain *p_dir) in exfat_count_dir_entries() argument
1165 exfat_chain_dup(&clu, p_dir); in exfat_count_dir_entries()