Home
last modified time | relevance | path

Searched refs:ftmp (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/fs/cifs/
Dcifs_unicode.c186 __u16 ftmp[3]; /* ftmp[3] = 3array x 2bytes = 6bytes UTF-16 */ in cifs_from_utf16() local
197 ftmp[0] = get_unaligned_le16(&from[i]); in cifs_from_utf16()
198 if (ftmp[0] == 0) in cifs_from_utf16()
201 ftmp[1] = get_unaligned_le16(&from[i + 1]); in cifs_from_utf16()
203 ftmp[1] = 0; in cifs_from_utf16()
205 ftmp[2] = get_unaligned_le16(&from[i + 2]); in cifs_from_utf16()
207 ftmp[2] = 0; in cifs_from_utf16()
214 charlen = cifs_mapchar(tmp, ftmp, codepage, map_type); in cifs_from_utf16()
220 charlen = cifs_mapchar(&to[outlen], ftmp, codepage, map_type); in cifs_from_utf16()
312 __u16 ftmp[3]; in cifs_utf16_bytes() local
[all …]
/linux-6.1.9/fs/ksmbd/
Dunicode.c36 __u16 ftmp; in smb_utf16_bytes() local
39 ftmp = get_unaligned_le16(&from[i]); in smb_utf16_bytes()
40 if (ftmp == 0) in smb_utf16_bytes()
43 charlen = codepage->uni2char(ftmp, tmp, NLS_MAX_CHARSET_SIZE); in smb_utf16_bytes()
166 __u16 ftmp; in smb_from_utf16() local
177 ftmp = get_unaligned_le16(&from[i]); in smb_from_utf16()
178 if (ftmp == 0) in smb_from_utf16()
186 charlen = cifs_mapchar(tmp, ftmp, codepage, mapchar); in smb_from_utf16()
192 charlen = cifs_mapchar(&to[outlen], ftmp, codepage, mapchar); in smb_from_utf16()
/linux-6.1.9/tools/testing/selftests/vm/
Dmap_populate.c78 FILE *ftmp; in main() local
81 ftmp = tmpfile(); in main()
82 BUG_ON(ftmp == 0, "tmpfile()"); in main()
84 ret = ftruncate(fileno(ftmp), MMAP_SZ); in main()
88 MAP_SHARED, fileno(ftmp), 0); in main()
112 return child_f(sock[0], smap, fileno(ftmp)); in main()
/linux-6.1.9/drivers/clk/
Dclk-scpi.c66 unsigned long fmin = 0, fmax = ~0, ftmp; in __scpi_dvfs_round_rate() local
70 ftmp = opp->freq; in __scpi_dvfs_round_rate()
71 if (ftmp >= rate) { in __scpi_dvfs_round_rate()
72 if (ftmp <= fmax) in __scpi_dvfs_round_rate()
73 fmax = ftmp; in __scpi_dvfs_round_rate()
75 } else if (ftmp >= fmin) { in __scpi_dvfs_round_rate()
76 fmin = ftmp; in __scpi_dvfs_round_rate()
Dclk-scmi.c43 u64 fmin, fmax, ftmp; in scmi_clk_round_rate() local
62 ftmp = rate - fmin; in scmi_clk_round_rate()
63 ftmp += clk->info->range.step_size - 1; /* to round up */ in scmi_clk_round_rate()
64 do_div(ftmp, clk->info->range.step_size); in scmi_clk_round_rate()
66 return ftmp * clk->info->range.step_size + fmin; in scmi_clk_round_rate()
/linux-6.1.9/arch/arm/mach-versatile/
Dspc.c273 u32 fmin = 0, fmax = ~0, ftmp; in ve_spc_round_performance() local
277 ftmp = opps->freq; in ve_spc_round_performance()
278 if (ftmp >= freq) { in ve_spc_round_performance()
279 if (ftmp <= fmax) in ve_spc_round_performance()
280 fmax = ftmp; in ve_spc_round_performance()
282 if (ftmp >= fmin) in ve_spc_round_performance()
283 fmin = ftmp; in ve_spc_round_performance()
/linux-6.1.9/drivers/net/ethernet/intel/iavf/
Diavf_virtchnl.c525 struct iavf_mac_filter *f, *ftmp; in iavf_del_ether_addrs() local
567 list_for_each_entry_safe(f, ftmp, &adapter->mac_filter_list, list) { in iavf_del_ether_addrs()
595 struct iavf_mac_filter *f, *ftmp; in iavf_mac_add_ok() local
598 list_for_each_entry_safe(f, ftmp, &adapter->mac_filter_list, list) { in iavf_mac_add_ok()
615 struct iavf_mac_filter *f, *ftmp; in iavf_mac_add_reject() local
618 list_for_each_entry_safe(f, ftmp, &adapter->mac_filter_list, list) { in iavf_mac_add_reject()
641 struct iavf_vlan_filter *f, *ftmp; in iavf_vlan_add_reject() local
644 list_for_each_entry_safe(f, ftmp, &adapter->vlan_filter_list, list) { in iavf_vlan_add_reject()
805 struct iavf_vlan_filter *f, *ftmp; in iavf_del_vlans() local
818 list_for_each_entry_safe(f, ftmp, &adapter->vlan_filter_list, list) { in iavf_del_vlans()
[all …]
Diavf_main.c1270 struct iavf_mac_filter *f, *ftmp; in iavf_clear_mac_vlan_filters() local
1278 list_for_each_entry_safe(f, ftmp, &adapter->mac_filter_list, in iavf_clear_mac_vlan_filters()
2866 struct iavf_mac_filter *f, *ftmp; in iavf_disable_vf() local
2891 list_for_each_entry_safe(f, ftmp, &adapter->mac_filter_list, list) { in iavf_disable_vf()
2939 struct iavf_mac_filter *f, *ftmp; in iavf_reset_task() local
3091 list_for_each_entry_safe(f, ftmp, &adapter->mac_filter_list, list) { in iavf_reset_task()
5059 struct iavf_mac_filter *f, *ftmp; in iavf_remove() local
5149 list_for_each_entry_safe(f, ftmp, &adapter->mac_filter_list, list) { in iavf_remove()
/linux-6.1.9/arch/sh/kernel/
Ddwarf.c1132 struct dwarf_fde *fde, *ftmp; in module_dwarf_cleanup() local
1148 list_for_each_entry_safe(fde, ftmp, &mod->arch.fde_list, link) { in module_dwarf_cleanup()