Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 17 files:

Smatch caller information:

drivers/net/ethernet/mellanox/mlx5/core/lag/lag.c mlx5_lag_mark_master() -> xa_set_mark()

Type Parameter Key Value
PARAM_VALUE 0 xa 4096-ptr_max
PARAM_VALUE 1 index 0-7
PARAM_VALUE 2 mark 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &ldev->lock
HALF_LOCKED2 &comp->sem
HALF_LOCKED2 &devcom->comp->sem
TYPE_LOCK (struct mlx5_lag)->lock

drivers/net/ethernet/mellanox/mlx5/core/lag/lag.c mlx5_ldev_add_mdev() -> xa_set_mark()

Type Parameter Key Value
PARAM_VALUE 0 xa 4096-ptr_max
PARAM_VALUE 0 xa->xa_flags 4-u32max
PARAM_VALUE 2 mark 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &dev->intf_state_mutex
HALF_LOCKED2 &dev->priv.hca_devcom_comp->comp->sem
HALF_LOCKED2 &ldev->lock
HALF_LOCKED2 &sd->devcom->comp->sem

drivers/scsi/scsi_debug.c fake_rw_store() -> xa_set_mark()

Type Parameter Key Value
PARAM_VALUE 0 xa 4096-ptr_max
PARAM_VALUE 0 xa->xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 index 0-s32max,18446744071562067968-u64max
PARAM_VALUE 2 mark 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/scsi/scsi_debug.c sdebug_do_remove_host() -> xa_set_mark()

Type Parameter Key Value
PARAM_VALUE 1 index 0-s32max
PARAM_VALUE 2 mark 1
CAPPED_DATA 1 index 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
LOCK2 global &sdebug_host_list_mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/gpu/drm/panthor/panthor_sched.c panthor_group_create() -> xa_set_mark()

Type Parameter Key Value
PARAM_VALUE 0 xa->xa_flags 4-u32max
PARAM_VALUE 2 mark 1
NOCHECK_CALL

net/devlink/core.c devl_register() -> xa_set_mark()

Type Parameter Key Value
PARAM_VALUE 0 xa 4553836652040720384
PARAM_VALUE 2 mark 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &devlink->lock
HALF_LOCKED2 global &shd_mutex

net/devlink/core.c devlink_rel_nested_in_add() -> xa_set_mark()

Type Parameter Key Value
PARAM_VALUE 0 xa 7321265008373088256
PARAM_VALUE 2 mark 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

io_uring/zcrx.c set_zcrx_entry_mark() -> xa_set_mark()

Type Parameter Key Value
PARAM_VALUE 0 xa 4096-ptr_max
PARAM_VALUE 2 mark 1
DATA_SOURCE 1 index $1
NOCHECK_CALL
LOCK2 &ctx->uring_lock
LOCK2 _T->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct io_ring_ctx)->uring_lock

fs/xfs/xfs_zone_alloc.c xfs_zone_mark_free() -> xa_set_mark()

Type Parameter Key Value
PARAM_VALUE 0 xa 4096-ptr_max
PARAM_VALUE 1 index 0-u32max
PARAM_VALUE 2 mark 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HALF_LOCKED2 &mp->m_growlock

drivers/nvme/target/core.c nvmet_ns_enable() -> xa_set_mark()

Type Parameter Key Value
PARAM_VALUE 0 xa 4096-ptr_max
PARAM_VALUE 2 mark 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &buffer->mutex
LOCK2 &frag->frag_sem
LOCK2 &subsys->lock
LOCK2 global &nvmet_config_sem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct configfs_buffer)->mutex
TYPE_LOCK (struct configfs_fragment)->frag_sem
TYPE_LOCK (struct nvmet_subsys)->lock

drivers/infiniband/core/device.c add_client_context() -> xa_set_mark()

Type Parameter Key Value
PARAM_VALUE 0 xa 4096-ptr_max
PARAM_VALUE 2 mark 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 xa->xa_flags 0-u32max
LOCK2 &device->client_data_rwsem
LOCK2 global &clients_rwsem
LOCK2 global &devices_rwsem
TYPE_LOCK (struct ib_device)->client_data_rwsem

drivers/infiniband/core/device.c assign_client_id() -> xa_set_mark()

Type Parameter Key Value
PARAM_VALUE 0 xa 8191800035638378496
PARAM_VALUE 1 index 0-s32max
PARAM_VALUE 2 mark 1
NOCHECK_CALL
LOCK2 global &clients_rwsem
LOCK2 global &devices_rwsem
HALF_LOCKED2 global &smbdirect_globals.mutex

drivers/infiniband/core/device.c enable_device_and_get() -> xa_set_mark()

Type Parameter Key Value
PARAM_VALUE 0 xa 1621717402798952448
PARAM_VALUE 2 mark 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &devices_rwsem
HALF_LOCKED2 &device->unregistration_lock

drivers/infiniband/core/device.c ib_device_enable_gid_updates() -> xa_set_mark()

Type Parameter Key Value
PARAM_VALUE 0 xa 1621717402798952448
PARAM_VALUE 2 mark 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &devices_rwsem
HALF_LOCKED2 &dev->cmd.poll_sem
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &be_adapter_list_lock
HALF_LOCKED2 global &bnxt_re_mutex
HALF_LOCKED2 global &link_ops_rwsem
HALF_LOCKED2 global &mthca_device_mutex
HALF_LOCKED2 global &qedr_dev_list_lock
HALF_LOCKED2 global &usnic_ib_ibdev_list_lock

drivers/dpll/dpll_core.c __dpll_pin_register() -> xa_set_mark()

Type Parameter Key Value
PARAM_VALUE 0 xa 5509511993196265472
PARAM_VALUE 2 mark 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &dpll_lock

drivers/dpll/dpll_core.c dpll_device_register() -> xa_set_mark()

Type Parameter Key Value
PARAM_VALUE 0 xa 713065895789006848
PARAM_VALUE 2 mark 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &dpll_lock

drivers/base/memory.c memory_group_register() -> xa_set_mark()

Type Parameter Key Value
PARAM_VALUE 0 xa 1011196735733710848
PARAM_VALUE 0 xa->xa_flags 4-u32max
PARAM_VALUE 2 mark 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

lib/test_xarray.c check_find_1() -> xa_set_mark()

Type Parameter Key Value
PARAM_VALUE 0 xa 5024146686711472128
PARAM_VALUE 0 xa->xa_head 0
PARAM_VALUE 0 xa->xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 index 0-99
PARAM_VALUE 2 mark 0
DATA_SOURCE 0 xa $0
FUZZY_MAX 1 index 99
HARD_MAX 1 index 99
NOCHECK_CALL

lib/test_xarray.c check_find_1() -> xa_set_mark()

Type Parameter Key Value
PARAM_VALUE 0 xa 5024146686711472128
PARAM_VALUE 0 xa->xa_head 0
PARAM_VALUE 0 xa->xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 index 0-98
PARAM_VALUE 2 mark 0
CAPPED_DATA 1 index 1
CAPPED_DATA 1 index 1
DATA_SOURCE 0 xa $0
FUZZY_MAX 1 index 98
HARD_MAX 1 index 98
NOCHECK_CALL

lib/test_xarray.c check_find_3() -> xa_set_mark()

Type Parameter Key Value
PARAM_VALUE 0 xa 5024146686711472128
PARAM_VALUE 0 xa->xa_head 0
PARAM_VALUE 0 xa->xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 index 0-99
PARAM_VALUE 2 mark 0
DATA_SOURCE 0 xa $0
FUZZY_MAX 1 index 99
HARD_MAX 1 index 99
NOCHECK_CALL

lib/test_xarray.c check_split_1() -> xa_set_mark()

Type Parameter Key Value
PARAM_VALUE 0 xa 5024146686711472128
PARAM_VALUE 0 xa->xa_head 0
PARAM_VALUE 2 mark 1
CAPPED_DATA 1 index 1
CAPPED_DATA 1 index 1
DATA_SOURCE 0 xa $0
DATA_SOURCE 1 index $1
NOCHECK_CALL

lib/test_xarray.c check_split_1() -> xa_set_mark()

Type Parameter Key Value
PARAM_VALUE 0 xa 5024146686711472128
PARAM_VALUE 0 xa->xa_head 0
PARAM_VALUE 0 xa->xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 mark 0
CAPPED_DATA 1 index 1
CAPPED_DATA 1 index 1
DATA_SOURCE 0 xa $0
DATA_SOURCE 1 index $1
NOCHECK_CALL

lib/test_xarray.c check_split_2() -> xa_set_mark()

Type Parameter Key Value
PARAM_VALUE 0 xa 5024146686711472128
PARAM_VALUE 0 xa->xa_head 0
PARAM_VALUE 0 xa->xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 mark 1
CAPPED_DATA 1 index 1
CAPPED_DATA 1 index 1
DATA_SOURCE 0 xa $0
DATA_SOURCE 1 index $1
NOCHECK_CALL

lib/test_xarray.c check_split_2() -> xa_set_mark()

Type Parameter Key Value
PARAM_VALUE 0 xa 5024146686711472128
PARAM_VALUE 0 xa->xa_head 0
PARAM_VALUE 0 xa->xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 2 mark 0
CAPPED_DATA 1 index 1
CAPPED_DATA 1 index 1
DATA_SOURCE 0 xa $0
DATA_SOURCE 1 index $1
NOCHECK_CALL

lib/test_xarray.c check_xa_mark_1() -> xa_set_mark()

Type Parameter Key Value
PARAM_VALUE 0 xa 5024146686711472128
PARAM_VALUE 1 index 0,4-16383
PARAM_VALUE 2 mark 0
DATA_SOURCE 0 xa $0
DATA_SOURCE 1 index $1
FUZZY_MAX 1 index 0
NOCHECK_CALL

lib/test_xarray.c check_xa_mark_1() -> xa_set_mark()

Type Parameter Key Value
PARAM_VALUE 0 xa 5024146686711472128
PARAM_VALUE 0 xa->xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 index 0,4-16383
PARAM_VALUE 2 mark 0
DATA_SOURCE 0 xa $0
DATA_SOURCE 1 index $1
FUZZY_MAX 1 index 0
NOCHECK_CALL

lib/test_xarray.c check_xa_mark_1() -> xa_set_mark()

Type Parameter Key Value
PARAM_VALUE 0 xa 5024146686711472128
PARAM_VALUE 0 xa->xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 index 0,4-16383
PARAM_VALUE 2 mark 0
DATA_SOURCE 0 xa $0
DATA_SOURCE 1 index $1
FUZZY_MAX 1 index 0
NOCHECK_CALL

lib/test_xarray.c check_xa_mark_1() -> xa_set_mark()

Type Parameter Key Value
PARAM_VALUE 0 xa 5024146686711472128
PARAM_VALUE 0 xa->xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 index 1,5-16381
PARAM_VALUE 2 mark 0
DATA_SOURCE 0 xa $0
NOCHECK_CALL

lib/test_xarray.c check_xa_mark_1() -> xa_set_mark()

Type Parameter Key Value
PARAM_VALUE 0 xa 5024146686711472128
PARAM_VALUE 0 xa->xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 index 2,6-16382
PARAM_VALUE 2 mark 2
DATA_SOURCE 0 xa $0
NOCHECK_CALL

lib/test_xarray.c check_xa_mark_2() -> xa_set_mark()

Type Parameter Key Value
PARAM_VALUE 0 xa 5024146686711472128
PARAM_VALUE 0 xa->xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 index 0
PARAM_VALUE 2 mark 0
DATA_SOURCE 0 xa $0
NOCHECK_CALL

lib/test_xarray.c check_xa_mark_2() -> xa_set_mark()

Type Parameter Key Value
PARAM_VALUE 0 xa 5024146686711472128
PARAM_VALUE 0 xa->xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 index 3500-4499
PARAM_VALUE 2 mark 0
DATA_SOURCE 0 xa $0
FUZZY_MAX 1 index 4499
HARD_MAX 1 index 4499
NOCHECK_CALL

lib/test_xarray.c check_xa_mark_3() -> xa_set_mark()

Type Parameter Key Value
PARAM_VALUE 0 xa 5024146686711472128
PARAM_VALUE 0 xa->xa_head 0
PARAM_VALUE 0 xa->xa_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 index 65
PARAM_VALUE 2 mark 0
DATA_SOURCE 0 xa $0
NOCHECK_CALL

fs/xfs/xfs_icache.c xfs_perag_set_inode_tag() -> xa_set_mark()

Type Parameter Key Value
PARAM_VALUE 0 xa 4096-ptr_max
PARAM_VALUE 1 index 0-u32max
PARAM_VALUE 2 mark 0-1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &pag->pag_ici_lock
HALF_LOCKED2 &ip->i_flags_lock
TYPE_LOCK (struct xfs_perag)->pag_ici_lock

drivers/net/ethernet/mellanox/mlx5/core/esw/adj_vport.c mlx5_esw_adj_vport_create() -> xa_set_mark()

Type Parameter Key Value
PARAM_VALUE 0 xa 4096-ptr_max
PARAM_VALUE 2 mark 1
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &esw->offloads.reps_lock
HALF_LOCKED2 &devlink->lock
TYPE_LOCK (struct mlx5_esw_offload)->reps_lock

drivers/infiniband/core/restrack.c rdma_restrack_add() -> xa_set_mark()

Type Parameter Key Value
PARAM_VALUE 0 xa 4096-ptr_max
PARAM_VALUE 2 mark 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
UNITS 1 index unit_array_size
HALF_LOCKED2 &id_priv->handler_mutex
HALF_LOCKED2 global &lock

drivers/net/ethernet/mellanox/mlx5/core/eswitch.c mlx5_esw_vports_init() -> xa_set_mark()

Type Parameter Key Value
PARAM_VALUE 0 xa 4096-ptr_max
PARAM_VALUE 0 xa->xa_flags 0
PARAM_VALUE 0 xa->xa_head 0
PARAM_VALUE 1 index 0
PARAM_VALUE 2 mark 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &dev->intf_state_mutex
HALF_LOCKED2 &devlink->lock
TYPE_LOCK (struct mlx5_core_dev)->intf_state_mutex

drivers/net/ethernet/mellanox/mlx5/core/eswitch.c mlx5_esw_vports_init() -> xa_set_mark()

Type Parameter Key Value
PARAM_VALUE 0 xa 4096-ptr_max
PARAM_VALUE 0 xa->xa_flags 0
PARAM_VALUE 0 xa->xa_head 0
PARAM_VALUE 1 index 1-s32max
PARAM_VALUE 2 mark 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &dev->intf_state_mutex
HALF_LOCKED2 &devlink->lock
TYPE_LOCK (struct mlx5_core_dev)->intf_state_mutex

drivers/net/ethernet/mellanox/mlx5/core/eswitch.c mlx5_esw_vports_init() -> xa_set_mark()

Type Parameter Key Value
PARAM_VALUE 0 xa 4096-ptr_max
PARAM_VALUE 0 xa->xa_flags 0
PARAM_VALUE 0 xa->xa_head 0
PARAM_VALUE 1 index 1-s32max
PARAM_VALUE 2 mark 0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &dev->intf_state_mutex
HALF_LOCKED2 &devlink->lock
TYPE_LOCK (struct mlx5_core_dev)->intf_state_mutex

drivers/net/ethernet/mellanox/mlx5/core/eswitch.c mlx5_esw_vports_init() -> xa_set_mark()

Type Parameter Key Value
PARAM_VALUE 0 xa 4096-ptr_max
PARAM_VALUE 0 xa->xa_flags 0
PARAM_VALUE 0 xa->xa_head 0
PARAM_VALUE 1 index 0-131069
PARAM_VALUE 2 mark 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &dev->intf_state_mutex
HALF_LOCKED2 &devlink->lock
TYPE_LOCK (struct mlx5_core_dev)->intf_state_mutex

drivers/net/ethernet/mellanox/mlx5/core/eswitch.c mlx5_esw_vports_init() -> xa_set_mark()

Type Parameter Key Value
PARAM_VALUE 0 xa 4096-ptr_max
PARAM_VALUE 0 xa->xa_flags 0
PARAM_VALUE 0 xa->xa_head 0
PARAM_VALUE 1 index 0-131069
PARAM_VALUE 2 mark 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &dev->intf_state_mutex
HALF_LOCKED2 &devlink->lock
TYPE_LOCK (struct mlx5_core_dev)->intf_state_mutex

drivers/net/ethernet/mellanox/mlx5/core/eswitch.c mlx5_esw_vports_init() -> xa_set_mark()

Type Parameter Key Value
PARAM_VALUE 0 xa 4096-ptr_max
PARAM_VALUE 0 xa->xa_flags 0
PARAM_VALUE 0 xa->xa_head 0
PARAM_VALUE 1 index 0-131069
PARAM_VALUE 2 mark 2
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &dev->intf_state_mutex
HALF_LOCKED2 &devlink->lock
TYPE_LOCK (struct mlx5_core_dev)->intf_state_mutex