ext4.h (a44ad6835da52fdf4df2e482f45a167336555121) ext4.h (a80f7fcf18672ae4971a6b713b58c0d389aa99fe)
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)

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

2733extern int ext4_init_inode_table(struct super_block *sb,
2734 ext4_group_t group, int barrier);
2735extern void ext4_end_bitmap_read(struct buffer_head *bh, int uptodate);
2736
2737/* fast_commit.c */
2738int ext4_fc_info_show(struct seq_file *seq, void *v);
2739void ext4_fc_init(struct super_block *sb, journal_t *journal);
2740void ext4_fc_init_inode(struct inode *inode);
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)

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

2733extern int ext4_init_inode_table(struct super_block *sb,
2734 ext4_group_t group, int barrier);
2735extern void ext4_end_bitmap_read(struct buffer_head *bh, int uptodate);
2736
2737/* fast_commit.c */
2738int ext4_fc_info_show(struct seq_file *seq, void *v);
2739void ext4_fc_init(struct super_block *sb, journal_t *journal);
2740void ext4_fc_init_inode(struct inode *inode);
2741void ext4_fc_track_range(struct inode *inode, ext4_lblk_t start,
2741void ext4_fc_track_range(handle_t *handle, struct inode *inode, ext4_lblk_t start,
2742 ext4_lblk_t end);
2742 ext4_lblk_t end);
2743void ext4_fc_track_unlink(struct inode *inode, struct dentry *dentry);
2744void ext4_fc_track_link(struct inode *inode, struct dentry *dentry);
2745void ext4_fc_track_create(struct inode *inode, struct dentry *dentry);
2746void ext4_fc_track_inode(struct inode *inode);
2743void __ext4_fc_track_unlink(handle_t *handle, struct inode *inode,
2744 struct dentry *dentry);
2745void __ext4_fc_track_link(handle_t *handle, struct inode *inode,
2746 struct dentry *dentry);
2747void ext4_fc_track_unlink(handle_t *handle, struct dentry *dentry);
2748void ext4_fc_track_link(handle_t *handle, struct dentry *dentry);
2749void ext4_fc_track_create(handle_t *handle, struct dentry *dentry);
2750void ext4_fc_track_inode(handle_t *handle, struct inode *inode);
2747void ext4_fc_mark_ineligible(struct super_block *sb, int reason);
2748void ext4_fc_start_ineligible(struct super_block *sb, int reason);
2749void ext4_fc_stop_ineligible(struct super_block *sb);
2750void ext4_fc_start_update(struct inode *inode);
2751void ext4_fc_stop_update(struct inode *inode);
2752void ext4_fc_del(struct inode *inode);
2753bool ext4_fc_replay_check_excluded(struct super_block *sb, ext4_fsblk_t block);
2754void ext4_fc_replay_cleanup(struct super_block *sb);

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

3454 unsigned int parent_ino, int dotdot_real_len);
3455extern void ext4_initialize_dirent_tail(struct buffer_head *bh,
3456 unsigned int blocksize);
3457extern int ext4_handle_dirty_dirblock(handle_t *handle, struct inode *inode,
3458 struct buffer_head *bh);
3459extern int ext4_ci_compare(const struct inode *parent,
3460 const struct qstr *fname,
3461 const struct qstr *entry, bool quick);
2751void ext4_fc_mark_ineligible(struct super_block *sb, int reason);
2752void ext4_fc_start_ineligible(struct super_block *sb, int reason);
2753void ext4_fc_stop_ineligible(struct super_block *sb);
2754void ext4_fc_start_update(struct inode *inode);
2755void ext4_fc_stop_update(struct inode *inode);
2756void ext4_fc_del(struct inode *inode);
2757bool ext4_fc_replay_check_excluded(struct super_block *sb, ext4_fsblk_t block);
2758void ext4_fc_replay_cleanup(struct super_block *sb);

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

3458 unsigned int parent_ino, int dotdot_real_len);
3459extern void ext4_initialize_dirent_tail(struct buffer_head *bh,
3460 unsigned int blocksize);
3461extern int ext4_handle_dirty_dirblock(handle_t *handle, struct inode *inode,
3462 struct buffer_head *bh);
3463extern int ext4_ci_compare(const struct inode *parent,
3464 const struct qstr *fname,
3465 const struct qstr *entry, bool quick);
3462extern int __ext4_unlink(struct inode *dir, const struct qstr *d_name,
3466extern int __ext4_unlink(handle_t *handle, struct inode *dir, const struct qstr *d_name,
3463 struct inode *inode);
3464extern int __ext4_link(struct inode *dir, struct inode *inode,
3465 struct dentry *dentry);
3466
3467#define S_SHIFT 12
3468static const unsigned char ext4_type_by_mode[(S_IFMT >> S_SHIFT) + 1] = {
3469 [S_IFREG >> S_SHIFT] = EXT4_FT_REG_FILE,
3470 [S_IFDIR >> S_SHIFT] = EXT4_FT_DIR,

--- 208 unchanged lines hidden ---
3467 struct inode *inode);
3468extern int __ext4_link(struct inode *dir, struct inode *inode,
3469 struct dentry *dentry);
3470
3471#define S_SHIFT 12
3472static const unsigned char ext4_type_by_mode[(S_IFMT >> S_SHIFT) + 1] = {
3473 [S_IFREG >> S_SHIFT] = EXT4_FT_REG_FILE,
3474 [S_IFDIR >> S_SHIFT] = EXT4_FT_DIR,

--- 208 unchanged lines hidden ---