Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/net/wireless/intel/iwlwifi/mld/rx.c iwl_mld_rx_fill_status() -> iwl_mld_ptp_get_adj_time()

Type Parameter Key Value
PARAM_VALUE 0 mld 4096-ptr_max
PARAM_VALUE 0 mld->monitor.on 1
PARAM_VALUE 0 mld->monitor.ptp_time 1
PARAM_VALUE 1 base_time_ns 0-4294967295000
DATA_SOURCE 0 mld $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &rxq->lock
HALF_LOCKED2 bh
HALF_LOCKED2 rcu_read

drivers/net/wireless/intel/iwlwifi/mld/time_sync.c iwl_mld_handle_time_msmt_notif() -> iwl_mld_ptp_get_adj_time()

Type Parameter Key Value
PARAM_VALUE 0 mld 4096-ptr_max
PARAM_VALUE 0 mld->ptp_data.lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 mld->time_sync 4096-ptr_max
DATA_SOURCE 0 mld $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &data->lock
LOCK2 bh
TYPE_LOCK (struct ptp_data)->lock

drivers/net/wireless/intel/iwlwifi/mld/time_sync.c iwl_mld_handle_time_msmt_notif() -> iwl_mld_ptp_get_adj_time()

Type Parameter Key Value
PARAM_VALUE 0 mld 4096-ptr_max
PARAM_VALUE 0 mld->ptp_data.dwork->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 mld->ptp_data.dwork.timer.entry->pprev 4096-ptr_max
PARAM_VALUE 0 mld->ptp_data.lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 mld->time_sync 4096-ptr_max
DATA_SOURCE 0 mld $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &data->lock
LOCK2 bh
TYPE_LOCK (struct ptp_data)->lock

drivers/net/wireless/intel/iwlwifi/mld/time_sync.c iwl_mld_handle_time_sync_confirm_notif() -> iwl_mld_ptp_get_adj_time()

Type Parameter Key Value
PARAM_VALUE 0 mld 4096-ptr_max
PARAM_VALUE 0 mld->ptp_data.lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 mld->time_sync 4096-ptr_max
DATA_SOURCE 0 mld $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &data->lock
LOCK2 bh
TYPE_LOCK (struct ptp_data)->lock

drivers/net/wireless/intel/iwlwifi/mld/time_sync.c iwl_mld_handle_time_sync_confirm_notif() -> iwl_mld_ptp_get_adj_time()

Type Parameter Key Value
PARAM_VALUE 0 mld 4096-ptr_max
PARAM_VALUE 0 mld->ptp_data.dwork->timer->entry.pprev 4096-ptr_max
PARAM_VALUE 0 mld->ptp_data.dwork.timer.entry->pprev 4096-ptr_max
PARAM_VALUE 0 mld->ptp_data.lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 mld->time_sync 4096-ptr_max
DATA_SOURCE 0 mld $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &data->lock
LOCK2 bh
TYPE_LOCK (struct ptp_data)->lock

drivers/net/wireless/intel/iwlwifi/mld/ptp.c iwl_mld_phc_get_crosstimestamp() -> iwl_mld_ptp_get_adj_time()

Type Parameter Key Value
PARAM_VALUE 0 mld 4096-ptr_max
PARAM_VALUE 0 mld->fw_status.in_d3 0
PARAM_VALUE 0 mld->ptp_data.lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 mld->trans->dev->iommu->pci_32bit_workaround 0-1
PARAM_VALUE 0 mld->trans->state 2
PARAM_VALUE 0 mld->trans->sync_cmd_lockdep_map->name 0-255
PARAM_VALUE 0 mld->trans->trans_specific->reg_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 mld->wiphy 4096-ptr_max
PARAM_VALUE 0 mld->wiphy->mtx.dep_map->name 0-255
PARAM_VALUE 0 mld->wiphy->mtx.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 mld->wiphy->mtx.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 mld->wiphy->mtx.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 mld->wiphy->mtx.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 mld->wiphy->mtx.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 mld->wiphy->mtx.first_waiter->task->usage.refs.counter s32min-s32max
CAPPED_DATA 0 mld->trans->mac_cfg->base->max_tfd_queue_size 1
CAPPED_DATA 0 mld->trans->mac_cfg->base->num_of_queues 1
CAPPED_DATA 0 mld->trans->mac_cfg->base->ucode_api_max 1
PREEMPT_ADD <- disables preempt
LOCK2 &data->lock
LOCK2 bh
TYPE_LOCK (struct ptp_data)->lock

drivers/net/wireless/intel/iwlwifi/mld/ptp.c iwl_mld_ptp_adjfine() -> iwl_mld_ptp_get_adj_time()

Type Parameter Key Value
PARAM_VALUE 0 mld 4096-ptr_max
PARAM_VALUE 0 mld->ptp_data.lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 mld->trans 4096-ptr_max
PARAM_VALUE 0 mld->trans->mac_cfg 4096-ptr_max
PARAM_VALUE 0 mld->trans->mac_cfg->base 4096-ptr_max
PARAM_VALUE 0 mld->trans->trans_specific->reg_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 base_time_ns 0-1515870809000,1515870811000-4294967295000
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &data->lock
LOCK2 bh
TYPE_LOCK (struct ptp_data)->lock

drivers/net/wireless/intel/iwlwifi/mld/ptp.c iwl_mld_ptp_gettime() -> iwl_mld_ptp_get_adj_time()

Type Parameter Key Value
PARAM_VALUE 0 mld 4096-ptr_max
PARAM_VALUE 0 mld->ptp_data.lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 mld->trans 4096-ptr_max
PARAM_VALUE 0 mld->trans->mac_cfg 4096-ptr_max
PARAM_VALUE 0 mld->trans->mac_cfg->base 4096-ptr_max
PARAM_VALUE 0 mld->trans->trans_specific->reg_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 base_time_ns 0-1515870809000,1515870811000-4294967295000
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
LOCK2 &data->lock
LOCK2 bh
HALF_LOCKED2 &priv->est_lock
HALF_LOCKED2 &priv->lock
HALF_LOCKED2 flags
TYPE_LOCK (struct ptp_data)->lock