/Linux-v6.1/fs/ |
D | fs-writeback.c | 284 inode->i_state &= ~I_SYNC_QUEUED; in inode_cgwb_move_to_attached() 386 if (unlikely(inode->i_state & (I_FREEING | I_WILL_FREE))) in inode_do_switch_wbs() 430 if (inode->i_state & I_DIRTY_ALL) { in inode_do_switch_wbs() 456 smp_store_release(&inode->i_state, inode->i_state & ~I_WB_SWITCH); in inode_do_switch_wbs() 538 inode->i_state & (I_WB_SWITCH | I_FREEING | I_WILL_FREE) || in inode_prepare_wbs_switch() 543 inode->i_state |= I_WB_SWITCH; in inode_prepare_wbs_switch() 565 if (inode->i_state & I_WB_SWITCH) in inode_switch_wbs() 1133 inode->i_state &= ~I_SYNC_QUEUED; in inode_cgwb_move_to_attached() 1239 inode->i_state &= ~I_SYNC_QUEUED; in inode_io_list_del() 1305 inode->i_state &= ~I_SYNC_QUEUED; in redirty_tail_locked() [all …]
|
D | inode.c | 387 WARN_ON(!(inode->i_state & I_LINKABLE)); in inc_nlink() 456 if (inode->i_state & (I_DIRTY_ALL | I_SYNC | I_FREEING | I_WILL_FREE)) in __inode_add_lru() 468 inode->i_state |= I_REFERENCED; in __inode_add_lru() 622 BUG_ON(!(inode->i_state & I_FREEING)); in clear_inode() 623 BUG_ON(inode->i_state & I_CLEAR); in clear_inode() 626 inode->i_state = I_FREEING | I_CLEAR; in clear_inode() 647 BUG_ON(!(inode->i_state & I_FREEING)); in evict() 675 wake_up_bit(&inode->i_state, __I_NEW); in evict() 676 BUG_ON(inode->i_state != (I_FREEING | I_CLEAR)); in evict() 723 if (inode->i_state & (I_NEW | I_FREEING | I_WILL_FREE)) { in evict_inodes() [all …]
|
D | drop_caches.c | 30 if ((inode->i_state & (I_FREEING|I_WILL_FREE|I_NEW)) || in drop_pagecache_sb()
|
/Linux-v6.1/fs/nilfs2/ |
D | inode.c | 344 ii->i_state = BIT(NILFS_I_NEW); in nilfs_new_inode() 376 set_bit(NILFS_I_BMAP, &ii->i_state); in nilfs_new_inode() 407 if (inode->i_state & I_NEW) in nilfs_new_inode() 478 set_bit(NILFS_I_BMAP, &ii->i_state); in nilfs_read_inode_common() 548 if (test_bit(NILFS_I_BTNC, &ii->i_state)) { in nilfs_iget_test() 554 if (test_bit(NILFS_I_SHADOW, &ii->i_state)) { in nilfs_iget_test() 561 if (!test_bit(NILFS_I_GCINODE, &ii->i_state)) in nilfs_iget_test() 578 NILFS_I(inode)->i_state = BIT(NILFS_I_GCINODE); in nilfs_iget_set() 580 NILFS_I(inode)->i_state |= BIT(NILFS_I_BTNC); in nilfs_iget_set() 582 NILFS_I(inode)->i_state |= BIT(NILFS_I_SHADOW); in nilfs_iget_set() [all …]
|
D | mdt.h | 95 if (!test_bit(NILFS_I_DIRTY, &NILFS_I(inode)->i_state)) in nilfs_mdt_mark_dirty() 96 set_bit(NILFS_I_DIRTY, &NILFS_I(inode)->i_state); in nilfs_mdt_mark_dirty() 101 clear_bit(NILFS_I_DIRTY, &NILFS_I(inode)->i_state); in nilfs_mdt_clear_dirty()
|
D | segment.c | 504 if (test_bit(NILFS_I_GCINODE, &ii->i_state)) in nilfs_segctor_end_finfo() 782 } else if (test_bit(NILFS_I_DIRTY, &ii->i_state)) { in nilfs_dispose_list() 783 set_bit(NILFS_I_QUEUED, &ii->i_state); in nilfs_dispose_list() 935 if (test_bit(NILFS_I_BMAP, &ii->i_state)) { in nilfs_fill_in_file_bmap() 951 set_bit(NILFS_I_COLLECTED, &ii->i_state); in nilfs_segctor_fill_in_file_bmap() 987 if (test_bit(NILFS_I_COLLECTED, &ii->i_state)) in nilfs_redirty_inodes() 988 clear_bit(NILFS_I_COLLECTED, &ii->i_state); in nilfs_redirty_inodes() 997 if (!test_and_clear_bit(NILFS_I_COLLECTED, &ii->i_state)) in nilfs_drop_collected_inodes() 1000 clear_bit(NILFS_I_INODE_SYNC, &ii->i_state); in nilfs_drop_collected_inodes() 1001 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()
|
/Linux-v6.1/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() 905 cmd->i_state = ISTATE_SEND_STATUS; in iscsit_execute_cmd() 908 cmd->i_state); in iscsit_execute_cmd() 956 iscsit_add_cmd_to_response_queue(cmd, cmd->conn, cmd->i_state); in iscsit_execute_cmd() 962 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() 823 cmd->i_state = ISTATE_SEND_REJECT; in iscsit_add_reject() 824 iscsit_add_cmd_to_response_queue(cmd, conn, cmd->i_state); in iscsit_add_reject() 862 cmd->i_state = ISTATE_SEND_REJECT; in iscsit_add_reject_from_cmd() 863 iscsit_add_cmd_to_response_queue(cmd, conn, cmd->i_state); in iscsit_add_reject_from_cmd() 973 if ((cmd->i_state == ISTATE_SENT_STATUS) && in iscsit_ack_from_expstatsn() 975 cmd->i_state = ISTATE_REMOVE; in iscsit_ack_from_expstatsn() 1157 cmd->i_state = ISTATE_NEW_CMD; in iscsit_setup_scsi_cmd() 1372 cmd->i_state = ISTATE_REMOVE; in iscsit_get_immediate_data() 1373 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 | 1365 return cmd->i_state; in iscsi_get_cmd_state() 1392 cmd->i_state = ISTATE_SEND_DATAIN; in lio_queue_data_in() 1412 cmd->i_state = ISTATE_SEND_STATUS; in lio_queue_status() 1415 return iscsit_add_cmd_to_response_queue(cmd, conn, cmd->i_state); in lio_queue_status() 1424 cmd->i_state = ISTATE_SEND_TASKMGTRSP; in lio_queue_tm_rsp() 1425 iscsit_add_cmd_to_response_queue(cmd, cmd->conn, cmd->i_state); in lio_queue_tm_rsp()
|
/Linux-v6.1/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-v6.1/fs/fscache/ |
D | io.c | 186 if (!(inode->i_state & I_PINNING_FSCACHE_WB)) { in fscache_dirty_folio() 188 if (!(inode->i_state & I_PINNING_FSCACHE_WB)) { in fscache_dirty_folio() 189 inode->i_state |= I_PINNING_FSCACHE_WB; in fscache_dirty_folio()
|
/Linux-v6.1/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-v6.1/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-v6.1/fs/coda/ |
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-v6.1/include/linux/ |
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-v6.1/fs/overlayfs/ |
D | util.c | 765 if (!(inode->i_state & I_OVL_INUSE)) { in ovl_inuse_trylock() 766 inode->i_state |= I_OVL_INUSE; in ovl_inuse_trylock() 780 WARN_ON(!(inode->i_state & I_OVL_INUSE)); in ovl_inuse_unlock() 781 inode->i_state &= ~I_OVL_INUSE; in ovl_inuse_unlock() 792 inuse = (inode->i_state & I_OVL_INUSE); in ovl_is_inuse()
|
/Linux-v6.1/fs/ceph/ |
D | cache.c | 29 if (!(inode->i_state & I_NEW)) in ceph_fscache_register_inode_cookie()
|
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() 117 if ((inode->i_state & I_NEW)) in ceph_get_snapdir() 573 if (inode->i_state & I_PINNING_FSCACHE_WB) in ceph_evict_inode() 788 if (inode->i_state & I_NEW) { in ceph_fill_inode() 1372 if (in->i_state & I_NEW) in ceph_fill_trace() 1378 if (in->i_state & I_NEW) in ceph_fill_trace() 1566 if (in->i_state & I_NEW) { in readdir_prepopulate_inodes_only() 1570 } else if (in->i_state & I_NEW) { in readdir_prepopulate_inodes_only() [all …]
|
/Linux-v6.1/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-v6.1/include/trace/events/ |
D | writeback.h | 115 __entry->state = inode->i_state; 723 __entry->state = inode->i_state; 762 __entry->state = inode->i_state; 814 __entry->state = inode->i_state;
|
/Linux-v6.1/drivers/infiniband/ulp/isert/ |
D | ib_isert.c | 1098 cmd->i_state = ISTATE_RECEIVED_LAST_DATAOUT; in isert_handle_scsi_cmd() 1645 cmd->i_state = ISTATE_RECEIVED_LAST_DATAOUT; in isert_rdma_read_done() 1668 isert_dbg("Cmd %p i_state %d\n", isert_cmd, cmd->i_state); in isert_do_control_comp() 1670 switch (cmd->i_state) { in isert_do_control_comp() 1676 cmd->i_state = ISTATE_SENT_STATUS; in isert_do_control_comp() 1684 isert_err("Unknown i_state %d\n", cmd->i_state); in isert_do_control_comp() 1724 switch (isert_cmd->iscsit_cmd->i_state) { in isert_send_done() 1735 isert_cmd->iscsit_cmd->i_state = ISTATE_SENT_STATUS; in isert_send_done() 2541 if (cmd->i_state != ISTATE_REMOVE) { in isert_put_unsol_pending_cmds()
|
/Linux-v6.1/fs/ocfs2/ |
D | inode.c | 157 trace_ocfs2_iget5_locked(inode->i_state); in ocfs2_iget() 158 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()
|