Home
last modified time | relevance | path

Searched defs:handle (Results 1 – 25 of 63) sorted by relevance

123

/fs/ext4/
Dext4_jbd2.h147 static inline void ext4_journal_callback_add(handle_t *handle, in ext4_journal_callback_add()
169 static inline bool ext4_journal_callback_try_del(handle_t *handle, in ext4_journal_callback_try_del()
222 #define ext4_journal_get_write_access(handle, bh) \ argument
224 #define ext4_forget(handle, is_metadata, inode, bh, block_nr) \ argument
227 #define ext4_journal_get_create_access(handle, bh) \ argument
229 #define ext4_handle_dirty_metadata(handle, inode, bh) \ argument
232 #define ext4_handle_dirty_super(handle, sb) \ argument
242 static inline int ext4_handle_valid(handle_t *handle) in ext4_handle_valid()
249 static inline void ext4_handle_sync(handle_t *handle) in ext4_handle_sync()
255 static inline void ext4_handle_release_buffer(handle_t *handle, in ext4_handle_release_buffer()
[all …]
Dmigrate.c27 static int finish_range(handle_t *handle, struct inode *inode, in finish_range()
87 static int update_extent_range(handle_t *handle, struct inode *inode, in update_extent_range()
112 static int update_ind_extent_range(handle_t *handle, struct inode *inode, in update_ind_extent_range()
141 static int update_dind_extent_range(handle_t *handle, struct inode *inode, in update_dind_extent_range()
171 static int update_tind_extent_range(handle_t *handle, struct inode *inode, in update_tind_extent_range()
201 static int extend_credit_for_blkdel(handle_t *handle, struct inode *inode) in extend_credit_for_blkdel()
221 static int free_dind_blocks(handle_t *handle, in free_dind_blocks()
251 static int free_tind_blocks(handle_t *handle, in free_tind_blocks()
282 static int free_ind_block(handle_t *handle, struct inode *inode, __le32 *i_data) in free_ind_block()
311 static int ext4_ext_swap_inode_data(handle_t *handle, struct inode *inode, in ext4_ext_swap_inode_data()
[all …]
Dext4_jbd2.c10 handle_t *handle, struct buffer_head *bh) in __ext4_journal_get_write_access()
35 int __ext4_forget(const char *where, unsigned int line, handle_t *handle, in __ext4_forget()
91 handle_t *handle, struct buffer_head *bh) in __ext4_journal_get_create_access()
105 handle_t *handle, struct inode *inode, in __ext4_handle_dirty_metadata()
141 handle_t *handle, struct super_block *sb) in __ext4_handle_dirty_super()
Dinode.c94 int ext4_truncate_restart_trans(handle_t *handle, struct inode *inode, in ext4_truncate_restart_trans()
120 handle_t *handle; in ext4_evict_inode() local
477 int ext4_map_blocks(handle_t *handle, struct inode *inode, in ext4_map_blocks()
602 handle_t *handle = ext4_journal_current_handle(); in _ext4_get_block() local
645 struct buffer_head *ext4_getblk(handle_t *handle, struct inode *inode, in ext4_getblk()
704 struct buffer_head *ext4_bread(handle_t *handle, struct inode *inode, in ext4_bread()
723 static int walk_page_buffers(handle_t *handle, in walk_page_buffers()
728 int (*fn)(handle_t *handle, in walk_page_buffers()
779 static int do_journal_get_write_access(handle_t *handle, in do_journal_get_write_access()
811 handle_t *handle; in ext4_write_begin() local
[all …]
Dindirect.c306 static int ext4_alloc_blocks(handle_t *handle, struct inode *inode, in ext4_alloc_blocks()
443 static int ext4_alloc_branch(handle_t *handle, struct inode *inode, in ext4_alloc_branch()
548 static int ext4_splice_branch(handle_t *handle, struct inode *inode, in ext4_splice_branch()
650 int ext4_ind_map_blocks(handle_t *handle, struct inode *inode, in ext4_ind_map_blocks()
781 handle_t *handle; in ext4_ind_direct_IO() local
951 static int try_to_extend_transaction(handle_t *handle, struct inode *inode) in try_to_extend_transaction()
1070 static int ext4_clear_blocks(handle_t *handle, struct inode *inode, in ext4_clear_blocks()
1142 static void ext4_free_data(handle_t *handle, struct inode *inode, in ext4_free_data()
1227 static void ext4_free_branches(handle_t *handle, struct inode *inode, in ext4_free_branches()
1341 handle_t *handle; in ext4_ind_truncate() local
Dextents.c72 static int ext4_ext_truncate_extend_restart(handle_t *handle, in ext4_ext_truncate_extend_restart()
97 static int ext4_ext_get_access(handle_t *handle, struct inode *inode, in ext4_ext_get_access()
115 #define ext4_ext_dirty(handle, inode, path) \ argument
118 handle_t *handle, struct inode *inode, in __ext4_ext_dirty()
183 ext4_ext_new_meta_block(handle_t *handle, struct inode *inode, in ext4_ext_new_meta_block()
635 int ext4_ext_tree_init(handle_t *handle, struct inode *inode) in ext4_ext_tree_init()
739 static int ext4_ext_insert_index(handle_t *handle, struct inode *inode, in ext4_ext_insert_index()
815 static int ext4_ext_split(handle_t *handle, struct inode *inode, in ext4_ext_split()
1054 static int ext4_ext_grow_indepth(handle_t *handle, struct inode *inode, in ext4_ext_grow_indepth()
1130 static int ext4_ext_create_new_leaf(handle_t *handle, struct inode *inode, in ext4_ext_create_new_leaf()
[all …]
Dnamei.c52 static struct buffer_head *ext4_append(handle_t *handle, in ext4_append()
1152 static struct ext4_dir_entry_2 *do_split(handle_t *handle, struct inode *dir, in do_split()
1255 static int add_dirent_to_buf(handle_t *handle, struct dentry *dentry, in add_dirent_to_buf()
1337 static int make_indexed_dir(handle_t *handle, struct dentry *dentry, in make_indexed_dir()
1448 static int ext4_add_entry(handle_t *handle, struct dentry *dentry, in ext4_add_entry()
1504 static int ext4_dx_add_entry(handle_t *handle, struct dentry *dentry, in ext4_dx_add_entry()
1643 static int ext4_delete_entry(handle_t *handle, in ext4_delete_entry()
1694 static void ext4_inc_count(handle_t *handle, struct inode *inode) in ext4_inc_count()
1711 static void ext4_dec_count(handle_t *handle, struct inode *inode) in ext4_dec_count()
1718 static int ext4_add_nondir(handle_t *handle, in ext4_add_nondir()
[all …]
Dresize.c310 static struct buffer_head *bclean(handle_t *handle, struct super_block *sb, in bclean()
335 static int extend_or_restart_transaction(handle_t *handle, int thresh) in extend_or_restart_transaction()
363 static int set_flexbg_block_bitmap(struct super_block *sb, handle_t *handle, in set_flexbg_block_bitmap()
437 handle_t *handle; in setup_new_flex_group_blocks() local
692 static int add_new_gdb(handle_t *handle, struct inode *inode, in add_new_gdb()
846 static int reserve_backup_gdb(handle_t *handle, struct inode *inode, in reserve_backup_gdb()
972 handle_t *handle; in update_backups() local
1045 static int ext4_add_new_descs(handle_t *handle, struct super_block *sb, in ext4_add_new_descs()
1084 static int ext4_setup_new_descs(handle_t *handle, struct super_block *sb, in ext4_setup_new_descs()
1254 handle_t *handle; in ext4_flex_group_add() local
[all …]
Dacl.c186 ext4_set_acl(handle_t *handle, struct inode *inode, int type, in ext4_set_acl()
245 ext4_init_acl(handle_t *handle, struct inode *inode, struct inode *dir) in ext4_init_acl()
298 handle_t *handle; in ext4_acl_chmod() local
388 handle_t *handle; in ext4_xattr_set_acl() local
Dxattr.h108 ext4_xattr_set_handle(handle_t *handle, struct inode *inode, int name_index, in ext4_xattr_set_handle()
115 ext4_xattr_delete_inode(handle_t *handle, struct inode *inode) in ext4_xattr_delete_inode()
137 struct ext4_inode *raw_inode, handle_t *handle) in ext4_expand_extra_isize_ea()
150 static inline int ext4_init_security(handle_t *handle, struct inode *inode, in ext4_init_security()
/fs/ext3/
Dext3_jbd.c7 int __ext3_journal_get_undo_access(const char *where, handle_t *handle, in __ext3_journal_get_undo_access()
16 int __ext3_journal_get_write_access(const char *where, handle_t *handle, in __ext3_journal_get_write_access()
25 int __ext3_journal_forget(const char *where, handle_t *handle, in __ext3_journal_forget()
34 int __ext3_journal_revoke(const char *where, handle_t *handle, in __ext3_journal_revoke()
44 handle_t *handle, struct buffer_head *bh) in __ext3_journal_get_create_access()
53 handle_t *handle, struct buffer_head *bh) in __ext3_journal_dirty_metadata()
Dinode.c57 int ext3_forget(handle_t *handle, int is_metadata, struct inode *inode, in ext3_forget()
153 static int try_to_extend_transaction(handle_t *handle, struct inode *inode) in try_to_extend_transaction()
167 static int truncate_restart_transaction(handle_t *handle, struct inode *inode) in truncate_restart_transaction()
191 handle_t *handle; in ext3_evict_inode() local
574 static int ext3_alloc_blocks(handle_t *handle, struct inode *inode, in ext3_alloc_blocks()
652 static int ext3_alloc_branch(handle_t *handle, struct inode *inode, in ext3_alloc_branch()
742 static int ext3_splice_branch(handle_t *handle, struct inode *inode, in ext3_splice_branch()
852 int ext3_get_blocks_handle(handle_t *handle, struct inode *inode, in ext3_get_blocks_handle()
1019 handle_t *handle = ext3_journal_current_handle(); in ext3_get_block() local
1057 struct buffer_head *ext3_getblk(handle_t *handle, struct inode *inode, in ext3_getblk()
[all …]
Dresize.c112 static struct buffer_head *bclean(handle_t *handle, struct super_block *sb, in bclean()
158 static int extend_or_restart_transaction(handle_t *handle, int thresh, in extend_or_restart_transaction()
197 handle_t *handle; in setup_new_group_blocks() local
427 static int add_new_gdb(handle_t *handle, struct inode *inode, in add_new_gdb()
579 static int reserve_backup_gdb(handle_t *handle, struct inode *inode, in reserve_backup_gdb()
705 handle_t *handle; in update_backups() local
792 handle_t *handle; in ext3_group_add() local
998 handle_t *handle; in ext3_group_extend() local
Dnamei.c41 static struct buffer_head *ext3_append(handle_t *handle, in ext3_append()
1135 static struct ext3_dir_entry_2 *do_split(handle_t *handle, struct inode *dir, in do_split()
1239 static int add_dirent_to_buf(handle_t *handle, struct dentry *dentry, in add_dirent_to_buf()
1327 static int make_indexed_dir(handle_t *handle, struct dentry *dentry, in make_indexed_dir()
1432 static int ext3_add_entry (handle_t *handle, struct dentry *dentry, in ext3_add_entry()
1482 static int ext3_dx_add_entry(handle_t *handle, struct dentry *dentry, in ext3_dx_add_entry()
1620 static int ext3_delete_entry (handle_t *handle, in ext3_delete_entry()
1665 static int ext3_add_nondir(handle_t *handle, in ext3_add_nondir()
1692 handle_t *handle; in ext3_create() local
1725 handle_t *handle; in ext3_mknod() local
[all …]
Dacl.c181 ext3_set_acl(handle_t *handle, struct inode *inode, int type, in ext3_set_acl()
241 ext3_init_acl(handle_t *handle, struct inode *inode, struct inode *dir) in ext3_init_acl()
294 handle_t *handle; in ext3_acl_chmod() local
383 handle_t *handle; in ext3_xattr_set_acl() local
/fs/jbd/
Dtransaction.c85 static int start_this_handle(journal_t *journal, handle_t *handle) in start_this_handle()
245 handle_t *handle = jbd_alloc_handle(GFP_NOFS); in new_handle() local
274 handle_t *handle = journal_current_handle(); in journal_start() local
321 int journal_extend(handle_t *handle, int nblocks) in journal_extend()
387 int journal_restart(handle_t *handle, int nblocks) in journal_restart()
520 do_get_write_access(handle_t *handle, struct journal_head *jh, in do_get_write_access()
752 int journal_get_write_access(handle_t *handle, struct buffer_head *bh) in journal_get_write_access()
785 int journal_get_create_access(handle_t *handle, struct buffer_head *bh) in journal_get_create_access()
881 int journal_get_undo_access(handle_t *handle, struct buffer_head *bh) in journal_get_undo_access()
948 int journal_dirty_data(handle_t *handle, struct buffer_head *bh) in journal_dirty_data()
[all …]
/fs/jbd2/
Dtransaction.c147 static int start_this_handle(journal_t *journal, handle_t *handle, in start_this_handle()
327 handle_t *handle = jbd2_alloc_handle(GFP_NOFS); in new_handle() local
357 handle_t *handle = journal_current_handle(); in jbd2__journal_start() local
413 int jbd2_journal_extend(handle_t *handle, int nblocks) in jbd2_journal_extend()
478 int jbd2__journal_restart(handle_t *handle, int nblocks, gfp_t gfp_mask) in jbd2__journal_restart()
520 int jbd2_journal_restart(handle_t *handle, int nblocks) in jbd2_journal_restart()
616 do_get_write_access(handle_t *handle, struct journal_head *jh, in do_get_write_access()
857 int jbd2_journal_get_write_access(handle_t *handle, struct buffer_head *bh) in jbd2_journal_get_write_access()
890 int jbd2_journal_get_create_access(handle_t *handle, struct buffer_head *bh) in jbd2_journal_get_create_access()
986 int jbd2_journal_get_undo_access(handle_t *handle, struct buffer_head *bh) in jbd2_journal_get_undo_access()
[all …]
/fs/
Dfhandle.c22 struct file_handle *handle = NULL; in do_sys_name_to_handle() local
92 SYSCALL_DEFINE5(name_to_handle_at, int, dfd, const char __user *, name, in SYSCALL_DEFINE5() argument
141 static int do_handle_to_path(int mountdirfd, struct file_handle *handle, in do_handle_to_path()
174 struct file_handle *handle = NULL; in handle_to_path() local
257 SYSCALL_DEFINE3(open_by_handle_at, int, mountdirfd, in SYSCALL_DEFINE3() argument
/fs/ocfs2/
Dsuballoc.c379 static int ocfs2_block_group_fill(handle_t *handle, in ocfs2_block_group_fill()
457 ocfs2_block_group_alloc_contig(struct ocfs2_super *osb, handle_t *handle, in ocfs2_block_group_alloc_contig()
502 handle_t *handle, in ocfs2_block_group_claim_bits()
521 static int ocfs2_block_group_grow_discontig(handle_t *handle, in ocfs2_block_group_grow_discontig()
583 static void ocfs2_bg_alloc_cleanup(handle_t *handle, in ocfs2_bg_alloc_cleanup()
614 ocfs2_block_group_alloc_discontig(handle_t *handle, in ocfs2_block_group_alloc_discontig()
702 handle_t *handle = NULL; in ocfs2_block_group_alloc() local
1346 static inline int ocfs2_block_group_set_bits(handle_t *handle, in ocfs2_block_group_set_bits()
1415 static int ocfs2_relink_block_group(handle_t *handle, in ocfs2_relink_block_group()
1599 handle_t *handle, in ocfs2_alloc_dinode_update_counts()
[all …]
Dnamei.c215 handle_t *handle = NULL; in ocfs2_mknod() local
469 handle_t *handle, in __ocfs2_mknod_locked()
581 handle_t *handle, in ocfs2_mknod_locked()
638 handle_t *handle; in ocfs2_link() local
801 handle_t *handle = NULL; in ocfs2_unlink() local
1053 handle_t *handle = NULL; in ocfs2_rename() local
1484 handle_t *handle, in ocfs2_create_symlink_data()
1594 handle_t *handle = NULL; in ocfs2_symlink() local
1984 handle_t *handle, in ocfs2_orphan_add()
2069 handle_t *handle, in ocfs2_orphan_del()
[all …]
Dalloc.c529 static inline int ocfs2_et_root_journal_access(handle_t *handle, in ocfs2_et_root_journal_access()
726 int ocfs2_path_bh_journal_access(handle_t *handle, in ocfs2_path_bh_journal_access()
747 handle_t *handle, in ocfs2_journal_access_path()
997 static int ocfs2_create_new_meta_bhs(handle_t *handle, in ocfs2_create_new_meta_bhs()
1104 static int ocfs2_adjust_rightmost_branch(handle_t *handle, in ocfs2_adjust_rightmost_branch()
1157 static int ocfs2_add_branch(handle_t *handle, in ocfs2_add_branch()
1340 static int ocfs2_shift_tree_depth(handle_t *handle, in ocfs2_shift_tree_depth()
1510 static int ocfs2_grow_tree(handle_t *handle, struct ocfs2_extent_tree *et, in ocfs2_grow_tree()
2030 static void ocfs2_complete_edge_insert(handle_t *handle, in ocfs2_complete_edge_insert()
2101 static int ocfs2_rotate_subtree_right(handle_t *handle, in ocfs2_rotate_subtree_right()
[all …]
Djournal.c344 handle_t *handle; in ocfs2_start_trans() local
379 handle_t *handle) in ocfs2_commit_trans()
414 int ocfs2_extend_trans(handle_t *handle, int nblocks) in ocfs2_extend_trans()
603 static int __ocfs2_journal_access(handle_t *handle, in __ocfs2_journal_access()
663 int ocfs2_journal_access_di(handle_t *handle, struct ocfs2_caching_info *ci, in ocfs2_journal_access_di()
669 int ocfs2_journal_access_eb(handle_t *handle, struct ocfs2_caching_info *ci, in ocfs2_journal_access_eb()
675 int ocfs2_journal_access_rb(handle_t *handle, struct ocfs2_caching_info *ci, in ocfs2_journal_access_rb()
682 int ocfs2_journal_access_gd(handle_t *handle, struct ocfs2_caching_info *ci, in ocfs2_journal_access_gd()
688 int ocfs2_journal_access_db(handle_t *handle, struct ocfs2_caching_info *ci, in ocfs2_journal_access_db()
694 int ocfs2_journal_access_xb(handle_t *handle, struct ocfs2_caching_info *ci, in ocfs2_journal_access_xb()
[all …]
Dquota_global.c220 handle_t *handle = journal_current_handle(); in ocfs2_quota_write() local
590 handle_t *handle; in ocfs2_sync_dquot_helper() local
644 handle_t *handle; in ocfs2_write_dquot() local
680 handle_t *handle; in ocfs2_release_dquot() local
742 handle_t *handle; in ocfs2_acquire_dquot() local
828 handle_t *handle; in ocfs2_mark_dquot_dirty() local
876 handle_t *handle; in ocfs2_write_info() local
Drefcounttree.c563 handle_t *handle = NULL; in ocfs2_create_refcount_tree() local
700 handle_t *handle = NULL; in ocfs2_set_refcount_tree() local
762 handle_t *handle = NULL; in ocfs2_remove_refcount_tree() local
1240 static int ocfs2_change_refcount_rec(handle_t *handle, in ocfs2_change_refcount_rec()
1281 static int ocfs2_expand_inline_ref_root(handle_t *handle, in ocfs2_expand_inline_ref_root()
1522 static int ocfs2_new_leaf_refcount_block(handle_t *handle, in ocfs2_new_leaf_refcount_block()
1618 static int ocfs2_expand_refcount_tree(handle_t *handle, in ocfs2_expand_refcount_tree()
1660 static int ocfs2_adjust_refcount_rec(handle_t *handle, in ocfs2_adjust_refcount_rec()
1744 static int ocfs2_insert_refcount_rec(handle_t *handle, in ocfs2_insert_refcount_rec()
1832 static int ocfs2_split_refcount_rec(handle_t *handle, in ocfs2_split_refcount_rec()
[all …]
Dlocalalloc.c381 handle_t *handle; in ocfs2_shutdown_local_alloc() local
564 handle_t *handle; in ocfs2_complete_local_alloc_recovery() local
730 handle_t *handle, in ocfs2_claim_local_alloc_bits()
927 handle_t *handle, in ocfs2_sync_local_to_main()
1126 handle_t *handle, in ocfs2_local_alloc_new_window()
1219 handle_t *handle = NULL; in ocfs2_local_alloc_slide_window() local

123