Home
last modified time | relevance | path

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

/Linux-v6.6/fs/smb/client/
Dcifs_unicode.c185 __u16 ftmp[3]; /* ftmp[3] = 3array x 2bytes = 6bytes UTF-16 */ in cifs_from_utf16() local
196 ftmp[0] = get_unaligned_le16(&from[i]); in cifs_from_utf16()
197 if (ftmp[0] == 0) in cifs_from_utf16()
200 ftmp[1] = get_unaligned_le16(&from[i + 1]); in cifs_from_utf16()
202 ftmp[1] = 0; in cifs_from_utf16()
204 ftmp[2] = get_unaligned_le16(&from[i + 2]); in cifs_from_utf16()
206 ftmp[2] = 0; in cifs_from_utf16()
213 charlen = cifs_mapchar(tmp, ftmp, codepage, map_type); in cifs_from_utf16()
219 charlen = cifs_mapchar(&to[outlen], ftmp, codepage, map_type); in cifs_from_utf16()
311 __u16 ftmp[3]; in cifs_utf16_bytes() local
[all …]
/Linux-v6.6/fs/smb/server/
Dunicode.c35 __u16 ftmp; in smb_utf16_bytes() local
38 ftmp = get_unaligned_le16(&from[i]); in smb_utf16_bytes()
39 if (ftmp == 0) in smb_utf16_bytes()
42 charlen = codepage->uni2char(ftmp, tmp, NLS_MAX_CHARSET_SIZE); in smb_utf16_bytes()
147 __u16 ftmp; in smb_from_utf16() local
158 ftmp = get_unaligned_le16(&from[i]); in smb_from_utf16()
159 if (ftmp == 0) in smb_from_utf16()
167 charlen = cifs_mapchar(tmp, ftmp, codepage, mapchar); in smb_from_utf16()
173 charlen = cifs_mapchar(&to[outlen], ftmp, codepage, mapchar); in smb_from_utf16()
/Linux-v6.6/tools/testing/selftests/mm/
Dmap_populate.c76 FILE *ftmp; in main() local
79 ftmp = tmpfile(); in main()
80 BUG_ON(!ftmp, "tmpfile()"); in main()
82 ret = ftruncate(fileno(ftmp), MMAP_SZ); in main()
86 MAP_SHARED, fileno(ftmp), 0); in main()
110 return child_f(sock[0], smap, fileno(ftmp)); in main()
/Linux-v6.6/drivers/clk/
Dclk-scpi.c65 unsigned long fmin = 0, fmax = ~0, ftmp; in __scpi_dvfs_round_rate() local
69 ftmp = opp->freq; in __scpi_dvfs_round_rate()
70 if (ftmp >= rate) { in __scpi_dvfs_round_rate()
71 if (ftmp <= fmax) in __scpi_dvfs_round_rate()
72 fmax = ftmp; in __scpi_dvfs_round_rate()
74 } else if (ftmp >= fmin) { in __scpi_dvfs_round_rate()
75 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-v6.6/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-v6.6/drivers/net/ethernet/intel/iavf/
Diavf_virtchnl.c522 struct iavf_mac_filter *f, *ftmp; in iavf_del_ether_addrs() local
562 list_for_each_entry_safe(f, ftmp, &adapter->mac_filter_list, list) { in iavf_del_ether_addrs()
590 struct iavf_mac_filter *f, *ftmp; in iavf_mac_add_ok() local
593 list_for_each_entry_safe(f, ftmp, &adapter->mac_filter_list, list) { in iavf_mac_add_ok()
610 struct iavf_mac_filter *f, *ftmp; in iavf_mac_add_reject() local
613 list_for_each_entry_safe(f, ftmp, &adapter->mac_filter_list, list) { in iavf_mac_add_reject()
636 struct iavf_vlan_filter *f, *ftmp; in iavf_vlan_add_reject() local
639 list_for_each_entry_safe(f, ftmp, &adapter->vlan_filter_list, list) { in iavf_vlan_add_reject()
789 struct iavf_vlan_filter *f, *ftmp; in iavf_del_vlans() local
802 list_for_each_entry_safe(f, ftmp, &adapter->vlan_filter_list, list) { in iavf_del_vlans()
[all …]
Diavf_main.c1301 struct iavf_mac_filter *f, *ftmp; in iavf_clear_mac_vlan_filters() local
1309 list_for_each_entry_safe(f, ftmp, &adapter->mac_filter_list, in iavf_clear_mac_vlan_filters()
2938 struct iavf_mac_filter *f, *ftmp; in iavf_disable_vf() local
2963 list_for_each_entry_safe(f, ftmp, &adapter->mac_filter_list, list) { in iavf_disable_vf()
3012 struct iavf_mac_filter *f, *ftmp; in iavf_reset_task() local
3154 list_for_each_entry_safe(f, ftmp, &adapter->mac_filter_list, list) { in iavf_reset_task()
5094 struct iavf_mac_filter *f, *ftmp; in iavf_remove() local
5191 list_for_each_entry_safe(f, ftmp, &adapter->mac_filter_list, list) { in iavf_remove()
/Linux-v6.6/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()