/linux/fs/cifs/ |
A D | cifs_unicode.c | 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() 312 __u16 ftmp[3]; in cifs_utf16_bytes() local 315 ftmp[0] = get_unaligned_le16(&from[i]); in cifs_utf16_bytes() 316 if (ftmp[0] == 0) in cifs_utf16_bytes() 321 ftmp[1] = 0; in cifs_utf16_bytes() [all …]
|
/linux/fs/ksmbd/ |
A D | unicode.c | 36 __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/tools/testing/selftests/vm/ |
A D | map_populate.c | 78 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/drivers/clk/ |
A D | clk-scpi.c | 66 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()
|
A D | clk-scmi.c | 43 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/arch/arm/mach-vexpress/ |
A D | spc.c | 281 u32 fmin = 0, fmax = ~0, ftmp; in ve_spc_round_performance() local 285 ftmp = opps->freq; in ve_spc_round_performance() 286 if (ftmp >= freq) { in ve_spc_round_performance() 287 if (ftmp <= fmax) in ve_spc_round_performance() 288 fmax = ftmp; in ve_spc_round_performance() 290 if (ftmp >= fmin) in ve_spc_round_performance() 291 fmin = ftmp; in ve_spc_round_performance()
|
/linux/drivers/net/ethernet/intel/iavf/ |
A D | iavf_virtchnl.c | 482 struct iavf_mac_filter *f, *ftmp; in iavf_del_ether_addrs() local 524 list_for_each_entry_safe(f, ftmp, &adapter->mac_filter_list, list) { in iavf_del_ether_addrs() 551 struct iavf_mac_filter *f, *ftmp; in iavf_mac_add_ok() local 554 list_for_each_entry_safe(f, ftmp, &adapter->mac_filter_list, list) { in iavf_mac_add_ok() 569 struct iavf_mac_filter *f, *ftmp; in iavf_mac_add_reject() local 572 list_for_each_entry_safe(f, ftmp, &adapter->mac_filter_list, list) { in iavf_mac_add_reject() 663 struct iavf_vlan_filter *f, *ftmp; in iavf_del_vlans() local 676 list_for_each_entry_safe(f, ftmp, &adapter->vlan_filter_list, list) { in iavf_del_vlans() 716 list_for_each_entry_safe(f, ftmp, &adapter->vlan_filter_list, list) { in iavf_del_vlans()
|
A D | iavf_main.c | 2112 struct iavf_mac_filter *f, *ftmp; in iavf_disable_vf() local 2137 list_for_each_entry_safe(f, ftmp, &adapter->mac_filter_list, list) { in iavf_disable_vf() 2187 struct iavf_mac_filter *f, *ftmp; in iavf_reset_task() local 2319 list_for_each_entry_safe(f, ftmp, &adapter->mac_filter_list, list) { in iavf_reset_task() 3974 struct iavf_mac_filter *f, *ftmp; in iavf_remove() local 4053 list_for_each_entry_safe(f, ftmp, &adapter->mac_filter_list, list) { in iavf_remove()
|
/linux/arch/sh/kernel/ |
A D | dwarf.c | 1132 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()
|