/Linux-v5.10/fs/ |
D | inode.c | 362 WARN_ON(!(inode->i_state & I_LINKABLE)); in inc_nlink() 433 inode->i_state |= I_REFERENCED; in inode_lru_list_add() 443 if (!(inode->i_state & (I_DIRTY_ALL | I_SYNC | in inode_add_lru() 536 BUG_ON(!(inode->i_state & I_FREEING)); in clear_inode() 537 BUG_ON(inode->i_state & I_CLEAR); in clear_inode() 540 inode->i_state = I_FREEING | I_CLEAR; in clear_inode() 561 BUG_ON(!(inode->i_state & I_FREEING)); in evict() 591 wake_up_bit(&inode->i_state, __I_NEW); in evict() 592 BUG_ON(inode->i_state != (I_FREEING | I_CLEAR)); in evict() 639 if (inode->i_state & (I_NEW | I_FREEING | I_WILL_FREE)) { in evict_inodes() [all …]
|
D | fs-writeback.c | 148 inode->i_state &= ~I_SYNC_QUEUED; in inode_io_list_del_locked() 395 if (unlikely(inode->i_state & I_FREEING)) in inode_switch_wbs_work_fn() 451 smp_store_release(&inode->i_state, inode->i_state & ~I_WB_SWITCH); in inode_switch_wbs_work_fn() 497 if (inode->i_state & I_WB_SWITCH) in inode_switch_wbs() 520 inode->i_state & (I_WB_SWITCH | I_FREEING) || in inode_switch_wbs() 525 inode->i_state |= I_WB_SWITCH; in inode_switch_wbs() 1190 inode->i_state &= ~I_SYNC_QUEUED; in redirty_tail_locked() 1210 inode->i_state &= ~I_SYNC; in inode_sync_complete() 1215 wake_up_bit(&inode->i_state, __I_SYNC); in inode_sync_complete() 1257 inode->i_state |= I_SYNC_QUEUED; in move_expired_inodes() [all …]
|
D | drop_caches.c | 29 if ((inode->i_state & (I_FREEING|I_WILL_FREE|I_NEW)) || in drop_pagecache_sb()
|
/Linux-v5.10/fs/nilfs2/ |
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() 530 if (!test_bit(NILFS_I_GCINODE, &ii->i_state)) in nilfs_iget_test() 542 NILFS_I(inode)->i_state = BIT(NILFS_I_GCINODE); in nilfs_iget_set() 582 if (!(inode->i_state & I_NEW)) in nilfs_iget() 606 if (!(inode->i_state & I_NEW)) in nilfs_iget_for_gc() 667 if (test_and_clear_bit(NILFS_I_NEW, &ii->i_state)) in nilfs_update_inode() 670 set_bit(NILFS_I_INODE_SYNC, &ii->i_state); in nilfs_update_inode() [all …]
|
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()
|
D | segment.c | 509 if (test_bit(NILFS_I_GCINODE, &ii->i_state)) in nilfs_segctor_end_finfo() 784 } else if (test_bit(NILFS_I_DIRTY, &ii->i_state)) { in nilfs_dispose_list() 785 set_bit(NILFS_I_QUEUED, &ii->i_state); in nilfs_dispose_list() 931 if (test_bit(NILFS_I_BMAP, &ii->i_state)) { in nilfs_fill_in_file_bmap() 947 set_bit(NILFS_I_COLLECTED, &ii->i_state); in nilfs_segctor_fill_in_file_bmap() 983 if (test_bit(NILFS_I_COLLECTED, &ii->i_state)) in nilfs_redirty_inodes() 984 clear_bit(NILFS_I_COLLECTED, &ii->i_state); in nilfs_redirty_inodes() 993 if (!test_and_clear_bit(NILFS_I_COLLECTED, &ii->i_state)) in nilfs_drop_collected_inodes() 996 clear_bit(NILFS_I_INODE_SYNC, &ii->i_state); in nilfs_drop_collected_inodes() 997 set_bit(NILFS_I_UPDATED, &ii->i_state); in nilfs_drop_collected_inodes() [all …]
|
D | ifile.c | 190 if (!(ifile->i_state & I_NEW)) in nilfs_ifile_read()
|
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-v5.10/drivers/target/iscsi/ |
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()
|
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() 907 cmd->i_state = ISTATE_SEND_STATUS; in iscsit_execute_cmd() 910 cmd->i_state); in iscsit_execute_cmd() 958 iscsit_add_cmd_to_response_queue(cmd, cmd->conn, cmd->i_state); in iscsit_execute_cmd() 964 cmd->i_state); in iscsit_execute_cmd() [all …]
|
D | iscsi_target.c | 479 return iscsit_add_cmd_to_response_queue(cmd, cmd->conn, cmd->i_state); in iscsit_queue_rsp() 814 cmd->i_state = ISTATE_SEND_REJECT; in iscsit_add_reject() 815 iscsit_add_cmd_to_response_queue(cmd, conn, cmd->i_state); in iscsit_add_reject() 853 cmd->i_state = ISTATE_SEND_REJECT; in iscsit_add_reject_from_cmd() 854 iscsit_add_cmd_to_response_queue(cmd, conn, cmd->i_state); in iscsit_add_reject_from_cmd() 964 if ((cmd->i_state == ISTATE_SENT_STATUS) && in iscsit_ack_from_expstatsn() 966 cmd->i_state = ISTATE_REMOVE; in iscsit_ack_from_expstatsn() 1125 cmd->i_state = ISTATE_NEW_CMD; in iscsit_setup_scsi_cmd() 1333 cmd->i_state = ISTATE_REMOVE; in iscsit_get_immediate_data() 1334 iscsit_add_cmd_to_immediate_queue(cmd, cmd->conn, cmd->i_state); in iscsit_get_immediate_data() [all …]
|
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()
|
D | iscsi_target_configfs.c | 1342 return cmd->i_state; in iscsi_get_cmd_state() 1369 cmd->i_state = ISTATE_SEND_DATAIN; in lio_queue_data_in() 1389 cmd->i_state = ISTATE_SEND_STATUS; in lio_queue_status() 1392 return iscsit_add_cmd_to_response_queue(cmd, conn, cmd->i_state); in lio_queue_status() 1401 cmd->i_state = ISTATE_SEND_TASKMGTRSP; in lio_queue_tm_rsp() 1402 iscsit_add_cmd_to_response_queue(cmd, cmd->conn, cmd->i_state); in lio_queue_tm_rsp()
|
/Linux-v5.10/fs/ext4/ |
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-v5.10/fs/xfs/libxfs/ |
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-v5.10/fs/jfs/ |
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-v5.10/fs/coda/ |
D | cnode.c | 72 if (inode->i_state & I_NEW) { in coda_iget() 146 BUG_ON(inode->i_state & I_NEW); in coda_fid_to_inode()
|
/Linux-v5.10/fs/overlayfs/ |
D | util.c | 662 if (!(inode->i_state & I_OVL_INUSE)) { in ovl_inuse_trylock() 663 inode->i_state |= I_OVL_INUSE; in ovl_inuse_trylock() 677 WARN_ON(!(inode->i_state & I_OVL_INUSE)); in ovl_inuse_unlock() 678 inode->i_state &= ~I_OVL_INUSE; in ovl_inuse_unlock() 689 inuse = (inode->i_state & I_OVL_INUSE); in ovl_is_inuse()
|
D | inode.c | 895 if (!(trap->i_state & I_NEW)) { in ovl_get_trap_inode() 982 if (!(inode->i_state & I_NEW)) { in ovl_get_inode() 1037 if (inode->i_state & I_NEW) in ovl_get_inode()
|
/Linux-v5.10/include/linux/ |
D | writeback.h | 206 wait_on_bit(&inode->i_state, __I_NEW, TASK_UNINTERRUPTIBLE); in wait_on_inode() 249 WARN_ON_ONCE(!(inode->i_state & I_CLEAR)); in inode_detach_wb()
|
/Linux-v5.10/fs/orangefs/ |
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-v5.10/include/trace/events/ |
D | writeback.h | 114 __entry->state = inode->i_state; 722 __entry->state = inode->i_state; 796 __entry->state = inode->i_state; 848 __entry->state = inode->i_state;
|
/Linux-v5.10/drivers/infiniband/ulp/isert/ |
D | ib_isert.c | 1072 cmd->i_state = ISTATE_RECEIVED_LAST_DATAOUT; in isert_handle_scsi_cmd() 1619 cmd->i_state = ISTATE_RECEIVED_LAST_DATAOUT; in isert_rdma_read_done() 1642 isert_dbg("Cmd %p i_state %d\n", isert_cmd, cmd->i_state); in isert_do_control_comp() 1644 switch (cmd->i_state) { in isert_do_control_comp() 1650 cmd->i_state = ISTATE_SENT_STATUS; in isert_do_control_comp() 1658 isert_err("Unknown i_state %d\n", cmd->i_state); in isert_do_control_comp() 1698 switch (isert_cmd->iscsi_cmd->i_state) { in isert_send_done() 1709 isert_cmd->iscsi_cmd->i_state = ISTATE_SENT_STATUS; in isert_send_done() 2505 if (cmd->i_state != ISTATE_REMOVE) { in isert_put_unsol_pending_cmds()
|
/Linux-v5.10/fs/ocfs2/ |
D | inode.c | 159 trace_ocfs2_iget5_locked(inode->i_state); in ocfs2_iget() 160 if (inode->i_state & I_NEW) { in ocfs2_iget() 1236 inode->i_state |= I_WILL_FREE; in ocfs2_drop_inode() 1240 WARN_ON(inode->i_state & I_NEW); in ocfs2_drop_inode() 1241 inode->i_state &= ~I_WILL_FREE; in ocfs2_drop_inode()
|
/Linux-v5.10/fs/ceph/ |
D | inode.c | 65 ceph_vinop(inode), inode, !!(inode->i_state & I_NEW)); in ceph_get_inode() 96 if (inode->i_state & I_NEW) in ceph_get_snapdir() 1336 if (in->i_state & I_NEW) in ceph_fill_trace() 1341 if (in->i_state & I_NEW) in ceph_fill_trace() 1527 if (in->i_state & I_NEW) { in readdir_prepopulate_inodes_only() 1531 } else if (in->i_state & I_NEW) { in readdir_prepopulate_inodes_only() 1736 if (in->i_state & I_NEW) { in ceph_readdir_prepopulate() 1746 if (in->i_state & I_NEW) in ceph_readdir_prepopulate()
|