Home
last modified time | relevance | path

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

123

/fs/ext4/
Dext4_jbd2.h168 static inline void _ext4_journal_callback_add(handle_t *handle, in _ext4_journal_callback_add()
175 static inline void ext4_journal_callback_add(handle_t *handle, in ext4_journal_callback_add()
198 static inline bool ext4_journal_callback_try_del(handle_t *handle, in ext4_journal_callback_try_del()
253 #define ext4_journal_get_write_access(handle, bh) \ argument
255 #define ext4_forget(handle, is_metadata, inode, bh, block_nr) \ argument
258 #define ext4_journal_get_create_access(handle, bh) \ argument
260 #define ext4_handle_dirty_metadata(handle, inode, bh) \ argument
263 #define ext4_handle_dirty_super(handle, sb) \ argument
275 static inline int ext4_handle_valid(handle_t *handle) in ext4_handle_valid()
282 static inline void ext4_handle_sync(handle_t *handle) in ext4_handle_sync()
[all …]
Dext4_jbd2.c35 handle_t *handle = current->journal_info; in ext4_get_nojournal() local
49 static void ext4_put_nojournal(handle_t *handle) in ext4_put_nojournal()
109 int __ext4_journal_stop(const char *where, unsigned int line, handle_t *handle) in __ext4_journal_stop()
136 handle_t *__ext4_journal_start_reserved(handle_t *handle, unsigned int line, in __ext4_journal_start_reserved()
160 int __ext4_journal_ensure_credits(handle_t *handle, int check_cred, in __ext4_journal_ensure_credits()
178 handle_t *handle, int err) in ext4_journal_abort_handle()
223 handle_t *handle, struct buffer_head *bh) in __ext4_journal_get_write_access()
253 int __ext4_forget(const char *where, unsigned int line, handle_t *handle, in __ext4_forget()
309 handle_t *handle, struct buffer_head *bh) in __ext4_journal_get_create_access()
323 handle_t *handle, struct inode *inode, in __ext4_handle_dirty_metadata()
[all …]
Dmigrate.c21 static int finish_range(handle_t *handle, struct inode *inode, in finish_range()
65 static int update_extent_range(handle_t *handle, struct inode *inode, in update_extent_range()
90 static int update_ind_extent_range(handle_t *handle, struct inode *inode, in update_ind_extent_range()
119 static int update_dind_extent_range(handle_t *handle, struct inode *inode, in update_dind_extent_range()
149 static int update_tind_extent_range(handle_t *handle, struct inode *inode, in update_tind_extent_range()
179 static int free_dind_blocks(handle_t *handle, in free_dind_blocks()
220 static int free_tind_blocks(handle_t *handle, in free_tind_blocks()
254 static int free_ind_block(handle_t *handle, struct inode *inode, __le32 *i_data) in free_ind_block()
287 static int ext4_ext_swap_inode_data(handle_t *handle, struct inode *inode, in ext4_ext_swap_inode_data()
353 static int free_ext_idx(handle_t *handle, struct inode *inode, in free_ext_idx()
[all …]
Dinline.c262 static int ext4_create_inline_data(handle_t *handle, in ext4_create_inline_data()
326 static int ext4_update_inline_data(handle_t *handle, struct inode *inode, in ext4_update_inline_data()
392 static int ext4_prepare_inline_data(handle_t *handle, struct inode *inode, in ext4_prepare_inline_data()
416 static int ext4_destroy_inline_data_nolock(handle_t *handle, in ext4_destroy_inline_data_nolock()
556 handle_t *handle = NULL; in ext4_convert_inline_data_to_extent() local
678 handle_t *handle; in ext4_try_to_write_inline_data() local
893 handle_t *handle; in ext4_da_write_inline_data_begin() local
1042 static int ext4_add_dirent_to_inline(handle_t *handle, in ext4_add_dirent_to_inline()
1123 static int ext4_update_inline_dir(handle_t *handle, struct inode *dir, in ext4_update_inline_dir()
1145 static void ext4_restore_inline_data(handle_t *handle, struct inode *inode, in ext4_restore_inline_data()
[all …]
Dinode.c170 handle_t *handle; in ext4_evict_inode() local
446 static void ext4_map_blocks_es_recheck(handle_t *handle, in ext4_map_blocks_es_recheck()
510 int ext4_map_blocks(handle_t *handle, struct inode *inode, in ext4_map_blocks()
828 struct buffer_head *ext4_getblk(handle_t *handle, struct inode *inode, in ext4_getblk()
887 struct buffer_head *ext4_bread(handle_t *handle, struct inode *inode, in ext4_bread()
950 int ext4_walk_page_buffers(handle_t *handle, in ext4_walk_page_buffers()
955 int (*fn)(handle_t *handle, in ext4_walk_page_buffers()
1005 int do_journal_get_write_access(handle_t *handle, in do_journal_get_write_access()
1132 handle_t *handle; in ext4_write_begin() local
1268 static int write_end_fn(handle_t *handle, struct buffer_head *bh) in write_end_fn()
[all …]
Dindirect.c328 static int ext4_alloc_branch(handle_t *handle, in ext4_alloc_branch()
424 static int ext4_splice_branch(handle_t *handle, in ext4_splice_branch()
528 int ext4_ind_map_blocks(handle_t *handle, struct inode *inode, in ext4_ind_map_blocks()
694 static int ext4_ind_trunc_restart_fn(handle_t *handle, struct inode *inode, in ext4_ind_trunc_restart_fn()
729 static int ext4_ind_truncate_ensure_credits(handle_t *handle, in ext4_ind_truncate_ensure_credits()
861 static int ext4_clear_blocks(handle_t *handle, struct inode *inode, in ext4_clear_blocks()
918 static void ext4_free_data(handle_t *handle, struct inode *inode, in ext4_free_data()
1003 static void ext4_free_branches(handle_t *handle, struct inode *inode, in ext4_free_branches()
1114 void ext4_ind_truncate(handle_t *handle, struct inode *inode) in ext4_ind_truncate()
1229 int ext4_ind_remove_space(handle_t *handle, struct inode *inode, in ext4_ind_remove_space()
Dextents.c117 int ext4_datasem_ensure_credits(handle_t *handle, struct inode *inode, in ext4_datasem_ensure_credits()
136 static int ext4_ext_get_access(handle_t *handle, struct inode *inode, in ext4_ext_get_access()
166 handle_t *handle, struct inode *inode, in __ext4_ext_dirty()
187 #define ext4_ext_dirty(handle, inode, path) \ argument
240 ext4_ext_new_meta_block(handle_t *handle, struct inode *inode, in ext4_ext_new_meta_block()
307 ext4_force_split_extent_at(handle_t *handle, struct inode *inode, in ext4_force_split_extent_at()
861 void ext4_ext_tree_init(handle_t *handle, struct inode *inode) in ext4_ext_tree_init()
967 static int ext4_ext_insert_index(handle_t *handle, struct inode *inode, in ext4_ext_insert_index()
1045 static int ext4_ext_split(handle_t *handle, struct inode *inode, in ext4_ext_split()
1302 static int ext4_ext_grow_indepth(handle_t *handle, struct inode *inode, in ext4_ext_grow_indepth()
[all …]
Dnamei.c53 static struct buffer_head *ext4_append(handle_t *handle, in ext4_append()
432 int ext4_handle_dirty_dirblock(handle_t *handle, in ext4_handle_dirty_dirblock()
543 static inline int ext4_handle_dirty_dx_node(handle_t *handle, in ext4_handle_dirty_dx_node()
1939 static struct ext4_dir_entry_2 *do_split(handle_t *handle, struct inode *dir, in do_split()
2130 static int add_dirent_to_buf(handle_t *handle, struct ext4_filename *fname, in add_dirent_to_buf()
2185 static int make_indexed_dir(handle_t *handle, struct ext4_filename *fname, in make_indexed_dir()
2326 static int ext4_add_entry(handle_t *handle, struct dentry *dentry, in ext4_add_entry()
2441 static int ext4_dx_add_entry(handle_t *handle, struct ext4_filename *fname, in ext4_dx_add_entry()
2656 static int ext4_delete_entry(handle_t *handle, in ext4_delete_entry()
2733 static int ext4_add_nondir(handle_t *handle, in ext4_add_nondir()
[all …]
Dxattr.c797 static void ext4_xattr_update_super_block(handle_t *handle, in ext4_xattr_update_super_block()
982 static int ext4_xattr_inode_update_ref(handle_t *handle, struct inode *ea_inode, in ext4_xattr_inode_update_ref()
1033 static int ext4_xattr_inode_inc_ref(handle_t *handle, struct inode *ea_inode) in ext4_xattr_inode_inc_ref()
1038 static int ext4_xattr_inode_dec_ref(handle_t *handle, struct inode *ea_inode) in ext4_xattr_inode_dec_ref()
1043 static int ext4_xattr_inode_inc_ref_all(handle_t *handle, struct inode *parent, in ext4_xattr_inode_inc_ref_all()
1099 static int ext4_xattr_restart_fn(handle_t *handle, struct inode *inode, in ext4_xattr_restart_fn()
1118 ext4_xattr_inode_dec_ref_all(handle_t *handle, struct inode *parent, in ext4_xattr_inode_dec_ref_all()
1214 ext4_xattr_release_block(handle_t *handle, struct inode *inode, in ext4_xattr_release_block()
1328 static int ext4_xattr_inode_write(handle_t *handle, struct inode *ea_inode, in ext4_xattr_inode_write()
1406 static struct inode *ext4_xattr_inode_create(handle_t *handle, in ext4_xattr_inode_create()
[all …]
Dresize.c420 static struct buffer_head *bclean(handle_t *handle, struct super_block *sb, in bclean()
441 static int ext4_resize_ensure_credits_batch(handle_t *handle, int credits) in ext4_resize_ensure_credits_batch()
456 static int set_flexbg_block_bitmap(struct super_block *sb, handle_t *handle, in set_flexbg_block_bitmap()
537 handle_t *handle; in setup_new_flex_group_blocks() local
806 static int add_new_gdb(handle_t *handle, struct inode *inode, in add_new_gdb()
939 handle_t *handle, ext4_group_t group) { in add_new_gdb_meta_bg()
995 static int reserve_backup_gdb(handle_t *handle, struct inode *inode, in reserve_backup_gdb()
1120 handle_t *handle; in update_backups() local
1217 static int ext4_add_new_descs(handle_t *handle, struct super_block *sb, in ext4_add_new_descs()
1304 static int ext4_setup_new_descs(handle_t *handle, struct super_block *sb, in ext4_setup_new_descs()
[all …]
Dacl.c186 __ext4_set_acl(handle_t *handle, struct inode *inode, int type, in __ext4_set_acl()
227 handle_t *handle; in ext4_set_acl() local
274 ext4_init_acl(handle_t *handle, struct inode *inode, struct inode *dir) in ext4_init_acl()
Dxattr_security.c39 handle_t *handle = fs_info; in ext4_initxattrs() local
54 ext4_init_security(handle_t *handle, struct inode *inode, struct inode *dir, in ext4_init_security()
Dfile.c287 handle_t *handle; in ext4_handle_inode_extension() local
475 handle_t *handle; in ext4_dio_write_iter() local
623 handle_t *handle; in ext4_dax_write_iter() local
695 handle_t *handle = NULL; in ext4_dax_huge_fault() local
804 handle_t *handle; in ext4_sample_last_mounted() local
/fs/jbd2/
Dtransaction.c325 static int start_this_handle(journal_t *journal, handle_t *handle, in start_this_handle()
464 handle_t *handle = jbd2_alloc_handle(GFP_NOFS); in new_handle() local
477 handle_t *handle = journal_current_handle(); in jbd2__journal_start() local
551 static void __jbd2_journal_unreserve_handle(handle_t *handle, transaction_t *t) in __jbd2_journal_unreserve_handle()
561 void jbd2_journal_free_reserved(handle_t *handle) in jbd2_journal_free_reserved()
587 int jbd2_journal_start_reserved(handle_t *handle, unsigned int type, in jbd2_journal_start_reserved()
648 int jbd2_journal_extend(handle_t *handle, int nblocks, int revoke_records) in jbd2_journal_extend()
707 static void stop_this_handle(handle_t *handle) in stop_this_handle()
769 int jbd2__journal_restart(handle_t *handle, int nblocks, int revoke_records, in jbd2__journal_restart()
816 int jbd2_journal_restart(handle_t *handle, int nblocks) in jbd2_journal_restart()
[all …]
/fs/
Dfhandle.c24 struct file_handle *handle = NULL; in do_sys_name_to_handle() local
93 SYSCALL_DEFINE5(name_to_handle_at, int, dfd, const char __user *, name, in SYSCALL_DEFINE5() argument
139 static int do_handle_to_path(int mountdirfd, struct file_handle *handle, in do_handle_to_path()
172 struct file_handle *handle = NULL; in handle_to_path() local
256 SYSCALL_DEFINE3(open_by_handle_at, int, mountdirfd, in SYSCALL_DEFINE3() argument
274 COMPAT_SYSCALL_DEFINE3(open_by_handle_at, int, mountdirfd, in COMPAT_SYSCALL_DEFINE3() argument
/fs/ocfs2/
Dsuballoc.c342 static int ocfs2_block_group_fill(handle_t *handle, in ocfs2_block_group_fill()
419 ocfs2_block_group_alloc_contig(struct ocfs2_super *osb, handle_t *handle, in ocfs2_block_group_alloc_contig()
464 handle_t *handle, in ocfs2_block_group_claim_bits()
483 static int ocfs2_block_group_grow_discontig(handle_t *handle, in ocfs2_block_group_grow_discontig()
545 static void ocfs2_bg_alloc_cleanup(handle_t *handle, in ocfs2_bg_alloc_cleanup()
576 ocfs2_block_group_alloc_discontig(handle_t *handle, in ocfs2_block_group_alloc_discontig()
664 handle_t *handle = NULL; in ocfs2_block_group_alloc() local
1337 int ocfs2_block_group_set_bits(handle_t *handle, in ocfs2_block_group_set_bits()
1403 static int ocfs2_relink_block_group(handle_t *handle, in ocfs2_relink_block_group()
1580 handle_t *handle, in ocfs2_alloc_dinode_update_counts()
[all …]
Dalloc.c524 static inline int ocfs2_et_root_journal_access(handle_t *handle, in ocfs2_et_root_journal_access()
721 int ocfs2_path_bh_journal_access(handle_t *handle, in ocfs2_path_bh_journal_access()
742 handle_t *handle, in ocfs2_journal_access_path()
987 static int ocfs2_create_new_meta_bhs(handle_t *handle, in ocfs2_create_new_meta_bhs()
1093 static int ocfs2_adjust_rightmost_branch(handle_t *handle, in ocfs2_adjust_rightmost_branch()
1146 static int ocfs2_add_branch(handle_t *handle, in ocfs2_add_branch()
1349 static int ocfs2_shift_tree_depth(handle_t *handle, in ocfs2_shift_tree_depth()
1524 static int ocfs2_grow_tree(handle_t *handle, struct ocfs2_extent_tree *et, in ocfs2_grow_tree()
2037 static void ocfs2_complete_edge_insert(handle_t *handle, in ocfs2_complete_edge_insert()
2107 static int ocfs2_rotate_subtree_right(handle_t *handle, in ocfs2_rotate_subtree_right()
[all …]
Dnamei.c232 handle_t *handle = NULL; in ocfs2_mknod() local
510 handle_t *handle, in __ocfs2_mknod_locked()
624 handle_t *handle, in ocfs2_mknod_locked()
681 handle_t *handle; in ocfs2_link() local
883 handle_t *handle = NULL; in ocfs2_unlink() local
1213 handle_t *handle = NULL; in ocfs2_rename() local
1692 handle_t *handle, in ocfs2_create_symlink_data()
1802 handle_t *handle = NULL; in ocfs2_symlink() local
2225 handle_t *handle, in ocfs2_orphan_add()
2327 handle_t *handle, in ocfs2_orphan_del()
[all …]
Djournal.c338 handle_t *handle; in ocfs2_start_trans() local
376 handle_t *handle) in ocfs2_commit_trans()
413 int ocfs2_extend_trans(handle_t *handle, int nblocks) in ocfs2_extend_trans()
458 int ocfs2_allocate_extend_trans(handle_t *handle, int thresh) in ocfs2_allocate_extend_trans()
635 static int __ocfs2_journal_access(handle_t *handle, in __ocfs2_journal_access()
712 int ocfs2_journal_access_di(handle_t *handle, struct ocfs2_caching_info *ci, in ocfs2_journal_access_di()
718 int ocfs2_journal_access_eb(handle_t *handle, struct ocfs2_caching_info *ci, in ocfs2_journal_access_eb()
724 int ocfs2_journal_access_rb(handle_t *handle, struct ocfs2_caching_info *ci, in ocfs2_journal_access_rb()
731 int ocfs2_journal_access_gd(handle_t *handle, struct ocfs2_caching_info *ci, in ocfs2_journal_access_gd()
737 int ocfs2_journal_access_db(handle_t *handle, struct ocfs2_caching_info *ci, in ocfs2_journal_access_db()
[all …]
Dlocalalloc.c371 handle_t *handle; in ocfs2_shutdown_local_alloc() local
552 handle_t *handle; in ocfs2_complete_local_alloc_recovery() local
716 handle_t *handle, in ocfs2_claim_local_alloc_bits()
772 handle_t *handle, in ocfs2_free_local_alloc_bits()
950 handle_t *handle, in ocfs2_sync_local_to_main()
1149 handle_t *handle, in ocfs2_local_alloc_new_window()
1242 handle_t *handle = NULL; in ocfs2_local_alloc_slide_window() local
Ddir.c153 static int ocfs2_dx_dir_link_trailer(struct inode *dir, handle_t *handle, in ocfs2_dx_dir_link_trailer()
1089 int ocfs2_update_entry(struct inode *dir, handle_t *handle, in ocfs2_update_entry()
1127 static int __ocfs2_delete_entry(handle_t *handle, struct inode *dir, in __ocfs2_delete_entry()
1231 static int ocfs2_delete_entry_dx(handle_t *handle, struct inode *dir, in ocfs2_delete_entry_dx()
1347 static inline int ocfs2_delete_entry_id(handle_t *handle, in ocfs2_delete_entry_id()
1374 static inline int ocfs2_delete_entry_el(handle_t *handle, in ocfs2_delete_entry_el()
1387 int ocfs2_delete_entry(handle_t *handle, in ocfs2_delete_entry()
1456 static int __ocfs2_dx_dir_leaf_insert(struct inode *dir, handle_t *handle, in __ocfs2_dx_dir_leaf_insert()
1479 static void ocfs2_dx_inline_root_insert(struct inode *dir, handle_t *handle, in ocfs2_dx_inline_root_insert()
1487 static int ocfs2_dx_dir_insert(struct inode *dir, handle_t *handle, in ocfs2_dx_dir_insert()
[all …]
Dquota_global.c226 handle_t *handle = journal_current_handle(); in ocfs2_quota_write() local
599 handle_t *handle; in ocfs2_sync_dquot_helper() local
662 handle_t *handle; in ocfs2_write_dquot() local
720 handle_t *handle; in ocfs2_release_dquot() local
802 handle_t *handle; in ocfs2_acquire_dquot() local
921 handle_t *handle; in ocfs2_mark_dquot_dirty() local
970 handle_t *handle; in ocfs2_write_info() local
Drefcounttree.c555 handle_t *handle = NULL; in ocfs2_create_refcount_tree() local
697 handle_t *handle = NULL; in ocfs2_set_refcount_tree() local
759 handle_t *handle = NULL; in ocfs2_remove_refcount_tree() local
1235 static int ocfs2_change_refcount_rec(handle_t *handle, in ocfs2_change_refcount_rec()
1276 static int ocfs2_expand_inline_ref_root(handle_t *handle, in ocfs2_expand_inline_ref_root()
1514 static int ocfs2_new_leaf_refcount_block(handle_t *handle, in ocfs2_new_leaf_refcount_block()
1610 static int ocfs2_expand_refcount_tree(handle_t *handle, in ocfs2_expand_refcount_tree()
1652 static int ocfs2_adjust_refcount_rec(handle_t *handle, in ocfs2_adjust_refcount_rec()
1736 static int ocfs2_insert_refcount_rec(handle_t *handle, in ocfs2_insert_refcount_rec()
1824 static int ocfs2_split_refcount_rec(handle_t *handle, in ocfs2_split_refcount_rec()
[all …]
Dfile.c256 handle_t *handle; in ocfs2_update_inode_atime() local
290 int ocfs2_set_inode_size(handle_t *handle, in ocfs2_set_inode_size()
317 handle_t *handle = NULL; in ocfs2_simple_size_update() local
376 handle_t *handle; in ocfs2_orphan_for_truncate() local
540 handle_t *handle, in ocfs2_add_inode_data()
565 handle_t *handle = NULL; in ocfs2_extend_allocation() local
718 handle_t *handle = NULL; in ocfs2_zero_start_ordered_transaction() local
761 handle_t *handle; in ocfs2_write_zero_page() local
1127 handle_t *handle = NULL; in ocfs2_setattr() local
1377 handle_t *handle; in __ocfs2_write_remove_suid() local
[all …]
/fs/vboxsf/
Dvboxsf_wrappers.c149 int vboxsf_close(u32 root, u64 handle) in vboxsf_close()
201 int vboxsf_read(u32 root, u64 handle, u64 offset, u32 *buf_len, u8 *buf) in vboxsf_read()
225 int vboxsf_write(u32 root, u64 handle, u64 offset, u32 *buf_len, u8 *buf) in vboxsf_write()
250 int vboxsf_dirinfo(u32 root, u64 handle, in vboxsf_dirinfo()
294 int vboxsf_fsinfo(u32 root, u64 handle, u32 flags, in vboxsf_fsinfo()

123