/Linux-v5.4/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 …]
|
/Linux-v5.4/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 …]
|
/Linux-v5.4/net/mac80211/ |
D | mesh.c | 1161 size_t baselen; in ieee80211_mesh_rx_probe_req() local 1165 baselen = (u8 *) pos - (u8 *) mgmt; in ieee80211_mesh_rx_probe_req() 1166 if (baselen > len) in ieee80211_mesh_rx_probe_req() 1169 ieee802_11_parse_elems(pos, len - baselen, false, &elems, mgmt->bssid, in ieee80211_mesh_rx_probe_req() 1220 size_t baselen; in ieee80211_mesh_rx_bcn_presp() local 1229 baselen = (u8 *) mgmt->u.probe_resp.variable - (u8 *) mgmt; in ieee80211_mesh_rx_bcn_presp() 1230 if (baselen > len) in ieee80211_mesh_rx_bcn_presp() 1233 ieee802_11_parse_elems(mgmt->u.probe_resp.variable, len - baselen, in ieee80211_mesh_rx_bcn_presp() 1363 size_t baselen; in mesh_rx_csa_frame() local 1371 baselen = offsetof(struct ieee80211_mgmt, in mesh_rx_csa_frame() [all …]
|
D | mesh_plink.c | 1198 size_t baselen; in mesh_rx_plink_frame() local 1216 baselen = (u8 *) mgmt->u.action.u.self_prot.variable - (u8 *) mgmt; in mesh_rx_plink_frame() 1220 baselen += 4; in mesh_rx_plink_frame() 1222 if (baselen > len) in mesh_rx_plink_frame() 1225 ieee802_11_parse_elems(baseaddr, len - baselen, true, &elems, in mesh_rx_plink_frame()
|
D | scan.c | 152 size_t baselen; in ieee80211_bss_info_update() local 190 baselen = offsetof(struct ieee80211_mgmt, in ieee80211_bss_info_update() 193 baselen = offsetof(struct ieee80211_mgmt, u.beacon.variable); in ieee80211_bss_info_update() 197 if (baselen > len) in ieee80211_bss_info_update() 200 ieee802_11_parse_elems(elements, len - baselen, false, &elems, in ieee80211_bss_info_update()
|
D | tdls.c | 1689 int baselen = offsetof(typeof(*tf), u.chan_switch_resp.variable); in ieee80211_process_tdls_channel_switch_resp() local 1696 if (skb->len < baselen) { in ieee80211_process_tdls_channel_switch_resp() 1719 skb->len - baselen, false, &elems, in ieee80211_process_tdls_channel_switch_resp() 1782 int baselen = offsetof(typeof(*tf), u.chan_switch_req.variable); in ieee80211_process_tdls_channel_switch_req() local 1789 if (skb->len < baselen) { in ieee80211_process_tdls_channel_switch_req() 1832 skb->len - baselen, false, &elems, NULL, NULL); in ieee80211_process_tdls_channel_switch_req()
|
D | mesh_hwmp.c | 909 size_t baselen; in mesh_rx_path_sel_frame() local 925 baselen = (u8 *) mgmt->u.action.u.mesh_action.variable - (u8 *) mgmt; in mesh_rx_path_sel_frame() 927 len - baselen, false, &elems, mgmt->bssid, NULL); in mesh_rx_path_sel_frame()
|
D | ibss.c | 1597 size_t baselen; in ieee80211_rx_mgmt_probe_beacon() local 1607 baselen = (u8 *) mgmt->u.probe_resp.variable - (u8 *) mgmt; in ieee80211_rx_mgmt_probe_beacon() 1608 if (baselen > len) in ieee80211_rx_mgmt_probe_beacon() 1611 ieee802_11_parse_elems(mgmt->u.probe_resp.variable, len - baselen, in ieee80211_rx_mgmt_probe_beacon()
|
D | mlme.c | 3657 size_t baselen, len = skb->len; in ieee80211_rx_mgmt_probe_resp() local 3666 baselen = (u8 *) mgmt->u.probe_resp.variable - (u8 *) mgmt; in ieee80211_rx_mgmt_probe_resp() 3667 if (baselen > len) in ieee80211_rx_mgmt_probe_resp() 3813 size_t baselen; in ieee80211_rx_mgmt_beacon() local 3829 baselen = (u8 *) mgmt->u.beacon.variable - (u8 *) mgmt; in ieee80211_rx_mgmt_beacon() 3830 if (baselen > len) in ieee80211_rx_mgmt_beacon() 3850 len - baselen, false, &elems, in ieee80211_rx_mgmt_beacon() 3906 len - baselen, false, &elems, in ieee80211_rx_mgmt_beacon() 3940 len - baselen, in ieee80211_rx_mgmt_beacon()
|
/Linux-v5.4/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()
|
/Linux-v5.4/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | ftm-initiator.c | 635 size_t baselen = IEEE80211_MIN_ACTION_SIZE + in iwl_mvm_ftm_lc_notif() local 640 if (len <= baselen) in iwl_mvm_ftm_lc_notif() 646 ies_len = len - baselen; in iwl_mvm_ftm_lc_notif()
|