/linux-6.6.21/fs/ |
D | fs-writeback.c | 124 WARN_ON_ONCE(inode->i_state & I_FREEING); in inode_io_list_move_locked() 284 WARN_ON_ONCE(inode->i_state & I_FREEING); in inode_cgwb_move_to_attached() 286 inode->i_state &= ~I_SYNC_QUEUED; in inode_cgwb_move_to_attached() 388 if (unlikely(inode->i_state & (I_FREEING | I_WILL_FREE))) in inode_do_switch_wbs() 432 if (inode->i_state & I_DIRTY_ALL) { in inode_do_switch_wbs() 458 smp_store_release(&inode->i_state, inode->i_state & ~I_WB_SWITCH); in inode_do_switch_wbs() 540 inode->i_state & (I_WB_SWITCH | I_FREEING | I_WILL_FREE) || in inode_prepare_wbs_switch() 545 inode->i_state |= I_WB_SWITCH; in inode_prepare_wbs_switch() 567 if (inode->i_state & I_WB_SWITCH) in inode_switch_wbs() 1156 WARN_ON_ONCE(inode->i_state & I_FREEING); in inode_cgwb_move_to_attached() [all …]
|
D | inode.c | 389 WARN_ON(!(inode->i_state & I_LINKABLE)); in inc_nlink() 458 if (inode->i_state & (I_DIRTY_ALL | I_SYNC | I_FREEING | I_WILL_FREE)) in __inode_add_lru() 470 inode->i_state |= I_REFERENCED; in __inode_add_lru() 624 BUG_ON(!(inode->i_state & I_FREEING)); in clear_inode() 625 BUG_ON(inode->i_state & I_CLEAR); in clear_inode() 628 inode->i_state = I_FREEING | I_CLEAR; in clear_inode() 649 BUG_ON(!(inode->i_state & I_FREEING)); in evict() 677 wake_up_bit(&inode->i_state, __I_NEW); in evict() 678 BUG_ON(inode->i_state != (I_FREEING | I_CLEAR)); in evict() 725 if (inode->i_state & (I_NEW | I_FREEING | I_WILL_FREE)) { in evict_inodes() [all …]
|
D | drop_caches.c | 31 if ((inode->i_state & (I_FREEING|I_WILL_FREE|I_NEW)) || in drop_pagecache_sb()
|
/linux-6.6.21/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 | 522 if (test_bit(NILFS_I_GCINODE, &ii->i_state)) in nilfs_segctor_end_finfo() 808 } else if (test_bit(NILFS_I_DIRTY, &ii->i_state)) { in nilfs_dispose_list() 809 set_bit(NILFS_I_QUEUED, &ii->i_state); in nilfs_dispose_list() 961 if (test_bit(NILFS_I_BMAP, &ii->i_state)) { in nilfs_fill_in_file_bmap() 977 set_bit(NILFS_I_COLLECTED, &ii->i_state); in nilfs_segctor_fill_in_file_bmap() 1018 if (test_bit(NILFS_I_COLLECTED, &ii->i_state)) in nilfs_redirty_inodes() 1019 clear_bit(NILFS_I_COLLECTED, &ii->i_state); in nilfs_redirty_inodes() 1028 if (!test_and_clear_bit(NILFS_I_COLLECTED, &ii->i_state)) in nilfs_drop_collected_inodes() 1031 clear_bit(NILFS_I_INODE_SYNC, &ii->i_state); in nilfs_drop_collected_inodes() 1032 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 | 395 set_bit(NILFS_I_DIRTY, &ii->i_state); in nilfs_mdt_fetch_dirty() 398 return test_bit(NILFS_I_DIRTY, &ii->i_state); in nilfs_mdt_fetch_dirty()
|
/linux-6.6.21/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 | 478 return iscsit_add_cmd_to_response_queue(cmd, cmd->conn, cmd->i_state); in iscsit_queue_rsp() 822 cmd->i_state = ISTATE_SEND_REJECT; in iscsit_add_reject() 823 iscsit_add_cmd_to_response_queue(cmd, conn, cmd->i_state); in iscsit_add_reject() 861 cmd->i_state = ISTATE_SEND_REJECT; in iscsit_add_reject_from_cmd() 862 iscsit_add_cmd_to_response_queue(cmd, conn, cmd->i_state); in iscsit_add_reject_from_cmd() 972 if ((cmd->i_state == ISTATE_SENT_STATUS) && in iscsit_ack_from_expstatsn() 974 cmd->i_state = ISTATE_REMOVE; in iscsit_ack_from_expstatsn() 1156 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 | 1363 return cmd->i_state; in iscsi_get_cmd_state() 1390 cmd->i_state = ISTATE_SEND_DATAIN; in lio_queue_data_in() 1410 cmd->i_state = ISTATE_SEND_STATUS; in lio_queue_status() 1413 return iscsit_add_cmd_to_response_queue(cmd, conn, cmd->i_state); in lio_queue_status() 1422 cmd->i_state = ISTATE_SEND_TASKMGTRSP; in lio_queue_tm_rsp() 1423 iscsit_add_cmd_to_response_queue(cmd, cmd->conn, cmd->i_state); in lio_queue_tm_rsp()
|
/linux-6.6.21/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-6.6.21/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-6.6.21/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-6.6.21/include/linux/ |
D | writeback.h | 197 wait_on_bit(&inode->i_state, __I_NEW, TASK_UNINTERRUPTIBLE); in wait_on_inode() 241 WARN_ON_ONCE(!(inode->i_state & I_CLEAR)); in inode_detach_wb()
|
/linux-6.6.21/fs/ceph/ |
D | inode.c | 87 inode->i_state = 0; in ceph_new_inode() 153 ceph_vinop(inode), inode, !!(inode->i_state & I_NEW)); in ceph_get_inode() 179 if (!(inode->i_state & I_NEW) && !S_ISDIR(inode->i_mode)) { in ceph_get_snapdir() 212 if (inode->i_state & I_NEW) { in ceph_get_snapdir() 221 if ((inode->i_state & I_NEW)) in ceph_get_snapdir() 686 if (inode->i_state & I_PINNING_FSCACHE_WB) in ceph_evict_inode() 944 if (inode->i_state & I_NEW) { in ceph_fill_inode() 1019 ((inode->i_state & I_NEW) || (ci->fscrypt_auth_len == 0))) { in ceph_fill_inode() 1607 if (in->i_state & I_NEW) in ceph_fill_trace() 1613 if (in->i_state & I_NEW) in ceph_fill_trace() [all …]
|
D | cache.c | 29 if (!(inode->i_state & I_NEW)) in ceph_fscache_register_inode_cookie()
|
D | crypto.c | 347 if ((dir->i_state & I_NEW)) in ceph_encode_encrypted_dname() 464 if ((dir->i_state & I_NEW)) in ceph_fname_to_usr()
|
/linux-6.6.21/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-6.6.21/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-6.6.21/fs/overlayfs/ |
D | util.c | 911 if (!(inode->i_state & I_OVL_INUSE)) { in ovl_inuse_trylock() 912 inode->i_state |= I_OVL_INUSE; in ovl_inuse_trylock() 926 WARN_ON(!(inode->i_state & I_OVL_INUSE)); in ovl_inuse_unlock() 927 inode->i_state &= ~I_OVL_INUSE; in ovl_inuse_unlock() 938 inuse = (inode->i_state & I_OVL_INUSE); in ovl_is_inuse()
|
/linux-6.6.21/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()
|
/linux-6.6.21/drivers/infiniband/ulp/isert/ |
D | ib_isert.c | 1101 cmd->i_state = ISTATE_RECEIVED_LAST_DATAOUT; in isert_handle_scsi_cmd() 1648 cmd->i_state = ISTATE_RECEIVED_LAST_DATAOUT; in isert_rdma_read_done() 1671 isert_dbg("Cmd %p i_state %d\n", isert_cmd, cmd->i_state); in isert_do_control_comp() 1673 switch (cmd->i_state) { in isert_do_control_comp() 1679 cmd->i_state = ISTATE_SENT_STATUS; in isert_do_control_comp() 1687 isert_err("Unknown i_state %d\n", cmd->i_state); in isert_do_control_comp() 1727 switch (isert_cmd->iscsit_cmd->i_state) { in isert_send_done() 1738 isert_cmd->iscsit_cmd->i_state = ISTATE_SENT_STATUS; in isert_send_done() 2550 if (cmd->i_state != ISTATE_REMOVE) { in isert_put_unsol_pending_cmds()
|