Home
last modified time | relevance | path

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

/fs/
Dfs-writeback.c53 enum wb_reason reason; /* why was writeback initiated? */ member
919 enum wb_reason reason, struct wb_completion *done) in cgroup_writeback_by_id() argument
973 work->reason = reason; in cgroup_writeback_by_id()
1077 static void wb_start_writeback(struct bdi_writeback *wb, enum wb_reason reason) in wb_start_writeback() argument
1094 wb->start_all_reason = reason; in wb_start_writeback()
1801 enum wb_reason reason) in writeback_inodes_wb() argument
1807 .reason = reason, in writeback_inodes_wb()
1959 .reason = WB_REASON_BACKGROUND, in wb_check_background_flush()
1993 .reason = WB_REASON_PERIODIC, in wb_check_old_data_flush()
2015 .reason = wb->start_all_reason, in wb_check_start_all()
[all …]
Duserfaultfd.c192 unsigned long reason, in userfault_msg() argument
208 if (reason & VM_UFFD_WP) in userfault_msg()
231 unsigned long reason) in userfaultfd_huge_must_wait() argument
253 if (!huge_pte_write(pte) && (reason & VM_UFFD_WP)) in userfaultfd_huge_must_wait()
263 unsigned long reason) in userfaultfd_huge_must_wait() argument
279 unsigned long reason) in userfaultfd_must_wait() argument
352 vm_fault_t handle_userfault(struct vm_fault *vmf, unsigned long reason) in handle_userfault() argument
387 VM_BUG_ON(reason & ~(VM_UFFD_MISSING|VM_UFFD_WP)); in handle_userfault()
388 VM_BUG_ON(!(reason & VM_UFFD_MISSING) ^ !!(reason & VM_UFFD_WP)); in handle_userfault()
460 uwq.msg = userfault_msg(vmf->address, vmf->flags, reason, in handle_userfault()
[all …]
Dfcntl.c726 int fd, int reason, enum pid_type type) in send_sigio_to_task() argument
749 si.si_code = reason; in send_sigio_to_task()
764 BUG_ON((reason < POLL_IN) || ((reason - POLL_IN) >= NSIGPOLL)); in send_sigio_to_task()
765 if (reason - POLL_IN >= NSIGPOLL) in send_sigio_to_task()
768 si.si_band = mangle_poll(band_table[reason - POLL_IN]); in send_sigio_to_task()
/fs/pstore/
Dplatform.c132 static const char *get_reason_str(enum kmsg_dump_reason reason) in get_reason_str() argument
134 switch (reason) { in get_reason_str()
157 static bool pstore_cannot_wait(enum kmsg_dump_reason reason) in pstore_cannot_wait() argument
163 switch (reason) { in pstore_cannot_wait()
389 enum kmsg_dump_reason reason) in pstore_dump() argument
396 why = get_reason_str(reason); in pstore_dump()
400 if (pstore_cannot_wait(reason)) { in pstore_dump()
423 record.reason = reason; in pstore_dump()
462 if (ret == 0 && reason == KMSG_DUMP_OOPS && pstore_is_mounted()) in pstore_dump()
Dram.c388 if (record->reason != KMSG_DUMP_OOPS && in ramoops_pstore_write()
389 record->reason != KMSG_DUMP_PANIC) in ramoops_pstore_write()
393 if (record->reason == KMSG_DUMP_OOPS && !cxt->dump_oops) in ramoops_pstore_write()
/fs/afs/
Dcallback.c215 void __afs_break_callback(struct afs_vnode *vnode, enum afs_cb_break_reason reason) in __afs_break_callback() argument
227 trace_afs_cb_break(&vnode->fid, vnode->cb_break, reason, true); in __afs_break_callback()
229 trace_afs_cb_break(&vnode->fid, vnode->cb_break, reason, false); in __afs_break_callback()
233 void afs_break_callback(struct afs_vnode *vnode, enum afs_cb_break_reason reason) in afs_break_callback() argument
236 __afs_break_callback(vnode, reason); in afs_break_callback()
Dserver.c329 enum afs_server_trace reason) in afs_get_server() argument
333 trace_afs_server(server, u, reason); in afs_get_server()
341 enum afs_server_trace reason) in afs_put_server() argument
352 trace_afs_server(server, usage, reason); in afs_put_server()
/fs/f2fs/
Dcheckpoint.c1279 if ((cpc->reason & CP_UMOUNT) && in update_ckpt_flags()
1284 if (cpc->reason & CP_TRIMMED) in update_ckpt_flags()
1289 if (cpc->reason & CP_UMOUNT) in update_ckpt_flags()
1294 if (cpc->reason & CP_FASTBOOT) in update_ckpt_flags()
1426 if (__remain_node_summaries(cpc->reason)) in do_checkpoint()
1485 if (__remain_node_summaries(cpc->reason)) { in do_checkpoint()
1559 if (cpc->reason != CP_PAUSE) in f2fs_write_checkpoint()
1566 ((cpc->reason & CP_FASTBOOT) || (cpc->reason & CP_SYNC) || in f2fs_write_checkpoint()
1567 ((cpc->reason & CP_DISCARD) && !sbi->discard_blks))) in f2fs_write_checkpoint()
1574 trace_f2fs_write_checkpoint(sbi->sb, cpc->reason, "start block_ops"); in f2fs_write_checkpoint()
[all …]
Df2fs.h205 int reason; member
1692 return (cpc) ? (cpc->reason & CP_UMOUNT) && set : set; in enabled_nat_bits()
1722 int reason = CP_SYNC; in __get_cp_reason() local
1725 reason = CP_FASTBOOT; in __get_cp_reason()
1727 reason = CP_UMOUNT; in __get_cp_reason()
1728 return reason; in __get_cp_reason()
1731 static inline bool __remain_node_summaries(int reason) in __remain_node_summaries() argument
1733 return (reason & (CP_UMOUNT | CP_FASTBOOT)); in __remain_node_summaries()
Dsuper.c1089 .reason = CP_UMOUNT, in f2fs_put_super()
1100 .reason = CP_UMOUNT | CP_TRIMMED, in f2fs_put_super()
1179 cpc.reason = __get_cp_reason(sbi); in f2fs_sync_fs()
1564 cpc.reason = CP_PAUSE; in f2fs_disable_checkpoint()
3723 .reason = CP_UMOUNT, in kill_f2fs_super()
Drecovery.c800 .reason = CP_RECOVERY, in f2fs_recover_fsync_data()
Dsegment.c1854 bool force = (cpc->reason & CP_DISCARD); in add_discard_addrs()
1943 bool force = (cpc->reason & CP_DISCARD); in f2fs_clear_prefree_segments()
2856 cpc.reason = CP_DISCARD; in f2fs_trim_fs()
3920 if (!(cpc->reason & CP_DISCARD)) { in f2fs_flush_sit_entries()
3960 if (cpc->reason & CP_DISCARD) { in f2fs_flush_sit_entries()
Dgc.c1283 cpc.reason = __get_cp_reason(sbi); in f2fs_gc()
/fs/nfsd/
Dnfs4callback.c46 static void nfsd4_mark_cb_fault(struct nfs4_client *, int reason);
908 static void warn_no_callback_path(struct nfs4_client *clp, int reason) in warn_no_callback_path() argument
911 (int)clp->cl_name.len, clp->cl_name.data, reason); in warn_no_callback_path()
914 static void nfsd4_mark_cb_down(struct nfs4_client *clp, int reason) in nfsd4_mark_cb_down() argument
919 warn_no_callback_path(clp, reason); in nfsd4_mark_cb_down()
922 static void nfsd4_mark_cb_fault(struct nfs4_client *clp, int reason) in nfsd4_mark_cb_fault() argument
927 warn_no_callback_path(clp, reason); in nfsd4_mark_cb_fault()
/fs/befs/
DTODO6 * Befs_fs.h has gotten big and messy. No reason not to break it up into
/fs/ntfs/
Dusnjrnl.h171 /*0x28*/USN_REASON_FLAGS reason;/* Reason flags (see above). */ member
/fs/nfs/
Dnfs4trace.h1776 #define show_pnfs_update_layout_reason(reason) \ argument
1777 __print_symbolic(reason, \
1800 enum pnfs_update_layout_reason reason
1802 TP_ARGS(inode, pos, count, iomode, lo, lseg, reason),
1813 __field(enum pnfs_update_layout_reason, reason)
1822 __entry->reason = reason;
1846 show_pnfs_update_layout_reason(__entry->reason)
/fs/ocfs2/
Dinode.c893 int status = 0, reason = 0; in ocfs2_query_inode_wipe() local
906 reason = 1; in ocfs2_query_inode_wipe()
928 reason = 2; in ocfs2_query_inode_wipe()
965 reason = 3; in ocfs2_query_inode_wipe()
977 trace_ocfs2_query_inode_wipe_end(status, reason); in ocfs2_query_inode_wipe()
Docfs2_trace.h587 TP_PROTO(int status, int reason, int err),
588 TP_ARGS(status, reason, err),
591 __field(int, reason)
596 __entry->reason = reason;
600 __entry->reason, __entry->err)
Dalloc.c4784 enum ocfs2_alloc_restarted reason = RESTART_NONE; in ocfs2_add_clusters_in_btree() local
4811 reason = RESTART_META; in ocfs2_add_clusters_in_btree()
4818 reason = RESTART_META; in ocfs2_add_clusters_in_btree()
4861 reason = RESTART_TRANS; in ocfs2_add_clusters_in_btree()
4879 *reason_ret = reason; in ocfs2_add_clusters_in_btree()
4880 trace_ocfs2_add_clusters_in_btree_ret(status, reason, err); in ocfs2_add_clusters_in_btree()
/fs/xfs/libxfs/
Dxfs_alloc_btree.c114 int reason) in xfs_allocbt_update_lastrec() argument
124 switch (reason) { in xfs_allocbt_update_lastrec()
Dxfs_btree.h120 int ptr, int reason);
/fs/xfs/
Dxfs_inode.h479 enum layout_break_reason reason);
Dxfs_file.c764 enum layout_break_reason reason) in xfs_break_layouts() argument
773 switch (reason) { in xfs_break_layouts()
/fs/jffs2/
DREADME.Locking48 The reason that the i_sem itself isn't used for this purpose is to