Mutex ====================================== .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow Topics in this section, * :ref:`Learnings in this section ` * :ref:`Version Info ` * :ref:`Mutex ` .. _FreebsdDeviceDriver_wireless_fdd_wi-fi_chipset_wi-fi_contexts_step1: .. tab-set:: .. tab-item:: Learnings in this section * In this section, you are going to learn .. panels:: :container: container pb-4 :column: col-lg-12 p-2 :card: shadow * Mutex .. _FreebsdDeviceDriver_wireless_fdd_wi-fi_chipset_wi-fi_contexts_step3: .. tab-set:: .. tab-item:: Version Info =============================== ======================================= # Version =============================== ======================================= Freebsd 14.1.0 wpa_supplicant 2.10 =============================== ======================================= .. _FreebsdDeviceDriver_wireless_fdd_wi-fi_chipset_wi-fi_contexts_step40: .. tab-set:: .. tab-item:: Mutex .. tab-set:: .. tab-item:: Iwlwifi : Mutex .. code-block:: shell test:~$ grep -rh "mutex_init" ./ | sed 's/^[ \t]*//' | sort | uniq mutex_init(&mvm->mutex); mutex_init(&trans_pcie->fw_mon_data.mutex); mutex_init(&trans_pcie->mutex); .. tab-set:: .. tab-item:: wlan : Mutex .. code-block:: shell test:~$ grep -rh "mtx_init" ./ | sed 's/^[ \t]*//' | sort | uniq mtx_init(&(_aq)->aq_lock, _name, "802.11 age q", MTX_DEF) mtx_init(&(_as)->as_lock, _name, "802.11 ACL", MTX_DEF) mtx_init(&(_psq)->psq_lock, _name, "802.11 ps q", MTX_DEF) mtx_init(&(_st)->st_lock, _name, "802.11 scan table", MTX_DEF) mtx_init(&(_st)->st_scanlock, _name, "802.11 scangen", MTX_DEF) mtx_init(&(ms)->ms_rt_lock, name, "802.11s routing table", MTX_DEF) mtx_init(&(rt)->rt_lock, _name, "802.11s route entry", MTX_DEF) mtx_init(&cl->mtx, cl->name, NULL, MTX_DEF | MTX_RECURSE); \ mtx_init(&cl->mtx, cl->name, NULL, MTX_DEF); \ mtx_init(&fl->mtx, fl->name, NULL, MTX_DEF); \ mtx_init(&nl->mtx, nl->name, NULL, MTX_DEF | MTX_RECURSE); \