Defined in 5 files as a member:

Defined in 3 files as a function:

Referenced in 59 files:

Smatch caller information:

drivers/vdpa/mlx5/net/mlx5_vnet.c create_virtqueue() -> get_features()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &ndev->reslock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct mlx5_vdpa_net)->reslock

drivers/vdpa/mlx5/net/mlx5_vnet.c fill_modify_virtqueue_cmd() -> get_features()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &d->mutex
HALF_LOCKED2 &dev->mutex
HALF_LOCKED2 &ndev->reslock
HALF_LOCKED2 &ndev->reslock
HALF_LOCKED2 &pool->lock

drivers/vdpa/mlx5/net/mlx5_vnet.c mlx5_vdpa_set_driver_features() -> get_features()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &vdev->cf_lock
HALF_LOCKED2 &d->mutex
TYPE_LOCK (struct vdpa_device)->cf_lock

drivers/vdpa/mlx5/net/mlx5_vnet.c mlx5_vdpa_set_driver_features() -> get_features()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &vdev->cf_lock
HALF_LOCKED2 &d->mutex
TYPE_LOCK (struct vdpa_device)->cf_lock

drivers/input/tablet/hanwang.c hanwang_probe() -> get_features()

Type Parameter Key Value
PARAM_VALUE 1 set 4096-ptr_max
BUF_SIZE 1 set 152
DATA_SOURCE 1 set r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING

fs/btrfs/sysfs.c addrm_unknown_feature_attrs() -> get_features()

Type Parameter Key Value
PARAM_VALUE 0 fs_info 4096-ptr_max
PARAM_VALUE 0 fs_info->cleanup_work_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 fs_info->cleanup_work_sem.first_waiter->type 0-1
PARAM_VALUE 0 fs_info->debug_kobj 0,4096-ptr_max
PARAM_VALUE 0 fs_info->debug_kobj->kset->list_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 fs_info->debug_kobj->parent 0,4096-ptr_max
PARAM_VALUE 0 fs_info->debug_kobj->sd 0,4096-ptr_max
PARAM_VALUE 0 fs_info->debug_kobj->sd->active.counter (-2147483647)
PARAM_VALUE 0 fs_info->debug_kobj->sd->attr.notify_next 0,426918848001064960
PARAM_VALUE 0 fs_info->debug_kobj->sd->priv 4096-ptr_max
PARAM_VALUE 0 fs_info->discard_kobj 0,4096-ptr_max
PARAM_VALUE 0 fs_info->discard_kobj->kset->list_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 fs_info->discard_kobj->parent 0,4096-ptr_max
PARAM_VALUE 0 fs_info->discard_kobj->sd 0,4096-ptr_max
PARAM_VALUE 0 fs_info->discard_kobj->sd->active.counter (-2147483647)
PARAM_VALUE 0 fs_info->discard_kobj->sd->attr.notify_next 0,426918848001064960
PARAM_VALUE 0 fs_info->discard_kobj->sd->priv 4096-ptr_max
PARAM_VALUE 0 fs_info->fs_root->fs_info->sb->s_cop->empty_dir 0,86,4096-ptr_max
PARAM_VALUE 0 fs_info->fs_root->fs_info->sb->s_cop->get_context 0,706,4096-ptr_max
PARAM_VALUE 0 fs_info->fs_root->fs_info->sb->s_cop->inode_info_offs 1632,1720,1808,2632,2648,2704,2712
PARAM_VALUE 0 fs_info->fs_root->fs_info->sb->s_cop->set_context 0,67,4096-ptr_max
PARAM_VALUE 0 fs_info->uuid_tree_rescan_sem.first_waiter->up 0-1
PARAM_VALUE 1 set 0-2
BUF_SIZE 0 fs_info (-1),1-s32max
BUF_SIZE 0 fs_info (-1),1-s32max
BUF_SIZE 0 fs_info->debug_kobj (-1),248
BUF_SIZE 0 fs_info->discard_kobj (-1),248
BUF_SIZE 0 fs_info->space_info_kobj (-1),248
DATA_SOURCE 0 fs_info $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 fs_info->fs_error
NO_OVERFLOW_SIMPLE 0 fs_info->log_root_tree->fs_info->fs_error
UNITS 0 fs_info unit_byte

fs/btrfs/sysfs.c btrfs_feature_attr_show() -> get_features()

Type Parameter Key Value
PARAM_VALUE 0 fs_info 1-u64max
DATA_SOURCE 0 fs_info r to_fs_info
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

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

Type Parameter Key Value
PARAM_VALUE 0 fs_info 4096-ptr_max
PARAM_VALUE 0 fs_info->sb 4096-ptr_max
PARAM_VALUE 1 set 0-2
DATA_SOURCE 0 fs_info r to_fs_info
FUZZY_MAX 1 set 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

fs/btrfs/sysfs.c btrfs_feature_attr_store() -> get_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
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

fs/btrfs/sysfs.c btrfs_feature_visible() -> get_features()

Type Parameter Key Value
PARAM_VALUE 0 fs_info 1-u64max
DATA_SOURCE 0 fs_info r to_fs_info
RX_PATH
TASK_NOT_RUNNING

Smatch assignments to (struct phy_driver)->get_features:

drivers/net/phy/vitesse.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/nxp-c45-tja11xx.c (null)() -> (struct phy_driver)->get_features [6058218926053425152]

drivers/net/phy/qsemi.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/mediatek/mtk-2p5ge.c (null)() -> (struct phy_driver)->get_features [7375237813161164800]

drivers/net/phy/xilinx_gmii2rgmii.c xgmiitorgmii_probe() -> (struct phy_driver)->get_features [0]

drivers/net/phy/motorcomm.c (null)() -> (struct phy_driver)->get_features [0,120941033240240128,900062371968221184]

drivers/net/phy/qcom/qca807x.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/smsc.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/dp83640.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/bcm54140.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/ste10Xp.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/aquantia/aquantia_main.c (null)() -> (struct phy_driver)->get_features [0,245066672201601024,2013344067250245632,4528560997413806080]

drivers/net/phy/dap8211r.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/marvell-88q2xxx.c (null)() -> (struct phy_driver)->get_features [6650030548952178688]

drivers/net/phy/mediatek/mtk-ge.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/dp83tc811.c (null)() -> (struct phy_driver)->get_features [3821227245400981504]

drivers/net/phy/marvell10g.c (null)() -> (struct phy_driver)->get_features [0,2500918633180364800]

drivers/net/phy/uPD60620.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/broadcom.c (null)() -> (struct phy_driver)->get_features [0,2820879256218574848]

drivers/net/phy/qcom/qca808x.c (null)() -> (struct phy_driver)->get_features [7756648185026863104]

drivers/net/phy/dp83822.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/marvell-88x2222.c (null)() -> (struct phy_driver)->get_features [3324838997033279488]

drivers/net/phy/bcm-cygnus.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/micrel.c (null)() -> (struct phy_driver)->get_features [0,4483768834739904512,6901339505578070016]

drivers/net/phy/mxl-86110.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/amd.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/microchip_t1.c (null)() -> (struct phy_driver)->get_features [0,3947428015378173952]

drivers/net/phy/dp83tg720.c (null)() -> (struct phy_driver)->get_features [3821227245400981504]

drivers/net/phy/cortina.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/lxt.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/adin.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/microchip_t1s.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/cicada.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/mediatek/mtk-ge-soc.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/phy_device.c (null)() -> (struct phy_driver)->get_features [0,8691586943807455232]

drivers/net/phy/et1011c.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/as21xxx.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/realtek/realtek_main.c (null)() -> (struct phy_driver)->get_features [0,778741706872696832,2417655118189592576,4592886464401756160,7440465043351101440]

drivers/net/phy/qcom/qca83xx.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/dp83869.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/nxp-tja11xx.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/icplus.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/rockchip.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/marvell.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/teranetics.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/ncn26000.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/national.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/adin1100.c (null)() -> (struct phy_driver)->get_features [3879479272536170496]

drivers/net/phy/dp83848.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/davicom.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/ax88796b.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/air_an8801.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/meson-gxl.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/mscc/mscc_main.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/nxp-cbtx.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/microchip.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/air_en8811h.c (null)() -> (struct phy_driver)->get_features [1984442504156487680]

drivers/net/phy/dp83867.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/adin1140-phy.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/qcom/at803x.c (null)() -> (struct phy_driver)->get_features [0,5213766163882135552]

drivers/net/phy/bcm87xx.c (null)() -> (struct phy_driver)->get_features [4607757087732207616]

drivers/net/phy/bcm7xxx.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/intel-xway.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/bcm63xx.c (null)() -> (struct phy_driver)->get_features [0]

drivers/net/phy/dp83td510.c (null)() -> (struct phy_driver)->get_features [4603763685362069504]

drivers/net/phy/mxl-gpy.c (null)() -> (struct phy_driver)->get_features [5101312119769485312]

drivers/net/phy/bcm84881.c (null)() -> (struct phy_driver)->get_features [6123323344865021952]