Lines Matching refs:p_dir

32 		struct exfat_chain *p_dir, int entry, unsigned short *uniname)  in exfat_get_uniname_from_ext_entry()  argument
37 es = exfat_get_dentry_set(sb, p_dir, entry, ES_ALL_ENTRIES); in exfat_get_uniname_from_ext_entry()
436 int exfat_init_dir_entry(struct inode *inode, struct exfat_chain *p_dir, in exfat_init_dir_entry() argument
451 ep = exfat_get_dentry(sb, p_dir, entry, &bh, &sector); in exfat_init_dir_entry()
475 ep = exfat_get_dentry(sb, p_dir, entry + 1, &bh, &sector); in exfat_init_dir_entry()
488 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, &sector); in exfat_update_dir_chksum()
507 ep = exfat_get_dentry(sb, p_dir, entry + i, &bh, NULL); 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
535 ep = exfat_get_dentry(sb, p_dir, entry, &bh, &sector); in exfat_init_ext_entry()
543 ep = exfat_get_dentry(sb, p_dir, entry + 1, &bh, &sector); in exfat_init_ext_entry()
553 ep = exfat_get_dentry(sb, p_dir, entry + i, &bh, &sector); in exfat_init_ext_entry()
563 exfat_update_dir_chksum(inode, p_dir, entry); in exfat_init_ext_entry()
567 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, &sector); 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 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
722 if (p_dir->dir == DIR_DELETED) { in exfat_get_dentry()
727 if (exfat_find_location(sb, p_dir, entry, &sec, &off)) in exfat_get_dentry()
730 if (p_dir->dir != EXFAT_FREE_CLUSTER && in exfat_get_dentry()
819 struct exfat_chain *p_dir, int entry, unsigned int type) in exfat_get_dentry_set() argument
831 if (p_dir->dir == DIR_DELETED) { in exfat_get_dentry_set()
837 ret = exfat_walk_fat_chain(sb, p_dir, byte_offset, &clu); in exfat_get_dentry_set()
875 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()
1088 clu.dir = p_dir->dir; in exfat_find_dir_entry()
1096 hint_stat->clu = p_dir->dir; in exfat_find_dir_entry()
1116 hint_stat->clu = p_dir->dir; in exfat_find_dir_entry()
1127 int exfat_count_ext_entries(struct super_block *sb, struct exfat_chain *p_dir, in exfat_count_ext_entries() argument
1136 ext_ep = exfat_get_dentry(sb, p_dir, entry, &bh, NULL); in exfat_count_ext_entries()
1150 int exfat_count_dir_entries(struct super_block *sb, struct exfat_chain *p_dir) in exfat_count_dir_entries() argument
1162 exfat_chain_dup(&clu, p_dir); in exfat_count_dir_entries()