ext4.h (549c7297717c32ee53f156cd949e055e601f67bb) ext4.h (14f3db5542e62bcf6fe088a09760ac52d55306c5)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * ext4.h
4 *
5 * Copyright (C) 1992, 1993, 1994, 1995
6 * Remy Card (card@masi.ibp.fr)
7 * Laboratoire MASI - Institut Blaise Pascal
8 * Universite Pierre et Marie Curie (Paris VI)

--- 2741 unchanged lines hidden (view full) ---

2750extern int ext4_sync_file(struct file *, loff_t, loff_t, int);
2751
2752/* hash.c */
2753extern int ext4fs_dirhash(const struct inode *dir, const char *name, int len,
2754 struct dx_hash_info *hinfo);
2755
2756/* ialloc.c */
2757extern int ext4_mark_inode_used(struct super_block *sb, int ino);
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * ext4.h
4 *
5 * Copyright (C) 1992, 1993, 1994, 1995
6 * Remy Card (card@masi.ibp.fr)
7 * Laboratoire MASI - Institut Blaise Pascal
8 * Universite Pierre et Marie Curie (Paris VI)

--- 2741 unchanged lines hidden (view full) ---

2750extern int ext4_sync_file(struct file *, loff_t, loff_t, int);
2751
2752/* hash.c */
2753extern int ext4fs_dirhash(const struct inode *dir, const char *name, int len,
2754 struct dx_hash_info *hinfo);
2755
2756/* ialloc.c */
2757extern int ext4_mark_inode_used(struct super_block *sb, int ino);
2758extern struct inode *__ext4_new_inode(handle_t *, struct inode *, umode_t,
2758extern struct inode *__ext4_new_inode(struct user_namespace *, handle_t *,
2759 struct inode *, umode_t,
2759 const struct qstr *qstr, __u32 goal,
2760 uid_t *owner, __u32 i_flags,
2761 int handle_type, unsigned int line_no,
2762 int nblocks);
2763
2760 const struct qstr *qstr, __u32 goal,
2761 uid_t *owner, __u32 i_flags,
2762 int handle_type, unsigned int line_no,
2763 int nblocks);
2764
2764#define ext4_new_inode(handle, dir, mode, qstr, goal, owner, i_flags) \
2765 __ext4_new_inode((handle), (dir), (mode), (qstr), (goal), (owner), \
2766 i_flags, 0, 0, 0)
2767#define ext4_new_inode_start_handle(dir, mode, qstr, goal, owner, \
2765#define ext4_new_inode(handle, dir, mode, qstr, goal, owner, i_flags) \
2766 __ext4_new_inode(&init_user_ns, (handle), (dir), (mode), (qstr), \
2767 (goal), (owner), i_flags, 0, 0, 0)
2768#define ext4_new_inode_start_handle(mnt_userns, dir, mode, qstr, goal, owner, \
2768 type, nblocks) \
2769 type, nblocks) \
2769 __ext4_new_inode(NULL, (dir), (mode), (qstr), (goal), (owner), \
2770 __ext4_new_inode((mnt_userns), NULL, (dir), (mode), (qstr), (goal), (owner), \
2770 0, (type), __LINE__, (nblocks))
2771
2772
2773extern void ext4_free_inode(handle_t *, struct inode *);
2774extern struct inode * ext4_orphan_get(struct super_block *, unsigned long);
2775extern unsigned long ext4_count_free_inodes(struct super_block *);
2776extern unsigned long ext4_count_dirs(struct super_block *);
2777extern void ext4_check_inodes_bitmap(struct super_block *);

--- 959 unchanged lines hidden ---
2771 0, (type), __LINE__, (nblocks))
2772
2773
2774extern void ext4_free_inode(handle_t *, struct inode *);
2775extern struct inode * ext4_orphan_get(struct super_block *, unsigned long);
2776extern unsigned long ext4_count_free_inodes(struct super_block *);
2777extern unsigned long ext4_count_dirs(struct super_block *);
2778extern void ext4_check_inodes_bitmap(struct super_block *);

--- 959 unchanged lines hidden ---