Defined in 1 files as a function:

Referenced in 8 files:

Smatch caller information:

fs/xfs/libxfs/xfs_attr_leaf.c xfs_attr_shortform_add() -> be16_add_cpu()

Type Parameter Key Value
PARAM_VALUE 0 var 4096-ptr_max
CAPPED_DATA 1 val 1
DATA_SOURCE 1 val r xfs_attr_sf_entsize_byname
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 val 4-512[c]

fs/xfs/libxfs/xfs_btree.c xfs_btree_demote_node_child() -> be16_add_cpu()

Type Parameter Key Value
PARAM_VALUE 0 var 4096-ptr_max
PARAM_VALUE 1 val u16max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/xfs/libxfs/xfs_btree.c xfs_btree_promote_node_iroot() -> be16_add_cpu()

Type Parameter Key Value
PARAM_VALUE 0 var 4096-ptr_max
PARAM_VALUE 1 val 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/gfs2/dir.c dir_split_leaf() -> be16_add_cpu()

Type Parameter Key Value
PARAM_VALUE 0 var 4096-ptr_max
PARAM_VALUE 0 *var 0-1
PARAM_VALUE 1 val 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &sdp->sd_log_flush_lock
TYPE_LOCK (struct gfs2_sbd)->sd_log_flush_lock

fs/gfs2/dir.c dir_split_leaf() -> be16_add_cpu()

Type Parameter Key Value
PARAM_VALUE 0 var 4096-ptr_max
PARAM_VALUE 1 val u16max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &sdp->sd_log_flush_lock
TYPE_LOCK (struct gfs2_sbd)->sd_log_flush_lock

fs/gfs2/dir.c gfs2_dir_add() -> be16_add_cpu()

Type Parameter Key Value
PARAM_VALUE 0 var 4096-ptr_max
PARAM_VALUE 1 val 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &sdp->sd_log_flush_lock
TYPE_LOCK (struct gfs2_sbd)->sd_log_flush_lock

net/psp/psp_main.c psp_dev_encapsulate() -> be16_add_cpu()

Type Parameter Key Value
PARAM_VALUE 0 var 4096-ptr_max
PARAM_VALUE 1 val 24
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 val unit_byte
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

net/psp/psp_main.c psp_dev_encapsulate() -> be16_add_cpu()

Type Parameter Key Value
PARAM_VALUE 0 var 4096-ptr_max
PARAM_VALUE 1 val 24
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 val unit_byte
HALF_LOCKED2 bh
HALF_LOCKED2 flags
HALF_LOCKED2 rcu_read

fs/ufs/balloc.c fs16_add() -> be16_add_cpu()

Type Parameter Key Value
PARAM_VALUE 1 val 1,u16max
DATA_SOURCE 0 var $1
DATA_SOURCE 1 val $2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

fs/xfs/libxfs/xfs_dir2_data.c xfs_dir2_data_make_free() -> be16_add_cpu()

Type Parameter Key Value
PARAM_VALUE 0 var 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 val unit_byte

fs/xfs/libxfs/xfs_dir2_data.c xfs_dir2_data_make_free() -> be16_add_cpu()

Type Parameter Key Value
PARAM_VALUE 0 var 4096-ptr_max
DATA_SOURCE 1 val $3
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 val unit_byte

fs/xfs/libxfs/xfs_ag.c xfs_freesp_init_recs() -> be16_add_cpu()

Type Parameter Key Value
PARAM_VALUE 0 var 4096-ptr_max
PARAM_VALUE 1 val 1
CAPABLE 0 21
NOCHECK_CALL
LOCK2 &mp->m_growlock
TYPE_LOCK (struct xfs_mount)->m_growlock

fs/xfs/libxfs/xfs_ag.c xfs_freesp_init_recs() -> be16_add_cpu()

Type Parameter Key Value
PARAM_VALUE 0 var 4096-ptr_max
PARAM_VALUE 1 val 1
CAPABLE 0 21
NOCHECK_CALL
LOCK2 &mp->m_growlock
TYPE_LOCK (struct xfs_mount)->m_growlock

fs/xfs/libxfs/xfs_ag.c xfs_rmaproot_init() -> be16_add_cpu()

Type Parameter Key Value
PARAM_VALUE 0 var 4096-ptr_max
PARAM_VALUE 1 val 1
CAPABLE 0 21
NOCHECK_CALL
LOCK2 &*bpp->b_sema
LOCK2 &mp->m_growlock
TYPE_LOCK (struct xfs_mount)->m_growlock

fs/xfs/libxfs/xfs_ag.c xfs_rmaproot_init() -> be16_add_cpu()

Type Parameter Key Value
PARAM_VALUE 0 var 4096-ptr_max
PARAM_VALUE 1 val 1
CAPABLE 0 21
NOCHECK_CALL
LOCK2 &*bpp->b_sema
LOCK2 &mp->m_growlock
TYPE_LOCK (struct xfs_mount)->m_growlock

drivers/infiniband/hw/mthca/mthca_cq.c handle_error_cqe() -> be16_add_cpu()

Type Parameter Key Value
PARAM_VALUE 0 var 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &cq->lock
LOCK2 flags
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct mthca_cq)->lock