/linux-6.6.21/tools/perf/util/ |
D | config.c | 176 static int get_extended_base_var(char *name, int baselen, int c) in get_extended_base_var() argument 187 name[baselen++] = '.'; in get_extended_base_var() 201 name[baselen++] = ch; in get_extended_base_var() 202 if (baselen > MAXNAME / 2) in get_extended_base_var() 209 return baselen; in get_extended_base_var() 214 int baselen = 0; in get_base_var() local 221 return baselen; in get_base_var() 223 return get_extended_base_var(name, baselen, c); in get_base_var() 226 if (baselen > MAXNAME / 2) in get_base_var() 228 name[baselen++] = tolower(c); in get_base_var() [all …]
|
/linux-6.6.21/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-6.6.21/fs/smb/server/ |
D | smb_common.c | 497 int baselen = 0; in ksmbd_extract_shortname() local 531 while (*p && (baselen < 5)) { in ksmbd_extract_shortname() 533 base[baselen++] = toupper(*p); in ksmbd_extract_shortname() 537 base[baselen] = MAGIC_CHAR; in ksmbd_extract_shortname() 538 memcpy(out, base, baselen + 1); in ksmbd_extract_shortname() 546 out[baselen + 1] = mangle(csum / MANGLE_BASE); in ksmbd_extract_shortname() 547 out[baselen + 2] = mangle(csum); in ksmbd_extract_shortname() 548 out[baselen + 3] = PERIOD; in ksmbd_extract_shortname() 551 memcpy(out + baselen + 4, extension, 4); in ksmbd_extract_shortname() 553 out[baselen + 4] = '\0'; in ksmbd_extract_shortname()
|
/linux-6.6.21/net/mac80211/ |
D | mesh.c | 1410 size_t baselen; in ieee80211_mesh_rx_probe_req() local 1414 baselen = (u8 *) pos - (u8 *) mgmt; in ieee80211_mesh_rx_probe_req() 1415 if (baselen > len) in ieee80211_mesh_rx_probe_req() 1418 elems = ieee802_11_parse_elems(pos, len - baselen, false, NULL); in ieee80211_mesh_rx_probe_req() 1472 size_t baselen; in ieee80211_mesh_rx_bcn_presp() local 1481 baselen = (u8 *) mgmt->u.probe_resp.variable - (u8 *) mgmt; in ieee80211_mesh_rx_bcn_presp() 1482 if (baselen > len) in ieee80211_mesh_rx_bcn_presp() 1486 len - baselen, in ieee80211_mesh_rx_bcn_presp() 1620 size_t baselen; in mesh_rx_csa_frame() local 1628 baselen = offsetof(struct ieee80211_mgmt, in mesh_rx_csa_frame() [all …]
|
D | mesh_plink.c | 1218 size_t baselen; in mesh_rx_plink_frame() local 1236 baselen = (u8 *) mgmt->u.action.u.self_prot.variable - (u8 *) mgmt; in mesh_rx_plink_frame() 1240 baselen += 4; in mesh_rx_plink_frame() 1242 if (baselen > len) in mesh_rx_plink_frame() 1245 elems = ieee802_11_parse_elems(baseaddr, len - baselen, true, NULL); in mesh_rx_plink_frame()
|
D | tdls.c | 1797 int baselen = offsetof(typeof(*tf), u.chan_switch_resp.variable); in ieee80211_process_tdls_channel_switch_resp() local 1804 if (skb->len < baselen) { in ieee80211_process_tdls_channel_switch_resp() 1827 skb->len - baselen, false, NULL); in ieee80211_process_tdls_channel_switch_resp() 1895 int baselen = offsetof(typeof(*tf), u.chan_switch_req.variable); in ieee80211_process_tdls_channel_switch_req() local 1902 if (skb->len < baselen) { in ieee80211_process_tdls_channel_switch_req() 1945 skb->len - baselen, false, NULL); in ieee80211_process_tdls_channel_switch_req()
|
D | mesh_hwmp.c | 926 size_t baselen; in mesh_rx_path_sel_frame() local 942 baselen = (u8 *) mgmt->u.action.u.mesh_action.variable - (u8 *) mgmt; in mesh_rx_path_sel_frame() 944 len - baselen, false, NULL); in mesh_rx_path_sel_frame()
|
D | ibss.c | 1595 size_t baselen; in ieee80211_rx_mgmt_probe_beacon() local 1605 baselen = (u8 *) mgmt->u.probe_resp.variable - (u8 *) mgmt; in ieee80211_rx_mgmt_probe_beacon() 1606 if (baselen > len) in ieee80211_rx_mgmt_probe_beacon() 1610 len - baselen, false, NULL); in ieee80211_rx_mgmt_probe_beacon()
|
D | mlme.c | 5531 size_t baselen, len = skb->len; in ieee80211_rx_mgmt_probe_resp() local 5554 baselen = (u8 *) mgmt->u.probe_resp.variable - (u8 *) mgmt; in ieee80211_rx_mgmt_probe_resp() 5555 if (baselen > len) in ieee80211_rx_mgmt_probe_resp() 5911 size_t baselen; in ieee80211_rx_mgmt_beacon() local 5943 baselen = (u8 *) variable - (u8 *) mgmt; in ieee80211_rx_mgmt_beacon() 5944 if (baselen > len) in ieee80211_rx_mgmt_beacon() 5948 parse_params.len = len - baselen; in ieee80211_rx_mgmt_beacon() 6073 len - baselen, in ieee80211_rx_mgmt_beacon()
|
D | rx.c | 3319 size_t baselen; in ieee80211_rx_check_bss_color_collision() local 3331 baselen = mgmt->u.beacon.variable - rx->skb->data; in ieee80211_rx_check_bss_color_collision() 3332 if (baselen > rx->skb->len) in ieee80211_rx_check_bss_color_collision() 3337 rx->skb->len - baselen); in ieee80211_rx_check_bss_color_collision()
|
/linux-6.6.21/fs/smb/client/ |
D | cifsencrypt.c | 693 int baselen; in setup_ntlmv2_rsp() local 732 baselen = CIFS_SESS_KEY_SIZE + sizeof(struct ntlmv2_resp); in setup_ntlmv2_rsp() 736 ses->auth_key.response = kmalloc(baselen + tilen, GFP_KERNEL); in setup_ntlmv2_rsp() 742 ses->auth_key.len += baselen; in setup_ntlmv2_rsp() 753 memcpy(ses->auth_key.response + baselen, tiblob, tilen); in setup_ntlmv2_rsp()
|
/linux-6.6.21/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | ftm-initiator.c | 1361 size_t baselen = IEEE80211_MIN_ACTION_SIZE + in iwl_mvm_ftm_lc_notif() local 1366 if (len <= baselen) in iwl_mvm_ftm_lc_notif() 1372 ies_len = len - baselen; in iwl_mvm_ftm_lc_notif()
|