/kernel/linux/linux-5.10/drivers/s390/cio/ |
D | vfio_ccw_trace.h | 28 __field(u8, ssid) 36 __entry->ssid = schid.ssid; 44 __entry->ssid, 58 __field(u8, ssid) 66 __entry->ssid = schid.ssid; 74 __entry->ssid, 86 __field(u8, ssid) 94 __entry->ssid = schid.ssid; 101 __entry->cssid, __entry->ssid, __entry->schno, 112 __field(u8, ssid) [all …]
|
D | idset.c | 47 static inline void idset_add(struct idset *set, int ssid, int id) in idset_add() argument 49 set_bit(ssid * set->num_id + id, set->bitmap); in idset_add() 52 static inline void idset_del(struct idset *set, int ssid, int id) in idset_del() argument 54 clear_bit(ssid * set->num_id + id, set->bitmap); in idset_del() 57 static inline int idset_contains(struct idset *set, int ssid, int id) in idset_contains() argument 59 return test_bit(ssid * set->num_id + id, set->bitmap); in idset_contains() 69 idset_add(set, schid.ssid, schid.sch_no); in idset_sch_add() 74 idset_del(set, schid.ssid, schid.sch_no); in idset_sch_del() 80 int pos = schid.ssid * set->num_id + schid.sch_no; in idset_sch_del_subseq() 87 return idset_contains(set, schid.ssid, schid.sch_no); in idset_sch_contains()
|
D | trace.h | 29 __field(u8, ssid) 48 __entry->ssid = schid.ssid; 68 __entry->cssid, __entry->ssid, __entry->schno, __entry->cc, 111 __field(u8, ssid) 125 __entry->ssid = schid.ssid; 139 __entry->cssid, __entry->ssid, __entry->schno, __entry->cc, 159 __field(u8, ssid) 176 __entry->ssid = __entry->tpi_info.schid.ssid; 183 __entry->cssid, __entry->ssid, __entry->schno, __entry->cc, 200 __field(u8, ssid) [all …]
|
D | blacklist.c | 101 static int parse_busid(char *str, unsigned int *cssid, unsigned int *ssid, in parse_busid() argument 119 *ssid = 0; in parse_busid() 132 ret = pure_hex(&str_work, ssid, 1, 1, __MAX_SSID); in parse_busid() 179 from_ssid = ipl_info.data.ccw.dev_id.ssid; in blacklist_parse_parameters() 184 from_ssid = ipl_info.data.fcp.dev_id.ssid; in blacklist_parse_parameters() 246 is_blacklisted (int ssid, int devno) in is_blacklisted() argument 248 return test_bit (devno, bl_dev[ssid]); in is_blacklisted() 280 int ssid; member 292 iter->ssid = *offset / (__MAX_SUBCHANNEL + 1); in cio_ignore_proc_seq_start() 314 iter->ssid++; in cio_ignore_proc_seq_next() [all …]
|
/kernel/linux/linux-5.10/security/selinux/ |
D | avc.c | 48 u32 ssid; member 127 static inline int avc_hash(u32 ssid, u32 tsid, u16 tclass) in avc_hash() argument 129 return (ssid ^ (tsid<<2) ^ (tclass<<4)) & (AVC_CACHE_SLOTS - 1); in avc_hash() 418 u32 ssid, u32 tsid, u16 tclass, in avc_xperms_audit() argument 430 return slow_avc_audit(state, ssid, tsid, tclass, requested, in avc_xperms_audit() 519 static void avc_node_populate(struct avc_node *node, u32 ssid, u32 tsid, u16 tclass, struct av_deci… in avc_node_populate() argument 521 node->ae.ssid = ssid; in avc_node_populate() 528 u32 ssid, u32 tsid, u16 tclass) in avc_search_node() argument 534 hvalue = avc_hash(ssid, tsid, tclass); in avc_search_node() 537 if (ssid == node->ae.ssid && in avc_search_node() [all …]
|
/kernel/linux/linux-5.10/security/selinux/include/ |
D | avc.h | 48 u32 ssid; member 101 u32 ssid, u32 tsid, u16 tclass, 126 u32 ssid, u32 tsid, in avc_audit() argument 140 return slow_avc_audit(state, ssid, tsid, tclass, in avc_audit() 149 u32 ssid, u32 tsid, 155 u32 ssid, u32 tsid, 159 u32 ssid, u32 tsid, 165 u32 ssid, u32 tsid, u16 tclass, u32 requested,
|
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | pno.c | 197 static int brcmf_pno_add_ssid(struct brcmf_if *ifp, struct cfg80211_ssid *ssid, in brcmf_pno_add_ssid() argument 211 pfn.ssid.SSID_len = cpu_to_le32(ssid->ssid_len); in brcmf_pno_add_ssid() 212 memcpy(pfn.ssid.SSID, ssid->ssid, ssid->ssid_len); in brcmf_pno_add_ssid() 214 brcmf_dbg(SCAN, "adding ssid=%.32s (active=%d)\n", ssid->ssid, active); in brcmf_pno_add_ssid() 238 static bool brcmf_is_ssid_active(struct cfg80211_ssid *ssid, in brcmf_is_ssid_active() argument 243 if (!ssid || !req->ssids || !req->n_ssids) in brcmf_is_ssid_active() 247 if (ssid->ssid_len == req->ssids[i].ssid_len) { in brcmf_is_ssid_active() 248 if (!strncmp(ssid->ssid, req->ssids[i].ssid, in brcmf_is_ssid_active() 249 ssid->ssid_len)) in brcmf_is_ssid_active() 376 if (ms->ssid.ssid_len) { in brcmf_pno_config_networks() [all …]
|
/kernel/linux/linux-5.10/net/wireless/ |
D | wext-sme.c | 146 struct iw_point *data, char *ssid) in cfg80211_mgd_wext_siwessid() argument 161 if (len > 0 && ssid[len - 1] == '\0') in cfg80211_mgd_wext_siwessid() 171 if (wdev->wext.connect.ssid && len && in cfg80211_mgd_wext_siwessid() 173 memcmp(wdev->wext.connect.ssid, ssid, len) == 0) in cfg80211_mgd_wext_siwessid() 186 wdev->wext.connect.ssid = wdev->wext.ssid; in cfg80211_mgd_wext_siwessid() 187 memcpy(wdev->wext.ssid, ssid, len); in cfg80211_mgd_wext_siwessid() 202 struct iw_point *data, char *ssid) in cfg80211_mgd_wext_giwessid() argument 226 memcpy(ssid, ie + 2, data->length); in cfg80211_mgd_wext_giwessid() 229 } else if (wdev->wext.connect.ssid && wdev->wext.connect.ssid_len) { in cfg80211_mgd_wext_giwessid() 232 memcpy(ssid, wdev->wext.connect.ssid, data->length); in cfg80211_mgd_wext_giwessid()
|
D | ibss.c | 150 memcpy(wdev->ssid, params->ssid, params->ssid_len); in __cfg80211_join_ibss() 396 struct iw_point *data, char *ssid) in cfg80211_ibss_wext_siwessid() argument 420 if (len > 0 && ssid[len - 1] == '\0') in cfg80211_ibss_wext_siwessid() 423 memcpy(wdev->ssid, ssid, len); in cfg80211_ibss_wext_siwessid() 424 wdev->wext.ibss.ssid = wdev->ssid; in cfg80211_ibss_wext_siwessid() 436 struct iw_point *data, char *ssid) in cfg80211_ibss_wext_giwessid() argument 450 memcpy(ssid, wdev->ssid, data->length); in cfg80211_ibss_wext_giwessid() 451 } else if (wdev->wext.ibss.ssid && wdev->wext.ibss.ssid_len) { in cfg80211_ibss_wext_giwessid() 454 memcpy(ssid, wdev->wext.ibss.ssid, data->length); in cfg80211_ibss_wext_giwessid()
|
D | wext-compat.h | 28 struct iw_point *data, char *ssid); 31 struct iw_point *data, char *ssid); 47 struct iw_point *data, char *ssid); 50 struct iw_point *data, char *ssid);
|
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wlcore/ |
D | scan.c | 333 const u8 *ssid, size_t ssid_len, in wlcore_scan() argument 349 if (ssid_len && ssid) { in wlcore_scan() 351 memcpy(wl->scan.ssid, ssid, ssid_len); in wlcore_scan() 384 if (sets[i].ssid.ssid_len > 0) in wlcore_scan_sched_scan_ssid_list() 410 memcpy(cmd->ssids[cmd->n_ssids].ssid, ssids[i].ssid, in wlcore_scan_sched_scan_ssid_list() 420 if (!sets[i].ssid.ssid_len) in wlcore_scan_sched_scan_ssid_list() 424 cmd->ssids[cmd->n_ssids].len = sets[i].ssid.ssid_len; in wlcore_scan_sched_scan_ssid_list() 425 memcpy(cmd->ssids[cmd->n_ssids].ssid, in wlcore_scan_sched_scan_ssid_list() 426 sets[i].ssid.ssid, sets[i].ssid.ssid_len); in wlcore_scan_sched_scan_ssid_list() 442 !memcmp(req->ssids[i].ssid, in wlcore_scan_sched_scan_ssid_list() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/core/ |
D | rtw_ioctl_set.c | 26 u8 rtw_validate_ssid(struct ndis_802_11_ssid *ssid) in rtw_validate_ssid() argument 30 if (ssid->SsidLength > 32) { in rtw_validate_ssid() 37 for (i = 0; i < ssid->SsidLength; i++) { in rtw_validate_ssid() 39 if (!((ssid->Ssid[i] >= 0x20) && (ssid->Ssid[i] <= 0x7e))) { in rtw_validate_ssid() 235 u8 rtw_set_802_11_ssid(struct adapter *padapter, struct ndis_802_11_ssid *ssid) in rtw_set_802_11_ssid() argument 243 ssid->Ssid, get_fwstate(pmlmepriv)); in rtw_set_802_11_ssid() 265 if ((pmlmepriv->assoc_ssid.SsidLength == ssid->SsidLength) && in rtw_set_802_11_ssid() 266 (!memcmp(&pmlmepriv->assoc_ssid.Ssid, ssid->Ssid, ssid->SsidLength))) { in rtw_set_802_11_ssid() 293 …1x_ioctl_set_c_, _drv_info_, ("set_ssid =[%s] len = 0x%x\n", ssid->Ssid, (unsigned int)ssid->SsidL… in rtw_set_802_11_ssid() 316 if (rtw_validate_ssid(ssid) == false) { in rtw_set_802_11_ssid() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/ |
D | join.c | 427 ssid_tlv->header.len = cpu_to_le16((u16) bss_desc->ssid.ssid_len); in mwifiex_cmd_802_11_associate() 428 memcpy(ssid_tlv->ssid, bss_desc->ssid.ssid, in mwifiex_cmd_802_11_associate() 713 bss_desc->ssid.ssid); in mwifiex_ret_802_11_associate() 878 memset(adhoc_start->ssid, 0, IEEE80211_MAX_SSID_LEN); in mwifiex_cmd_802_11_ad_hoc_start() 882 memcpy(adhoc_start->ssid, req_ssid->ssid, req_ssid->ssid_len); in mwifiex_cmd_802_11_ad_hoc_start() 885 adhoc_start->ssid); in mwifiex_cmd_802_11_ad_hoc_start() 887 memset(bss_desc->ssid.ssid, 0, IEEE80211_MAX_SSID_LEN); in mwifiex_cmd_802_11_ad_hoc_start() 888 memcpy(bss_desc->ssid.ssid, req_ssid->ssid, req_ssid->ssid_len); in mwifiex_cmd_802_11_ad_hoc_start() 890 bss_desc->ssid.ssid_len = req_ssid->ssid_len; in mwifiex_cmd_802_11_ad_hoc_start() 1164 memcpy(&adhoc_join->bss_descriptor.ssid, in mwifiex_cmd_802_11_ad_hoc_join() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/rtl8712/ |
D | rtl871x_ioctl_set.c | 26 static u8 validate_ssid(struct ndis_802_11_ssid *ssid) in validate_ssid() argument 30 if (ssid->SsidLength > 32) in validate_ssid() 32 for (i = 0; i < ssid->SsidLength; i++) { in validate_ssid() 34 if (!((ssid->Ssid[i] >= 0x20) && (ssid->Ssid[i] <= 0x7e))) in validate_ssid() 156 struct ndis_802_11_ssid *ssid) in r8712_set_802_11_ssid() argument 170 if ((pmlmepriv->assoc_ssid.SsidLength == ssid->SsidLength) && in r8712_set_802_11_ssid() 171 (!memcmp(&pmlmepriv->assoc_ssid.Ssid, ssid->Ssid, in r8712_set_802_11_ssid() 172 ssid->SsidLength))) { in r8712_set_802_11_ssid() 214 if (!validate_ssid(ssid)) in r8712_set_802_11_ssid() 216 memcpy(&pmlmepriv->assoc_ssid, ssid, sizeof(struct ndis_802_11_ssid)); in r8712_set_802_11_ssid()
|
/kernel/linux/linux-5.10/kernel/cgroup/ |
D | cgroup-internal.h | 117 int ssid; member 182 #define for_each_subsys(ss, ssid) \ argument 183 for ((ssid) = 0; (ssid) < CGROUP_SUBSYS_COUNT && \ 184 (((ss) = cgroup_subsys[ssid]) || true); (ssid)++) 223 bool cgroup_ssid_enabled(int ssid); 289 bool cgroup1_ssid_disabled(int ssid);
|
D | cgroup.c | 233 bool cgroup_ssid_enabled(int ssid) in cgroup_ssid_enabled() argument 238 return static_key_enabled(cgroup_subsys_enabled_key[ssid]); in cgroup_ssid_enabled() 651 #define for_each_css(css, ssid, cgrp) \ argument 652 for ((ssid) = 0; (ssid) < CGROUP_SUBSYS_COUNT; (ssid)++) \ 654 (cgrp)->subsys[(ssid)], \ 666 #define for_each_e_css(css, ssid, cgrp) \ argument 667 for ((ssid) = 0; (ssid) < CGROUP_SUBSYS_COUNT; (ssid)++) \ 669 cgroup_subsys[(ssid)]))) \ 682 #define do_each_subsys_mask(ss, ssid, ss_mask) do { \ argument 685 (ssid) = 0; \ [all …]
|
/kernel/linux/linux-5.10/drivers/staging/rtl8188eu/core/ |
D | rtw_ioctl_set.c | 80 memcpy(&pdev_network->ssid, &pmlmepriv->assoc_ssid, sizeof(struct ndis_802_11_ssid)); in rtw_do_join() 202 u8 rtw_set_802_11_ssid(struct adapter *padapter, struct ndis_802_11_ssid *ssid) in rtw_set_802_11_ssid() argument 211 ssid->ssid, get_fwstate(pmlmepriv)); in rtw_set_802_11_ssid() 232 if (pmlmepriv->assoc_ssid.ssid_length == ssid->ssid_length && in rtw_set_802_11_ssid() 233 !memcmp(&pmlmepriv->assoc_ssid.ssid, ssid->ssid, ssid->ssid_length)) { in rtw_set_802_11_ssid() 260 …1x_ioctl_set_c_, _drv_info_, ("set_ssid =[%s] len = 0x%x\n", ssid->ssid, (unsigned int)ssid->ssid_… in rtw_set_802_11_ssid() 261 …t_c_, _drv_info_, ("assoc_ssid =[%s] len = 0x%x\n", pmlmepriv->assoc_ssid.ssid, (unsigned int)pmlm… in rtw_set_802_11_ssid() 291 memcpy(&pmlmepriv->assoc_ssid, ssid, sizeof(struct ndis_802_11_ssid)); in rtw_set_802_11_ssid()
|
D | rtw_mlme.c | 293 return (a->ssid.ssid_length == b->ssid.ssid_length) && in is_same_ess() 294 !memcmp(a->ssid.ssid, b->ssid.ssid, a->ssid.ssid_length); in is_same_ess() 308 return ((src->ssid.ssid_length == dst->ssid.ssid_length) && in is_same_network() 310 (!memcmp(src->ssid.ssid, dst->ssid.ssid, src->ssid.ssid_length)) && in is_same_network() 551 ("%s, ssid=%s\n", __func__, pnetwork->ssid.ssid)); in rtw_survey_event_callback() 580 if (pnetwork->ssid.ssid[0] == 0) in rtw_survey_event_callback() 581 pnetwork->ssid.ssid_length = 0; in rtw_survey_event_callback() 629 memcpy(&pdev_network->ssid, &pmlmepriv->assoc_ssid, sizeof(struct ndis_802_11_ssid)); in rtw_surveydone_event_callback() 734 tgt_network->network.MacAddress, tgt_network->network.ssid.ssid)); in rtw_free_assoc_resources_locked() 971 …e_c_, _drv_err_, ("@@@@@ rtw_joinbss_event_callback for SSid:%s\n", pmlmepriv->assoc_ssid.ssid)); in rtw_joinbss_event_prehandle() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtw88/ |
D | fw.c | 660 struct cfg80211_ssid *ssid) in rtw_get_rsvd_page_probe_req_location() argument 668 if ((!ssid && !rsvd_pkt->ssid) || in rtw_get_rsvd_page_probe_req_location() 669 rtw_ssid_equal(rsvd_pkt->ssid, ssid)) in rtw_get_rsvd_page_probe_req_location() 677 struct cfg80211_ssid *ssid) in rtw_get_rsvd_page_probe_req_size() argument 685 if ((!ssid && !rsvd_pkt->ssid) || in rtw_get_rsvd_page_probe_req_size() 686 rtw_ssid_equal(rsvd_pkt->ssid, ssid)) in rtw_get_rsvd_page_probe_req_size() 725 struct cfg80211_ssid *ssid; in rtw_nlo_info_get() local 752 nlo_hdr->ssid_len[i] = pno_req->match_sets[i].ssid.ssid_len; in rtw_nlo_info_get() 755 ssid = &pno_req->match_sets[i].ssid; in rtw_nlo_info_get() 756 loc = rtw_get_rsvd_page_probe_req_location(rtwdev, ssid); in rtw_nlo_info_get() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/wlan-ng/ |
D | prism2mgmt.c | 215 scanreq.ssid.len = cpu_to_le16(msg->ssid.data.len); in prism2mgmt_scan() 216 memcpy(scanreq.ssid.data, msg->ssid.data.data, msg->ssid.data.len); in prism2mgmt_scan() 430 req->ssid.status = P80211ENUM_msgitem_status_data_ok; in prism2mgmt_scan_results() 431 req->ssid.data.len = le16_to_cpu(item->ssid.len); in prism2mgmt_scan_results() 432 req->ssid.data.len = min_t(u16, req->ssid.data.len, WLAN_SSID_MAXLEN); in prism2mgmt_scan_results() 433 memcpy(req->ssid.data.data, item->ssid.data, req->ssid.data.len); in prism2mgmt_scan_results() 558 memcpy(&wlandev->ssid, &msg->ssid.data, sizeof(msg->ssid.data)); in prism2mgmt_start() 577 pstr = (struct p80211pstrd *)&msg->ssid.data; in prism2mgmt_start() 1059 memcpy(&wlandev->ssid, &msg->ssid.data, sizeof(msg->ssid.data)); in prism2mgmt_autojoin() 1078 pstr = (struct p80211pstrd *)&msg->ssid.data; in prism2mgmt_autojoin()
|
D | p80211mgmt.h | 232 u8 ssid[1]; /* may be zero, ptrs may overlap */ member 322 struct wlan_ie_ssid *ssid; member 375 struct wlan_ie_ssid *ssid; member 410 struct wlan_ie_ssid *ssid; member 442 struct wlan_ie_ssid *ssid; member 460 struct wlan_ie_ssid *ssid; member
|
/kernel/linux/linux-5.10/drivers/staging/rtl8723bs/include/ |
D | rtw_ioctl_set.h | 25 u8 rtw_set_802_11_ssid(struct adapter *padapter, struct ndis_802_11_ssid * ssid); 26 u8 rtw_set_802_11_connect(struct adapter *padapter, u8 *bssid, struct ndis_802_11_ssid *ssid); 29 u8 rtw_validate_ssid(struct ndis_802_11_ssid *ssid);
|
/kernel/linux/linux-5.10/drivers/staging/ks7010/ |
D | ks_hostif.h | 251 struct ssid { struct 393 struct ssid ssid; member 410 struct ssid ssid; member 425 struct ssid ssid; member 457 struct ssid ssid; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/ti/wl1251/ |
D | wl12xx_80211.h | 80 char ssid[IEEE80211_MAX_SSID_LEN]; member 113 struct wl12xx_ie_ssid ssid; member 138 struct wl12xx_ie_ssid ssid; member 149 struct wl12xx_ie_ssid ssid; member
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/ |
D | wow.c | 191 ssid_len = nd_config->match_sets[i].ssid.ssid_len; in ath10k_wmi_pno_check() 196 pno->a_networks[i].ssid.ssid_len = __cpu_to_le32(ssid_len); in ath10k_wmi_pno_check() 198 memcpy(pno->a_networks[i].ssid.ssid, in ath10k_wmi_pno_check() 199 nd_config->match_sets[i].ssid.ssid, in ath10k_wmi_pno_check() 200 nd_config->match_sets[i].ssid.ssid_len); in ath10k_wmi_pno_check() 224 if (__le32_to_cpu(pno->a_networks[j].ssid.ssid_len) == in ath10k_wmi_pno_check() 226 (memcmp(pno->a_networks[j].ssid.ssid, in ath10k_wmi_pno_check() 227 nd_config->ssids[i].ssid, in ath10k_wmi_pno_check() 228 __le32_to_cpu(pno->a_networks[j].ssid.ssid_len)) == 0)) { in ath10k_wmi_pno_check()
|