Lines Matching refs:p_dir

33 		struct exfat_chain *p_dir, int entry, unsigned short *uniname)  in exfat_get_uniname_from_ext_entry()  argument
38 es = exfat_get_dentry_set(sb, p_dir, entry, ES_ALL_ENTRIES); in exfat_get_uniname_from_ext_entry()
440 int exfat_init_dir_entry(struct inode *inode, struct exfat_chain *p_dir, in exfat_init_dir_entry() argument
454 ep = exfat_get_dentry(sb, p_dir, entry, &bh); in exfat_init_dir_entry()
478 ep = exfat_get_dentry(sb, p_dir, entry + 1, &bh); in exfat_init_dir_entry()
491 int exfat_update_dir_chksum(struct inode *inode, struct exfat_chain *p_dir, in exfat_update_dir_chksum() argument
501 fep = exfat_get_dentry(sb, p_dir, entry, &fbh); in exfat_update_dir_chksum()
509 ep = exfat_get_dentry(sb, p_dir, entry + i, &bh); in exfat_update_dir_chksum()
526 int exfat_init_ext_entry(struct inode *inode, struct exfat_chain *p_dir, in exfat_init_ext_entry() argument
536 ep = exfat_get_dentry(sb, p_dir, entry, &bh); in exfat_init_ext_entry()
544 ep = exfat_get_dentry(sb, p_dir, entry + 1, &bh); in exfat_init_ext_entry()
554 ep = exfat_get_dentry(sb, p_dir, entry + i, &bh); in exfat_init_ext_entry()
564 exfat_update_dir_chksum(inode, p_dir, entry); in exfat_init_ext_entry()
568 int exfat_remove_entries(struct inode *inode, struct exfat_chain *p_dir, in exfat_remove_entries() argument
577 ep = exfat_get_dentry(sb, p_dir, entry + i, &bh); in exfat_remove_entries()
623 struct exfat_chain *p_dir, unsigned int byte_offset, in exfat_walk_fat_chain() argument
631 cur_clu = p_dir->dir; in exfat_walk_fat_chain()
633 if (p_dir->flags == ALLOC_NO_FAT_CHAIN) { in exfat_walk_fat_chain()
642 p_dir->dir, in exfat_walk_fat_chain()
654 static int exfat_find_location(struct super_block *sb, struct exfat_chain *p_dir, in exfat_find_location() argument
663 ret = exfat_walk_fat_chain(sb, p_dir, off, &clu); in exfat_find_location()
715 struct exfat_chain *p_dir, int entry, struct buffer_head **bh) in exfat_get_dentry() argument
721 if (p_dir->dir == DIR_DELETED) { in exfat_get_dentry()
726 if (exfat_find_location(sb, p_dir, entry, &sec, &off)) in exfat_get_dentry()
729 if (p_dir->dir != EXFAT_FREE_CLUSTER && in exfat_get_dentry()
816 struct exfat_chain *p_dir, int entry, unsigned int type) in exfat_get_dentry_set() argument
828 if (p_dir->dir == DIR_DELETED) { in exfat_get_dentry_set()
834 ret = exfat_walk_fat_chain(sb, p_dir, byte_offset, &clu); in exfat_get_dentry_set()
872 if (p_dir->flags == ALLOC_NO_FAT_CHAIN) in exfat_get_dentry_set()
919 struct exfat_chain *p_dir, struct exfat_uni_name *p_uniname, in exfat_find_dir_entry() argument
934 exfat_chain_dup(&clu, p_dir); in exfat_find_dir_entry()
1092 clu.dir = p_dir->dir; in exfat_find_dir_entry()
1100 hint_stat->clu = p_dir->dir; in exfat_find_dir_entry()
1120 hint_stat->clu = p_dir->dir; in exfat_find_dir_entry()
1131 int exfat_count_ext_entries(struct super_block *sb, struct exfat_chain *p_dir, in exfat_count_ext_entries() argument
1140 ext_ep = exfat_get_dentry(sb, p_dir, entry, &bh); in exfat_count_ext_entries()
1154 int exfat_count_dir_entries(struct super_block *sb, struct exfat_chain *p_dir) in exfat_count_dir_entries() argument
1166 exfat_chain_dup(&clu, p_dir); in exfat_count_dir_entries()