/linux-6.1.9/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) 174 __entry->ssid = __entry->tpi_info.schid.ssid; 181 __entry->cssid, __entry->ssid, __entry->schno, __entry->cc, 198 __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() 285 int ssid; member 297 iter->ssid = *offset / (__MAX_SUBCHANNEL + 1); in cio_ignore_proc_seq_start() 319 iter->ssid++; in cio_ignore_proc_seq_next() [all …]
|
D | vfio_ccw_fsm.c | 167 sch->schid.ssid, in fsm_notoper() 268 schid.ssid, schid.sch_no); in fsm_io_request() 277 schid.ssid, schid.sch_no, in fsm_io_request() 288 schid.ssid, schid.sch_no, in fsm_io_request() 301 schid.ssid, schid.sch_no, in fsm_io_request() 312 schid.ssid, schid.sch_no); in fsm_io_request() 320 schid.ssid, schid.sch_no); in fsm_io_request()
|
/linux-6.1.9/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 …]
|
/linux-6.1.9/drivers/staging/rtl8723bs/core/ |
D | rtw_ioctl_set.c | 25 u8 rtw_validate_ssid(struct ndis_802_11_ssid *ssid) in rtw_validate_ssid() argument 29 if (ssid->ssid_length > 32) { in rtw_validate_ssid() 97 memcpy(&pdev_network->ssid, &pmlmepriv->assoc_ssid, sizeof(struct ndis_802_11_ssid)); in rtw_do_join() 137 u8 rtw_set_802_11_ssid(struct adapter *padapter, struct ndis_802_11_ssid *ssid) in rtw_set_802_11_ssid() argument 145 ssid->ssid, get_fwstate(pmlmepriv)); in rtw_set_802_11_ssid() 160 if ((pmlmepriv->assoc_ssid.ssid_length == ssid->ssid_length) && in rtw_set_802_11_ssid() 161 (!memcmp(&pmlmepriv->assoc_ssid.ssid, ssid->ssid, ssid->ssid_length))) { in rtw_set_802_11_ssid() 203 if (rtw_validate_ssid(ssid) == false) { in rtw_set_802_11_ssid() 208 memcpy(&pmlmepriv->assoc_ssid, ssid, sizeof(struct ndis_802_11_ssid)); in rtw_set_802_11_ssid() 224 u8 rtw_set_802_11_connect(struct adapter *padapter, u8 *bssid, struct ndis_802_11_ssid *ssid) in rtw_set_802_11_connect() argument [all …]
|
/linux-6.1.9/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 …]
|
/linux-6.1.9/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 136 return slow_avc_audit(state, ssid, tsid, tclass, in avc_audit() 144 u32 ssid, u32 tsid, 150 u32 ssid, u32 tsid, 155 u32 ssid, u32 tsid, u16 tclass, u32 requested,
|
/linux-6.1.9/net/wireless/ |
D | wext-sme.c | 149 struct iw_point *data, char *ssid) in cfg80211_mgd_wext_siwessid() argument 164 if (len > 0 && ssid[len - 1] == '\0') in cfg80211_mgd_wext_siwessid() 174 if (wdev->wext.connect.ssid && len && in cfg80211_mgd_wext_siwessid() 176 memcmp(wdev->wext.connect.ssid, ssid, len) == 0) in cfg80211_mgd_wext_siwessid() 189 wdev->wext.connect.ssid = wdev->wext.ssid; in cfg80211_mgd_wext_siwessid() 190 memcpy(wdev->wext.ssid, ssid, len); in cfg80211_mgd_wext_siwessid() 205 struct iw_point *data, char *ssid) in cfg80211_mgd_wext_giwessid() argument 233 memcpy(ssid, ssid_elem->data, data->length); in cfg80211_mgd_wext_giwessid() 236 } else if (wdev->wext.connect.ssid && wdev->wext.connect.ssid_len) { in cfg80211_mgd_wext_giwessid() 239 memcpy(ssid, wdev->wext.connect.ssid, data->length); in cfg80211_mgd_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);
|
D | ibss.c | 149 memcpy(wdev->u.ibss.ssid, params->ssid, params->ssid_len); in __cfg80211_join_ibss() 395 struct iw_point *data, char *ssid) in cfg80211_ibss_wext_siwessid() argument 419 if (len > 0 && ssid[len - 1] == '\0') in cfg80211_ibss_wext_siwessid() 422 memcpy(wdev->u.ibss.ssid, ssid, len); in cfg80211_ibss_wext_siwessid() 423 wdev->wext.ibss.ssid = wdev->u.ibss.ssid; in cfg80211_ibss_wext_siwessid() 435 struct iw_point *data, char *ssid) in cfg80211_ibss_wext_giwessid() argument 449 memcpy(ssid, wdev->u.ibss.ssid, data->length); in cfg80211_ibss_wext_giwessid() 450 } else if (wdev->wext.ibss.ssid && wdev->wext.ibss.ssid_len) { in cfg80211_ibss_wext_giwessid() 453 memcpy(ssid, wdev->wext.ibss.ssid, data->length); in cfg80211_ibss_wext_giwessid()
|
/linux-6.1.9/drivers/net/wireless/ti/wlcore/ |
D | scan.c | 331 const u8 *ssid, size_t ssid_len, in wlcore_scan() argument 347 if (ssid_len && ssid) { in wlcore_scan() 349 memcpy(wl->scan.ssid, ssid, ssid_len); in wlcore_scan() 382 if (sets[i].ssid.ssid_len > 0) in wlcore_scan_sched_scan_ssid_list() 408 memcpy(cmd->ssids[cmd->n_ssids].ssid, ssids[i].ssid, in wlcore_scan_sched_scan_ssid_list() 418 if (!sets[i].ssid.ssid_len) in wlcore_scan_sched_scan_ssid_list() 422 cmd->ssids[cmd->n_ssids].len = sets[i].ssid.ssid_len; in wlcore_scan_sched_scan_ssid_list() 423 memcpy(cmd->ssids[cmd->n_ssids].ssid, in wlcore_scan_sched_scan_ssid_list() 424 sets[i].ssid.ssid, sets[i].ssid.ssid_len); in wlcore_scan_sched_scan_ssid_list() 440 !memcmp(req->ssids[i].ssid, in wlcore_scan_sched_scan_ssid_list() [all …]
|
/linux-6.1.9/drivers/net/wireless/marvell/mwifiex/ |
D | join.c | 415 ssid_tlv->header.len = cpu_to_le16((u16) bss_desc->ssid.ssid_len); in mwifiex_cmd_802_11_associate() 416 memcpy(ssid_tlv->ssid, bss_desc->ssid.ssid, in mwifiex_cmd_802_11_associate() 701 bss_desc->ssid.ssid); in mwifiex_ret_802_11_associate() 866 memset(adhoc_start->ssid, 0, IEEE80211_MAX_SSID_LEN); in mwifiex_cmd_802_11_ad_hoc_start() 870 memcpy(adhoc_start->ssid, req_ssid->ssid, req_ssid->ssid_len); in mwifiex_cmd_802_11_ad_hoc_start() 873 adhoc_start->ssid); in mwifiex_cmd_802_11_ad_hoc_start() 875 memset(bss_desc->ssid.ssid, 0, IEEE80211_MAX_SSID_LEN); in mwifiex_cmd_802_11_ad_hoc_start() 876 memcpy(bss_desc->ssid.ssid, req_ssid->ssid, req_ssid->ssid_len); in mwifiex_cmd_802_11_ad_hoc_start() 878 bss_desc->ssid.ssid_len = req_ssid->ssid_len; in mwifiex_cmd_802_11_ad_hoc_start() 1152 memcpy(&adhoc_join->bss_descriptor.ssid, in mwifiex_cmd_802_11_ad_hoc_join() [all …]
|
/linux-6.1.9/drivers/staging/rtl8712/ |
D | rtl871x_ioctl_set.c | 25 static u8 validate_ssid(struct ndis_802_11_ssid *ssid) in validate_ssid() argument 29 if (ssid->SsidLength > 32) in validate_ssid() 31 for (i = 0; i < ssid->SsidLength; i++) { in validate_ssid() 33 if (!((ssid->Ssid[i] >= 0x20) && (ssid->Ssid[i] <= 0x7e))) in validate_ssid() 155 struct ndis_802_11_ssid *ssid) in r8712_set_802_11_ssid() argument 169 if ((pmlmepriv->assoc_ssid.SsidLength == ssid->SsidLength) && in r8712_set_802_11_ssid() 170 (!memcmp(&pmlmepriv->assoc_ssid.Ssid, ssid->Ssid, in r8712_set_802_11_ssid() 171 ssid->SsidLength))) { in r8712_set_802_11_ssid() 213 if (!validate_ssid(ssid)) in r8712_set_802_11_ssid() 215 memcpy(&pmlmepriv->assoc_ssid, ssid, sizeof(struct ndis_802_11_ssid)); in r8712_set_802_11_ssid()
|
/linux-6.1.9/kernel/cgroup/ |
D | cgroup-internal.h | 116 int ssid; member 180 #define for_each_subsys(ss, ssid) \ argument 181 for ((ssid) = 0; (ssid) < CGROUP_SUBSYS_COUNT && \ 182 (((ss) = cgroup_subsys[ssid]) || true); (ssid)++) 221 bool cgroup_ssid_enabled(int ssid); 290 bool cgroup1_ssid_disabled(int ssid);
|
D | cgroup.c | 259 bool cgroup_ssid_enabled(int ssid) in cgroup_ssid_enabled() argument 264 return static_key_enabled(cgroup_subsys_enabled_key[ssid]); in cgroup_ssid_enabled() 679 #define for_each_css(css, ssid, cgrp) \ argument 680 for ((ssid) = 0; (ssid) < CGROUP_SUBSYS_COUNT; (ssid)++) \ 682 (cgrp)->subsys[(ssid)], \ 694 #define for_each_e_css(css, ssid, cgrp) \ argument 695 for ((ssid) = 0; (ssid) < CGROUP_SUBSYS_COUNT; (ssid)++) \ 697 cgroup_subsys[(ssid)]))) \ 710 #define do_each_subsys_mask(ss, ssid, ss_mask) do { \ argument 713 (ssid) = 0; \ [all …]
|
/linux-6.1.9/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 | cfg80211.c | 321 msg1.ssid.data.len = request->ssids->ssid_len; in prism2_scan() 322 memcpy(msg1.ssid.data.data, in prism2_scan() 323 request->ssids->ssid, request->ssids->ssid_len); in prism2_scan() 360 ie_buf[1] = msg2->ssid.data.len; in prism2_scan() 362 memcpy(&ie_buf[2], &msg2->ssid.data.data, msg2->ssid.data.len); in prism2_scan() 532 memcpy(msg_join.ssid.data.data, sme->ssid, length); in prism2_connect() 533 msg_join.ssid.data.len = length; in prism2_connect() 555 memcpy(msg_join.ssid.data.data, "---", 3); in prism2_disconnect() 556 msg_join.ssid.data.len = 3; in prism2_disconnect()
|
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
|
/linux-6.1.9/drivers/staging/rtl8723bs/include/ |
D | rtw_ioctl_set.h | 18 u8 rtw_set_802_11_ssid(struct adapter *padapter, struct ndis_802_11_ssid *ssid); 19 u8 rtw_set_802_11_connect(struct adapter *padapter, u8 *bssid, struct ndis_802_11_ssid *ssid); 22 u8 rtw_validate_ssid(struct ndis_802_11_ssid *ssid);
|
/linux-6.1.9/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
|
/linux-6.1.9/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
|
/linux-6.1.9/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()
|
/linux-6.1.9/drivers/net/wireless/realtek/rtw88/ |
D | fw.c | 847 struct cfg80211_ssid *ssid) in rtw_get_rsvd_page_probe_req_location() argument 855 if ((!ssid && !rsvd_pkt->ssid) || in rtw_get_rsvd_page_probe_req_location() 856 rtw_ssid_equal(rsvd_pkt->ssid, ssid)) in rtw_get_rsvd_page_probe_req_location() 864 struct cfg80211_ssid *ssid) in rtw_get_rsvd_page_probe_req_size() argument 872 if ((!ssid && !rsvd_pkt->ssid) || in rtw_get_rsvd_page_probe_req_size() 873 rtw_ssid_equal(rsvd_pkt->ssid, ssid)) in rtw_get_rsvd_page_probe_req_size() 912 struct cfg80211_ssid *ssid; in rtw_nlo_info_get() local 939 nlo_hdr->ssid_len[i] = pno_req->match_sets[i].ssid.ssid_len; in rtw_nlo_info_get() 942 ssid = &pno_req->match_sets[i].ssid; in rtw_nlo_info_get() 943 loc = rtw_get_rsvd_page_probe_req_location(rtwdev, ssid); in rtw_nlo_info_get() [all …]
|