Home
last modified time | relevance | path

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

/openbmc/linux/fs/smb/client/
H A Dcifs_unicode.c196 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()
311 __u16 ftmp[3]; in cifs_utf16_bytes() local
314 ftmp[0] = get_unaligned_le16(&from[i]); in cifs_utf16_bytes()
315 if (ftmp[0] == 0) in cifs_utf16_bytes()
320 ftmp[1] = 0; in cifs_utf16_bytes()
[all …]
/openbmc/linux/fs/smb/server/
H A Dunicode.c113 __u16 ftmp[3]; in smb_utf16_bytes() local
116 ftmp[0] = get_unaligned_le16(&from[i]); in smb_utf16_bytes()
117 if (ftmp[0] == 0) in smb_utf16_bytes()
121 ftmp[j] = get_unaligned_le16(&from[i + j]); in smb_utf16_bytes()
123 ftmp[j] = 0; in smb_utf16_bytes()
126 charlen = cifs_mapchar(tmp, ftmp, codepage, 0); in smb_utf16_bytes()
179 ftmp[0] = get_unaligned_le16(&from[i]); in smb_from_utf16()
180 if (ftmp[0] == 0) in smb_from_utf16()
184 ftmp[j] = get_unaligned_le16(&from[i + j]); in smb_from_utf16()
186 ftmp[j] = 0; in smb_from_utf16()
[all …]
/openbmc/linux/tools/testing/selftests/mm/
H A 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()
/openbmc/linux/drivers/clk/
H A 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()
H A 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()
/openbmc/linux/arch/arm/mach-versatile/
H A 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()
/openbmc/linux/drivers/net/ethernet/intel/iavf/
H A 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
1921 struct iavf_fdir_fltr *f, *ftmp; in iavf_activate_fdir_filters() local
[all …]
H A Diavf_main.c1281 struct iavf_mac_filter *f, *ftmp; in iavf_clear_mac_vlan_filters() local
1289 list_for_each_entry_safe(f, ftmp, &adapter->mac_filter_list, in iavf_clear_mac_vlan_filters()
2909 struct iavf_mac_filter *f, *ftmp; in iavf_disable_vf() local
2934 list_for_each_entry_safe(f, ftmp, &adapter->mac_filter_list, list) { in iavf_disable_vf()
2983 struct iavf_mac_filter *f, *ftmp; in iavf_reset_task() local
3125 list_for_each_entry_safe(f, ftmp, &adapter->mac_filter_list, list) { in iavf_reset_task()
5152 struct iavf_mac_filter *f, *ftmp; in iavf_remove() local
5255 list_for_each_entry_safe(f, ftmp, &adapter->mac_filter_list, list) { in iavf_remove()
/openbmc/linux/arch/sh/kernel/
H A 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()