Home
last modified time | relevance | path

Searched refs:handle (Results 1 – 25 of 83) sorted by relevance

1234

/fs/ext4/
A Dext4_jbd2.c45 return handle; in ext4_get_nojournal()
130 err = handle->h_err; in __ext4_journal_stop()
167 return handle; in __ext4_journal_start_reserved()
198 if (!handle->h_err) in ext4_journal_abort_handle()
199 handle->h_err = err; in ext4_journal_abort_handle()
245 handle, err); in __ext4_journal_get_write_access()
301 bh, handle, err); in __ext4_forget()
314 bh, handle, err); in __ext4_forget()
363 handle, err); in __ext4_handle_dirty_metadata()
379 handle->h_type, in __ext4_handle_dirty_metadata()
[all …]
A Dext4_jbd2.h126 ext4_mark_iloc_dirty(handle_t *handle,
198 if (ext4_handle_valid(handle)) in ext4_handle_sync()
199 handle->h_sync = 1; in ext4_handle_sync()
204 if (ext4_handle_valid(handle)) in ext4_handle_is_aborted()
205 return is_handle_aborted(handle); in ext4_handle_is_aborted()
246 #define ext4_journal_stop(handle) \ argument
262 if (ext4_handle_valid(handle)) in ext4_journal_extend()
270 if (ext4_handle_valid(handle)) in ext4_journal_restart()
339 if (ext4_handle_valid(handle)) in ext4_jbd2_inode_add_write()
348 if (ext4_handle_valid(handle)) in ext4_jbd2_inode_add_wait()
[all …]
A Dmigrate.c412 handle_t *handle; in ext4_ext_migrate() local
448 if (IS_ERR(handle)) { in ext4_ext_migrate()
449 retval = PTR_ERR(handle); in ext4_ext_migrate()
479 ext4_journal_stop(handle); in ext4_ext_migrate()
502 if (IS_ERR(handle)) { in ext4_ext_migrate()
503 retval = PTR_ERR(handle); in ext4_ext_migrate()
585 ext4_journal_stop(handle); in ext4_ext_migrate()
607 handle_t *handle; in ext4_ind_migrate() local
629 if (IS_ERR(handle)) { in ext4_ind_migrate()
630 ret = PTR_ERR(handle); in ext4_ind_migrate()
[all …]
A Dindirect.c328 static int ext4_alloc_branch(handle_t *handle, in ext4_alloc_branch() argument
425 static int ext4_splice_branch(handle_t *handle, in ext4_splice_branch() argument
700 err = ext4_mark_inode_dirty(handle, inode); in ext4_ind_trunc_restart_fn()
1007 if (ext4_handle_is_aborted(handle)) in ext4_free_branches()
1042 ext4_free_branches(handle, inode, bh, in ext4_free_branches()
1064 if (ext4_handle_is_aborted(handle)) in ext4_free_branches()
1093 if (!ext4_journal_get_write_access(handle, in ext4_free_branches()
1099 ext4_handle_dirty_metadata(handle, in ext4_free_branches()
1164 ext4_free_branches(handle, inode, NULL, in ext4_ind_truncate()
1282 ext4_free_branches(handle, inode, NULL, in ext4_ind_remove_space()
[all …]
A Dnamei.c2834 if (handle) in ext4_create()
2868 if (handle) in ext4_mknod()
2907 if (handle) in ext4_tmpfile()
3047 if (handle) in ext4_mkdir()
3216 if (handle) in ext4_rmdir()
3393 if (handle) in ext4_symlink()
3429 if (handle) in ext4_symlink()
3439 if (handle) in ext4_symlink()
3768 if (handle) in ext4_whiteout_for_rename()
3774 *h = handle; in ext4_whiteout_for_rename()
[all …]
A Dinode.c167 handle_t *handle; in ext4_evict_inode() local
890 if (!handle) in ext4_journal_ensure_extent_credits()
1282 handle_t *handle; in ext4_write_begin() local
2380 mpd->io_submit.io_end->handle = handle->h_rsv_handle; in mpage_map_one_extent()
2663 if (handle) { in mpage_prepare_extent_to_map()
2747 if (handle) in mpage_prepare_extent_to_map()
2752 if (handle) in mpage_prepare_extent_to_map()
2943 if (!ext4_handle_valid(handle) || handle->h_sync == 0) { in ext4_do_writepages()
2945 handle = NULL; in ext4_do_writepages()
2960 if (handle) { in ext4_do_writepages()
[all …]
A Dinline.c581 if (IS_ERR(handle)) { in ext4_convert_inline_data_to_extent()
582 ret = PTR_ERR(handle); in ext4_convert_inline_data_to_extent()
583 handle = NULL; in ext4_convert_inline_data_to_extent()
639 handle = NULL; in ext4_convert_inline_data_to_extent()
664 if (handle) in ext4_convert_inline_data_to_extent()
685 handle_t *handle; in ext4_generic_write_inline_data() local
696 if (IS_ERR(handle)) { in ext4_generic_write_inline_data()
1828 handle_t *handle; in ext4_inline_data_truncate() local
1843 if (IS_ERR(handle)) in ext4_inline_data_truncate()
1941 handle_t *handle; in ext4_convert_inline_data() local
[all …]
A Dcrypto.c88 handle_t *handle; in ext4_ioctl_get_encryption_pwsalt() local
98 if (IS_ERR(handle)) { in ext4_ioctl_get_encryption_pwsalt()
99 err = PTR_ERR(handle); in ext4_ioctl_get_encryption_pwsalt()
112 err2 = ext4_journal_stop(handle); in ext4_ioctl_get_encryption_pwsalt()
135 handle_t *handle = fs_data; in ext4_set_context() local
165 if (handle) { in ext4_set_context()
166 res = ext4_xattr_set_handle(handle, inode, in ext4_set_context()
193 if (IS_ERR(handle)) in ext4_set_context()
194 return PTR_ERR(handle); in ext4_set_context()
206 res = ext4_mark_inode_dirty(handle, inode); in ext4_set_context()
[all …]
A Dextents.c2826 handle_t *handle; in ext4_ext_remove_space() local
2840 if (IS_ERR(handle)) in ext4_ext_remove_space()
4497 handle_t *handle; in ext4_alloc_file_blocks() local
4881 if (!handle) { in ext4_convert_unwritten_extents_atomic()
4954 if (!handle) { in ext4_convert_unwritten_extents()
5008 if (handle) { in ext4_convert_unwritten_io_end_vec()
5009 handle = ext4_journal_start_reserved(handle, in ext4_convert_unwritten_io_end_vec()
5023 if (handle) in ext4_convert_unwritten_io_end_vec()
5416 handle, SHIFT); in ext4_ext_shift_extents()
5440 handle_t *handle; in ext4_collapse_range() local
[all …]
A Dfile.c311 handle_t *handle; in ext4_handle_inode_extension() local
315 if (IS_ERR(handle)) in ext4_handle_inode_extension()
360 if (IS_ERR(handle)) { in ext4_inode_extension_cleanup()
507 handle_t *handle; in ext4_dio_write_iter() local
567 if (IS_ERR(handle)) { in ext4_dio_write_iter()
644 handle_t *handle; in ext4_dax_write_iter() local
664 if (IS_ERR(handle)) { in ext4_dax_write_iter()
759 if (IS_ERR(handle)) { in ext4_dax_huge_fault()
844 handle_t *handle; in ext4_sample_last_mounted() local
870 err = PTR_ERR(handle); in ext4_sample_last_mounted()
[all …]
A Dresize.c541 handle_t *handle; in setup_new_flex_group_blocks() local
555 if (IS_ERR(handle)) in setup_new_flex_group_blocks()
1152 handle_t *handle; in update_backups() local
1156 if (IS_ERR(handle)) { in update_backups()
1158 err = PTR_ERR(handle); in update_backups()
1545 handle_t *handle; in ext4_flex_group_add() local
1571 if (IS_ERR(handle)) { in ext4_flex_group_add()
1775 handle_t *handle; in ext4_group_extend_no_check() local
1782 if (IS_ERR(handle)) { in ext4_group_extend_no_check()
1912 handle_t *handle; in ext4_convert_meta_bg() local
[all …]
A Dxattr.c1044 ext4_orphan_del(handle, ea_inode); in ext4_xattr_inode_update_ref()
1337 if (ext4_handle_valid(handle)) in ext4_xattr_release_block()
1340 if (!ext4_handle_valid(handle)) in ext4_xattr_release_block()
1343 ext4_handle_sync(handle); in ext4_xattr_release_block()
2054 handle, sb, new_bh, in ext4_xattr_block_set()
2365 if (ext4_handle_valid(handle)) { in ext4_xattr_set_handle()
2478 ext4_handle_sync(handle); in ext4_xattr_set_handle()
2528 handle_t *handle; in ext4_xattr_set() local
2544 if (IS_ERR(handle)) { in ext4_xattr_set()
2545 error = PTR_ERR(handle); in ext4_xattr_set()
[all …]
A Dioctl.c134 if (handle) { in ext4_update_backup_sb()
158 if (handle) { in ext4_update_backup_sb()
188 handle_t *handle; in ext4_update_superblocks_fn() local
212 if (IS_ERR(handle)) { in ext4_update_superblocks_fn()
259 handle = NULL; in ext4_update_superblocks_fn()
266 if (handle) { in ext4_update_superblocks_fn()
375 handle_t *handle; in swap_inode_boot_loader() local
425 if (IS_ERR(handle)) { in swap_inode_boot_loader()
717 handle_t *handle; in ext4_ioctl_setproject() local
765 if (IS_ERR(handle)) in ext4_ioctl_setproject()
[all …]
/fs/jbd2/
A Dtransaction.c433 handle->h_revoke_credits_requested = handle->h_revoke_credits; in start_this_handle()
458 if (!handle) in new_handle()
463 return handle; in new_handle()
476 if (handle) { in jbd2__journal_start()
485 if (!handle) in jbd2__journal_start()
514 return handle; in jbd2__journal_start()
681 handle->h_type, handle->h_line_no, in jbd2_journal_extend()
799 handle->h_type, handle->h_line_no, in jbd2__journal_restart()
1521 handle->h_type, handle->h_line_no, in jbd2_journal_dirty_metadata()
1852 tid, handle->h_type, handle->h_line_no, in jbd2_journal_stop()
[all …]
/fs/
A Dfhandle.c25 struct file_handle *handle = NULL; in do_sys_name_to_handle() local
48 handle = kzalloc(struct_size(handle, f_handle, f_handle.handle_bytes), in do_sys_name_to_handle()
50 if (!handle) in do_sys_name_to_handle()
58 (struct fid *)handle->f_handle, in do_sys_name_to_handle()
60 handle->handle_type = retval; in do_sys_name_to_handle()
63 handle->handle_bytes = handle_bytes; in do_sys_name_to_handle()
107 copy_to_user(ufh, handle, in do_sys_name_to_handle()
110 kfree(handle); in do_sys_name_to_handle()
358 handle = kmalloc(struct_size(handle, f_handle, f_handle.handle_bytes), in handle_to_path()
360 if (!handle) { in handle_to_path()
[all …]
/fs/smb/server/
A Dtransport_ipc.c62 unsigned int handle; member
260 if (handle >= 0) in ipc_msg_handle_free()
273 if (handle != entry->handle) in handle_response()
534 if ((int)handle < 0) in ipc_msg_send_request()
542 entry.handle = handle; in ipc_msg_send_request()
601 ipc_msg_handle_free(req->handle); in ksmbd_ipc_login_request()
779 req->handle = handle; in ksmbd_rpc_open()
801 req->handle = handle; in ksmbd_rpc_close()
827 req->handle = handle; in ksmbd_rpc_write()
851 req->handle = handle; in ksmbd_rpc_read()
[all …]
/fs/ocfs2/
A Dnamei.c369 handle = NULL; in ocfs2_mknod()
465 if (handle) { in ocfs2_mknod()
784 handle = NULL; in ocfs2_link()
976 handle = NULL; in ocfs2_unlink()
1024 if (handle) in ocfs2_unlink()
1494 handle = NULL; in ocfs2_rename()
1663 if (handle) in ocfs2_rename()
1933 handle = NULL; in ocfs2_symlink()
2050 if (handle) { in ocfs2_symlink()
2560 handle = NULL; in ocfs2_create_inode_in_orphan()
[all …]
A Dalloc.c3123 handle_t *handle; in ocfs2_remove_rightmost_empty_extent() local
3128 if (IS_ERR(handle)) { in ocfs2_remove_rightmost_empty_extent()
3356 handle_t *handle, in ocfs2_merge_rec_right() argument
3522 handle_t *handle, in ocfs2_merge_rec_left() argument
5715 handle_t *handle; in ocfs2_remove_btree_range() local
5940 handle_t *handle; in ocfs2_replay_truncate_records() local
6281 handle_t *handle; in ocfs2_complete_truncate_log_recovery() local
6422 handle_t *handle; in ocfs2_free_cached_blocks() local
6515 handle_t *handle; in ocfs2_free_cached_clusters() local
7085 handle_t *handle; in ocfs2_convert_inline_data_to_extents() local
[all …]
A Djournal.h245 handle_t *handle);
246 int ocfs2_extend_trans(handle_t *handle, int nblocks);
247 int ocfs2_assure_trans_credits(handle_t *handle,
249 int ocfs2_allocate_extend_trans(handle_t *handle,
305 int ocfs2_journal_access(handle_t *handle, struct ocfs2_caching_info *ci,
327 void ocfs2_journal_dirty(handle_t *handle, struct buffer_head *bh);
583 return jbd2_journal_inode_ranged_write(handle, in ocfs2_jbd2_inode_add_write()
597 static inline void ocfs2_update_inode_fsync_trans(handle_t *handle, in ocfs2_update_inode_fsync_trans() argument
603 if (!is_handle_aborted(handle)) { in ocfs2_update_inode_fsync_trans()
604 oi->i_sync_tid = handle->h_transaction->t_tid; in ocfs2_update_inode_fsync_trans()
[all …]
A Ddir.c57 handle_t *handle,
1707 handle, in __ocfs2_add_entry()
2213 handle_t *handle, in ocfs2_fill_new_dir_id() argument
2246 handle_t *handle, in ocfs2_fill_new_dir_el() argument
2541 handle_t *handle, in ocfs2_fill_new_dir_dx() argument
2816 handle_t *handle; in ocfs2_expand_inline_dir() local
2876 if (IS_ERR(handle)) { in ocfs2_expand_inline_dir()
3297 handle = NULL; in ocfs2_extend_dir()
3353 if (handle) in ocfs2_extend_dir()
3777 handle = NULL; in ocfs2_dx_dir_rebalance()
[all …]
A Dfile.c258 handle_t *handle; in ocfs2_update_inode_atime() local
378 handle_t *handle; in ocfs2_orphan_for_truncate() local
600 handle = NULL; in ocfs2_extend_allocation()
636 handle, in ocfs2_extend_allocation()
685 if (handle) { in ocfs2_extend_allocation()
687 handle = NULL; in ocfs2_extend_allocation()
748 return handle; in ocfs2_zero_start_ordered_transaction()
760 handle_t *handle; in ocfs2_write_zero_page() local
831 if (handle) { in ocfs2_write_zero_page()
840 if (handle) in ocfs2_write_zero_page()
[all …]
A Dlocalalloc.c45 handle_t *handle,
56 handle_t *handle,
370 handle_t *handle; in ocfs2_shutdown_local_alloc() local
418 if (IS_ERR(handle)) { in ocfs2_shutdown_local_alloc()
420 handle = NULL; in ocfs2_shutdown_local_alloc()
551 handle_t *handle; in ocfs2_complete_local_alloc_recovery() local
575 handle = NULL; in ocfs2_complete_local_alloc_recovery()
581 handle->h_sync = 1; in ocfs2_complete_local_alloc_recovery()
771 handle_t *handle, in ocfs2_free_local_alloc_bits() argument
1257 handle = NULL; in ocfs2_local_alloc_slide_window()
[all …]
A Drefcounttree.c578 if (IS_ERR(handle)) { in ocfs2_create_refcount_tree()
579 ret = PTR_ERR(handle); in ocfs2_create_refcount_tree()
714 if (IS_ERR(handle)) { in ocfs2_set_refcount_tree()
815 if (IS_ERR(handle)) { in ocfs2_remove_refcount_tree()
3175 handle_t *handle; in ocfs2_make_clusters_writable() local
3654 handle_t *handle; in ocfs2_add_refcount_flag() local
3726 handle_t *handle; in ocfs2_change_ctime() local
3867 handle_t *handle; in ocfs2_add_refcounted_extent() local
3924 handle_t *handle; in ocfs2_duplicate_inline_data() local
4020 handle_t *handle; in ocfs2_complete_reflink() local
[all …]
A Dsuballoc.c96 handle_t *handle,
466 handle_t *handle, in ocfs2_block_group_claim_bits() argument
686 if (IS_ERR(handle)) { in ocfs2_block_group_alloc()
688 handle = NULL; in ocfs2_block_group_alloc()
755 if (handle) in ocfs2_block_group_alloc()
2083 handle, in ocfs2_claim_metadata()
2170 handle = NULL; in ocfs2_find_new_inode_loc()
2192 if (handle) in ocfs2_find_new_inode_loc()
2293 handle, in ocfs2_claim_new_inode()
2400 handle, in __ocfs2_claim_clusters()
[all …]
A Dquota_local.c98 handle_t *handle; in ocfs2_modify_bh() local
103 if (IS_ERR(handle)) { in ocfs2_modify_bh()
104 status = PTR_ERR(handle); in ocfs2_modify_bh()
466 handle_t *handle; in ocfs2_recover_local_quota_file() local
518 if (IS_ERR(handle)) { in ocfs2_recover_local_quota_file()
592 handle_t *handle; in ocfs2_finish_quota_recovery() local
649 if (IS_ERR(handle)) { in ocfs2_finish_quota_recovery()
971 handle_t *handle; in ocfs2_local_quota_add_chunk() local
1000 if (IS_ERR(handle)) { in ocfs2_local_quota_add_chunk()
1106 handle_t *handle; in ocfs2_extend_local_quota_file() local
[all …]

Completed in 139 milliseconds

1234