Defined in 1 files as a prototype:

Defined in 4 files as a member:

Defined in 2 files as a function:

Referenced in 16 files:

Smatch caller information:

drivers/net/ethernet/huawei/hinic/hinic_main.c hinic_set_features() -> set_features()

Type Parameter Key Value
PARAM_VALUE 0 fs_info 4096-ptr_max
PARAM_VALUE 0 fs_info->netdev 4096-ptr_max
PARAM_VALUE 3 force_change 0
DATA_SOURCE 2 features $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &netdev->lock
HALF_LOCKED2 global &rtnl_mutex

drivers/net/ethernet/huawei/hinic/hinic_main.c nic_dev_init() -> set_features()

Type Parameter Key Value
PARAM_VALUE 0 fs_info 4096-ptr_max
PARAM_VALUE 0 fs_info->devlink 4096-ptr_max
PARAM_VALUE 0 fs_info->flags 0
PARAM_VALUE 0 fs_info->hwdev 4096-ptr_max
PARAM_VALUE 0 fs_info->hwdev->aeqs.hwif 4096-ptr_max
PARAM_VALUE 0 fs_info->hwdev->aeqs.num_aeqs 0
PARAM_VALUE 0 fs_info->hwdev->aeqs.workq 4096-ptr_max
PARAM_VALUE 0 fs_info->hwdev->devlink_dev 4096-ptr_max
PARAM_VALUE 0 fs_info->hwdev->func_to_io.max_vfs 0
PARAM_VALUE 0 fs_info->hwdev->func_to_io.nic_cfg.cfg_mutex.magic 4096-ptr_max
PARAM_VALUE 0 fs_info->hwdev->hwif 4096-ptr_max
PARAM_VALUE 0 fs_info->hwdev->hwif->attr.func_idx 0-1023
PARAM_VALUE 0 fs_info->hwdev->hwif->attr.func_type 0-2
PARAM_VALUE 0 fs_info->hwdev->msix_entries 4096-ptr_max
PARAM_VALUE 0 fs_info->max_qps 1-u16max
PARAM_VALUE 0 fs_info->msg_enable 227
PARAM_VALUE 0 fs_info->netdev->max_mtu 15854
PARAM_VALUE 0 fs_info->netdev->min_mtu 256
PARAM_VALUE 0 fs_info->netdev->netdev_ops 3511022384344461312,4948774068194316288
PARAM_VALUE 0 fs_info->rq_depth 4096
PARAM_VALUE 0 fs_info->rxqs 0
PARAM_VALUE 0 fs_info->sq_depth 4096
PARAM_VALUE 0 fs_info->sriov_info.hwdev 4096-ptr_max
PARAM_VALUE 0 fs_info->sriov_info.hwdev->aeqs.hwif 4096-ptr_max
PARAM_VALUE 0 fs_info->sriov_info.hwdev->aeqs.workq 4096-ptr_max
PARAM_VALUE 0 fs_info->sriov_info.hwdev->devlink_dev 4096-ptr_max
PARAM_VALUE 0 fs_info->sriov_info.hwdev->func_to_io.nic_cfg.cfg_mutex.magic 4096-ptr_max
PARAM_VALUE 0 fs_info->sriov_info.hwdev->hwif 4096-ptr_max
PARAM_VALUE 0 fs_info->sriov_info.hwdev->msix_entries 4096-ptr_max
PARAM_VALUE 0 fs_info->sriov_info.pdev 4096-ptr_max
PARAM_VALUE 0 fs_info->sriov_info.pdev->current_state 0
PARAM_VALUE 0 fs_info->sriov_info.pdev->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 fs_info->sriov_info.pdev->dev.class 0,4096-ptr_max
PARAM_VALUE 0 fs_info->sriov_info.pdev->dev.devres_head.prev 4096-ptr_max
PARAM_VALUE 0 fs_info->sriov_info.pdev->dev.dma_mask 4096-ptr_max
PARAM_VALUE 0 fs_info->sriov_info.pdev->dev.dma_ops 0,4096-ptr_max
PARAM_VALUE 0 fs_info->sriov_info.pdev->dev.power.request 0-4
PARAM_VALUE 0 fs_info->sriov_info.pdev->dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 fs_info->sriov_info.pdev->dev.type 0,4096-ptr_max
PARAM_VALUE 0 fs_info->sriov_info.pdev->dev_flags 1-u16max
PARAM_VALUE 0 fs_info->sriov_info.pdev->driver 4096-ptr_max
PARAM_VALUE 0 fs_info->sriov_info.pdev->error_state 0-2,4-u32max
PARAM_VALUE 0 fs_info->sriov_info.pdev->is_busmaster 1
PARAM_VALUE 0 fs_info->sriov_info.pdev->is_virtfn 0
PARAM_VALUE 0 fs_info->sriov_info.pdev->msi_enabled 0
PARAM_VALUE 0 fs_info->sriov_info.pdev->msix_cap 1-255
PARAM_VALUE 0 fs_info->sriov_info.pdev->no_msi 0
PARAM_VALUE 0 fs_info->sriov_info.pdev->pcie_cap 0-1
PARAM_VALUE 0 fs_info->txqs 0
PARAM_VALUE 0 fs_info->vlan_bitmap 16,4096-ptr_max
PARAM_VALUE 0 fs_info->workq 4096-ptr_max
PARAM_VALUE 1 set 0
PARAM_VALUE 3 force_change 1
BUF_SIZE 0 fs_info->devlink s32min-s32max
BUF_SIZE 0 fs_info->hwdev 14960
BUF_SIZE 0 fs_info->sriov_info.hwdev 14960
BUF_SIZE 0 fs_info->sriov_info.pdev (-1),16,24,40,56,108-1096,1384,1600,1616,1752,2072,2576,7472,8064
BUF_SIZE 0 fs_info->workq (-1),512,528-8720
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 0 fs_info->sriov_info.pdev->current_state 0[c]
HALF_LOCKED2 &pdev->dev.mutex

fs/btrfs/sysfs.c btrfs_feature_attr_store() -> set_features()

Type Parameter Key Value
PARAM_VALUE 0 fs_info 4096-ptr_max
PARAM_VALUE 0 fs_info->sb 4096-ptr_max
PARAM_VALUE 0 fs_info->super_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 set 0-2
DATA_SOURCE 0 fs_info r to_fs_info
FUZZY_MAX 1 set 1
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
LOCK2 0 &fs_info->super_lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct btrfs_fs_info)->super_lock
TYPE_LOCK (struct kernfs_open_file)->mutex