Home
last modified time | relevance | path

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

12345

/Linux-v5.10/fs/
Dinode.c362 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 …]
Dfs-writeback.c148 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 …]
Ddrop_caches.c29 if ((inode->i_state & (I_FREEING|I_WILL_FREE|I_NEW)) || in drop_pagecache_sb()
/Linux-v5.10/fs/nilfs2/
Dinode.c342 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 …]
Dmdt.h97 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()
Dsegment.c509 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 …]
Difile.c190 if (!(ifile->i_state & I_NEW)) in nilfs_ifile_read()
Dmdt.c394 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/
Discsi_target_tmr.c221 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()
Discsi_target_erl1.c428 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 …]
Discsi_target.c479 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 …]
Discsi_target_erl2.c381 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()
Discsi_target_configfs.c1342 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/
Dfsync.c87 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/
Dxfs_trans_inode.c113 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/
Dfile.c29 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/
Dcnode.c72 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/
Dutil.c662 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()
Dinode.c895 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/
Dwriteback.h206 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/
Dorangefs-utils.c250 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/
Dwriteback.h114 __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/
Dib_isert.c1072 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/
Dinode.c159 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/
Dinode.c65 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()

12345