Home
last modified time | relevance | path

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

123

/fs/ext4/
Dext4_jbd2.h165 static inline void _ext4_journal_callback_add(handle_t *handle, in _ext4_journal_callback_add()
172 static inline void ext4_journal_callback_add(handle_t *handle, in ext4_journal_callback_add()
195 static inline bool ext4_journal_callback_try_del(handle_t *handle, in ext4_journal_callback_try_del()
251 #define ext4_journal_get_write_access(handle, sb, bh, trigger_type) \ argument
254 #define ext4_forget(handle, is_metadata, inode, bh, block_nr) \ argument
257 #define ext4_journal_get_create_access(handle, sb, bh, trigger_type) \ argument
260 #define ext4_handle_dirty_metadata(handle, inode, bh) \ argument
273 static inline int ext4_handle_valid(handle_t *handle) in ext4_handle_valid()
280 static inline void ext4_handle_sync(handle_t *handle) in ext4_handle_sync()
286 static inline int ext4_handle_is_aborted(handle_t *handle) in ext4_handle_is_aborted()
[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()
116 int __ext4_journal_stop(const char *where, unsigned int line, handle_t *handle) in __ext4_journal_stop()
143 handle_t *__ext4_journal_start_reserved(handle_t *handle, unsigned int line, in __ext4_journal_start_reserved()
167 int __ext4_journal_ensure_credits(handle_t *handle, int check_cred, in __ext4_journal_ensure_credits()
185 handle_t *handle, int err) in ext4_journal_abort_handle()
230 handle_t *handle, struct super_block *sb, in __ext4_journal_get_write_access()
264 int __ext4_forget(const char *where, unsigned int line, handle_t *handle, in __ext4_forget()
319 handle_t *handle, struct super_block *sb, in __ext4_journal_get_create_access()
343 handle_t *handle, struct inode *inode, in __ext4_handle_dirty_metadata()
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()
331 static int ext4_update_inline_data(handle_t *handle, struct inode *inode, in ext4_update_inline_data()
402 static int ext4_prepare_inline_data(handle_t *handle, struct inode *inode, in ext4_prepare_inline_data()
426 static int ext4_destroy_inline_data_nolock(handle_t *handle, in ext4_destroy_inline_data_nolock()
553 handle_t *handle = NULL; in ext4_convert_inline_data_to_extent() local
676 handle_t *handle; in ext4_try_to_write_inline_data() local
755 handle_t *handle = ext4_journal_current_handle(); in ext4_write_inline_data_end() local
909 handle_t *handle; in ext4_da_write_inline_data_begin() local
1015 static int ext4_add_dirent_to_inline(handle_t *handle, in ext4_add_dirent_to_inline()
1097 static int ext4_update_inline_dir(handle_t *handle, struct inode *dir, in ext4_update_inline_dir()
[all …]
Dinode.c172 handle_t *handle; in ext4_evict_inode() local
421 static void ext4_map_blocks_es_recheck(handle_t *handle, in ext4_map_blocks_es_recheck()
463 static int ext4_map_query_blocks(handle_t *handle, struct inode *inode, in ext4_map_query_blocks()
492 static int ext4_map_create_blocks(handle_t *handle, struct inode *inode, in ext4_map_create_blocks()
597 int ext4_map_blocks(handle_t *handle, struct inode *inode, in ext4_map_blocks()
836 struct buffer_head *ext4_getblk(handle_t *handle, struct inode *inode, in ext4_getblk()
901 struct buffer_head *ext4_bread(handle_t *handle, struct inode *inode, in ext4_bread()
964 int ext4_walk_page_buffers(handle_t *handle, struct inode *inode, in ext4_walk_page_buffers()
969 int (*fn)(handle_t *handle, struct inode *inode, in ext4_walk_page_buffers()
1001 static int ext4_dirty_journalled_data(handle_t *handle, struct buffer_head *bh) in ext4_dirty_journalled_data()
[all …]
Dindirect.c328 static int ext4_alloc_branch(handle_t *handle, in ext4_alloc_branch()
425 static int ext4_splice_branch(handle_t *handle, in ext4_splice_branch()
530 int ext4_ind_map_blocks(handle_t *handle, struct inode *inode, in ext4_ind_map_blocks()
689 static int ext4_ind_trunc_restart_fn(handle_t *handle, struct inode *inode, in ext4_ind_trunc_restart_fn()
724 static int ext4_ind_truncate_ensure_credits(handle_t *handle, in ext4_ind_truncate_ensure_credits()
857 static int ext4_clear_blocks(handle_t *handle, struct inode *inode, in ext4_clear_blocks()
914 static void ext4_free_data(handle_t *handle, struct inode *inode, in ext4_free_data()
1000 static void ext4_free_branches(handle_t *handle, struct inode *inode, in ext4_free_branches()
1112 void ext4_ind_truncate(handle_t *handle, struct inode *inode) in ext4_ind_truncate()
1227 int ext4_ind_remove_space(handle_t *handle, struct inode *inode, in ext4_ind_remove_space()
Dextents.c141 int ext4_datasem_ensure_credits(handle_t *handle, struct inode *inode, in ext4_datasem_ensure_credits()
160 static int ext4_ext_get_access(handle_t *handle, struct inode *inode, in ext4_ext_get_access()
191 handle_t *handle, struct inode *inode, in __ext4_ext_dirty()
212 #define ext4_ext_dirty(handle, inode, path) \ argument
265 ext4_ext_new_meta_block(handle_t *handle, struct inode *inode, in ext4_ext_new_meta_block()
332 ext4_force_split_extent_at(handle_t *handle, struct inode *inode, in ext4_force_split_extent_at()
872 void ext4_ext_tree_init(handle_t *handle, struct inode *inode) in ext4_ext_tree_init()
974 static int ext4_ext_insert_index(handle_t *handle, struct inode *inode, in ext4_ext_insert_index()
1052 static int ext4_ext_split(handle_t *handle, struct inode *inode, in ext4_ext_split()
1311 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()
435 int ext4_handle_dirty_dirblock(handle_t *handle, in ext4_handle_dirty_dirblock()
546 static inline int ext4_handle_dirty_dx_node(handle_t *handle, in ext4_handle_dirty_dx_node()
1937 static struct ext4_dir_entry_2 *do_split(handle_t *handle, struct inode *dir, in do_split()
2133 static int add_dirent_to_buf(handle_t *handle, struct ext4_filename *fname, in add_dirent_to_buf()
2234 static int make_indexed_dir(handle_t *handle, struct ext4_filename *fname, in make_indexed_dir()
2381 static int ext4_add_entry(handle_t *handle, struct dentry *dentry, in ext4_add_entry()
2494 static int ext4_dx_add_entry(handle_t *handle, struct ext4_filename *fname, in ext4_dx_add_entry()
2720 static int ext4_delete_entry(handle_t *handle, in ext4_delete_entry()
2797 static int ext4_add_nondir(handle_t *handle, in ext4_add_nondir()
[all …]
Dresize.c423 static struct buffer_head *bclean(handle_t *handle, struct super_block *sb, in bclean()
445 static int ext4_resize_ensure_credits_batch(handle_t *handle, int credits) in ext4_resize_ensure_credits_batch()
460 static int set_flexbg_block_bitmap(struct super_block *sb, handle_t *handle, in set_flexbg_block_bitmap()
541 handle_t *handle; in setup_new_flex_group_blocks() local
820 static int add_new_gdb(handle_t *handle, struct inode *inode, in add_new_gdb()
963 handle_t *handle, ext4_group_t group) { in add_new_gdb_meta_bg()
1019 static int reserve_backup_gdb(handle_t *handle, struct inode *inode, in reserve_backup_gdb()
1152 handle_t *handle; in update_backups() local
1253 static int ext4_add_new_descs(handle_t *handle, struct super_block *sb, in ext4_add_new_descs()
1339 static int ext4_setup_new_descs(handle_t *handle, struct super_block *sb, in ext4_setup_new_descs()
[all …]
Dxattr.c846 static void ext4_xattr_update_super_block(handle_t *handle, in ext4_xattr_update_super_block()
1035 static int ext4_xattr_inode_update_ref(handle_t *handle, struct inode *ea_inode, in ext4_xattr_inode_update_ref()
1086 static int ext4_xattr_inode_inc_ref(handle_t *handle, struct inode *ea_inode) in ext4_xattr_inode_inc_ref()
1091 static int ext4_xattr_inode_dec_ref(handle_t *handle, struct inode *ea_inode) in ext4_xattr_inode_dec_ref()
1096 static int ext4_xattr_inode_inc_ref_all(handle_t *handle, struct inode *parent, in ext4_xattr_inode_inc_ref_all()
1152 static int ext4_xattr_restart_fn(handle_t *handle, struct inode *inode, in ext4_xattr_restart_fn()
1171 ext4_xattr_inode_dec_ref_all(handle_t *handle, struct inode *parent, in ext4_xattr_inode_dec_ref_all()
1277 ext4_xattr_release_block(handle_t *handle, struct inode *inode, in ext4_xattr_release_block()
1392 static int ext4_xattr_inode_write(handle_t *handle, struct inode *ea_inode, in ext4_xattr_inode_write()
1477 static struct inode *ext4_xattr_inode_create(handle_t *handle, in ext4_xattr_inode_create()
[all …]
Dfast_commit.c338 void ext4_fc_mark_ineligible(struct super_block *sb, int reason, handle_t *handle) in ext4_fc_mark_ineligible()
381 handle_t *handle, struct inode *inode, in ext4_fc_track_template()
382 int (*__fc_track_fn)(handle_t *handle, struct inode *, void *, bool), in ext4_fc_track_template()
423 static int __track_dentry_update(handle_t *handle, struct inode *inode, in __track_dentry_update()
498 void __ext4_fc_track_unlink(handle_t *handle, in __ext4_fc_track_unlink()
512 void ext4_fc_track_unlink(handle_t *handle, struct dentry *dentry) in ext4_fc_track_unlink()
525 void __ext4_fc_track_link(handle_t *handle, in __ext4_fc_track_link()
539 void ext4_fc_track_link(handle_t *handle, struct dentry *dentry) in ext4_fc_track_link()
552 void __ext4_fc_track_create(handle_t *handle, struct inode *inode, in __ext4_fc_track_create()
566 void ext4_fc_track_create(handle_t *handle, struct dentry *dentry) in ext4_fc_track_create()
[all …]
/fs/jbd2/
Dtransaction.c316 static int start_this_handle(journal_t *journal, handle_t *handle, in start_this_handle()
461 handle_t *handle = jbd2_alloc_handle(GFP_NOFS); in new_handle() local
474 handle_t *handle = journal_current_handle(); in jbd2__journal_start() local
548 static void __jbd2_journal_unreserve_handle(handle_t *handle, transaction_t *t) in __jbd2_journal_unreserve_handle()
558 void jbd2_journal_free_reserved(handle_t *handle) in jbd2_journal_free_reserved()
584 int jbd2_journal_start_reserved(handle_t *handle, unsigned int type, in jbd2_journal_start_reserved()
645 int jbd2_journal_extend(handle_t *handle, int nblocks, int revoke_records) in jbd2_journal_extend()
701 static void stop_this_handle(handle_t *handle) in stop_this_handle()
763 int jbd2__journal_restart(handle_t *handle, int nblocks, int revoke_records, in jbd2__journal_restart()
810 int jbd2_journal_restart(handle_t *handle, int nblocks) in jbd2_journal_restart()
[all …]
/fs/ocfs2/
Dsuballoc.c344 static int ocfs2_block_group_fill(handle_t *handle, in ocfs2_block_group_fill()
421 ocfs2_block_group_alloc_contig(struct ocfs2_super *osb, handle_t *handle, in ocfs2_block_group_alloc_contig()
466 handle_t *handle, in ocfs2_block_group_claim_bits()
485 static int ocfs2_block_group_grow_discontig(handle_t *handle, in ocfs2_block_group_grow_discontig()
547 static void ocfs2_bg_alloc_cleanup(handle_t *handle, in ocfs2_bg_alloc_cleanup()
578 ocfs2_block_group_alloc_discontig(handle_t *handle, in ocfs2_block_group_alloc_discontig()
666 handle_t *handle = NULL; in ocfs2_block_group_alloc() local
1363 int ocfs2_block_group_set_bits(handle_t *handle, in ocfs2_block_group_set_bits()
1457 static int ocfs2_relink_block_group(handle_t *handle, in ocfs2_relink_block_group()
1632 handle_t *handle, in ocfs2_alloc_dinode_update_counts()
[all …]
Dalloc.c522 static inline int ocfs2_et_root_journal_access(handle_t *handle, in ocfs2_et_root_journal_access()
719 int ocfs2_path_bh_journal_access(handle_t *handle, in ocfs2_path_bh_journal_access()
740 handle_t *handle, in ocfs2_journal_access_path()
992 static int ocfs2_create_new_meta_bhs(handle_t *handle, in ocfs2_create_new_meta_bhs()
1098 static int ocfs2_adjust_rightmost_branch(handle_t *handle, in ocfs2_adjust_rightmost_branch()
1151 static int ocfs2_add_branch(handle_t *handle, in ocfs2_add_branch()
1354 static int ocfs2_shift_tree_depth(handle_t *handle, in ocfs2_shift_tree_depth()
1529 static int ocfs2_grow_tree(handle_t *handle, struct ocfs2_extent_tree *et, in ocfs2_grow_tree()
2050 static void ocfs2_complete_edge_insert(handle_t *handle, in ocfs2_complete_edge_insert()
2120 static int ocfs2_rotate_subtree_right(handle_t *handle, in ocfs2_rotate_subtree_right()
[all …]
Dnamei.c234 handle_t *handle = NULL; in ocfs2_mknod() local
512 handle_t *handle, in __ocfs2_mknod_locked()
626 handle_t *handle, in ocfs2_mknod_locked()
685 handle_t *handle; in ocfs2_link() local
888 handle_t *handle = NULL; in ocfs2_unlink() local
1220 handle_t *handle = NULL; in ocfs2_rename() local
1710 handle_t *handle, in ocfs2_create_symlink_data()
1821 handle_t *handle = NULL; in ocfs2_symlink() local
2246 handle_t *handle, in ocfs2_orphan_add()
2348 handle_t *handle, in ocfs2_orphan_del()
[all …]
Djournal.c356 handle_t *handle; in ocfs2_start_trans() local
394 handle_t *handle) in ocfs2_commit_trans()
431 int ocfs2_extend_trans(handle_t *handle, int nblocks) in ocfs2_extend_trans()
477 int ocfs2_assure_trans_credits(handle_t *handle, int nblocks) in ocfs2_assure_trans_credits()
493 int ocfs2_allocate_extend_trans(handle_t *handle, int thresh) in ocfs2_allocate_extend_trans()
655 static int __ocfs2_journal_access(handle_t *handle, in __ocfs2_journal_access()
732 int ocfs2_journal_access_di(handle_t *handle, struct ocfs2_caching_info *ci, in ocfs2_journal_access_di()
742 int ocfs2_journal_access_eb(handle_t *handle, struct ocfs2_caching_info *ci, in ocfs2_journal_access_eb()
752 int ocfs2_journal_access_rb(handle_t *handle, struct ocfs2_caching_info *ci, in ocfs2_journal_access_rb()
762 int ocfs2_journal_access_gd(handle_t *handle, struct ocfs2_caching_info *ci, in ocfs2_journal_access_gd()
[all …]
Dlocalalloc.c370 handle_t *handle; in ocfs2_shutdown_local_alloc() local
551 handle_t *handle; in ocfs2_complete_local_alloc_recovery() local
715 handle_t *handle, in ocfs2_claim_local_alloc_bits()
771 handle_t *handle, in ocfs2_free_local_alloc_bits()
943 handle_t *handle, in ocfs2_sync_local_to_main()
1143 handle_t *handle, in ocfs2_local_alloc_new_window()
1236 handle_t *handle = NULL; in ocfs2_local_alloc_slide_window() local
Ddir.c151 static int ocfs2_dx_dir_link_trailer(struct inode *dir, handle_t *handle, in ocfs2_dx_dir_link_trailer()
1106 int ocfs2_update_entry(struct inode *dir, handle_t *handle, in ocfs2_update_entry()
1144 static int __ocfs2_delete_entry(handle_t *handle, struct inode *dir, in __ocfs2_delete_entry()
1248 static int ocfs2_delete_entry_dx(handle_t *handle, struct inode *dir, in ocfs2_delete_entry_dx()
1364 static inline int ocfs2_delete_entry_id(handle_t *handle, in ocfs2_delete_entry_id()
1391 static inline int ocfs2_delete_entry_el(handle_t *handle, in ocfs2_delete_entry_el()
1404 int ocfs2_delete_entry(handle_t *handle, in ocfs2_delete_entry()
1473 static int __ocfs2_dx_dir_leaf_insert(struct inode *dir, handle_t *handle, in __ocfs2_dx_dir_leaf_insert()
1496 static void ocfs2_dx_inline_root_insert(struct inode *dir, handle_t *handle, in ocfs2_dx_inline_root_insert()
1504 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
605 handle_t *handle; in ocfs2_sync_dquot_helper() local
671 handle_t *handle; in ocfs2_write_dquot() local
732 handle_t *handle; in ocfs2_release_dquot() local
819 handle_t *handle; in ocfs2_acquire_dquot() local
938 handle_t *handle; in ocfs2_mark_dquot_dirty() local
990 handle_t *handle; in ocfs2_write_info() local
Drefcounttree.c554 handle_t *handle = NULL; in ocfs2_create_refcount_tree() local
696 handle_t *handle = NULL; in ocfs2_set_refcount_tree() local
758 handle_t *handle = NULL; in ocfs2_remove_refcount_tree() local
1234 static int ocfs2_change_refcount_rec(handle_t *handle, in ocfs2_change_refcount_rec()
1275 static int ocfs2_expand_inline_ref_root(handle_t *handle, in ocfs2_expand_inline_ref_root()
1506 static int ocfs2_new_leaf_refcount_block(handle_t *handle, in ocfs2_new_leaf_refcount_block()
1602 static int ocfs2_expand_refcount_tree(handle_t *handle, in ocfs2_expand_refcount_tree()
1644 static int ocfs2_adjust_refcount_rec(handle_t *handle, in ocfs2_adjust_refcount_rec()
1728 static int ocfs2_insert_refcount_rec(handle_t *handle, in ocfs2_insert_refcount_rec()
1816 static int ocfs2_split_refcount_rec(handle_t *handle, in ocfs2_split_refcount_rec()
[all …]
/fs/smb/server/
Dtransport_ipc.c62 unsigned int handle; member
258 static void ipc_msg_handle_free(int handle) in ipc_msg_handle_free()
266 unsigned int handle = *(unsigned int *)payload; in handle_response() local
529 static void *ipc_msg_send_request(struct ksmbd_ipc_msg *msg, unsigned int handle) in ipc_msg_send_request()
767 struct ksmbd_rpc_command *ksmbd_rpc_open(struct ksmbd_session *sess, int handle) in ksmbd_rpc_open()
789 struct ksmbd_rpc_command *ksmbd_rpc_close(struct ksmbd_session *sess, int handle) in ksmbd_rpc_close()
811 struct ksmbd_rpc_command *ksmbd_rpc_write(struct ksmbd_session *sess, int handle, in ksmbd_rpc_write()
839 struct ksmbd_rpc_command *ksmbd_rpc_read(struct ksmbd_session *sess, int handle) in ksmbd_rpc_read()
862 struct ksmbd_rpc_command *ksmbd_rpc_ioctl(struct ksmbd_session *sess, int handle, in ksmbd_rpc_ioctl()
963 void ksmbd_rpc_id_free(int handle) in ksmbd_rpc_id_free()
Dksmbd_netlink.h70 __u32 handle; member
133 __u32 handle; member
142 __u32 handle; member
156 __u32 handle; member
166 __u32 handle; member
175 __u32 handle; member
208 __u32 handle; member
223 __u32 handle; member
252 __u32 handle; member
262 __u32 handle; member
[all …]
/fs/
Dfhandle.c25 struct file_handle *handle = NULL; in do_sys_name_to_handle() local
106 SYSCALL_DEFINE5(name_to_handle_at, int, dfd, const char __user *, name, in SYSCALL_DEFINE5() argument
224 static int do_handle_to_path(struct file_handle *handle, struct path *path, in do_handle_to_path()
297 struct file_handle *handle = NULL; in handle_to_path() local
383 SYSCALL_DEFINE3(open_by_handle_at, int, mountdirfd, in SYSCALL_DEFINE3() argument
401 COMPAT_SYSCALL_DEFINE3(open_by_handle_at, int, mountdirfd, in COMPAT_SYSCALL_DEFINE3() argument
/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()
/fs/xfs/
Dxfs_handle.c36 struct xfs_handle *handle = NULL; in xfs_filehandle_fid_len() local
46 struct xfs_handle *handle) in xfs_filehandle_init()
61 struct xfs_handle *handle) in xfs_fshandle_init()
86 xfs_handle_t handle; in xfs_find_handle() local
160 struct xfs_handle *handle) in xfs_khandle_to_dentry()
185 struct xfs_handle *handle) in xfs_khandle_to_inode()
214 xfs_handle_t handle; in xfs_handle_to_dentry() local
909 struct xfs_handle *handle = &kreq->gph_handle; in xfs_ioc_getparents_by_handle() local

123