Home
last modified time | relevance | path

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

/linux/tools/perf/util/
A Dconfig.c187 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()
226 if (baselen > MAXNAME / 2) in get_base_var()
235 int baselen = 0; in perf_parse_file() local
274 if (baselen <= 0) in perf_parse_file()
276 var[baselen++] = '.'; in perf_parse_file()
[all …]
/linux/fs/fat/
A Dnamei_vfat.c388 if (baselen < 2 && (baselen + chl) > 2) in vfat_create_shortname()
390 if (baselen < 6 && (baselen + chl) > 6) 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()
432 base[baselen] = '\0'; in vfat_create_shortname()
480 if (baselen > 6) { in vfat_create_shortname()
481 baselen = numtail_baselen; in vfat_create_shortname()
484 name_res[baselen] = '~'; in vfat_create_shortname()
[all …]
/linux/fs/ksmbd/
A Dsmb_common.c365 int baselen = 0; in ksmbd_extract_shortname() local
399 while (*p && (baselen < 5)) { in ksmbd_extract_shortname()
401 base[baselen++] = toupper(*p); in ksmbd_extract_shortname()
405 base[baselen] = MAGIC_CHAR; in ksmbd_extract_shortname()
406 memcpy(out, base, baselen + 1); in ksmbd_extract_shortname()
414 out[baselen + 1] = mangle(csum / MANGLE_BASE); in ksmbd_extract_shortname()
415 out[baselen + 2] = mangle(csum); in ksmbd_extract_shortname()
416 out[baselen + 3] = PERIOD; in ksmbd_extract_shortname()
419 memcpy(&out[baselen + 4], extension, 4); in ksmbd_extract_shortname()
421 out[baselen + 4] = '\0'; in ksmbd_extract_shortname()
/linux/net/mac80211/
A Dmesh.c1251 size_t baselen; in ieee80211_mesh_rx_probe_req() local
1255 baselen = (u8 *) pos - (u8 *) mgmt; in ieee80211_mesh_rx_probe_req()
1256 if (baselen > len) in ieee80211_mesh_rx_probe_req()
1259 elems = ieee802_11_parse_elems(pos, len - baselen, false, mgmt->bssid, in ieee80211_mesh_rx_probe_req()
1314 size_t baselen; in ieee80211_mesh_rx_bcn_presp() local
1323 baselen = (u8 *) mgmt->u.probe_resp.variable - (u8 *) mgmt; in ieee80211_mesh_rx_bcn_presp()
1324 if (baselen > len) in ieee80211_mesh_rx_bcn_presp()
1328 len - baselen, in ieee80211_mesh_rx_bcn_presp()
1462 size_t baselen; in mesh_rx_csa_frame() local
1470 baselen = offsetof(struct ieee80211_mgmt, in mesh_rx_csa_frame()
[all …]
A 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 elems = ieee802_11_parse_elems(elements, len - baselen, false, in ieee80211_bss_info_update()
A 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 elems = ieee802_11_parse_elems(baseaddr, len - baselen, true, in mesh_rx_plink_frame()
A 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, NULL, NULL); in ieee80211_process_tdls_channel_switch_resp()
1790 int baselen = offsetof(typeof(*tf), u.chan_switch_req.variable); in ieee80211_process_tdls_channel_switch_req() local
1797 if (skb->len < baselen) { in ieee80211_process_tdls_channel_switch_req()
1840 skb->len - baselen, false, NULL, NULL); in ieee80211_process_tdls_channel_switch_req()
A 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, mgmt->bssid, NULL); in mesh_rx_path_sel_frame()
A Dibss.c1591 size_t baselen; in ieee80211_rx_mgmt_probe_beacon() local
1601 baselen = (u8 *) mgmt->u.probe_resp.variable - (u8 *) mgmt; in ieee80211_rx_mgmt_probe_beacon()
1602 if (baselen > len) in ieee80211_rx_mgmt_probe_beacon()
1606 len - baselen, false, in ieee80211_rx_mgmt_probe_beacon()
A Dmlme.c3827 size_t baselen, len = skb->len; in ieee80211_rx_mgmt_probe_resp() local
3850 baselen = (u8 *) mgmt->u.probe_resp.variable - (u8 *) mgmt; in ieee80211_rx_mgmt_probe_resp()
3851 if (baselen > len) in ieee80211_rx_mgmt_probe_resp()
3998 size_t baselen; in ieee80211_rx_mgmt_beacon() local
4024 baselen = (u8 *) variable - (u8 *) mgmt; in ieee80211_rx_mgmt_beacon()
4025 if (baselen > len) in ieee80211_rx_mgmt_beacon()
4045 elems = ieee802_11_parse_elems(variable, len - baselen, false, in ieee80211_rx_mgmt_beacon()
4113 elems = ieee802_11_parse_elems_crc(variable, len - baselen, in ieee80211_rx_mgmt_beacon()
4150 len - baselen, in ieee80211_rx_mgmt_beacon()
/linux/fs/cifs/
A Dcifsencrypt.c563 int baselen; in setup_ntlmv2_rsp() local
602 baselen = CIFS_SESS_KEY_SIZE + sizeof(struct ntlmv2_resp); in setup_ntlmv2_rsp()
606 ses->auth_key.response = kmalloc(baselen + tilen, GFP_KERNEL); in setup_ntlmv2_rsp()
612 ses->auth_key.len += baselen; in setup_ntlmv2_rsp()
623 memcpy(ses->auth_key.response + baselen, tiblob, tilen); in setup_ntlmv2_rsp()
/linux/drivers/net/wireless/intel/iwlwifi/mvm/
A Dftm-initiator.c1326 size_t baselen = IEEE80211_MIN_ACTION_SIZE + in iwl_mvm_ftm_lc_notif() local
1331 if (len <= baselen) in iwl_mvm_ftm_lc_notif()
1337 ies_len = len - baselen; in iwl_mvm_ftm_lc_notif()

Completed in 47 milliseconds