/linux/drivers/s390/cio/ |
A 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; 112 __field(u8, ssid) 121 __entry->ssid = schid.ssid; [all …]
|
A D | trace.h | 29 __field(u8, ssid) 48 __entry->ssid = schid.ssid; 111 __field(u8, ssid) 125 __entry->ssid = schid.ssid; 159 __field(u8, ssid) 174 __entry->ssid = __entry->tpi_info.schid.ssid; 198 __field(u8, ssid) 205 __entry->ssid = schid.ssid; 220 __field(u8, ssid) 226 __entry->ssid = schid.ssid; [all …]
|
A 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()
|
A D | blacklist.c | 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() 320 if (iter->ssid > __MAX_SSID) in cio_ignore_proc_seq_next() [all …]
|
/linux/security/selinux/ |
A D | avc.c | 48 u32 ssid; member 418 u32 ssid, u32 tsid, u16 tclass, in avc_xperms_audit() argument 521 node->ae.ssid = ssid; in avc_node_populate() 537 if (ssid == node->ae.ssid && in avc_search_node() 562 u32 ssid, u32 tsid, u16 tclass) in avc_lookup() argument 647 if (pos->ae.ssid == ssid && in avc_insert() 787 sad.ssid = ssid; in slow_avc_audit() 874 if (ssid == pos->ae.ssid && in avc_update_node() 1002 u32 ssid, u32 tsid, in avc_compute_av() argument 1014 u32 ssid, u32 tsid, in avc_denied() argument [all …]
|
/linux/drivers/staging/rtl8723bs/core/ |
A 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() 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() 231 if (!ssid || rtw_validate_ssid(ssid) == false) in rtw_set_802_11_connect() 263 if (ssid && ssid_valid) in rtw_set_802_11_connect() [all …]
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
A D | pno.c | 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() 243 if (!ssid || !req->ssids || !req->n_ssids) 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() 377 active = brcmf_is_ssid_active(&ms->ssid, r); in brcmf_pno_config_networks() 378 err = brcmf_pno_add_ssid(ifp, &ms->ssid, in brcmf_pno_config_networks() 581 if (ms->ssid.ssid_len == ni->SSID_len && in brcmf_pno_get_bucket_map() [all …]
|
/linux/drivers/net/wireless/ti/wlcore/ |
A 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 …]
|
/linux/net/wireless/ |
A 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()
|
A D | ibss.c | 151 memcpy(wdev->ssid, params->ssid, params->ssid_len); in __cfg80211_join_ibss() 397 struct iw_point *data, char *ssid) in cfg80211_ibss_wext_siwessid() argument 421 if (len > 0 && ssid[len - 1] == '\0') in cfg80211_ibss_wext_siwessid() 424 memcpy(wdev->ssid, ssid, len); in cfg80211_ibss_wext_siwessid() 425 wdev->wext.ibss.ssid = wdev->ssid; in cfg80211_ibss_wext_siwessid() 437 struct iw_point *data, char *ssid) in cfg80211_ibss_wext_giwessid() argument 451 memcpy(ssid, wdev->ssid, data->length); in cfg80211_ibss_wext_giwessid() 452 } else if (wdev->wext.ibss.ssid && wdev->wext.ibss.ssid_len) { in cfg80211_ibss_wext_giwessid() 455 memcpy(ssid, wdev->wext.ibss.ssid, data->length); in cfg80211_ibss_wext_giwessid()
|
A 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);
|
/linux/drivers/net/wireless/marvell/mwifiex/ |
A D | join.c | 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() 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() 1165 &bss_desc->ssid.ssid, bss_desc->ssid.ssid_len); in mwifiex_cmd_802_11_ad_hoc_join() 1311 bss_desc->ssid.ssid); in mwifiex_ret_802_11_ad_hoc() 1325 bss_desc->ssid.ssid); in mwifiex_ret_802_11_ad_hoc() 1431 priv->curr_bss_params.bss_descriptor.ssid.ssid); in mwifiex_adhoc_join() [all …]
|
/linux/security/selinux/include/ |
A D | avc.h | 48 u32 ssid; member 101 u32 ssid, u32 tsid, u16 tclass, 125 u32 ssid, u32 tsid, in avc_audit() argument 135 return slow_avc_audit(state, ssid, tsid, tclass, in avc_audit() 143 u32 ssid, u32 tsid, 149 u32 ssid, u32 tsid, 154 u32 ssid, u32 tsid, u16 tclass, u32 requested,
|
/linux/drivers/staging/rtl8712/ |
A 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()
|
/linux/kernel/cgroup/ |
A D | cgroup-internal.h | 117 int ssid; member 183 #define for_each_subsys(ss, ssid) \ argument 184 for ((ssid) = 0; (ssid) < CGROUP_SUBSYS_COUNT && \ 185 (((ss) = cgroup_subsys[ssid]) || true); (ssid)++) 224 bool cgroup_ssid_enabled(int ssid); 290 bool cgroup1_ssid_disabled(int ssid);
|
A D | cgroup.c | 680 for ((ssid) = 0; (ssid) < CGROUP_SUBSYS_COUNT; (ssid)++) \ 695 for ((ssid) = 0; (ssid) < CGROUP_SUBSYS_COUNT; (ssid)++) \ 958 int ssid; in put_css_set_locked() local 1208 int ssid; in find_css_set() local 1544 int ssid; in cgroup_calc_subtree_ss_mask() local 1944 int ssid; in init_cgroup_housekeeping() local 2467 tset->ssid = ssid; in cgroup_migrate_execute() 2514 tset->ssid = ssid; in cgroup_migrate_execute() 2529 tset->ssid = ssid; in cgroup_migrate_execute() 2882 int ssid; in cgroup_procs_write_finish() local [all …]
|
/linux/drivers/staging/wlan-ng/ |
A 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()
|
A D | cfg80211.c | 319 msg1.ssid.data.len = request->ssids->ssid_len; in prism2_scan() 320 memcpy(msg1.ssid.data.data, in prism2_scan() 321 request->ssids->ssid, request->ssids->ssid_len); in prism2_scan() 359 ie_buf[1] = msg2->ssid.data.len; in prism2_scan() 361 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()
|
A 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/drivers/net/wireless/realtek/rtw88/ |
A D | fw.c | 829 if ((!ssid && !rsvd_pkt->ssid) || in rtw_get_rsvd_page_probe_req_location() 830 rtw_ssid_equal(rsvd_pkt->ssid, ssid)) in rtw_get_rsvd_page_probe_req_location() 846 if ((!ssid && !rsvd_pkt->ssid) || in rtw_get_rsvd_page_probe_req_size() 847 rtw_ssid_equal(rsvd_pkt->ssid, ssid)) in rtw_get_rsvd_page_probe_req_size() 916 ssid = &pno_req->match_sets[i].ssid; in rtw_nlo_info_get() 928 memcpy(pos, pno_req->match_sets[i].ssid.ssid, in rtw_nlo_info_get() 1069 ssid = (struct cfg80211_ssid *)rsvd_pkt->ssid; in rtw_get_rsvd_page_skb() 1070 if (ssid) in rtw_get_rsvd_page_skb() 1072 ssid->ssid, in rtw_get_rsvd_page_skb() 1184 rsvd_pkt->ssid = ssid; in rtw_add_rsvd_page_probe_req() [all …]
|
/linux/drivers/staging/ks7010/ |
A 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/drivers/net/wireless/ath/ath10k/ |
A 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/drivers/staging/rtl8723bs/include/ |
A 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/drivers/net/wireless/ti/wl1251/ |
A 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/drivers/staging/rtl8723bs/os_dep/ |
A D | ioctl_cfg80211.c | 267 memcmp(pssid->ssid, ssids[0].ssid, ssids[0].ssid_len))) in rtw_cfg80211_inform_bss() 359 pnetwork->mac_address, pnetwork->ssid.ssid, in rtw_cfg80211_check_bss() 360 pnetwork->ssid.ssid_length, in rtw_cfg80211_check_bss() 1241 select_network->mac_address, select_network->ssid.ssid, in rtw_cfg80211_unlink_bss() 1391 if (!ssid) { in cfg80211_rtw_scan() 1398 memcpy(ssid[i].ssid, ssids[i].ssid, ssids[i].ssid_len); in cfg80211_rtw_scan() 1433 kfree(ssid); in cfg80211_rtw_scan() 1731 memcpy(ndis_ssid.ssid, (u8 *)params->ssid, params->ssid_len); in cfg80211_rtw_join_ibss() 1823 memcpy(ndis_ssid.ssid, (u8 *)sme->ssid, sme->ssid_len); in cfg80211_rtw_connect() 2466 memcpy(pbss_network->ssid.ssid, (void *)settings->ssid, settings->ssid_len); in cfg80211_rtw_start_ap() [all …]
|