Defined in 1 files as a function:
Referenced in 4 files:
- fs/xfs/scrub/tempfile.c, line 975
- fs/xfs/xfs_icache.c
- fs/xfs/xfs_inode.c
- fs/xfs/xfs_inode.h, line 253
Smatch caller information:
fs/xfs/xfs_health.c xfs_iflags_test() -> __xfs_iflags_test()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 9 |
| BUF_SIZE | 0 | ip | (-1),1-s32max |
| BUF_SIZE | 0 | ip | (-1),1-s32max |
| BUF_SIZE | 0 | ip->i_mount | (-1),1-s32max |
| DATA_SOURCE | 0 | ip | $0 |
| DATA_SOURCE | 1 | flags | $1 |
| STR_LEN | 0 | ip->i_mount | (-1),5,8 |
| STR_LEN | 0 | ip->i_mount->m_super | (-1) |
| NOSPEC | 0 | ip->i_disk_size | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ip->i_disk_size | (-9223372036854775807)-s64max[c] |
| NO_OVERFLOW_SIMPLE | 0 | ip->i_delayed_blks | |
| NO_OVERFLOW_SIMPLE | 0 | ip->i_gdquot->q_id | |
| NO_OVERFLOW_SIMPLE | 0 | ip->i_nblocks | |
| NO_OVERFLOW_SIMPLE | 0 | ip->i_pdquot->q_id | |
| NO_OVERFLOW_SIMPLE | 0 | ip->i_udquot->q_id | |
| UNITS | 0 | ip | unit_byte |
| LOCK2 | 0 | &ip->i_flags_lock | |
| TYPE_LOCK | (struct xfs_inode)->i_flags_lock |
fs/xfs/scrub/tempfile.c xrep_is_tempfile() -> __xfs_iflags_test()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 2048 |
| DATA_SOURCE | 0 | ip | $0 |
| BIT_INFO | 0 | ip->i_diflags2 | 0x20,0xffffffffffffffff |
| USER_DATA | 0 | ip->i_imap.im_agbno | 0-s32max[c] |
fs/xfs/xfs_inode.c xfs_iflags_test() -> __xfs_iflags_test()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 5,16,128,2048,16384 |
| DATA_SOURCE | 0 | ip | $0 |
| DATA_SOURCE | 1 | flags | $1 |
| HARD_MAX | 1 | flags | 16384 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 0 | ip->i_pdquot->q_id | |
| UNITS | 0 | ip | unit_byte |
| LOCK2 | 0 | &ip->i_flags_lock | |
| HALF_LOCKED2 | &ailp->ail_lock | ||
| HALF_LOCKED2 | &bp->b_sema | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct xfs_inode)->i_flags_lock |
fs/xfs/xfs_inode.c xfs_iflush_cluster() -> __xfs_iflags_test()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | flags | 129 |
| UNITS | 0 | ip | unit_byte |
| LOCK2 | &ailp->ail_lock | ||
| LOCK2 | &bp->b_sema | ||
| TYPE_LOCK | (struct xfs_buf)->b_sema |
fs/xfs/xfs_inode.c xfs_iflush_cluster() -> __xfs_iflags_test()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 2 |
| PREEMPT_ADD | <- disables preempt | ||
| UNITS | 0 | ip | unit_byte |
| LOCK2 | &ailp->ail_lock | ||
| LOCK2 | &bp->b_sema | ||
| LOCK2 | 0 | &ip->i_flags_lock | |
| TYPE_LOCK | (struct xfs_buf)->b_sema | ||
| TYPE_LOCK | (struct xfs_inode)->i_flags_lock |
fs/xfs/xfs_inode.c xfs_iflush_cluster() -> __xfs_iflags_test()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 129 |
| PREEMPT_ADD | <- disables preempt | ||
| UNITS | 0 | ip | unit_byte |
| LOCK2 | &ailp->ail_lock | ||
| LOCK2 | &bp->b_sema | ||
| LOCK2 | 0 | &ip->i_flags_lock | |
| TYPE_LOCK | (struct xfs_buf)->b_sema | ||
| TYPE_LOCK | (struct xfs_inode)->i_flags_lock |
fs/xfs/xfs_inode.c xfs_ifree_mark_inode_stale() -> __xfs_iflags_test()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 2 |
| DATA_SOURCE | 0 | ip | r radix_tree_lookup |
| PREEMPT_ADD | <- disables preempt | ||
| UNITS | 0 | ip | unit_byte |
| LOCK2 | &pool->lock | ||
| LOCK2 | rcu_read | ||
| LOCK2 | 0 | &ip->i_flags_lock | |
| TYPE_LOCK | (struct xfs_inode)->i_flags_lock |
fs/xfs/xfs_inode.c xfs_ifree_mark_inode_stale() -> __xfs_iflags_test()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 0 | ip->i_flags | 0,2-u64max |
| PARAM_VALUE | 1 | flags | 128 |
| CAPPED_DATA | 0 | ip | 1 |
| DATA_SOURCE | 0 | ip | r radix_tree_lookup |
| BIT_INFO | 0 | ip->i_flags | 0x2,0xffffffffffffffff |
| PREEMPT_ADD | <- disables preempt | ||
| UNITS | 0 | ip | unit_byte |
| LOCK2 | &pool->lock | ||
| LOCK2 | rcu_read | ||
| LOCK2 | 0 | &ip->i_flags_lock | |
| TYPE_LOCK | (struct xfs_inode)->i_flags_lock |
fs/xfs/xfs_file.c xfs_iflags_test() -> __xfs_iflags_test()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 64,32768 |
| DATA_SOURCE | 0 | ip | $0 |
| DATA_SOURCE | 1 | flags | $1 |
| HARD_MAX | 1 | flags | 32768 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &ip->i_flags_lock | |
| TYPE_LOCK | (struct xfs_inode)->i_flags_lock |
fs/xfs/libxfs/xfs_trans_inode.c xfs_iflags_test() -> __xfs_iflags_test()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 2 |
| DATA_SOURCE | 0 | ip | $0 |
| DATA_SOURCE | 1 | flags | $1 |
| STR_LEN | 0 | ip | (-1)-1024 |
| STR_LEN | 0 | ip | (-1)-1024 |
| NOSPEC | 0 | ip->i_disk_size | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | ip->i_disk_size | (-9223372036854775807)-s64max[c] |
| USER_DATA | 0 | ip->i_forkoff | 0-255[c] |
| NO_OVERFLOW_SIMPLE | 0 | ip->i_delayed_blks | |
| NO_OVERFLOW_SIMPLE | 0 | ip->i_gdquot->q_id | |
| NO_OVERFLOW_SIMPLE | 0 | ip->i_nblocks | |
| NO_OVERFLOW_SIMPLE | 0 | ip->i_pdquot->q_id | |
| NO_OVERFLOW_SIMPLE | 0 | ip->i_udquot->q_id | |
| UNITS | 0 | ip | unit_byte |
| LOCK2 | 0 | &ip->i_flags_lock | |
| HALF_LOCKED2 | &ls->ls_mutex | ||
| HALF_LOCKED2 | &mp->m_growlock | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct xfs_inode)->i_flags_lock |
fs/xfs/xfs_inode_item.c xfs_iflags_test() -> __xfs_iflags_test()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 2,16,128 |
| DATA_SOURCE | 0 | ip | $0 |
| DATA_SOURCE | 1 | flags | $1 |
| HARD_MAX | 1 | flags | 128 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | ip | unit_byte |
| LOCK2 | 0 | &ip->i_flags_lock | |
| HALF_LOCKED2 | &ailp->ail_lock | ||
| HALF_LOCKED2 | &cil->xc_ctx_lock | ||
| TYPE_LOCK | (struct xfs_inode)->i_flags_lock |
fs/xfs/xfs_icache.c xfs_iflags_test() -> __xfs_iflags_test()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 8,128,512,4096,9221 |
| BUF_SIZE | 0 | ip->i_mount | (-1),1-s32max |
| DATA_SOURCE | 0 | ip | $0 |
| DATA_SOURCE | 1 | flags | $1 |
| STR_LEN | 0 | ip->i_mount | (-1),5,8 |
| STR_LEN | 0 | ip->i_mount->m_super | (-1),8 |
| HARD_MAX | 1 | flags | 9221 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &ip->i_flags_lock | |
| TYPE_LOCK | (struct xfs_inode)->i_flags_lock |
fs/xfs/xfs_icache.c xfs_reclaim_igrab() -> __xfs_iflags_test()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 4 |
| DATA_SOURCE | 0 | ip | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| LOCK2 | 0 | &ip->i_flags_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct xfs_inode)->i_flags_lock |
fs/xfs/xfs_icache.c xfs_reclaim_igrab() -> __xfs_iflags_test()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ip | 4096-ptr_max |
| PARAM_VALUE | 1 | flags | 1 |
| DATA_SOURCE | 0 | ip | $0 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | rcu_read | ||
| LOCK2 | 0 | &ip->i_flags_lock | |
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct xfs_inode)->i_flags_lock |