Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

fs/xfs/xfs_reflink.c xfs_iflags_set() -> __xfs_iflags_set()

Type Parameter Key Value
PARAM_VALUE 0 ip 4096-ptr_max
PARAM_VALUE 1 flags 32768
CAPPED_DATA 0 ip 1
DATA_SOURCE 0 ip $0
DATA_SOURCE 1 flags $1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &ip->i_flags_lock
TYPE_LOCK (struct xfs_inode)->i_flags_lock

fs/xfs/xfs_log_recover.c xfs_iflags_set() -> __xfs_iflags_set()

Type Parameter Key Value
PARAM_VALUE 0 ip 4096-ptr_max
PARAM_VALUE 1 flags 2048
DATA_SOURCE 0 ip $0
DATA_SOURCE 1 flags $1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &ip->i_flags_lock
HALF_LOCKED2 &fc->uapi_mutex
TYPE_LOCK (struct xfs_inode)->i_flags_lock

fs/xfs/scrub/tempfile.c xfs_iflags_set() -> __xfs_iflags_set()

Type Parameter Key Value
PARAM_VALUE 0 ip 4096-ptr_max
PARAM_VALUE 1 flags 2048
DATA_SOURCE 0 ip $0
DATA_SOURCE 1 flags $1
CAPABLE 0 21
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
LOCK2 0 &ip->i_flags_lock
TYPE_LOCK (struct xfs_inode)->i_flags_lock

fs/xfs/xfs_inode.c xfs_iflags_set() -> __xfs_iflags_set()

Type Parameter Key Value
PARAM_VALUE 0 ip 4096-ptr_max
PARAM_VALUE 1 flags 16384
DATA_SOURCE 0 ip $0
DATA_SOURCE 1 flags $1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &ip->i_flags_lock
TYPE_LOCK (struct xfs_inode)->i_flags_lock

fs/xfs/xfs_inode.c xfs_iflush_cluster() -> __xfs_iflags_set()

Type Parameter Key Value
PARAM_VALUE 0 ip 4096-ptr_max
PARAM_VALUE 1 flags 128
PREEMPT_ADD <- disables preempt
NOCHECK_CALL
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_set()

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
NOCHECK_CALL
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/libxfs/xfs_inode_buf.c xfs_iflags_set() -> __xfs_iflags_set()

Type Parameter Key Value
PARAM_VALUE 0 ip 4096-ptr_max
PARAM_VALUE 1 flags 16
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
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &ip->i_flags_lock
TYPE_LOCK (struct xfs_inode)->i_flags_lock

fs/xfs/xfs_iops.c xfs_iflags_set() -> __xfs_iflags_set()

Type Parameter Key Value
PARAM_VALUE 0 ip 4096-ptr_max
PARAM_VALUE 1 flags 32
CAPPED_DATA 0 ip->i_disk_size 1
DATA_SOURCE 0 ip $0
DATA_SOURCE 1 flags $1
NOSPEC 0 ip->i_disk_size
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 ip->i_disk_size (-9223372036854775807)-(-4096),0-s64max[c]
LOCK2 0 &ip->i_flags_lock
TYPE_LOCK (struct xfs_inode)->i_flags_lock

fs/xfs/xfs_icache.c xfs_iflags_set() -> __xfs_iflags_set()

Type Parameter Key Value
PARAM_VALUE 0 ip 4096-ptr_max
PARAM_VALUE 1 flags 8,8192
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 8192
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 0 ip unit_byte
LOCK2 0 &ip->i_flags_lock
TYPE_LOCK (struct xfs_inode)->i_flags_lock

fs/xfs/xfs_icache.c xfs_reclaim_igrab() -> __xfs_iflags_set()

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
NOCHECK_CALL
LOCK2 rcu_read
LOCK2 0 &ip->i_flags_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct xfs_inode)->i_flags_lock