Home
last modified time | relevance | path

Searched refs:baselen (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/tools/perf/util/
Dconfig.c175 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/
Dnamei_vfat.c336 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/
Dmesh.c1220 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 …]
Dscan.c159 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()
Dmesh_plink.c1204 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()
Dtdls.c1692 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()
Dmesh_hwmp.c912 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()
Dibss.c1598 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()
Dmlme.c3781 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/
Dcifsencrypt.c657 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/
Dftm-initiator.c1188 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()