/linux/fs/ |
A D | inode.c | 654 inode->i_state |= I_FREEING; in evict_inodes() 712 inode->i_state |= I_FREEING; in invalidate_inodes() 801 inode->i_state |= I_FREEING; in inode_lru_isolate() 948 inode->i_state = 0; in new_inode_pseudo() 1025 inode->i_state &= ~I_NEW; in discard_new_inode() 1125 inode->i_state |= I_NEW; in inode_insert5() 1167 new->i_state = 0; in iget5_locked() 1219 inode->i_state = I_NEW; in iget_locked() 1602 inode->i_state |= I_CREATING; in insert_inode_locked4() 1652 state = inode->i_state; in iput_final() [all …]
|
A D | fs-writeback.c | 283 inode->i_state &= ~I_SYNC_QUEUED; in inode_cgwb_move_to_attached() 453 smp_store_release(&inode->i_state, inode->i_state & ~I_WB_SWITCH); in inode_do_switch_wbs() 540 inode->i_state |= I_WB_SWITCH; in inode_prepare_wbs_switch() 1359 inode->i_state &= ~I_SYNC; in inode_sync_complete() 1537 if (inode->i_state & I_FREEING) in requeue_inode() 1652 inode->i_state &= ~dirty; in __writeback_single_inode() 1703 if (inode->i_state & I_SYNC) { in writeback_single_inode() 1726 inode->i_state |= I_SYNC; in writeback_single_inode() 1863 if (inode->i_state & I_SYNC) { in writeback_sb_inodes() 1870 inode->i_state |= I_SYNC; in writeback_sb_inodes() [all …]
|
A D | drop_caches.c | 30 if ((inode->i_state & (I_FREEING|I_WILL_FREE|I_NEW)) || in drop_pagecache_sb()
|
/linux/fs/nilfs2/ |
A D | inode.c | 342 ii->i_state = BIT(NILFS_I_NEW); in nilfs_new_inode() 360 set_bit(NILFS_I_BMAP, &ii->i_state); in nilfs_new_inode() 391 if (inode->i_state & I_NEW) in nilfs_new_inode() 460 set_bit(NILFS_I_BMAP, &ii->i_state); in nilfs_read_inode_common() 582 if (!(inode->i_state & I_NEW)) in nilfs_iget() 606 if (!(inode->i_state & I_NEW)) in nilfs_iget_for_gc() 690 if (!test_bit(NILFS_I_BMAP, &ii->i_state)) in nilfs_truncate_bmap() 722 if (!test_bit(NILFS_I_BMAP, &ii->i_state)) in nilfs_truncate() 762 if (test_bit(NILFS_I_BMAP, &ii->i_state)) in nilfs_clear_inode() 896 test_bit(NILFS_I_BUSY, &ii->i_state); in nilfs_inode_dirty() [all …]
|
A D | mdt.h | 97 if (!test_bit(NILFS_I_DIRTY, &NILFS_I(inode)->i_state)) in nilfs_mdt_mark_dirty() 98 set_bit(NILFS_I_DIRTY, &NILFS_I(inode)->i_state); in nilfs_mdt_mark_dirty() 103 clear_bit(NILFS_I_DIRTY, &NILFS_I(inode)->i_state); in nilfs_mdt_clear_dirty()
|
A D | segment.c | 504 if (test_bit(NILFS_I_GCINODE, &ii->i_state)) in nilfs_segctor_end_finfo() 780 set_bit(NILFS_I_QUEUED, &ii->i_state); in nilfs_dispose_list() 926 if (test_bit(NILFS_I_BMAP, &ii->i_state)) { in nilfs_fill_in_file_bmap() 942 set_bit(NILFS_I_COLLECTED, &ii->i_state); in nilfs_segctor_fill_in_file_bmap() 992 set_bit(NILFS_I_UPDATED, &ii->i_state); in nilfs_drop_collected_inodes() 1165 clear_bit(NILFS_I_DIRTY, &ii->i_state); in nilfs_segctor_collect_blocks() 1249 if (!test_bit(NILFS_I_BUSY, &ii->i_state)) in nilfs_segctor_collect_blocks() 1960 clear_bit(NILFS_I_QUEUED, &ii->i_state); in nilfs_segctor_collect_dirty_files() 1961 set_bit(NILFS_I_BUSY, &ii->i_state); in nilfs_segctor_collect_dirty_files() 1979 test_bit(NILFS_I_DIRTY, &ii->i_state)) in nilfs_segctor_drop_written_files() [all …]
|
A D | ifile.c | 190 if (!(ifile->i_state & I_NEW)) in nilfs_ifile_read()
|
A D | mdt.c | 394 set_bit(NILFS_I_DIRTY, &ii->i_state); in nilfs_mdt_fetch_dirty() 397 return test_bit(NILFS_I_DIRTY, &ii->i_state); in nilfs_mdt_fetch_dirty()
|
/linux/drivers/target/iscsi/ |
A D | iscsi_target_tmr.c | 221 cmd->i_state = ISTATE_SEND_NOPIN; in iscsit_task_reassign_complete_nop_out() 222 iscsit_add_cmd_to_response_queue(cmd, conn, cmd->i_state); in iscsit_task_reassign_complete_nop_out() 260 cmd->i_state = ISTATE_SEND_STATUS; in iscsit_task_reassign_complete_write() 261 iscsit_add_cmd_to_response_queue(cmd, conn, cmd->i_state); in iscsit_task_reassign_complete_write() 346 cmd->i_state = ISTATE_SEND_DATAIN; in iscsit_task_reassign_complete_read() 347 iscsit_add_cmd_to_response_queue(cmd, conn, cmd->i_state); in iscsit_task_reassign_complete_read() 357 cmd->i_state = ISTATE_SEND_STATUS; in iscsit_task_reassign_complete_none() 358 iscsit_add_cmd_to_response_queue(cmd, conn, cmd->i_state); in iscsit_task_reassign_complete_none() 390 cmd->i_state = ISTATE_SEND_STATUS; in iscsit_task_reassign_complete_scsi_cmnd() 391 iscsit_add_cmd_to_response_queue(cmd, conn, cmd->i_state); in iscsit_task_reassign_complete_scsi_cmnd()
|
A D | iscsi_target_erl1.c | 428 cmd->i_state = ISTATE_SEND_DATAIN; in iscsit_handle_recovery_datain() 429 iscsit_add_cmd_to_response_queue(cmd, conn, cmd->i_state); in iscsit_handle_recovery_datain() 512 if (cmd->i_state == ISTATE_SEND_DATAIN) { in iscsit_handle_status_snack() 523 cmd->i_state = ISTATE_SEND_STATUS_RECOVERY; in iscsit_handle_status_snack() 524 iscsit_add_cmd_to_response_queue(cmd, conn, cmd->i_state); in iscsit_handle_status_snack() 863 cmd->i_state = cmd->deferred_i_state; in iscsit_execute_ooo_cmdsns() 905 cmd->i_state = ISTATE_SEND_STATUS; in iscsit_execute_cmd() 908 cmd->i_state); in iscsit_execute_cmd() 962 cmd->i_state); in iscsit_execute_cmd() 1019 cmd->deferred_i_state = cmd->i_state; in iscsit_handle_ooo_cmdsn() [all …]
|
A D | iscsi_target.c | 814 cmd->i_state = ISTATE_SEND_REJECT; in iscsit_add_reject() 853 cmd->i_state = ISTATE_SEND_REJECT; in iscsit_add_reject_from_cmd() 966 cmd->i_state = ISTATE_REMOVE; in iscsit_ack_from_expstatsn() 1125 cmd->i_state = ISTATE_NEW_CMD; in iscsit_setup_scsi_cmd() 1334 cmd->i_state = ISTATE_REMOVE; in iscsit_get_immediate_data() 1769 cmd->i_state = ISTATE_SEND_NOPIN; in iscsit_setup_nop_out() 1804 cmd->i_state); in iscsit_process_nop_out() 1827 cmd_p->i_state = ISTATE_REMOVE; in iscsit_process_nop_out() 2407 cmd->i_state); in iscsit_logout_closeconnection() 3046 cmd->i_state = want_response ? in iscsit_send_unsolicited_nopin() [all …]
|
A D | iscsi_target_configfs.c | 1313 return cmd->i_state; in iscsi_get_cmd_state() 1340 cmd->i_state = ISTATE_SEND_DATAIN; in lio_queue_data_in() 1360 cmd->i_state = ISTATE_SEND_STATUS; in lio_queue_status() 1363 return iscsit_add_cmd_to_response_queue(cmd, conn, cmd->i_state); in lio_queue_status() 1372 cmd->i_state = ISTATE_SEND_TASKMGTRSP; in lio_queue_tm_rsp() 1373 iscsit_add_cmd_to_response_queue(cmd, cmd->conn, cmd->i_state); in lio_queue_tm_rsp()
|
A D | iscsi_target_erl2.c | 381 cmd->deferred_i_state = cmd->i_state; in iscsit_prepare_cmds_for_reallegiance() 382 cmd->i_state = ISTATE_IN_CONNECTION_RECOVERY; in iscsit_prepare_cmds_for_reallegiance()
|
/linux/fs/ext4/ |
A D | fsync.c | 87 if (!(inode->i_state & I_DIRTY_ALL)) in ext4_fsync_nojournal() 89 if (datasync && !(inode->i_state & I_DIRTY_DATASYNC)) in ext4_fsync_nojournal()
|
/linux/fs/xfs/libxfs/ |
A D | xfs_trans_inode.c | 113 if (inode->i_state & I_DIRTY_TIME) { in xfs_trans_log_inode() 115 inode->i_state &= ~I_DIRTY_TIME; in xfs_trans_log_inode()
|
/linux/fs/jfs/ |
A D | file.c | 29 if (!(inode->i_state & I_DIRTY_ALL) || in jfs_fsync() 30 (datasync && !(inode->i_state & I_DIRTY_DATASYNC))) { in jfs_fsync()
|
/linux/fs/coda/ |
A D | cnode.c | 73 if (inode->i_state & I_NEW) { in coda_iget() 151 BUG_ON(inode->i_state & I_NEW); in coda_fid_to_inode()
|
/linux/fs/overlayfs/ |
A D | util.c | 737 if (!(inode->i_state & I_OVL_INUSE)) { in ovl_inuse_trylock() 738 inode->i_state |= I_OVL_INUSE; in ovl_inuse_trylock() 752 WARN_ON(!(inode->i_state & I_OVL_INUSE)); in ovl_inuse_unlock() 753 inode->i_state &= ~I_OVL_INUSE; in ovl_inuse_unlock() 764 inuse = (inode->i_state & I_OVL_INUSE); in ovl_is_inuse()
|
/linux/include/linux/ |
A D | writeback.h | 202 wait_on_bit(&inode->i_state, __I_NEW, TASK_UNINTERRUPTIBLE); in wait_on_inode() 246 WARN_ON_ONCE(!(inode->i_state & I_CLEAR)); in inode_detach_wb()
|
/linux/fs/orangefs/ |
A D | orangefs-utils.c | 250 orangefs_inode->attr_valid || inode->i_state & I_DIRTY_PAGES) { in orangefs_inode_getattr() 284 orangefs_inode->attr_valid || inode->i_state & I_DIRTY_PAGES) { in orangefs_inode_getattr() 290 if (inode->i_state & I_DIRTY_PAGES) { in orangefs_inode_getattr()
|
/linux/include/trace/events/ |
A D | writeback.h | 115 __entry->state = inode->i_state; 723 __entry->state = inode->i_state; 790 __entry->state = inode->i_state; 842 __entry->state = inode->i_state;
|
/linux/fs/ceph/ |
A D | inode.c | 68 ceph_vinop(inode), inode, !!(inode->i_state & I_NEW)); in ceph_get_inode() 93 if (!(inode->i_state & I_NEW) && !S_ISDIR(inode->i_mode)) { in ceph_get_snapdir() 108 if (inode->i_state & I_NEW) { in ceph_get_snapdir() 778 if (inode->i_state & I_NEW) { in ceph_fill_inode() 1360 if (in->i_state & I_NEW) in ceph_fill_trace() 1366 if (in->i_state & I_NEW) in ceph_fill_trace() 1552 if (in->i_state & I_NEW) { in readdir_prepopulate_inodes_only() 1556 } else if (in->i_state & I_NEW) { in readdir_prepopulate_inodes_only() 1757 if (in->i_state & I_NEW) { in ceph_readdir_prepopulate() 1767 if (in->i_state & I_NEW) in ceph_readdir_prepopulate()
|
/linux/drivers/infiniband/ulp/isert/ |
A D | ib_isert.c | 1097 cmd->i_state = ISTATE_RECEIVED_LAST_DATAOUT; in isert_handle_scsi_cmd() 1644 cmd->i_state = ISTATE_RECEIVED_LAST_DATAOUT; in isert_rdma_read_done() 1667 isert_dbg("Cmd %p i_state %d\n", isert_cmd, cmd->i_state); in isert_do_control_comp() 1669 switch (cmd->i_state) { in isert_do_control_comp() 1675 cmd->i_state = ISTATE_SENT_STATUS; in isert_do_control_comp() 1683 isert_err("Unknown i_state %d\n", cmd->i_state); in isert_do_control_comp() 1723 switch (isert_cmd->iscsi_cmd->i_state) { in isert_send_done() 1734 isert_cmd->iscsi_cmd->i_state = ISTATE_SENT_STATUS; in isert_send_done() 2540 if (cmd->i_state != ISTATE_REMOVE) { in isert_put_unsol_pending_cmds()
|
/linux/fs/ocfs2/ |
A D | inode.c | 156 trace_ocfs2_iget5_locked(inode->i_state); in ocfs2_iget() 157 if (inode->i_state & I_NEW) { in ocfs2_iget() 1234 inode->i_state |= I_WILL_FREE; in ocfs2_drop_inode() 1238 WARN_ON(inode->i_state & I_NEW); in ocfs2_drop_inode() 1239 inode->i_state &= ~I_WILL_FREE; in ocfs2_drop_inode()
|
/linux/fs/afs/ |
A D | inode.c | 319 if (vnode->vfs_inode.i_state & I_NEW) { in afs_fetch_status_success() 466 if (!(inode->i_state & I_NEW)) { in afs_iget() 526 BUG_ON(!(inode->i_state & I_NEW)); in afs_root_iget()
|