Lines Matching refs:filp

61 			   struct inode *dir, struct file *filp,  in __ext4_check_dir_entry()  argument
84 if (filp) in __ext4_check_dir_entry()
85 ext4_error_file(filp, function, line, bh->b_blocknr, in __ext4_check_dir_entry()
294 static inline loff_t hash2pos(struct file *filp, __u32 major, __u32 minor) in hash2pos() argument
296 if ((filp->f_mode & FMODE_32BITHASH) || in hash2pos()
297 (!(filp->f_mode & FMODE_64BITHASH) && is_32bit_api())) in hash2pos()
303 static inline __u32 pos2maj_hash(struct file *filp, loff_t pos) in pos2maj_hash() argument
305 if ((filp->f_mode & FMODE_32BITHASH) || in pos2maj_hash()
306 (!(filp->f_mode & FMODE_64BITHASH) && is_32bit_api())) in pos2maj_hash()
312 static inline __u32 pos2min_hash(struct file *filp, loff_t pos) in pos2min_hash() argument
314 if ((filp->f_mode & FMODE_32BITHASH) || in pos2min_hash()
315 (!(filp->f_mode & FMODE_64BITHASH) && is_32bit_api())) in pos2min_hash()
324 static inline loff_t ext4_get_htree_eof(struct file *filp) in ext4_get_htree_eof() argument
326 if ((filp->f_mode & FMODE_32BITHASH) || in ext4_get_htree_eof()
327 (!(filp->f_mode & FMODE_64BITHASH) && is_32bit_api())) in ext4_get_htree_eof()
392 static struct dir_private_info *ext4_htree_create_dir_info(struct file *filp, in ext4_htree_create_dir_info() argument
400 p->curr_hash = pos2maj_hash(filp, pos); in ext4_htree_create_dir_info()
401 p->curr_minor_hash = pos2min_hash(filp, pos); in ext4_htree_create_dir_info()
595 static int ext4_dir_open(struct inode * inode, struct file * filp) in ext4_dir_open() argument
602 static int ext4_release_dir(struct inode *inode, struct file *filp) in ext4_release_dir() argument
604 if (filp->private_data) in ext4_release_dir()
605 ext4_htree_free_dir_info(filp->private_data); in ext4_release_dir()