Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 7 files:

Smatch caller information:

drivers/net/wireless/ath/ath9k/beacon.c ath9k_beacon_generate() -> ath9k_is_chanctx_enabled()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh

drivers/net/wireless/ath/ath9k/beacon.c ath9k_beacon_tasklet() -> ath9k_is_chanctx_enabled()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh

drivers/net/wireless/ath/ath9k/beacon.c ath9k_beacon_tasklet() -> ath9k_is_chanctx_enabled()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 bh

drivers/net/wireless/ath/ath9k/channel.c ath_chanctx_check_active() -> ath9k_is_chanctx_enabled()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &sc->mutex
HALF_LOCKED2 &sc->sc_pcu_lock

drivers/net/wireless/ath/ath9k/main.c ath9k_add_interface() -> ath9k_is_chanctx_enabled()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &sc->mutex
HALF_LOCKED2 &local->hw.wiphy->mtx
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct ath_softc)->mutex

drivers/net/wireless/ath/ath9k/main.c ath9k_add_interface() -> ath9k_is_chanctx_enabled()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &sc->mutex
HALF_LOCKED2 &local->hw.wiphy->mtx
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct ath_softc)->mutex

drivers/net/wireless/ath/ath9k/main.c ath9k_ampdu_action() -> ath9k_is_chanctx_enabled()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &sc->mutex
TYPE_LOCK (struct ath_softc)->mutex

drivers/net/wireless/ath/ath9k/main.c ath9k_assign_hw_queues() -> ath9k_is_chanctx_enabled()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &sc->mutex
HALF_LOCKED2 &local->hw.wiphy->mtx
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct ath_softc)->mutex

drivers/net/wireless/ath/ath9k/main.c ath9k_config() -> ath9k_is_chanctx_enabled()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &sc->mutex
TYPE_LOCK (struct ath_softc)->mutex

drivers/net/wireless/ath/ath9k/main.c ath9k_fill_chanctx_ops() -> ath9k_is_chanctx_enabled()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/net/wireless/ath/ath9k/main.c ath9k_flush() -> ath9k_is_chanctx_enabled()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/net/wireless/ath/ath9k/main.c ath9k_remove_interface() -> ath9k_is_chanctx_enabled()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &sc->mutex
HALF_LOCKED2 &local->hw.wiphy->mtx
HALF_LOCKED2 &local->iflist_mtx
HALF_LOCKED2 global &rtnl_mutex
TYPE_LOCK (struct ath_softc)->mutex

drivers/net/wireless/ath/ath9k/main.c ath9k_sta_state() -> ath9k_is_chanctx_enabled()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &rtnl_mutex

drivers/net/wireless/ath/ath9k/main.c ath9k_update_bssid_mask() -> ath9k_is_chanctx_enabled()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &file->lock
HALF_LOCKED2 &sc->mutex
HALF_LOCKED2 &sc->sc_pcu_lock

drivers/net/wireless/ath/ath9k/main.c ath_reset_internal() -> ath9k_is_chanctx_enabled()

Type Parameter Key Value
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &sc->sc_pcu_lock
LOCK2 bh
TYPE_LOCK (struct ath_softc)->sc_pcu_lock

drivers/net/wireless/ath/ath9k/recv.c ath9k_rx_skb_preprocess() -> ath9k_is_chanctx_enabled()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &sc->mutex
HALF_LOCKED2 &sc->sc_pcu_lock

drivers/net/wireless/ath/ath9k/recv.c ath_rx_ps_beacon() -> ath9k_is_chanctx_enabled()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &sc->sc_pm_lock
LOCK2 flags
HALF_LOCKED2 &sc->mutex
HALF_LOCKED2 &sc->sc_pcu_lock
HALF_LOCKED2 bh
TYPE_LOCK (struct ath_softc)->sc_pm_lock

drivers/net/wireless/ath/ath9k/xmit.c ath_tx_edma_tasklet() -> ath9k_is_chanctx_enabled()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &sc->sc_pcu_lock
LOCK2 rcu_read
TYPE_LOCK (struct ath_softc)->sc_pcu_lock

drivers/net/wireless/ath/ath9k/init.c ath9k_init_softc() -> ath9k_is_chanctx_enabled()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/net/wireless/ath/ath9k/init.c ath9k_set_mcc_capab() -> ath9k_is_chanctx_enabled()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

drivers/net/wireless/ath/ath9k/wow.c ath9k_suspend() -> ath9k_is_chanctx_enabled()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &sc->mutex
LOCK2 global &rtnl_mutex
HALF_LOCKED2 &local->hw.wiphy->mtx
HALF_LOCKED2 &rdev->wiphy.mtx
TYPE_LOCK (struct ath_softc)->mutex
TYPE_LOCK (struct wiphy)->mtx