/kernel/linux/linux-5.10/tools/perf/util/ |
D | config.c | 175 static int get_extended_base_var(char *name, int baselen, int c) in get_extended_base_var() argument 186 name[baselen++] = '.'; in get_extended_base_var() 200 name[baselen++] = ch; in get_extended_base_var() 201 if (baselen > MAXNAME / 2) in get_extended_base_var() 208 return baselen; in get_extended_base_var() 213 int baselen = 0; in get_base_var() local 220 return baselen; in get_base_var() 222 return get_extended_base_var(name, baselen, c); in get_base_var() 225 if (baselen > MAXNAME / 2) in get_base_var() 227 name[baselen++] = tolower(c); in get_base_var() [all …]
|
/kernel/linux/linux-5.10/fs/fat/ |
D | namei_vfat.c | 336 int sz = 0, extlen, baselen, i, numtail_baselen, numtail2_baselen; in vfat_create_shortname() local 382 for (baselen = i = 0, p = base, ip = uname; i < sz; i++, ip++) { in vfat_create_shortname() 388 if (baselen < 2 && (baselen + chl) > 2) in vfat_create_shortname() 389 numtail2_baselen = baselen; in vfat_create_shortname() 390 if (baselen < 6 && (baselen + chl) > 6) in vfat_create_shortname() 391 numtail_baselen = baselen; in vfat_create_shortname() 394 baselen++; in vfat_create_shortname() 395 if (baselen >= 8) in vfat_create_shortname() 398 if (baselen >= 8) { in vfat_create_shortname() 404 if (baselen == 0) { in vfat_create_shortname() [all …]
|
/kernel/linux/linux-5.10/net/mac80211/ |
D | mesh.c | 1220 size_t baselen; in ieee80211_mesh_rx_probe_req() local 1224 baselen = (u8 *) pos - (u8 *) mgmt; in ieee80211_mesh_rx_probe_req() 1225 if (baselen > len) in ieee80211_mesh_rx_probe_req() 1228 ieee802_11_parse_elems(pos, len - baselen, false, &elems, mgmt->bssid, in ieee80211_mesh_rx_probe_req() 1279 size_t baselen; in ieee80211_mesh_rx_bcn_presp() local 1288 baselen = (u8 *) mgmt->u.probe_resp.variable - (u8 *) mgmt; in ieee80211_mesh_rx_bcn_presp() 1289 if (baselen > len) in ieee80211_mesh_rx_bcn_presp() 1292 ieee802_11_parse_elems(mgmt->u.probe_resp.variable, len - baselen, in ieee80211_mesh_rx_bcn_presp() 1422 size_t baselen; in mesh_rx_csa_frame() local 1430 baselen = offsetof(struct ieee80211_mgmt, in mesh_rx_csa_frame() [all …]
|
D | scan.c | 159 size_t baselen; in ieee80211_bss_info_update() local 197 baselen = offsetof(struct ieee80211_mgmt, in ieee80211_bss_info_update() 202 baselen = offsetof(struct ieee80211_ext, u.s1g_beacon.variable); in ieee80211_bss_info_update() 205 baselen = offsetof(struct ieee80211_mgmt, u.beacon.variable); in ieee80211_bss_info_update() 209 if (baselen > len) in ieee80211_bss_info_update() 212 ieee802_11_parse_elems(elements, len - baselen, false, &elems, in ieee80211_bss_info_update()
|
D | mesh_plink.c | 1204 size_t baselen; in mesh_rx_plink_frame() local 1222 baselen = (u8 *) mgmt->u.action.u.self_prot.variable - (u8 *) mgmt; in mesh_rx_plink_frame() 1226 baselen += 4; in mesh_rx_plink_frame() 1228 if (baselen > len) in mesh_rx_plink_frame() 1231 ieee802_11_parse_elems(baseaddr, len - baselen, true, &elems, in mesh_rx_plink_frame()
|
D | tdls.c | 1692 int baselen = offsetof(typeof(*tf), u.chan_switch_resp.variable); in ieee80211_process_tdls_channel_switch_resp() local 1699 if (skb->len < baselen) { in ieee80211_process_tdls_channel_switch_resp() 1722 skb->len - baselen, false, &elems, in ieee80211_process_tdls_channel_switch_resp() 1785 int baselen = offsetof(typeof(*tf), u.chan_switch_req.variable); in ieee80211_process_tdls_channel_switch_req() local 1792 if (skb->len < baselen) { in ieee80211_process_tdls_channel_switch_req() 1835 skb->len - baselen, false, &elems, NULL, NULL); in ieee80211_process_tdls_channel_switch_req()
|
D | mesh_hwmp.c | 912 size_t baselen; in mesh_rx_path_sel_frame() local 928 baselen = (u8 *) mgmt->u.action.u.mesh_action.variable - (u8 *) mgmt; in mesh_rx_path_sel_frame() 930 len - baselen, false, &elems, mgmt->bssid, NULL); in mesh_rx_path_sel_frame()
|
D | ibss.c | 1598 size_t baselen; in ieee80211_rx_mgmt_probe_beacon() local 1608 baselen = (u8 *) mgmt->u.probe_resp.variable - (u8 *) mgmt; in ieee80211_rx_mgmt_probe_beacon() 1609 if (baselen > len) in ieee80211_rx_mgmt_probe_beacon() 1612 ieee802_11_parse_elems(mgmt->u.probe_resp.variable, len - baselen, in ieee80211_rx_mgmt_probe_beacon()
|
D | mlme.c | 3781 size_t baselen, len = skb->len; in ieee80211_rx_mgmt_probe_resp() local 3804 baselen = (u8 *) mgmt->u.probe_resp.variable - (u8 *) mgmt; in ieee80211_rx_mgmt_probe_resp() 3805 if (baselen > len) in ieee80211_rx_mgmt_probe_resp() 3952 size_t baselen; in ieee80211_rx_mgmt_beacon() local 3978 baselen = (u8 *) variable - (u8 *) mgmt; in ieee80211_rx_mgmt_beacon() 3979 if (baselen > len) in ieee80211_rx_mgmt_beacon() 4000 len - baselen, false, &elems, in ieee80211_rx_mgmt_beacon() 4067 len - baselen, false, &elems, in ieee80211_rx_mgmt_beacon() 4101 len - baselen, in ieee80211_rx_mgmt_beacon()
|
/kernel/linux/linux-5.10/fs/cifs/ |
D | cifsencrypt.c | 657 int baselen; in setup_ntlmv2_rsp() local 691 baselen = CIFS_SESS_KEY_SIZE + sizeof(struct ntlmv2_resp); in setup_ntlmv2_rsp() 695 ses->auth_key.response = kmalloc(baselen + tilen, GFP_KERNEL); in setup_ntlmv2_rsp() 701 ses->auth_key.len += baselen; in setup_ntlmv2_rsp() 712 memcpy(ses->auth_key.response + baselen, tiblob, tilen); in setup_ntlmv2_rsp()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | ftm-initiator.c | 1188 size_t baselen = IEEE80211_MIN_ACTION_SIZE + in iwl_mvm_ftm_lc_notif() local 1193 if (len <= baselen) in iwl_mvm_ftm_lc_notif() 1199 ies_len = len - baselen; in iwl_mvm_ftm_lc_notif()
|