Home
last modified time | relevance | path

Searched refs:IS_ERR (Results 1 – 200 of 4537) sorted by relevance

12345678910>>...23

/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-rk.c95 if (IS_ERR(bsp_priv->grf)) { in set_to_rgmii()
112 if (IS_ERR(bsp_priv->grf)) { in set_to_rmii()
125 if (IS_ERR(bsp_priv->grf)) { in set_rgmii_speed()
144 if (IS_ERR(bsp_priv->grf)) { in set_rmii_speed()
167 if (IS_ERR(bsp_priv->mac_clk_rx)) in gmac_clk_init()
172 if (IS_ERR(bsp_priv->mac_clk_tx)) in gmac_clk_init()
177 if (IS_ERR(bsp_priv->aclk_mac)) in gmac_clk_init()
182 if (IS_ERR(bsp_priv->pclk_mac)) in gmac_clk_init()
187 if (IS_ERR(bsp_priv->clk_mac)) in gmac_clk_init()
193 if (IS_ERR(bsp_priv->clk_mac_ref)) in gmac_clk_init()
[all …]
/linux-4.1.27/drivers/usb/gadget/legacy/
Dnokia.c133 if (!IS_ERR(fi_phonet)) { in nokia_bind_config()
135 if (IS_ERR(f_phonet)) in nokia_bind_config()
139 if (!IS_ERR(fi_obex1)) { in nokia_bind_config()
141 if (IS_ERR(f_obex1)) in nokia_bind_config()
145 if (!IS_ERR(fi_obex2)) { in nokia_bind_config()
147 if (IS_ERR(f_obex2)) in nokia_bind_config()
152 if (IS_ERR(f_acm)) { in nokia_bind_config()
158 if (IS_ERR(f_ecm)) { in nokia_bind_config()
247 if (IS_ERR(fi_phonet)) in nokia_bind()
251 if (IS_ERR(fi_obex1)) in nokia_bind()
[all …]
Dmulti.c162 if (IS_ERR(f_rndis)) in rndis_do_config()
170 if (IS_ERR(f_acm_rndis)) { in rndis_do_config()
180 if (IS_ERR(f_msg_rndis)) { in rndis_do_config()
244 if (IS_ERR(f_ecm)) in cdc_do_config()
253 if (IS_ERR(f_acm_multi)) { in cdc_do_config()
263 if (IS_ERR(f_msg_multi)) { in cdc_do_config()
333 if (IS_ERR(fi_ecm)) in multi_bind()
347 if (IS_ERR(fi_rndis)) { in multi_bind()
379 if (IS_ERR(fi_acm)) { in multi_bind()
386 if (IS_ERR(fi_msg)) { in multi_bind()
Dether.c237 if (IS_ERR(f_rndis)) in rndis_do_config()
280 if (IS_ERR(f_eem)) in eth_do_config()
290 if (IS_ERR(f_ecm)) in eth_do_config()
300 if (IS_ERR(f_geth)) in eth_do_config()
334 if (IS_ERR(fi_eem)) in eth_bind()
348 if (IS_ERR(fi_ecm)) in eth_bind()
360 if (IS_ERR(fi_geth)) in eth_bind()
397 if (IS_ERR(fi_rndis)) { in eth_bind()
Dg_ffs.c227 if (IS_ERR(fi_ffs[i])) { in gfs_init()
346 if (IS_ERR(fi_ecm)) in gfs_bind()
354 if (IS_ERR(fi_geth)) in gfs_bind()
367 if (IS_ERR(fi_rndis)) { in gfs_bind()
506 if (IS_ERR(f_ffs[gc->num][i])) { in gfs_do_config()
533 if (!IS_ERR(f_ffs[gc->num][i])) in gfs_do_config()
548 if (IS_ERR(f_ecm)) in eth_bind_config()
557 if (IS_ERR(f_geth)) in eth_bind_config()
576 if (IS_ERR(f_rndis)) in bind_rndis_config()
Dcdc2.c117 if (IS_ERR(f_ecm)) { in cdc_do_config()
127 if (IS_ERR(f_acm)) { in cdc_do_config()
169 if (IS_ERR(fi_ecm)) in cdc_bind()
181 if (IS_ERR(fi_serial)) { in cdc_bind()
Dmass_storage.c146 if (IS_ERR(f_msg)) in msg_do_config()
179 if (IS_ERR(fi_msg)) in msg_bind()
230 if (!IS_ERR(f_msg)) in msg_unbind()
233 if (!IS_ERR(fi_msg)) in msg_unbind()
Dacm_ms.c137 if (IS_ERR(f_acm)) in acm_ms_do_config()
141 if (IS_ERR(f_msg)) { in acm_ms_do_config()
181 if (IS_ERR(f_acm_inst)) in acm_ms_bind()
185 if (IS_ERR(fi_msg)) { in acm_ms_bind()
Daudio.c183 if (IS_ERR(f_uac1)) { in audio_do_config()
195 if (IS_ERR(f_uac2)) { in audio_do_config()
230 if (IS_ERR(fi_uac2)) in audio_bind()
234 if (IS_ERR(fi_uac1)) in audio_bind()
/linux-4.1.27/arch/m68k/amiga/
Dplatform.c146 if (IS_ERR(pdev)) in amiga_init_devices()
155 if (IS_ERR(pdev)) in amiga_init_devices()
164 if (IS_ERR(pdev)) in amiga_init_devices()
171 if (IS_ERR(pdev)) in amiga_init_devices()
179 if (IS_ERR(pdev)) in amiga_init_devices()
187 if (IS_ERR(pdev)) in amiga_init_devices()
198 if (IS_ERR(pdev)) in amiga_init_devices()
211 if (IS_ERR(pdev)) in amiga_init_devices()
218 if (IS_ERR(pdev)) in amiga_init_devices()
225 if (IS_ERR(pdev)) in amiga_init_devices()
[all …]
/linux-4.1.27/scripts/coccinelle/tests/
Dodd_ptr_err.cocci1 /// PTR_ERR should access the value just tested by IS_ERR
3 //# IS_ERR that is wrong.
22 if (IS_ERR(e)) { ... PTR_ERR(e) ... }
24 if (IS_ERR(e=e1)) { ... PTR_ERR(e) ... }
26 if (IS_ERR(e))
41 if (IS_ERR(e)) { ... PTR_ERR(e) ... }
43 if (IS_ERR(e=e1)) { ... PTR_ERR(e) ... }
45 *if (IS_ERR@p1(e))
56 cocci.print_main("inconsistent IS_ERR and PTR_ERR",p1)
64 msg = "inconsistent IS_ERR and PTR_ERR, PTR_ERR on line %s" % (p2[0].line)
/linux-4.1.27/drivers/cpufreq/
Dimx6q-cpufreq.c54 if (IS_ERR(opp)) { in imx6q_set_target()
70 if (!IS_ERR(pu_reg)) { in imx6q_set_target()
127 if (!IS_ERR(pu_reg)) { in imx6q_set_target()
182 if (IS_ERR(arm_clk) || IS_ERR(pll1_sys_clk) || IS_ERR(pll1_sw_clk) || in imx6q_cpufreq_probe()
183 IS_ERR(step_clk) || IS_ERR(pll2_pfd2_396m_clk)) { in imx6q_cpufreq_probe()
192 if (IS_ERR(arm_reg) || IS_ERR(soc_reg)) { in imx6q_cpufreq_probe()
279 if (!IS_ERR(pu_reg)) { in imx6q_cpufreq_probe()
317 if (!IS_ERR(arm_reg)) in imx6q_cpufreq_probe()
319 if (!IS_ERR(pu_reg)) in imx6q_cpufreq_probe()
321 if (!IS_ERR(soc_reg)) in imx6q_cpufreq_probe()
[all …]
Dcpufreq-dt.c60 if (!IS_ERR(cpu_reg)) { in set_target()
65 if (IS_ERR(opp)) { in set_target()
85 if (!IS_ERR(cpu_reg) && new_freq > old_freq) { in set_target()
97 if (!IS_ERR(cpu_reg) && volt_old > 0) in set_target()
103 if (!IS_ERR(cpu_reg) && new_freq < old_freq) { in set_target()
138 if (IS_ERR(cpu_reg)) { in allocate_resources()
160 if (IS_ERR(cpu_clk)) { in allocate_resources()
162 if (!IS_ERR(cpu_reg)) in allocate_resources()
236 if (!IS_ERR(cpu_reg)) { in cpufreq_init()
250 if (IS_ERR(opp)) { in cpufreq_init()
[all …]
Dexynos4210-cpufreq.c146 if (IS_ERR(cpu_clk)) in exynos4210_cpufreq_init()
150 if (IS_ERR(moutcore)) in exynos4210_cpufreq_init()
154 if (IS_ERR(mout_mpll)) in exynos4210_cpufreq_init()
160 if (IS_ERR(mout_apll)) in exynos4210_cpufreq_init()
Dexynos5250-cpufreq.c172 if (IS_ERR(cpu_clk)) in exynos5250_cpufreq_init()
176 if (IS_ERR(moutcore)) in exynos5250_cpufreq_init()
180 if (IS_ERR(mout_mpll)) in exynos5250_cpufreq_init()
186 if (IS_ERR(mout_apll)) in exynos5250_cpufreq_init()
Dtegra-cpufreq.c186 if (IS_ERR(cpu_clk)) in tegra_cpufreq_init()
190 if (IS_ERR(pll_x_clk)) in tegra_cpufreq_init()
194 if (IS_ERR(pll_p_clk)) in tegra_cpufreq_init()
198 if (IS_ERR(emc_clk)) { in tegra_cpufreq_init()
Dexynos4x12-cpufreq.c193 if (IS_ERR(cpu_clk)) in exynos4x12_cpufreq_init()
197 if (IS_ERR(moutcore)) in exynos4x12_cpufreq_init()
201 if (IS_ERR(mout_mpll)) in exynos4x12_cpufreq_init()
207 if (IS_ERR(mout_apll)) in exynos4x12_cpufreq_init()
Dkirkwood-cpufreq.c115 if (IS_ERR(priv.base)) in kirkwood_cpufreq_probe()
125 if (IS_ERR(priv.cpu_clk)) { in kirkwood_cpufreq_probe()
134 if (IS_ERR(priv.ddr_clk)) { in kirkwood_cpufreq_probe()
144 if (IS_ERR(priv.powersave_clk)) { in kirkwood_cpufreq_probe()
Dspear-cpufreq.c64 if (IS_ERR(sys_pclk)) in spear1340_cpu_get_possible_parent()
82 if (IS_ERR(sys_clk)) { in spear1340_set_cpu_rate()
121 if (IS_ERR(srcclk)) { in spear_cpufreq_target()
214 if (IS_ERR(spear_cpufreq.clk)) { in spear_cpufreq_probe()
Ds3c2440-cpufreq.c275 if (IS_ERR(xtal) || IS_ERR(hclk) || IS_ERR(fclk) || IS_ERR(armclk)) { in s3c2440_cpufreq_add()
Dls1x-cpufreq.c151 if (IS_ERR(clk)) { in ls1x_cpufreq_probe()
160 if (IS_ERR(clk)) { in ls1x_cpufreq_probe()
169 if (IS_ERR(clk)) { in ls1x_cpufreq_probe()
178 if (IS_ERR(clk)) { in ls1x_cpufreq_probe()
Ds3c2412-cpufreq.c199 if (IS_ERR(hclk)) { in s3c2412_cpufreq_add()
205 if (IS_ERR(fclk)) { in s3c2412_cpufreq_add()
221 if (IS_ERR(armclk)) { in s3c2412_cpufreq_add()
227 if (IS_ERR(xtal)) { in s3c2412_cpufreq_add()
/linux-4.1.27/drivers/mfd/
Dtwl-core.c733 if (IS_ERR(child)) in add_children()
741 if (IS_ERR(child)) in add_children()
750 if (IS_ERR(child)) in add_children()
764 if (IS_ERR(child)) in add_children()
771 if (IS_ERR(child)) in add_children()
778 if (IS_ERR(child)) in add_children()
811 if (IS_ERR(child)) in add_children()
817 if (IS_ERR(child)) in add_children()
823 if (IS_ERR(child)) in add_children()
834 if (IS_ERR(child)) in add_children()
[all …]
Datmel-hlcdc.c60 if (IS_ERR(regs)) in atmel_hlcdc_probe()
68 if (IS_ERR(hlcdc->periph_clk)) { in atmel_hlcdc_probe()
74 if (IS_ERR(hlcdc->sys_clk)) { in atmel_hlcdc_probe()
80 if (IS_ERR(hlcdc->slow_clk)) { in atmel_hlcdc_probe()
87 if (IS_ERR(hlcdc->regmap)) in atmel_hlcdc_probe()
Domap-usb-host.c320 if (!IS_ERR(omap->ehci_logic_fck)) in usbhs_runtime_resume()
326 if (!IS_ERR(omap->hsic60m_clk[i])) { in usbhs_runtime_resume()
335 if (!IS_ERR(omap->hsic480m_clk[i])) { in usbhs_runtime_resume()
346 if (!IS_ERR(omap->utmi_clk[i])) { in usbhs_runtime_resume()
374 if (!IS_ERR(omap->hsic60m_clk[i])) in usbhs_runtime_suspend()
377 if (!IS_ERR(omap->hsic480m_clk[i])) in usbhs_runtime_suspend()
382 if (!IS_ERR(omap->utmi_clk[i])) in usbhs_runtime_suspend()
390 if (!IS_ERR(omap->ehci_logic_fck)) in usbhs_runtime_suspend()
603 if (IS_ERR(omap->uhh_base)) in usbhs_omap_probe()
686 if (IS_ERR(omap->ehci_logic_fck)) { in usbhs_omap_probe()
[all …]
Ddavinci_voicecodec.c57 if (IS_ERR(davinci_vc->clk)) { in davinci_vc_probe()
67 if (IS_ERR(davinci_vc->base)) { in davinci_vc_probe()
75 if (IS_ERR(davinci_vc->regmap)) { in davinci_vc_probe()
/linux-4.1.27/arch/arm/mach-exynos/
Dpm_domains.c55 if (IS_ERR(pd->asb_clk[i])) in exynos_pd_power()
63 if (IS_ERR(pd->clk[i])) in exynos_pd_power()
91 if (IS_ERR(pd->clk[i])) in exynos_pd_power()
100 if (IS_ERR(pd->asb_clk[i])) in exynos_pd_power()
149 if (IS_ERR(pd->asb_clk[i])) in exynos4_pm_init_power_domain()
154 if (IS_ERR(pd->oscclk)) in exynos4_pm_init_power_domain()
162 if (IS_ERR(pd->clk[i])) in exynos4_pm_init_power_domain()
166 if (IS_ERR(pd->pclk[i])) { in exynos4_pm_init_power_domain()
173 if (IS_ERR(pd->clk[0])) in exynos4_pm_init_power_domain()
191 if (IS_ERR(child_domain)) in exynos4_pm_init_power_domain()
[all …]
/linux-4.1.27/drivers/clk/samsung/
Dclk-exynos-audss.c90 if (!IS_ERR(clk_table[i])) in exynos_audss_clk_teardown()
95 if (!IS_ERR(clk_table[i])) in exynos_audss_clk_teardown()
100 if (!IS_ERR(clk_table[i])) in exynos_audss_clk_teardown()
124 if (IS_ERR(reg_base)) { in exynos_audss_clk_probe()
145 if (!IS_ERR(pll_ref)) in exynos_audss_clk_probe()
147 if (!IS_ERR(pll_in)) { in exynos_audss_clk_probe()
168 if (!IS_ERR(cdclk)) in exynos_audss_clk_probe()
170 if (!IS_ERR(sclk_audio)) in exynos_audss_clk_probe()
206 if (!IS_ERR(sclk_pcm_in)) in exynos_audss_clk_probe()
219 if (IS_ERR(clk_table[i])) { in exynos_audss_clk_probe()
[all …]
Dclk-s5pv210-audss.c78 if (IS_ERR(reg_base)) { in s5pv210_audss_clk_probe()
93 if (IS_ERR(hclk)) { in s5pv210_audss_clk_probe()
99 if (IS_ERR(pll_in)) { in s5pv210_audss_clk_probe()
105 if (IS_ERR(sclk_audio)) { in s5pv210_audss_clk_probe()
114 if (!IS_ERR(pll_ref)) in s5pv210_audss_clk_probe()
125 if (!IS_ERR(cdclk)) in s5pv210_audss_clk_probe()
168 if (IS_ERR(clk_table[i])) { in s5pv210_audss_clk_probe()
190 if (!IS_ERR(clk_table[i])) in s5pv210_audss_clk_probe()
204 if (!IS_ERR(clk_table[i])) in s5pv210_audss_clk_remove()
/linux-4.1.27/drivers/net/wireless/ath/ath10k/
Dwmi-ops.h287 if (IS_ERR(skb)) in ath10k_wmi_mgmt_tx()
314 if (IS_ERR(skb)) in ath10k_wmi_pdev_set_regdomain()
330 if (IS_ERR(skb)) in ath10k_wmi_pdev_suspend_target()
345 if (IS_ERR(skb)) in ath10k_wmi_pdev_resume_target()
360 if (IS_ERR(skb)) in ath10k_wmi_pdev_set_param()
375 if (IS_ERR(skb)) in ath10k_wmi_cmd_init()
391 if (IS_ERR(skb)) in ath10k_wmi_start_scan()
406 if (IS_ERR(skb)) in ath10k_wmi_stop_scan()
424 if (IS_ERR(skb)) in ath10k_wmi_vdev_create()
439 if (IS_ERR(skb)) in ath10k_wmi_vdev_delete()
[all …]
/linux-4.1.27/drivers/mmc/core/
Dpwrseq_simple.c36 if (!IS_ERR(pwrseq->reset_gpios[i])) in mmc_pwrseq_simple_set_gpios_value()
45 if (!IS_ERR(pwrseq->ext_clk) && !pwrseq->clk_enabled) { in mmc_pwrseq_simple_pre_power_on()
68 if (!IS_ERR(pwrseq->ext_clk) && pwrseq->clk_enabled) { in mmc_pwrseq_simple_power_off()
81 if (!IS_ERR(pwrseq->reset_gpios[i])) in mmc_pwrseq_simple_free()
84 if (!IS_ERR(pwrseq->ext_clk)) in mmc_pwrseq_simple_free()
113 if (IS_ERR(pwrseq->ext_clk) && in mmc_pwrseq_simple_alloc()
122 if (IS_ERR(pwrseq->reset_gpios[i]) && in mmc_pwrseq_simple_alloc()
139 if (!IS_ERR(pwrseq->ext_clk)) in mmc_pwrseq_simple_alloc()
/linux-4.1.27/security/keys/
Dkeyctl.c84 if (IS_ERR(description)) { in SYSCALL_DEFINE5()
121 if (IS_ERR(keyring_ref)) { in SYSCALL_DEFINE5()
131 if (!IS_ERR(key_ref)) { in SYSCALL_DEFINE5()
183 if (IS_ERR(description)) { in SYSCALL_DEFINE4()
193 if (IS_ERR(callout_info)) { in SYSCALL_DEFINE4()
205 if (IS_ERR(dest_ref)) { in SYSCALL_DEFINE4()
213 if (IS_ERR(ktype)) { in SYSCALL_DEFINE4()
222 if (IS_ERR(key)) { in SYSCALL_DEFINE4()
263 if (IS_ERR(key_ref)) { in keyctl_get_keyring_ID()
293 if (IS_ERR(name)) { in keyctl_join_session_keyring()
[all …]
Dprocess_keys.c76 if (IS_ERR(uid_keyring)) { in install_user_keyrings()
80 if (IS_ERR(uid_keyring)) { in install_user_keyrings()
91 if (IS_ERR(session_keyring)) { in install_user_keyrings()
96 if (IS_ERR(session_keyring)) { in install_user_keyrings()
138 if (IS_ERR(keyring)) in install_thread_keyring_to_cred()
184 if (IS_ERR(keyring)) in install_process_keyring_to_cred()
235 if (IS_ERR(keyring)) in install_session_keyring_to_cred()
341 if (!IS_ERR(key_ref)) in search_my_process_keyrings()
359 if (!IS_ERR(key_ref)) in search_my_process_keyrings()
383 if (!IS_ERR(key_ref)) in search_my_process_keyrings()
[all …]
Dpersistent.c30 if (IS_ERR(reg)) in key_create_persistent_register()
65 if (IS_ERR(persistent)) in key_create_persistent()
105 if (!IS_ERR(persistent_ref)) in key_get_persistent()
155 if (IS_ERR(dest_ref)) in keyctl_get_persistent()
/linux-4.1.27/arch/s390/hypfs/
Dhypfs_vm.c114 if (IS_ERR(rc)) \
133 if (IS_ERR(guest_dir)) in hpyfs_vm_create_guest()
139 if (IS_ERR(cpus_dir)) in hpyfs_vm_create_guest()
156 if (IS_ERR(mem_dir)) in hpyfs_vm_create_guest()
165 if (IS_ERR(samples_dir)) in hpyfs_vm_create_guest()
184 if (IS_ERR(data)) in hypfs_vm_create_files()
189 if (IS_ERR(dir)) { in hypfs_vm_create_files()
194 if (IS_ERR(file)) { in hypfs_vm_create_files()
201 if (IS_ERR(dir)) { in hypfs_vm_create_files()
206 if (IS_ERR(file)) { in hypfs_vm_create_files()
[all …]
Dhypfs_diag.c438 if (!IS_ERR(buf)) { in diag204_probe()
457 if (IS_ERR(buf)) { in diag204_probe()
493 if (IS_ERR(buf)) in diag204_store()
638 if (IS_ERR(rc)) in hypfs_create_cpu_files()
642 if (IS_ERR(rc)) in hypfs_create_cpu_files()
648 if (IS_ERR(rc)) in hypfs_create_cpu_files()
667 if (IS_ERR(lpar_dir)) in hypfs_create_lpar_files()
670 if (IS_ERR(cpus_dir)) in hypfs_create_lpar_files()
692 if (IS_ERR(cpu_dir)) in hypfs_create_phys_cpu_files()
696 if (IS_ERR(rc)) in hypfs_create_phys_cpu_files()
[all …]
/linux-4.1.27/drivers/bluetooth/
Dbtbcm.c44 if (IS_ERR(skb)) { in btbcm_check_bdaddr()
86 if (IS_ERR(skb)) { in btbcm_set_bdaddr()
116 if (IS_ERR(skb)) { in btbcm_patchram()
152 if (IS_ERR(skb)) { in btbcm_patchram()
175 if (IS_ERR(skb)) { in btbcm_reset()
191 if (IS_ERR(skb)) { in btbcm_read_local_version()
211 if (IS_ERR(skb)) { in btbcm_read_verbose_config()
231 if (IS_ERR(skb)) { in btbcm_read_usb_product()
287 if (IS_ERR(skb)) in btbcm_setup_patchram()
297 if (IS_ERR(skb)) in btbcm_setup_patchram()
[all …]
/linux-4.1.27/drivers/phy/
Dphy-ti-pipe3.c325 if (IS_ERR(phy->pll_ctrl_base)) in ti_pipe3_probe()
329 if (IS_ERR(phy->sys_clk)) { in ti_pipe3_probe()
336 if (IS_ERR(phy->refclk)) { in ti_pipe3_probe()
347 if (IS_ERR(phy->wkupclk)) { in ti_pipe3_probe()
358 if (IS_ERR(clk)) { in ti_pipe3_probe()
365 if (IS_ERR(clk)) { in ti_pipe3_probe()
372 if (IS_ERR(clk)) { in ti_pipe3_probe()
379 if (IS_ERR(phy->div_clk)) { in ti_pipe3_probe()
407 if (IS_ERR(generic_phy)) in ti_pipe3_probe()
413 if (IS_ERR(phy_provider)) in ti_pipe3_probe()
[all …]
Dphy-omap-usb2.c52 if (IS_ERR(x)) in omap_usb2_set_comparator()
226 if (IS_ERR(phy->phy_base)) in omap_usb2_probe()
258 if (IS_ERR(generic_phy)) { in omap_usb2_probe()
267 if (IS_ERR(phy_provider)) { in omap_usb2_probe()
273 if (IS_ERR(phy->wkupclk)) { in omap_usb2_probe()
276 if (IS_ERR(phy->wkupclk)) { in omap_usb2_probe()
288 if (IS_ERR(phy->optclk)) { in omap_usb2_probe()
291 if (IS_ERR(phy->optclk)) { in omap_usb2_probe()
300 if (!IS_ERR(phy->optclk)) in omap_usb2_probe()
313 if (!IS_ERR(phy->optclk)) in omap_usb2_remove()
[all …]
Dphy-sun9i-usb.c138 if (IS_ERR(phy->clk)) { in sun9i_usb_phy_probe()
144 if (IS_ERR(phy->clk)) { in sun9i_usb_phy_probe()
150 if (IS_ERR(phy->reset)) { in sun9i_usb_phy_probe()
156 if (IS_ERR(phy->clk)) { in sun9i_usb_phy_probe()
162 if (IS_ERR(phy->reset)) { in sun9i_usb_phy_probe()
170 if (IS_ERR(phy->pmu)) in sun9i_usb_phy_probe()
174 if (IS_ERR(phy->phy)) { in sun9i_usb_phy_probe()
Dphy-stih407-usb.c109 if (IS_ERR(phy_dev->rstc)) { in stih407_usb2_picophy_probe()
115 if (IS_ERR(phy_dev->rstport)) { in stih407_usb2_picophy_probe()
124 if (IS_ERR(phy_dev->regmap)) { in stih407_usb2_picophy_probe()
144 if (IS_ERR(phy)) { in stih407_usb2_picophy_probe()
153 if (IS_ERR(phy_provider)) in stih407_usb2_picophy_probe()
Dphy-omap-control.c39 if (IS_ERR(dev) || !dev) { in omap_control_pcie_pcs()
74 if (IS_ERR(dev) || !dev) { in omap_control_phy_power()
215 if (IS_ERR(dev) || !dev) in omap_control_usb_set_mode()
302 if (IS_ERR(control_phy->otghs_control)) in omap_control_phy_probe()
308 if (IS_ERR(control_phy->power)) { in omap_control_phy_probe()
318 if (IS_ERR(control_phy->sys_clk)) { in omap_control_phy_probe()
328 if (IS_ERR(control_phy->pcie_pcs)) in omap_control_phy_probe()
Dphy-samsung-usb2.c166 if (IS_ERR(drv->reg_phy)) { in samsung_usb2_phy_probe()
173 if (IS_ERR(drv->reg_pmu)) { in samsung_usb2_phy_probe()
181 if (IS_ERR(drv->reg_sys)) { in samsung_usb2_phy_probe()
188 if (IS_ERR(drv->clk)) { in samsung_usb2_phy_probe()
194 if (IS_ERR(drv->ref_clk)) { in samsung_usb2_phy_probe()
212 if (IS_ERR(p->phy)) { in samsung_usb2_phy_probe()
226 if (IS_ERR(phy_provider)) { in samsung_usb2_phy_probe()
Dphy-mvebu-sata.c97 if (IS_ERR(priv->base)) in phy_mvebu_sata_probe()
101 if (IS_ERR(priv->clk)) in phy_mvebu_sata_probe()
105 if (IS_ERR(phy)) in phy_mvebu_sata_probe()
112 if (IS_ERR(phy_provider)) in phy_mvebu_sata_probe()
Dphy-core.c370 if (IS_ERR(phy_provider) || !try_module_get(phy_provider->owner)) { in _of_phy_get()
403 if (IS_ERR(phy)) in of_phy_get()
423 if (!phy || IS_ERR(phy)) in phy_put()
509 if (IS_ERR(phy)) in phy_get()
535 if (IS_ERR(phy) && (PTR_ERR(phy) == -ENODEV)) in phy_optional_get()
561 if (!IS_ERR(phy)) { in devm_phy_get()
589 if (IS_ERR(phy) && (PTR_ERR(phy) == -ENODEV)) in devm_phy_optional_get()
616 if (!IS_ERR(phy)) { in devm_of_phy_get()
658 if (IS_ERR(phy->pwr)) { in phy_create()
724 if (!IS_ERR(phy)) { in devm_phy_create()
[all …]
Dphy-exynos5-usbdrd.c554 if (IS_ERR(phy_drd->clk)) { in exynos5_usbdrd_phy_clk_handle()
560 if (IS_ERR(phy_drd->ref_clk)) { in exynos5_usbdrd_phy_clk_handle()
575 if (IS_ERR(phy_drd->pipeclk)) { in exynos5_usbdrd_phy_clk_handle()
582 if (IS_ERR(phy_drd->utmiclk)) { in exynos5_usbdrd_phy_clk_handle()
589 if (IS_ERR(phy_drd->itpclk)) { in exynos5_usbdrd_phy_clk_handle()
681 if (IS_ERR(phy_drd->reg_phy)) in exynos5_usbdrd_phy_probe()
697 if (IS_ERR(reg_pmu)) { in exynos5_usbdrd_phy_probe()
723 if (IS_ERR(phy_drd->vbus)) { in exynos5_usbdrd_phy_probe()
733 if (IS_ERR(phy_drd->vbus_boost)) { in exynos5_usbdrd_phy_probe()
747 if (IS_ERR(phy)) { in exynos5_usbdrd_phy_probe()
[all …]
Dphy-sun4i-usb.c260 if (IS_ERR(data->base)) in sun4i_usb_phy_probe()
269 if (IS_ERR(phy->vbus)) { in sun4i_usb_phy_probe()
281 if (IS_ERR(phy->clk)) { in sun4i_usb_phy_probe()
288 if (IS_ERR(phy->reset)) { in sun4i_usb_phy_probe()
298 if (IS_ERR(phy->pmu)) in sun4i_usb_phy_probe()
303 if (IS_ERR(phy->phy)) { in sun4i_usb_phy_probe()
Dphy-exynos5250-sata.c180 if (IS_ERR(sata_phy->regs)) in exynos_sata_phy_probe()
185 if (IS_ERR(sata_phy->pmureg)) { in exynos_sata_phy_probe()
202 if (IS_ERR(sata_phy->phyclk)) { in exynos_sata_phy_probe()
214 if (IS_ERR(sata_phy->phy)) { in exynos_sata_phy_probe()
224 if (IS_ERR(phy_provider)) { in exynos_sata_phy_probe()
Dphy-exynos-mipi-video.c63 if (!IS_ERR(state->regmap)) { in __set_phy_state()
145 if (IS_ERR(state->regmap)) { in exynos_mipi_video_phy_probe()
153 if (IS_ERR(state->regs)) in exynos_mipi_video_phy_probe()
163 if (IS_ERR(phy)) { in exynos_mipi_video_phy_probe()
Dphy-rockchip-usb.c103 if (IS_ERR(grf)) { in rockchip_usb_phy_probe()
123 if (IS_ERR(rk_phy->clk)) in rockchip_usb_phy_probe()
127 if (IS_ERR(rk_phy->phy)) { in rockchip_usb_phy_probe()
Dphy-qcom-ipq806x-sata.c150 if (IS_ERR(phy->mmio)) in qcom_ipq806x_sata_phy_probe()
154 if (IS_ERR(generic_phy)) { in qcom_ipq806x_sata_phy_probe()
164 if (IS_ERR(phy->cfg_clk)) { in qcom_ipq806x_sata_phy_probe()
174 if (IS_ERR(phy_provider)) { in qcom_ipq806x_sata_phy_probe()
/linux-4.1.27/drivers/gpu/drm/msm/mdp/mdp4/
Dmdp4_kms.c269 if (IS_ERR(plane)) { in modeset_init()
277 if (IS_ERR(plane)) { in modeset_init()
289 if (IS_ERR(panel)) { in modeset_init()
296 if (IS_ERR(plane)) { in modeset_init()
303 if (IS_ERR(crtc)) { in modeset_init()
310 if (IS_ERR(encoder)) { in modeset_init()
323 if (IS_ERR(connector)) { in modeset_init()
336 if (IS_ERR(plane)) { in modeset_init()
343 if (IS_ERR(crtc)) { in modeset_init()
350 if (IS_ERR(encoder)) { in modeset_init()
[all …]
/linux-4.1.27/drivers/s390/block/
Ddasd_devmap.c344 if (IS_ERR(devmap)) in dasd_parse_range()
360 if (!IS_ERR(residual_str)) in dasd_parse_next_element()
388 if(IS_ERR(parsestring)) { in dasd_parse()
467 return IS_ERR(dasd_find_busid(bus_id)) ? -ENOENT : 0; in dasd_busid_known()
529 if (IS_ERR(devmap)) in dasd_devmap_from_cdev()
547 if (IS_ERR(devmap)) in dasd_create_device()
551 if (IS_ERR(device)) in dasd_create_device()
598 BUG_ON(IS_ERR(devmap)); in dasd_delete_device()
680 if (IS_ERR(devmap)) in dasd_add_link_to_gendisk()
719 if (!IS_ERR(devmap)) in dasd_ff_show()
[all …]
/linux-4.1.27/drivers/media/rc/img-ir/
Dimg-ir-core.c61 if (!IS_ERR(priv->clk)) in img_ir_setup()
106 if (IS_ERR(priv->reg_base)) in img_ir_probe()
111 if (IS_ERR(priv->clk)) in img_ir_probe()
116 if (IS_ERR(priv->sys_clk)) in img_ir_probe()
123 if (!IS_ERR(priv->sys_clk)) { in img_ir_probe()
159 if (!IS_ERR(priv->sys_clk)) in img_ir_probe()
172 if (!IS_ERR(priv->clk)) in img_ir_remove()
174 if (!IS_ERR(priv->sys_clk)) in img_ir_remove()
/linux-4.1.27/scripts/coccinelle/api/
Dptr_ret.cocci2 /// Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR
23 - if (IS_ERR(ptr)) return PTR_ERR(ptr); else return 0;
30 - if (IS_ERR(ptr)) return PTR_ERR(ptr); return 0;
37 - (IS_ERR(ptr) ? PTR_ERR(ptr) : 0)
45 * if@p1 (IS_ERR(ptr)) return PTR_ERR(ptr); else return 0;
52 * if@p2 (IS_ERR(ptr)) return PTR_ERR(ptr); return 0;
59 * IS_ERR@p3(ptr) ? PTR_ERR(ptr) : 0
/linux-4.1.27/drivers/clk/
Dclk-bcm2835.c37 if (IS_ERR(clk)) in bcm2835_init_clocks()
42 if (IS_ERR(clk)) in bcm2835_init_clocks()
47 if (IS_ERR(clk)) in bcm2835_init_clocks()
55 if (IS_ERR(clk)) in bcm2835_init_clocks()
Dclk-moxart.c39 if (IS_ERR(ref_clk)) { in moxart_of_pll_clk_init()
45 if (IS_ERR(clk)) { in moxart_of_pll_clk_init()
82 if (IS_ERR(pll_clk)) { in moxart_of_apb_clk_init()
88 if (IS_ERR(clk)) { in moxart_of_apb_clk_init()
Dclkdev.c76 if (!IS_ERR(clk)) { in __of_clk_get_by_name()
181 if (IS_ERR(clk)) in clk_get_sys()
204 if (!IS_ERR(clk) || PTR_ERR(clk) == -EPROBE_DEFER) in clk_get()
289 if (IS_ERR(r)) in clk_add_alias()
333 if (IS_ERR(clk)) in clk_register_clkdev()
364 if (IS_ERR(clk)) in clk_register_clkdevs()
Dclk-conf.c42 if (IS_ERR(pclk)) { in __set_clk_parents()
57 if (IS_ERR(clk)) { in __set_clk_parents()
101 if (IS_ERR(clk)) { in __set_clk_rates()
/linux-4.1.27/drivers/clk/berlin/
Dbg2.c516 if (!IS_ERR(clk)) { in berlin2_clock_setup()
522 if (!IS_ERR(clk)) { in berlin2_clock_setup()
530 if (IS_ERR(clk)) in berlin2_clock_setup()
535 if (IS_ERR(clk)) in berlin2_clock_setup()
540 if (IS_ERR(clk)) in berlin2_clock_setup()
549 if (IS_ERR(clk)) in berlin2_clock_setup()
556 if (IS_ERR(clk)) in berlin2_clock_setup()
563 if (IS_ERR(clk)) in berlin2_clock_setup()
570 if (IS_ERR(clk)) in berlin2_clock_setup()
579 if (IS_ERR(clk)) in berlin2_clock_setup()
[all …]
/linux-4.1.27/drivers/s390/char/
Dtape_std.c61 if (IS_ERR(request)) in tape_std_assign()
110 if (IS_ERR(request)) in tape_std_unassign()
136 if (IS_ERR(request)) { in tape_std_display()
166 if (IS_ERR(request)) in tape_std_read_block_id()
244 if (IS_ERR(new)) in tape_std_mtsetblk()
278 if (IS_ERR(request)) in tape_std_mtfsf()
303 if (IS_ERR(request)) in tape_std_mtfsr()
335 if (IS_ERR(request)) in tape_std_mtbsr()
365 if (IS_ERR(request)) in tape_std_mtweof()
390 if (IS_ERR(request)) in tape_std_mtbsfm()
[all …]
Dfs3270.c256 if (IS_ERR(ib)) in fs3270_read()
259 if (!IS_ERR(rq)) { in fs3270_read()
300 if (IS_ERR(ib)) in fs3270_write()
303 if (!IS_ERR(rq)) { in fs3270_write()
382 if (IS_ERR(fp->init)) { in fs3270_alloc_view()
452 if (!IS_ERR(fp)) { in fs3270_open()
459 if (IS_ERR(fp)) { in fs3270_open()
474 if (IS_ERR(ib)) { in fs3270_open()
/linux-4.1.27/arch/arm/mach-omap2/
Dvoltage.c57 if (!voltdm || IS_ERR(voltdm)) { in voltdm_get_voltage()
79 if (!voltdm || IS_ERR(voltdm)) { in voltdm_scale()
124 if (!voltdm || IS_ERR(voltdm)) { in voltdm_reset()
154 if (!voltdm || IS_ERR(voltdm)) { in omap_voltage_get_volttable()
182 if (!voltdm || IS_ERR(voltdm)) { in omap_voltage_get_voltdata()
216 if (!voltdm || IS_ERR(voltdm)) { in omap_voltage_register_pmic()
250 if (IS_ERR(sys_ck)) { in omap_voltage_late_init()
Ddevices.c64 WARN(IS_ERR(pdev), "could not build omap_device for %s\n", oh_name); in omap3_l3_init()
141 WARN(IS_ERR(pdev), "%s: could not build device, err %ld\n", in omap_init_mbox()
201 WARN(IS_ERR(pdev), "Can't build omap_device for %s:%s\n", in omap_mcspi_init()
231 WARN(IS_ERR(pdev), "Can't build omap_device for omap_rng\n"); in omap_init_rng()
244 WARN(IS_ERR(pdev), "Can't build omap_device for omap-sham\n"); in omap_init_sham()
257 WARN(IS_ERR(pdev), "Can't build omap_device for omap-aes\n"); in omap_init_aes()
334 WARN(IS_ERR(pdev), "could not build omap_device for %s\n", oh_name); in omap_gpmc_init()
Dclockdomain.c201 if (IS_ERR(cd)) in _clkdm_add_wkdep()
244 if (IS_ERR(cd)) in _clkdm_del_wkdep()
289 if (IS_ERR(cd)) in _clkdm_add_sleepdep()
334 if (IS_ERR(cd)) in _clkdm_del_sleepdep()
581 if (IS_ERR(cd)) in clkdm_add_wkdep()
610 if (IS_ERR(cd)) in clkdm_del_wkdep()
643 if (IS_ERR(cd)) in clkdm_read_wkdep()
701 if (IS_ERR(cd)) in clkdm_add_sleepdep()
732 if (IS_ERR(cd)) in clkdm_del_sleepdep()
767 if (IS_ERR(cd)) in clkdm_read_sleepdep()
[all …]
Domap2-restart.c56 if (IS_ERR(reset_virt_prcm_set_ck)) in omap2xxx_common_look_up_clks_for_reset()
60 if (IS_ERR(reset_sys_ck)) in omap2xxx_common_look_up_clks_for_reset()
Dpm.c86 if (WARN(IS_ERR(pdev), "%s: could not build omap_device for %s\n", in _init_omap_device()
154 if (IS_ERR(dev)) { in omap2_set_init_voltage()
168 if (IS_ERR(clk)) { in omap2_set_init_voltage()
178 if (IS_ERR(opp)) { in omap2_set_init_voltage()
/linux-4.1.27/kernel/
Dnsproxy.c71 if (IS_ERR(new_nsp->mnt_ns)) { in create_new_namespaces()
77 if (IS_ERR(new_nsp->uts_ns)) { in create_new_namespaces()
83 if (IS_ERR(new_nsp->ipc_ns)) { in create_new_namespaces()
90 if (IS_ERR(new_nsp->pid_ns_for_children)) { in create_new_namespaces()
96 if (IS_ERR(new_nsp->net_ns)) { in create_new_namespaces()
151 if (IS_ERR(new_ns)) in copy_namespaces()
192 if (IS_ERR(*new_nsp)) { in unshare_nsproxy_namespaces()
230 if (IS_ERR(file)) in SYSCALL_DEFINE2()
239 if (IS_ERR(new_nsproxy)) { in SYSCALL_DEFINE2()
Dmodule_signing.c59 if (IS_ERR(tfm)) in mod_make_digest()
163 if (IS_ERR(key)) in request_asymmetric_key()
168 if (IS_ERR(key)) { in request_asymmetric_key()
226 if (IS_ERR(key)) in mod_verify_sig()
230 if (IS_ERR(pks)) { in mod_verify_sig()
Daudit_watch.c203 if (IS_ERR(watch)) in audit_to_watch()
224 if (IS_ERR(new)) { in audit_dupe_watch()
282 if (IS_ERR(nwatch)) { in audit_update_watch()
297 if (IS_ERR(nentry)) { in audit_update_watch()
362 if (IS_ERR(d)) in audit_get_nd()
432 if (IS_ERR(parent)) { in audit_add_watch()
513 if (IS_ERR(audit_watch_group)) { in audit_watch_init()
/linux-4.1.27/drivers/s390/cio/
Ditcw.c194 if (IS_ERR(chunk)) in itcw_init()
210 if (IS_ERR(chunk)) in itcw_init()
218 if (IS_ERR(chunk)) in itcw_init()
228 if (IS_ERR(chunk)) in itcw_init()
236 if (IS_ERR(chunk)) in itcw_init()
242 if (IS_ERR(chunk)) in itcw_init()
249 if (IS_ERR(chunk)) in itcw_init()
256 if (IS_ERR(chunk)) in itcw_init()
263 if (IS_ERR(chunk)) in itcw_init()
/linux-4.1.27/fs/9p/
Dvfs_inode_dotl.c165 if (IS_ERR(st)) in v9fs_inode_from_fid_dotl()
259 if (IS_ERR(res)) in v9fs_vfs_atomic_open_dotl()
277 if (IS_ERR(dfid)) { in v9fs_vfs_atomic_open_dotl()
285 if (IS_ERR(ofid)) { in v9fs_vfs_atomic_open_dotl()
312 if (IS_ERR(fid)) { in v9fs_vfs_atomic_open_dotl()
319 if (IS_ERR(inode)) { in v9fs_vfs_atomic_open_dotl()
343 if (IS_ERR(inode_fid)) { in v9fs_vfs_atomic_open_dotl()
405 if (IS_ERR(dfid)) { in v9fs_vfs_mkdir_dotl()
427 if (IS_ERR(fid)) { in v9fs_vfs_mkdir_dotl()
438 if (IS_ERR(inode)) { in v9fs_vfs_mkdir_dotl()
[all …]
Dvfs_inode.c556 if (IS_ERR(st)) in v9fs_inode_from_fid()
599 if (IS_ERR(dfid)) { in v9fs_remove()
610 if (IS_ERR(v9fid)) in v9fs_remove()
657 if (IS_ERR(dfid)) { in v9fs_create()
665 if (IS_ERR(ofid)) { in v9fs_create()
680 if (IS_ERR(fid)) { in v9fs_create()
691 if (IS_ERR(inode)) { in v9fs_create()
733 if (IS_ERR(fid)) in v9fs_vfs_create()
762 if (IS_ERR(fid)) { in v9fs_vfs_mkdir()
802 if (IS_ERR(dfid)) in v9fs_vfs_lookup()
[all …]
Dacl.c42 if (IS_ERR(acl)) in __v9fs_get_acl()
73 if (!IS_ERR(dacl) && !IS_ERR(pacl)) { in v9fs_get_acl()
79 if (!IS_ERR(dacl)) in v9fs_get_acl()
82 if (!IS_ERR(pacl)) in v9fs_get_acl()
195 if (IS_ERR(acl)) in v9fs_acl_mode()
251 if (IS_ERR(acl)) in v9fs_xattr_get_acl()
309 if (IS_ERR(acl)) in v9fs_xattr_set_acl()
Dxattr.c38 if (IS_ERR(attr_fid)) { in v9fs_fid_xattr_get()
78 if (IS_ERR(fid)) in v9fs_xattr_get()
100 if (IS_ERR(fid)) in v9fs_xattr_set()
119 if (IS_ERR(fid)) in v9fs_fid_xattr_set()
Dfid.c159 if (IS_ERR(fid)) in v9fs_fid_lookup_with_uid()
187 if (IS_ERR(fid)) { in v9fs_fid_lookup_with_uid()
205 if (!IS_ERR(fid)) { in v9fs_fid_lookup_with_uid()
265 if (IS_ERR(fid)) in v9fs_fid_clone()
277 if (IS_ERR(fid)) in v9fs_fid_clone_with_uid()
290 if (IS_ERR(fid)) in v9fs_writeback_fid()
Dvfs_super.c131 if (IS_ERR(fid)) { in v9fs_mount()
141 if (IS_ERR(sb)) { in v9fs_mount()
153 if (IS_ERR(inode)) { in v9fs_mount()
167 if (IS_ERR(st)) { in v9fs_mount()
177 if (IS_ERR(st)) { in v9fs_mount()
253 if (IS_ERR(fid)) { in v9fs_statfs()
/linux-4.1.27/net/sunrpc/auth_gss/
Dgss_krb5_mech.c206 if (IS_ERR(p)) in simple_get_netobj()
226 if (IS_ERR(p)) in get_key()
245 if (IS_ERR(p)) in get_key()
250 if (IS_ERR(*res)) { in get_key()
280 if (IS_ERR(p)) in gss_import_v1_context()
302 if (IS_ERR(p)) in gss_import_v1_context()
309 if (IS_ERR(p)) in gss_import_v1_context()
316 if (IS_ERR(p)) in gss_import_v1_context()
319 if (IS_ERR(p)) in gss_import_v1_context()
322 if (IS_ERR(p)) in gss_import_v1_context()
[all …]
/linux-4.1.27/drivers/tty/serial/8250/
D8250_dw.c246 if (IS_ERR(d->clk) || !old) in dw8250_set_termios()
447 if (IS_ERR(data->clk) && PTR_ERR(data->clk) != -EPROBE_DEFER) in dw8250_probe()
449 if (IS_ERR(data->clk) && PTR_ERR(data->clk) == -EPROBE_DEFER) in dw8250_probe()
467 if (IS_ERR(data->clk) && PTR_ERR(data->clk) == -EPROBE_DEFER) { in dw8250_probe()
471 if (!IS_ERR(data->pclk)) { in dw8250_probe()
480 if (IS_ERR(data->rst) && PTR_ERR(data->rst) == -EPROBE_DEFER) { in dw8250_probe()
484 if (!IS_ERR(data->rst)) in dw8250_probe()
523 if (!IS_ERR(data->rst)) in dw8250_probe()
527 if (!IS_ERR(data->pclk)) in dw8250_probe()
531 if (!IS_ERR(data->clk)) in dw8250_probe()
[all …]
/linux-4.1.27/drivers/net/wimax/i2400m/
Ddebugfs.c248 if (IS_ERR(dentry)) { in i2400m_debugfs_add()
266 if (IS_ERR(fd) && result != -ENODEV) { in i2400m_debugfs_add()
275 if (IS_ERR(fd) && result != -ENODEV) { in i2400m_debugfs_add()
284 if (IS_ERR(fd) && result != -ENODEV) { in i2400m_debugfs_add()
315 if (IS_ERR(fd) && result != -ENODEV) { in i2400m_debugfs_add()
324 if (IS_ERR(fd) && result != -ENODEV) { in i2400m_debugfs_add()
333 if (IS_ERR(fd) && result != -ENODEV) { in i2400m_debugfs_add()
342 if (IS_ERR(fd) && result != -ENODEV) { in i2400m_debugfs_add()
350 if (IS_ERR(fd) && result != -ENODEV) { in i2400m_debugfs_add()
358 if (IS_ERR(fd) && result != -ENODEV) { in i2400m_debugfs_add()
/linux-4.1.27/sound/soc/samsung/
Dsmdk_spdif.c30 if (IS_ERR(fout_epll)) { in set_audio_clock_heirachy()
37 if (IS_ERR(mout_epll)) { in set_audio_clock_heirachy()
45 if (IS_ERR(sclk_audio0)) { in set_audio_clock_heirachy()
53 if (IS_ERR(sclk_spdif)) { in set_audio_clock_heirachy()
86 if (IS_ERR(fout_epll)) { in set_audio_clock_rate()
95 if (IS_ERR(sclk_spdif)) { in set_audio_clock_rate()
/linux-4.1.27/drivers/base/regmap/
Dregmap-mmio.c98 if (!IS_ERR(ctx->clk)) { in regmap_mmio_gather_write()
131 if (!IS_ERR(ctx->clk)) in regmap_mmio_gather_write()
158 if (!IS_ERR(ctx->clk)) { in regmap_mmio_read()
191 if (!IS_ERR(ctx->clk)) in regmap_mmio_read()
201 if (!IS_ERR(ctx->clk)) { in regmap_mmio_free_context()
280 if (IS_ERR(ctx->clk)) { in regmap_mmio_gen_context()
317 if (IS_ERR(ctx)) in regmap_init_mmio_clk()
343 if (IS_ERR(ctx)) in devm_regmap_init_mmio_clk()
/linux-4.1.27/arch/arm/mach-shmobile/
Dboard-armadillo800eva.c252 if (!IS_ERR(priv->phy)) in usbhsf_hardware_exit()
254 if (!IS_ERR(priv->usb24)) in usbhsf_hardware_exit()
256 if (!IS_ERR(priv->pci)) in usbhsf_hardware_exit()
258 if (!IS_ERR(priv->host)) in usbhsf_hardware_exit()
260 if (!IS_ERR(priv->func)) in usbhsf_hardware_exit()
289 if (IS_ERR(priv->phy) || in usbhsf_hardware_init()
290 IS_ERR(priv->usb24) || in usbhsf_hardware_init()
291 IS_ERR(priv->pci) || in usbhsf_hardware_init()
292 IS_ERR(priv->host) || in usbhsf_hardware_init()
293 IS_ERR(priv->func) || in usbhsf_hardware_init()
[all …]
/linux-4.1.27/fs/btrfs/tests/
Dinode-tests.c243 if (IS_ERR(root)) { in test_btrfs_get_extent()
276 if (IS_ERR(em)) { in test_btrfs_get_extent()
300 if (IS_ERR(em)) { in test_btrfs_get_extent()
321 if (IS_ERR(em)) { in test_btrfs_get_extent()
347 if (IS_ERR(em)) { in test_btrfs_get_extent()
369 if (IS_ERR(em)) { in test_btrfs_get_extent()
396 if (IS_ERR(em)) { in test_btrfs_get_extent()
424 if (IS_ERR(em)) { in test_btrfs_get_extent()
445 if (IS_ERR(em)) { in test_btrfs_get_extent()
478 if (IS_ERR(em)) { in test_btrfs_get_extent()
[all …]
/linux-4.1.27/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_kms.c196 if (IS_ERR(encoder)) { in construct_encoder()
244 if (IS_ERR(encoder)) { in modeset_init_intf()
257 if (IS_ERR(encoder)) { in modeset_init_intf()
287 if (IS_ERR(dsi_encs)) { in modeset_init_intf()
334 if (IS_ERR(plane)) { in modeset_init()
342 if (IS_ERR(crtc)) { in modeset_init()
357 if (IS_ERR(plane)) { in modeset_init()
400 if (IS_ERR(clk)) { in get_clk()
435 if (IS_ERR(mdp5_kms->mmio)) { in mdp5_kms_init()
441 if (IS_ERR(mdp5_kms->vbif)) { in mdp5_kms_init()
[all …]
/linux-4.1.27/drivers/hwmon/
Dg762.c287 if (IS_ERR(data)) in do_set_pwm_mode()
317 if (IS_ERR(data)) in do_set_fan_div()
357 if (IS_ERR(data)) in do_set_fan_gear_mode()
393 if (IS_ERR(data)) in do_set_fan_pulses()
423 if (IS_ERR(data)) in do_set_pwm_enable()
464 if (IS_ERR(data)) in do_set_pwm_polarity()
518 if (IS_ERR(data)) in do_set_fan_target()
540 if (IS_ERR(data)) in do_set_fan_startv()
604 if (IS_ERR(clk)) { in g762_of_clock_enable()
743 if (IS_ERR(data)) in get_fan_rpm()
[all …]
/linux-4.1.27/drivers/base/
Dpinctrl.c31 if (IS_ERR(dev->pins->p)) { in pinctrl_bind_pins()
39 if (IS_ERR(dev->pins->default_state)) { in pinctrl_bind_pins()
59 if (IS_ERR(dev->pins->sleep_state)) in pinctrl_bind_pins()
65 if (IS_ERR(dev->pins->idle_state)) in pinctrl_bind_pins()
/linux-4.1.27/drivers/usb/host/
Dehci-orion.c195 if (IS_ERR(regs)) { in ehci_orion_drv_probe()
221 if (!IS_ERR(priv->clk)) in ehci_orion_drv_probe()
225 if (IS_ERR(priv->phy)) { in ehci_orion_drv_probe()
274 if (!IS_ERR(priv->phy)) in ehci_orion_drv_probe()
277 if (!IS_ERR(priv->phy)) in ehci_orion_drv_probe()
281 if (!IS_ERR(priv->clk)) in ehci_orion_drv_probe()
298 if (!IS_ERR(priv->phy)) { in ehci_orion_drv_remove()
303 if (!IS_ERR(priv->clk)) in ehci_orion_drv_remove()
Dohci-exynos.c66 if (IS_ERR(phy)) { in exynos_ohci_get_phy()
89 if (!IS_ERR(exynos_ohci->phy[i])) in exynos_ohci_phy_enable()
93 if (!IS_ERR(exynos_ohci->phy[i])) in exynos_ohci_phy_enable()
106 if (!IS_ERR(exynos_ohci->phy[i])) in exynos_ohci_phy_disable()
147 if (IS_ERR(exynos_ohci->clk)) { in exynos_ohci_probe()
159 if (IS_ERR(hcd->regs)) { in exynos_ohci_probe()
Dehci-exynos.c77 if (IS_ERR(phy)) { in exynos_ehci_get_phy()
100 if (!IS_ERR(exynos_ehci->phy[i])) in exynos_ehci_phy_enable()
104 if (!IS_ERR(exynos_ehci->phy[i])) in exynos_ehci_phy_enable()
117 if (!IS_ERR(exynos_ehci->phy[i])) in exynos_ehci_phy_disable()
179 if (IS_ERR(exynos_ehci->clk)) { in exynos_ehci_probe()
191 if (IS_ERR(hcd->regs)) { in exynos_ehci_probe()
Dxhci-plat.c102 if (IS_ERR(hcd->regs)) { in xhci_plat_probe()
115 if (!IS_ERR(clk)) { in xhci_plat_probe()
160 if (IS_ERR(hcd->usb_phy)) { in xhci_plat_probe()
187 if (!IS_ERR(clk)) in xhci_plat_probe()
207 if (!IS_ERR(clk)) in xhci_plat_remove()
Dohci-st.c167 if (IS_ERR(priv->phy)) { in st_ohci_platform_probe()
174 if (IS_ERR(priv->clks[clk])) { in st_ohci_platform_probe()
186 if (IS_ERR(priv->clk48)) { in st_ohci_platform_probe()
192 if (IS_ERR(priv->pwr)) { in st_ohci_platform_probe()
198 if (IS_ERR(priv->rst)) { in st_ohci_platform_probe()
213 if (IS_ERR(hcd->regs)) { in st_ohci_platform_probe()
Dehci-st.c190 if (IS_ERR(priv->phy)) { in st_ehci_platform_probe()
197 if (IS_ERR(priv->clks[clk])) { in st_ehci_platform_probe()
209 if (IS_ERR(priv->clk48)) { in st_ehci_platform_probe()
215 if (IS_ERR(priv->pwr)) { in st_ehci_platform_probe()
223 if (IS_ERR(priv->rst)) { in st_ehci_platform_probe()
240 if (IS_ERR(hcd->regs)) { in st_ehci_platform_probe()
Dehci-mxc.c73 if (IS_ERR(hcd->regs)) { in ehci_mxc_drv_probe()
86 if (IS_ERR(priv->usbclk)) { in ehci_mxc_drv_probe()
93 if (IS_ERR(priv->ahbclk)) { in ehci_mxc_drv_probe()
101 if (IS_ERR(priv->phyclk)) in ehci_mxc_drv_probe()
/linux-4.1.27/sound/soc/codecs/
Dtlv320aic32x4.c685 if (!IS_ERR(aic32x4->supply_ldo)) in aic32x4_disable_regulators()
688 if (!IS_ERR(aic32x4->supply_dv)) in aic32x4_disable_regulators()
691 if (!IS_ERR(aic32x4->supply_av)) in aic32x4_disable_regulators()
707 if (IS_ERR(aic32x4->supply_iov)) { in aic32x4_setup_regulators()
712 if (IS_ERR(aic32x4->supply_ldo)) { in aic32x4_setup_regulators()
716 if (IS_ERR(aic32x4->supply_dv)) { in aic32x4_setup_regulators()
720 if (IS_ERR(aic32x4->supply_av)) { in aic32x4_setup_regulators()
725 if (IS_ERR(aic32x4->supply_dv) && in aic32x4_setup_regulators()
728 if (IS_ERR(aic32x4->supply_av) && in aic32x4_setup_regulators()
739 if (!IS_ERR(aic32x4->supply_ldo)) { in aic32x4_setup_regulators()
[all …]
/linux-4.1.27/fs/
Danon_inodes.c78 if (IS_ERR(anon_inode_inode)) in anon_inode_getfile()
106 if (IS_ERR(file)) in anon_inode_getfile()
151 if (IS_ERR(file)) { in anon_inode_getfd()
168 if (IS_ERR(anon_inode_mnt)) in anon_inode_init()
172 if (IS_ERR(anon_inode_inode)) in anon_inode_init()
/linux-4.1.27/drivers/base/power/
Dopp.c234 if (IS_ERR(dev_opp)) { in dev_pm_opp_get_opp_count()
288 if (IS_ERR(dev_opp)) { in dev_pm_opp_find_freq_exact()
341 if (IS_ERR(dev_opp)) in dev_pm_opp_find_freq_ceil()
391 if (IS_ERR(dev_opp)) in dev_pm_opp_find_freq_floor()
403 if (!IS_ERR(opp)) in dev_pm_opp_find_freq_floor()
491 if (IS_ERR(dev_opp)) { in _opp_add_dynamic()
646 if (IS_ERR(dev_opp)) in dev_pm_opp_remove()
703 if (IS_ERR(dev_opp)) { in _opp_set_availability()
716 if (IS_ERR(opp)) { in _opp_set_availability()
819 if (IS_ERR(dev_opp)) in dev_pm_opp_get_notifier()
[all …]
/linux-4.1.27/arch/arm/mach-rockchip/
Dplatsmp.c78 if (IS_ERR(rstc) && read_cpuid_part() != ARM_CPU_PART_CORTEX_A9) { in pmu_set_power_domain()
89 if (!IS_ERR(rstc) && !on) in pmu_set_power_domain()
108 if (!IS_ERR(rstc)) { in pmu_set_power_domain()
227 if (!IS_ERR(pmu)) in rockchip_smp_prepare_pmu()
231 if (!IS_ERR(pmu)) in rockchip_smp_prepare_pmu()
249 if (IS_ERR(pmu)) { in rockchip_smp_prepare_pmu()
/linux-4.1.27/fs/nfs/
Dnfs3client.c30 if (IS_ERR(server->client_acl)) in nfs_init_server_aclclient()
53 if (!IS_ERR(server)) in nfs3_create_server()
64 if (!IS_ERR(server) && !IS_ERR(source->client_acl)) in nfs3_clone_server()
Dnfs4namespace.c88 if (!IS_ERR(path)) { in nfs4_path()
107 if (IS_ERR(path)) in nfs4_validate_fspath()
111 if (IS_ERR(fs_path)) in nfs4_validate_fspath()
178 if (IS_ERR(new)) in nfs_find_best_sec()
186 if (IS_ERR(cred)) { in nfs_find_best_sec()
249 if (IS_ERR(mnt_path)) in try_location()
283 if (!IS_ERR(mnt)) in try_location()
336 if (!IS_ERR(mnt)) in nfs_follow_referral()
407 if (IS_ERR(client)) in nfs4_submount()
/linux-4.1.27/drivers/gpio/
Ddevres.c113 if (IS_ERR(desc)) { in __devm_gpiod_get_index()
158 if (!IS_ERR(desc) || (PTR_ERR(desc) == -EPROBE_DEFER)) in devm_get_gpiod_from_child()
161 if (IS_ERR(desc)) { in devm_get_gpiod_from_child()
193 if (IS_ERR(desc)) { in __devm_gpiod_get_index_optional()
225 if (IS_ERR(descs)) { in devm_gpiod_get_array()
255 if (IS_ERR(descs) && (PTR_ERR(descs) == -ENOENT)) in devm_gpiod_get_array_optional()
/linux-4.1.27/drivers/gpu/drm/nouveau/
Dnouveau_platform.c105 if (IS_ERR(gpu->iommu.domain)) in nouveau_platform_probe_iommu()
173 if (IS_ERR(gpu->vdd)) in nouveau_platform_probe()
177 if (IS_ERR(gpu->rst)) in nouveau_platform_probe()
181 if (IS_ERR(gpu->clk)) in nouveau_platform_probe()
185 if (IS_ERR(gpu->clk_pwr)) in nouveau_platform_probe()
195 if (IS_ERR(drm)) { in nouveau_platform_probe()
/linux-4.1.27/drivers/thermal/ti-soc-thermal/
Dti-thermal-common.c104 if (!IS_ERR(pcb_tz)) { in __ti_thermal_get_temp()
136 if (!data || IS_ERR(data)) in ti_thermal_bind()
158 if (!data || IS_ERR(data)) in ti_thermal_unbind()
332 if (!data || IS_ERR(data)) in ti_thermal_expose_sensor()
341 if (IS_ERR(data->ti_thermal)) { in ti_thermal_expose_sensor()
347 if (IS_ERR(data->ti_thermal)) { in ti_thermal_expose_sensor()
403 if (!data || IS_ERR(data)) in ti_thermal_register_cpu_cooling()
411 if (IS_ERR(data->cool_dev)) { in ti_thermal_register_cpu_cooling()
/linux-4.1.27/drivers/xen/xenbus/
Dxenbus_xs.c253 if (IS_ERR(ret)) in xenbus_dev_request_and_reply()
304 if (IS_ERR(ret)) in xs_talkv()
338 if (IS_ERR(reply)) in xs_error()
397 if (IS_ERR(path)) in xenbus_directory()
402 if (IS_ERR(strings)) in xenbus_directory()
417 if (IS_ERR(d)) in xenbus_exists()
435 if (IS_ERR(path)) in xenbus_read()
455 if (IS_ERR(path)) in xenbus_write()
477 if (IS_ERR(path)) in xenbus_mkdir()
493 if (IS_ERR(path)) in xenbus_rm()
[all …]
/linux-4.1.27/include/linux/pinctrl/
Dconsumer.h139 if (IS_ERR(p)) in pinctrl_get_select()
143 if (IS_ERR(s)) { in pinctrl_get_select()
171 if (IS_ERR(p)) in devm_pinctrl_get_select()
175 if (IS_ERR(s)) { in devm_pinctrl_get_select()
/linux-4.1.27/drivers/clk/mmp/
Dclk.c38 if (IS_ERR(clk)) { in mmp_register_fixed_rate_clks()
60 if (IS_ERR(clk)) { in mmp_register_fixed_factor_clks()
86 if (IS_ERR(clk)) { in mmp_register_general_gate_clks()
114 if (IS_ERR(clk)) { in mmp_register_gate_clks()
142 if (IS_ERR(clk)) { in mmp_register_mux_clks()
169 if (IS_ERR(clk)) { in mmp_register_div_clks()
/linux-4.1.27/drivers/gpu/drm/sti/
Dsti_compositor.c212 if (IS_ERR(compo->clk_compo_main)) { in sti_compositor_probe()
218 if (IS_ERR(compo->clk_compo_aux)) { in sti_compositor_probe()
224 if (IS_ERR(compo->clk_pix_main)) { in sti_compositor_probe()
230 if (IS_ERR(compo->clk_pix_aux)) { in sti_compositor_probe()
238 if (!IS_ERR(compo->rst_main)) in sti_compositor_probe()
243 if (!IS_ERR(compo->rst_aux)) in sti_compositor_probe()
/linux-4.1.27/drivers/clk/ti/
Dapll.c143 if (IS_ERR(ad->clk_ref) || IS_ERR(ad->clk_bypass)) { in omap_clk_register_apll()
153 if (!IS_ERR(clk)) { in omap_clk_register_apll()
206 if (IS_ERR(ad->control_reg) || IS_ERR(ad->idlest_reg)) in of_dra7_apll_setup()
387 if (IS_ERR(ad->control_reg) || IS_ERR(ad->autoidle_reg) || in of_omap2_apll_setup()
388 IS_ERR(ad->idlest_reg)) in of_omap2_apll_setup()
392 if (!IS_ERR(clk)) { in of_omap2_apll_setup()
/linux-4.1.27/drivers/media/platform/vsp1/
Dvsp1_drv.c161 if (IS_ERR(vsp1->bru)) { in vsp1_create_entities()
169 if (IS_ERR(vsp1->hsi)) { in vsp1_create_entities()
177 if (IS_ERR(vsp1->hst)) { in vsp1_create_entities()
186 if (IS_ERR(vsp1->lif)) { in vsp1_create_entities()
196 if (IS_ERR(vsp1->lut)) { in vsp1_create_entities()
208 if (IS_ERR(rpf)) { in vsp1_create_entities()
219 if (IS_ERR(vsp1->sru)) { in vsp1_create_entities()
231 if (IS_ERR(uds)) { in vsp1_create_entities()
244 if (IS_ERR(wpf)) { in vsp1_create_entities()
490 if (IS_ERR(vsp1->mmio)) in vsp1_probe()
[all …]
/linux-4.1.27/arch/arm/mach-davinci/
Dclock.c66 if (clk == NULL || IS_ERR(clk)) in davinci_clk_reset()
80 if (clk == NULL || IS_ERR(clk) || !clk->reset) in davinci_clk_reset_assert()
89 if (clk == NULL || IS_ERR(clk) || !clk->reset) in davinci_clk_reset_deassert()
100 if (clk == NULL || IS_ERR(clk)) in clk_enable()
115 if (clk == NULL || IS_ERR(clk)) in clk_disable()
126 if (clk == NULL || IS_ERR(clk)) in clk_get_rate()
135 if (clk == NULL || IS_ERR(clk)) in clk_round_rate()
162 if (clk == NULL || IS_ERR(clk)) in clk_set_rate()
184 if (clk == NULL || IS_ERR(clk)) in clk_set_parent()
209 if (clk == NULL || IS_ERR(clk)) in clk_register()
[all …]
/linux-4.1.27/drivers/gpu/drm/msm/hdmi/
Dhdmi.c97 if (IS_ERR(hdmi->phy)) { in hdmi_init()
105 if (IS_ERR(hdmi->mmio)) { in hdmi_init()
121 if (IS_ERR(reg)) { in hdmi_init()
142 if (IS_ERR(reg)) { in hdmi_init()
162 if (IS_ERR(clk)) { in hdmi_init()
182 if (IS_ERR(clk)) { in hdmi_init()
193 if (IS_ERR(hdmi->i2c)) { in hdmi_init()
230 if (IS_ERR(hdmi->bridge)) { in hdmi_modeset_init()
238 if (IS_ERR(hdmi->connector)) { in hdmi_modeset_init()
438 if (IS_ERR(hdmi)) in hdmi_bind()
/linux-4.1.27/drivers/media/platform/s5p-tv/
Dmixer_drv.c234 if (!IS_ERR(res->sclk_dac)) in mxr_release_clocks()
236 if (!IS_ERR(res->sclk_hdmi)) in mxr_release_clocks()
238 if (!IS_ERR(res->sclk_mixer)) in mxr_release_clocks()
240 if (!IS_ERR(res->vp)) in mxr_release_clocks()
242 if (!IS_ERR(res->mixer)) in mxr_release_clocks()
254 if (IS_ERR(res->mixer)) { in mxr_acquire_clocks()
259 if (IS_ERR(res->vp)) { in mxr_acquire_clocks()
264 if (IS_ERR(res->sclk_mixer)) { in mxr_acquire_clocks()
269 if (IS_ERR(res->sclk_hdmi)) { in mxr_acquire_clocks()
274 if (IS_ERR(res->sclk_dac)) { in mxr_acquire_clocks()
Dsdo_drv.c379 if (IS_ERR(sdev->sclk_dac)) { in sdo_probe()
385 if (IS_ERR(sdev->dac)) { in sdo_probe()
391 if (IS_ERR(sdev->dacphy)) { in sdo_probe()
397 if (IS_ERR(sclk_vpll)) { in sdo_probe()
405 if (IS_ERR(sdev->fout_vpll)) { in sdo_probe()
414 if (IS_ERR(sdev->vdac)) { in sdo_probe()
420 if (IS_ERR(sdev->vdet)) { in sdo_probe()
/linux-4.1.27/arch/c6x/platforms/
Dpll.c52 if (clk == NULL || IS_ERR(clk)) in clk_enable()
67 if (clk == NULL || IS_ERR(clk)) in clk_disable()
78 if (clk == NULL || IS_ERR(clk)) in clk_get_rate()
87 if (clk == NULL || IS_ERR(clk)) in clk_round_rate()
114 if (clk == NULL || IS_ERR(clk)) in clk_set_rate()
136 if (clk == NULL || IS_ERR(clk)) in clk_set_parent()
161 if (clk == NULL || IS_ERR(clk)) in clk_register()
193 if (clk == NULL || IS_ERR(clk)) in clk_unregister()
/linux-4.1.27/drivers/iio/dac/
Dad5791.c358 if (!IS_ERR(st->reg_vdd)) { in ad5791_probe()
371 if (!IS_ERR(st->reg_vss)) { in ad5791_probe()
386 if (!IS_ERR(st->reg_vss) && !IS_ERR(st->reg_vdd)) { in ad5791_probe()
428 if (!IS_ERR(st->reg_vss)) in ad5791_probe()
431 if (!IS_ERR(st->reg_vdd)) in ad5791_probe()
442 if (!IS_ERR(st->reg_vdd)) in ad5791_remove()
445 if (!IS_ERR(st->reg_vss)) in ad5791_remove()
/linux-4.1.27/fs/ubifs/
Dfind.c189 if (IS_ERR(lprops)) in scan_for_dirty()
325 if (IS_ERR(lp)) { in ubifs_find_dirty_leb()
338 if (IS_ERR(lp)) { in ubifs_find_dirty_leb()
468 if (IS_ERR(lprops)) in do_find_free_space()
541 if (IS_ERR(lprops)) { in ubifs_find_free_space()
550 if (IS_ERR(lprops)) { in ubifs_find_free_space()
648 if (IS_ERR(lprops)) in scan_for_leb_for_idx()
695 if (IS_ERR(lprops)) { in ubifs_find_free_leb_for_idx()
715 if (IS_ERR(lprops)) { in ubifs_find_free_leb_for_idx()
876 if (IS_ERR(lprops)) in find_dirty_idx_leb()
[all …]
Dtnc.c272 if (IS_ERR(zn)) in dirty_cow_znode()
614 if (IS_ERR(znode)) in tnc_next()
618 if (IS_ERR(znode)) in tnc_next()
658 if (IS_ERR(znode)) in tnc_prev()
663 if (IS_ERR(znode)) in tnc_prev()
1127 if (IS_ERR(znode) || !p) in dirty_cow_bottom_up()
1172 if (IS_ERR(znode)) in ubifs_lookup_level0()
1198 if (IS_ERR(znode)) in ubifs_lookup_level0()
1307 if (IS_ERR(znode)) in lookup_level0_dirty()
1312 if (IS_ERR(znode)) in lookup_level0_dirty()
[all …]
/linux-4.1.27/security/apparmor/
Dapparmorfs.c126 if (!IS_ERR(data)) { in profile_load()
148 if (!IS_ERR(data)) { in profile_replace()
175 if (!IS_ERR(data)) { in profile_remove()
394 if (IS_ERR(dent)) in create_profile_file()
413 if (IS_ERR(dent)) in __aa_fs_profile_mkdir()
432 if (IS_ERR(dent)) in __aa_fs_profile_mkdir()
437 if (IS_ERR(dent)) in __aa_fs_profile_mkdir()
442 if (IS_ERR(dent)) in __aa_fs_profile_mkdir()
448 if (IS_ERR(dent)) in __aa_fs_profile_mkdir()
455 if (IS_ERR(dent)) in __aa_fs_profile_mkdir()
[all …]
Dpath.c67 if (IS_ERR(res)) { in d_namespace_path()
96 if (!res || IS_ERR(res)) { in d_namespace_path()
101 if (IS_ERR(res)) { in d_namespace_path()
/linux-4.1.27/net/9p/
Dclient.c341 if (IS_ERR(c->tagpool)) { in p9_tag_init()
659 if (IS_ERR(req)) in p9_client_flush()
699 if (IS_ERR(req)) in p9_client_prepare_req()
735 if (IS_ERR(req)) in p9_client_rpc()
832 if (IS_ERR(req)) in p9_client_zc_rpc()
958 if (IS_ERR(req)) in p9_client_version()
1029 if (IS_ERR(clnt->fidpool)) { in p9_client_create()
1115 if (IS_ERR(fid)) { in p9_client_attach()
1124 if (IS_ERR(req)) { in p9_client_attach()
1166 if (IS_ERR(fid)) { in p9_client_walk()
[all …]
/linux-4.1.27/drivers/usb/phy/
Dphy.c109 if (!IS_ERR(phy)) { in devm_usb_get_phy()
137 if (IS_ERR(phy) || !try_module_get(phy->dev->driver->owner)) { in usb_get_phy()
140 if (!IS_ERR(phy)) in usb_get_phy()
198 if (IS_ERR(phy)) { in devm_usb_get_phy_by_phandle()
243 if (IS_ERR(phy) || !try_module_get(phy->dev->driver->owner)) { in usb_get_phy_dev()
245 if (!IS_ERR(phy)) in usb_get_phy_dev()
280 if (!IS_ERR(phy)) { in devm_usb_get_phy_dev()
Dphy-generic.c146 if (!IS_ERR(nop->vcc)) { in usb_gen_phy_init()
151 if (!IS_ERR(nop->clk)) in usb_gen_phy_init()
166 if (!IS_ERR(nop->clk)) in usb_gen_phy_shutdown()
169 if (!IS_ERR(nop->vcc)) { in usb_gen_phy_shutdown()
258 if (IS_ERR(nop->clk)) { in usb_phy_gen_create_phy()
263 if (!IS_ERR(nop->clk) && clk_rate) { in usb_phy_gen_create_phy()
272 if (IS_ERR(nop->vcc)) { in usb_phy_gen_create_phy()
/linux-4.1.27/fs/ceph/
Dexport.c77 if (IS_ERR(req)) in __fh_to_dentry()
92 if (IS_ERR(dentry)) { in __fh_to_dentry()
135 if (IS_ERR(req)) in __get_parent()
157 if (IS_ERR(dentry)) { in __get_parent()
200 if (IS_ERR(dentry) && PTR_ERR(dentry) == -ENOENT) in ceph_fh_to_parent()
215 if (IS_ERR(req)) in ceph_get_name()
/linux-4.1.27/drivers/clk/hisilicon/
Dclk.c92 if (IS_ERR(clk)) { in hisi_clk_register_fixed_rate()
113 if (IS_ERR(clk)) { in hisi_clk_register_fixed_factor()
138 if (IS_ERR(clk)) { in hisi_clk_register_mux()
167 if (IS_ERR(clk)) { in hisi_clk_register_divider()
195 if (IS_ERR(clk)) { in hisi_clk_register_gate()
223 if (IS_ERR(clk)) { in hisi_clk_register_gate_sep()
/linux-4.1.27/drivers/clk/mvebu/
Dcommon.c142 WARN_ON(IS_ERR(clk_data.clks[0])); in mvebu_coreclk_setup()
155 WARN_ON(IS_ERR(clk_data.clks[1])); in mvebu_coreclk_setup()
167 WARN_ON(IS_ERR(clk_data.clks[2+n])); in mvebu_coreclk_setup()
179 WARN_ON(IS_ERR(clk_data.clks[2 + desc->num_ratios])); in mvebu_coreclk_setup()
257 if (!IS_ERR(clk)) { in mvebu_clk_gating_setup()
287 WARN_ON(IS_ERR(ctrl->gates[n])); in mvebu_clk_gating_setup()
/linux-4.1.27/sound/soc/
Dsoc-ac97.c97 if (IS_ERR(ac97)) in snd_soc_new_ac97_codec()
169 if (IS_ERR(p)) { in snd_soc_ac97_parse_pinctl()
176 if (IS_ERR(state)) { in snd_soc_ac97_parse_pinctl()
183 if (IS_ERR(state)) { in snd_soc_ac97_parse_pinctl()
190 if (IS_ERR(state)) { in snd_soc_ac97_parse_pinctl()
/linux-4.1.27/drivers/pwm/
Dpwm-sti.c272 if (IS_ERR(pc->prescale_low)) in sti_pwm_probe_dt()
277 if (IS_ERR(pc->prescale_high)) in sti_pwm_probe_dt()
282 if (IS_ERR(pc->pwm_en)) in sti_pwm_probe_dt()
287 if (IS_ERR(pc->pwm_int_en)) in sti_pwm_probe_dt()
318 if (IS_ERR(pc->mmio)) in sti_pwm_probe()
323 if (IS_ERR(pc->regmap)) in sti_pwm_probe()
345 if (IS_ERR(pc->clk)) { in sti_pwm_probe()
/linux-4.1.27/drivers/devfreq/exynos/
Dexynos5_bus.c97 if (IS_ERR(opp)) { in exynos5_busfreq_int_target()
210 if (IS_ERR(opp)) { in exynos5_busfreq_int_pm_notifier_event()
298 if (IS_ERR(data->vdd_int)) { in exynos5_busfreq_int_probe()
304 if (IS_ERR(data->int_clk)) { in exynos5_busfreq_int_probe()
312 if (IS_ERR(opp)) { in exynos5_busfreq_int_probe()
339 if (IS_ERR(data->devfreq)) in exynos5_busfreq_int_probe()
410 if (IS_ERR(exynos5_devfreq_pdev)) { in exynos5_busfreq_int_init()
/linux-4.1.27/fs/f2fs/
Dinline.c73 if (IS_ERR(ipage)) { in f2fs_read_inline_data()
167 if (IS_ERR(ipage)) { in f2fs_convert_inline_inode()
239 f2fs_bug_on(sbi, IS_ERR(ipage)); in recover_inline_data()
257 f2fs_bug_on(sbi, IS_ERR(ipage)); in recover_inline_data()
279 if (IS_ERR(ipage)) in find_in_inline_dir()
310 if (IS_ERR(ipage)) in f2fs_parent_inline_dir()
407 if (IS_ERR(ipage)) in f2fs_add_inline_entry()
423 if (IS_ERR(page)) { in f2fs_add_inline_entry()
493 if (IS_ERR(ipage)) in f2fs_empty_inline_dir()
520 if (IS_ERR(ipage)) in f2fs_read_inline_dir()
Ddir.c181 if (IS_ERR(dentry_page)) { in find_in_level()
251 if (IS_ERR(page)) in f2fs_parent_dir()
311 if (IS_ERR(page)) in update_dent_inode()
354 if (IS_ERR(dentry_page)) in make_empty_dir()
377 if (IS_ERR(page)) in init_inode_metadata()
395 if (IS_ERR(page)) in init_inode_metadata()
544 if (IS_ERR(dentry_page)) in __f2fs_add_link()
566 if (IS_ERR(page)) { in __f2fs_add_link()
605 if (IS_ERR(page)) { in f2fs_do_tmpfile()
706 if (IS_ERR(dentry_page)) { in f2fs_empty_dir()
[all …]
/linux-4.1.27/drivers/dca/
Ddca-sysfs.c43 if (IS_ERR(cd)) in dca_sysfs_add_req()
71 if (IS_ERR(cd)) { in dca_sysfs_add_provider()
96 if (IS_ERR(dca_class)) { in dca_sysfs_init()
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/
Dfw_qos.c94 if (IS_ERR(mailbox)) in mlx4_SET_PORT_PRIO2TC()
121 if (IS_ERR(mailbox)) in mlx4_SET_PORT_SCHEDULER()
168 if (IS_ERR(mailbox)) in mlx4_ALLOCATE_VPP_get()
202 if (IS_ERR(mailbox)) in mlx4_ALLOCATE_VPP_set()
230 if (IS_ERR(mailbox)) in mlx4_SET_VPORT_QOS_get()
267 if (IS_ERR(mailbox)) in mlx4_SET_VPORT_QOS_set()
/linux-4.1.27/net/rfkill/
Drfkill-gpio.c48 if (!blocked && !IS_ERR(rfkill->clk) && !rfkill->clk_enabled) in rfkill_gpio_set_power()
54 if (blocked && !IS_ERR(rfkill->clk) && rfkill->clk_enabled) in rfkill_gpio_set_power()
116 if (!IS_ERR(gpio)) { in rfkill_gpio_probe()
124 if (!IS_ERR(gpio)) { in rfkill_gpio_probe()
/linux-4.1.27/drivers/platform/x86/
Dintel_oaktrail.c177 if (IS_ERR(wifi_rfkill)) { in oaktrail_rfkill_init()
186 if (IS_ERR(bt_rfkill)) { in oaktrail_rfkill_init()
195 if (IS_ERR(gps_rfkill)) { in oaktrail_rfkill_init()
204 if (IS_ERR(wwan_rfkill)) { in oaktrail_rfkill_init()
257 if (IS_ERR(bd)) { in oaktrail_backlight_init()
/linux-4.1.27/fs/reiserfs/
Dxattr.c152 if (IS_ERR(xaroot)) in open_xa_dir()
162 if (!IS_ERR(xadir) && d_really_is_negative(xadir)) { in open_xa_dir()
208 if (IS_ERR(dentry)) { in fill_with_dentries()
249 if (IS_ERR(dir)) { in reiserfs_for_each_xattr()
384 if (IS_ERR(xadir)) in xattr_lookup()
389 if (IS_ERR(xafile)) { in xattr_lookup()
431 if (!IS_ERR(page)) { in reiserfs_get_page()
469 if (IS_ERR(xadir)) in lookup_and_delete_xattr()
474 if (IS_ERR(dentry)) { in lookup_and_delete_xattr()
520 if (IS_ERR(dentry)) in reiserfs_xattr_set_handle()
[all …]
/linux-4.1.27/fs/ntfs/
Dsuper.c389 if (IS_ERR(m)) { in ntfs_write_volume_flags()
1042 if (IS_ERR(tmp_ino) || is_bad_inode(tmp_ino)) { in load_and_init_mft_mirror()
1043 if (!IS_ERR(tmp_ino)) in load_and_init_mft_mirror()
1117 if (IS_ERR(mft_page)) { in check_mft_mirror()
1125 if (IS_ERR(mirr_page)) { in check_mft_mirror()
1223 if (IS_ERR(tmp_ino) || is_bad_inode(tmp_ino)) { in load_and_check_logfile()
1224 if (!IS_ERR(tmp_ino)) in load_and_check_logfile()
1308 if (IS_ERR(vi) || is_bad_inode(vi)) { in check_windows_hibernation_status()
1309 if (!IS_ERR(vi)) in check_windows_hibernation_status()
1312 return IS_ERR(vi) ? PTR_ERR(vi) : -EIO; in check_windows_hibernation_status()
[all …]
/linux-4.1.27/fs/afs/
Ddir.c197 if (!IS_ERR(page)) { in afs_dir_get_page()
348 if (IS_ERR(page)) { in afs_dir_iterate()
477 if (IS_ERR(inode)) { in afs_try_auto_mntpt()
521 if (IS_ERR(key)) { in afs_lookup()
536 if (!IS_ERR(inode)) { in afs_lookup()
556 if (IS_ERR(inode)) { in afs_lookup()
599 if (IS_ERR(key)) in afs_d_revalidate()
747 if (IS_ERR(key)) { in afs_mkdir()
759 if (IS_ERR(inode)) { in afs_mkdir()
808 if (IS_ERR(key)) { in afs_rmdir()
[all …]
Dsuper.c165 if (IS_ERR(cell)) in afs_parse_options()
270 if (IS_ERR(cell)) { in afs_parse_device_name()
330 if (IS_ERR(inode)) in afs_fill_super()
386 if (IS_ERR(key)) { in afs_mount()
395 if (IS_ERR(vol)) { in afs_mount()
411 if (IS_ERR(sb)) { in afs_mount()
537 if (IS_ERR(key)) in afs_statfs()
Dvnode.c354 if (IS_ERR(server)) in afs_vnode_fetch_status()
418 if (IS_ERR(server)) in afs_vnode_fetch_data()
474 if (IS_ERR(server)) in afs_vnode_create()
530 if (IS_ERR(server)) in afs_vnode_remove()
592 if (IS_ERR(server)) in afs_vnode_link()
656 if (IS_ERR(server)) in afs_vnode_symlink()
726 if (IS_ERR(server)) in afs_vnode_rename()
792 if (IS_ERR(server)) in afs_vnode_store_data()
845 if (IS_ERR(server)) in afs_vnode_setattr()
892 if (IS_ERR(server)) in afs_vnode_get_volume_status()
[all …]
/linux-4.1.27/drivers/usb/chipidea/
Dci_hdrc_usb2.c48 if (!IS_ERR(priv->clk)) { in ci_hdrc_usb2_probe()
64 if (IS_ERR(priv->ci_pdev)) { in ci_hdrc_usb2_probe()
81 if (!IS_ERR(priv->clk)) in ci_hdrc_usb2_probe()
Dci_hdrc_imx.c134 if (IS_ERR(data->clk_ipg)) { in imx_get_clks()
137 if (IS_ERR(data->clk)) { in imx_get_clks()
148 if (IS_ERR(data->clk_ahb)) { in imx_get_clks()
156 if (IS_ERR(data->clk_per)) { in imx_get_clks()
244 if (IS_ERR(data->usbmisc_data)) in ci_hdrc_imx_probe()
256 if (IS_ERR(data->phy)) { in ci_hdrc_imx_probe()
282 if (IS_ERR(data->ci_pdev)) { in ci_hdrc_imx_probe()
/linux-4.1.27/security/integrity/
Ddigsig_asymmetric.c40 if (IS_ERR(kref)) in request_asymmetric_key()
48 if (IS_ERR(key)) { in request_asymmetric_key()
87 if (IS_ERR(key)) in asymmetric_verify()
Ddigsig.c45 if (IS_ERR(keyring[id])) { in integrity_digsig_verify()
77 if (!IS_ERR(keyring[id])) in integrity_init_keyring()
109 if (IS_ERR(key)) { in integrity_load_x509()
/linux-4.1.27/drivers/mtd/
Dmtdsuper.c68 if (IS_ERR(sb)) in mount_mtd_aux()
110 if (IS_ERR(mtd)) { in mount_mtd_nr()
149 if (!IS_ERR(mtd)) in mount_mtd()
180 if (IS_ERR(bdev)) { in mount_mtd()
/linux-4.1.27/fs/qnx6/
Ddir.c30 if (!IS_ERR(page)) in qnx6_get_page()
60 if (IS_ERR(page)) in qnx6_longname()
84 if (IS_ERR(lf)) { in qnx6_dir_longfilename()
137 if (IS_ERR(page)) { in qnx6_readdir()
188 if (IS_ERR(lf)) in qnx6_long_match()
240 if (!IS_ERR(page)) { in qnx6_find_entry()
/linux-4.1.27/crypto/
Daead.c264 if (IS_ERR(alg)) in crypto_grab_nivaead()
284 if (IS_ERR(algt)) in aead_geniv_alloc()
292 if (IS_ERR(name)) in aead_geniv_alloc()
380 if (IS_ERR(aead)) in aead_geniv_init()
417 if (IS_ERR(larval)) in crypto_nivaead_default()
448 if (IS_ERR(inst)) in crypto_nivaead_default()
476 if (IS_ERR(alg)) in crypto_lookup_aead()
488 if (IS_ERR(alg)) in crypto_lookup_aead()
517 if (IS_ERR(alg)) in crypto_grab_aead()
540 if (IS_ERR(alg)) { in crypto_alloc_aead()
[all …]
/linux-4.1.27/drivers/usb/gadget/udc/
Dfsl_mxc_udc.c41 if (IS_ERR(mxc_ipg_clk)) { in fsl_udc_clk_init()
47 if (IS_ERR(mxc_ahb_clk)) { in fsl_udc_clk_init()
53 if (IS_ERR(mxc_per_clk)) { in fsl_udc_clk_init()
/linux-4.1.27/drivers/iommu/
Diommu-sysfs.c95 if (!dev || IS_ERR(dev)) in iommu_device_destroy()
111 if (!dev || IS_ERR(dev)) in iommu_device_link()
129 if (!dev || IS_ERR(dev)) in iommu_device_unlink()
Dexynos-iommu.c326 if (!IS_ERR(data->clk_master)) in exynos_sysmmu_irq()
359 if (!IS_ERR(data->clk_master)) in exynos_sysmmu_irq()
369 if (!IS_ERR(data->clk_master)) in __sysmmu_disable_nocount()
376 if (!IS_ERR(data->clk_master)) in __sysmmu_disable_nocount()
429 if (!IS_ERR(data->clk_master)) in __sysmmu_enable_nocount()
441 if (!IS_ERR(data->clk_master)) in __sysmmu_enable_nocount()
545 if (!IS_ERR(data->clk_master)) in sysmmu_tlb_invalidate_flpdcache()
553 if (!IS_ERR(data->clk_master)) in sysmmu_tlb_invalidate_flpdcache()
570 if (!IS_ERR(data->clk_master)) in sysmmu_tlb_invalidate_entry()
591 if (!IS_ERR(data->clk_master)) in sysmmu_tlb_invalidate_entry()
[all …]
/linux-4.1.27/drivers/media/platform/marvell-ccic/
Dmmp-driver.c115 if (!IS_ERR(mcam->clk[i])) in mcam_clk_enable()
125 if (!IS_ERR(mcam->clk[i])) in mcam_clk_disable()
279 if (IS_ERR(cam->mipi_clk)) in mmpcam_calc_dphy()
327 if (IS_ERR(mcam->clk[i])) in mcam_init_clk()
367 if ((IS_ERR(cam->mipi_clk) && mcam->dphy[2] == 0)) in mmpcam_probe()
380 if (IS_ERR(mcam->regs)) in mmpcam_probe()
389 if (IS_ERR(cam->power_regs)) in mmpcam_probe()
/linux-4.1.27/fs/hfsplus/
Dbitmap.c37 if (IS_ERR(page)) { in hfsplus_block_allocate()
82 if (IS_ERR(page)) { in hfsplus_block_allocate()
133 if (IS_ERR(page)) { in hfsplus_block_allocate()
185 if (IS_ERR(page)) in hfsplus_block_free()
219 if (IS_ERR(page)) in hfsplus_block_free()
Dbtree.c150 if (IS_ERR(inode)) in hfs_btree_open()
161 if (IS_ERR(page)) in hfs_btree_open()
288 if (IS_ERR(node)) in hfs_btree_write()
319 if (IS_ERR(node)) in hfs_bmap_new_bmap()
377 if (IS_ERR(node)) in hfs_bmap_alloc()
422 if (IS_ERR(next_node)) in hfs_bmap_alloc()
448 if (IS_ERR(node)) in hfs_bmap_free()
465 if (IS_ERR(node)) in hfs_bmap_free()
/linux-4.1.27/arch/arm/common/
Dtimer-sp.c83 if (IS_ERR(clk)) { in __sp804_clocksource_and_sched_clock_init()
190 if (IS_ERR(clk)) { in __sp804_clockevents_init()
233 if (IS_ERR(clk1)) in sp804_of_init()
239 if (IS_ERR(clk2)) { in sp804_of_init()
280 if (WARN_ON(IS_ERR(clk))) in integrator_cp_of_init()
/linux-4.1.27/drivers/usb/dwc3/
Ddwc3-exynos.c140 if (IS_ERR(exynos->clk)) { in dwc3_exynos_probe()
147 if (IS_ERR(exynos->susp_clk)) { in dwc3_exynos_probe()
155 if (IS_ERR(exynos->axius_clk)) { in dwc3_exynos_probe()
165 if (IS_ERR(exynos->vdd33)) { in dwc3_exynos_probe()
176 if (IS_ERR(exynos->vdd10)) { in dwc3_exynos_probe()
Ddwc3-qcom.c44 if (IS_ERR(qdwc->core_clk)) { in dwc3_qcom_probe()
50 if (IS_ERR(qdwc->iface_clk)) { in dwc3_qcom_probe()
56 if (IS_ERR(qdwc->sleep_clk)) { in dwc3_qcom_probe()
/linux-4.1.27/drivers/thermal/st/
Dst_thermal_memmap.c71 if (IS_ERR(sensor->int_thresh_hi) || IS_ERR(sensor->int_enable)) { in st_mmap_alloc_regfields()
136 if (IS_ERR(sensor->mmio_base)) { in st_mmap_regmap_init()
143 if (IS_ERR(sensor->regmap)) { in st_mmap_regmap_init()
Dst_thermal.c43 if (IS_ERR(sensor->dcorrect) || in st_thermal_alloc_regfields()
44 IS_ERR(sensor->overflow) || in st_thermal_alloc_regfields()
45 IS_ERR(sensor->temp_data)) { in st_thermal_alloc_regfields()
226 if (IS_ERR(sensor->clk)) { in st_thermal_register()
250 if (IS_ERR(sensor->thermal_dev)) { in st_thermal_register()
/linux-4.1.27/drivers/misc/
Datmel_tclib.c125 if (IS_ERR(clk)) in tc_probe()
130 if (IS_ERR(tc->regs)) in tc_probe()
147 if (IS_ERR(tc->clk[1])) in tc_probe()
150 if (IS_ERR(tc->clk[2])) in tc_probe()
/linux-4.1.27/drivers/clk/at91/
Dclk-slow.c154 if (IS_ERR(clk)) in at91_clk_register_slow_osc()
176 if (IS_ERR(clk)) in of_at91sam9x5_clk_slow_osc_setup()
264 if (IS_ERR(clk)) in at91_clk_register_slow_rc_osc()
286 if (IS_ERR(clk)) in of_at91sam9x5_clk_slow_rc_osc_setup()
359 if (IS_ERR(clk)) in at91_clk_register_sam9x5_slow()
390 if (IS_ERR(clk)) in of_at91sam9x5_clk_slow_setup()
437 if (IS_ERR(clk)) in at91_clk_register_sam9260_slow()
468 if (IS_ERR(clk)) in of_at91sam9260_clk_slow_setup()
/linux-4.1.27/scripts/coccinelle/null/
Deno.cocci22 - IS_ERR(x)
32 * IS_ERR@p2(x)
40 cocci.print_secs("IS_ERR that should be NULL tests",p2)
/linux-4.1.27/drivers/usb/gadget/
Dfunctions.c28 if (IS_ERR(fi)) in try_get_usb_function_instance()
44 if (!IS_ERR(fi)) in usb_get_function_instance()
61 if (IS_ERR(f)) in usb_get_function()
/linux-4.1.27/drivers/staging/clocking-wizard/
Dclk-xlnx-clock-wizard.c157 if (IS_ERR(clk_wzrd->base)) in clk_wzrd_probe()
170 if (IS_ERR(clk_wzrd->clk_in1)) { in clk_wzrd_probe()
177 if (IS_ERR(clk_wzrd->axi_clk)) { in clk_wzrd_probe()
216 if (IS_ERR(clk_wzrd->clks_internal[wzrd_clk_mul])) { in clk_wzrd_probe()
235 if (IS_ERR(clk_wzrd->clks_internal[wzrd_clk_mul_div])) { in clk_wzrd_probe()
257 if (IS_ERR(clk_wzrd->clkout[i])) { in clk_wzrd_probe()
/linux-4.1.27/fs/debugfs/
Dinode.c257 if (IS_ERR(parent)) in start_creating()
275 if (!IS_ERR(dentry) && d_really_is_positive(dentry)) { in start_creating()
280 if (IS_ERR(dentry)) { in start_creating()
340 if (IS_ERR(dentry)) in debugfs_create_file()
419 if (IS_ERR(dentry)) in debugfs_create_dir()
458 if (IS_ERR(dentry)) in debugfs_create_automount()
507 if (IS_ERR(dentry)) { in debugfs_create_symlink()
687 if (IS_ERR(dentry) || dentry == trap || d_really_is_positive(dentry)) in debugfs_rename()
707 if (dentry && !IS_ERR(dentry)) in debugfs_rename()
/linux-4.1.27/drivers/infiniband/core/
Dagent.c103 if (IS_ERR(ah)) { in agent_send_response()
112 if (IS_ERR(send_buf)) { in agent_send_response()
165 if (IS_ERR(port_priv->agent[0])) { in ib_agent_port_open()
176 if (IS_ERR(port_priv->agent[1])) { in ib_agent_port_open()
Ducma.c135 if (!IS_ERR(ctx)) in ucma_get_ctx()
395 if (IS_ERR(ctx->cm_id)) { in ucma_create_id()
497 if (!IS_ERR(ctx)) in ucma_destroy_id()
501 if (IS_ERR(ctx)) in ucma_destroy_id()
526 if (IS_ERR(ctx)) in ucma_bind_ip()
550 if (IS_ERR(ctx)) in ucma_bind()
570 if (IS_ERR(ctx)) in ucma_resolve_ip()
599 if (IS_ERR(ctx)) in ucma_resolve_addr()
619 if (IS_ERR(ctx)) in ucma_resolve_route()
708 if (IS_ERR(ctx)) in ucma_query_route()
[all …]
/linux-4.1.27/drivers/mtd/nand/
Ddenali_dt.c73 if (IS_ERR(denali->flash_reg)) in denali_dt_probe()
78 if (IS_ERR(denali->flash_mem)) in denali_dt_probe()
89 if (IS_ERR(dt->clk)) { in denali_dt_probe()
Dorion_nand.c98 if (IS_ERR(io_base)) in orion_nand_probe()
153 if (!IS_ERR(clk)) { in orion_nand_probe()
175 if (!IS_ERR(clk)) { in orion_nand_probe()
191 if (!IS_ERR(clk)) { in orion_nand_remove()
/linux-4.1.27/drivers/ata/
Dahci_tegra.c306 if (IS_ERR(hpriv)) in tegra_ahci_probe()
319 if (IS_ERR(tegra->sata_regs)) in tegra_ahci_probe()
323 if (IS_ERR(tegra->sata_rst)) { in tegra_ahci_probe()
329 if (IS_ERR(tegra->sata_oob_rst)) { in tegra_ahci_probe()
335 if (IS_ERR(tegra->sata_cold_rst)) { in tegra_ahci_probe()
341 if (IS_ERR(tegra->sata_clk)) { in tegra_ahci_probe()
Dahci_st.c112 if (IS_ERR(drv_data->pwr)) { in st_ahci_probe_resets()
118 if (IS_ERR(drv_data->sw_rst)) { in st_ahci_probe_resets()
124 if (IS_ERR(drv_data->pwr_rst)) { in st_ahci_probe_resets()
159 if (IS_ERR(hpriv)) in st_ahci_probe()
/linux-4.1.27/security/integrity/ima/
Dima_fs.c355 if (IS_ERR(ima_dir)) in ima_fs_init()
362 if (IS_ERR(binary_runtime_measurements)) in ima_fs_init()
369 if (IS_ERR(ascii_runtime_measurements)) in ima_fs_init()
376 if (IS_ERR(runtime_measurements_count)) in ima_fs_init()
382 if (IS_ERR(violations)) in ima_fs_init()
389 if (IS_ERR(ima_policy)) in ima_fs_init()
Dima_crypto.c75 if (IS_ERR(ima_shash_tfm)) { in ima_init_crypto()
94 if (IS_ERR(tfm)) { in ima_alloc_tfm()
181 if (!IS_ERR(tfm)) { in ima_alloc_atfm()
343 if (IS_ERR(tfm)) in ima_calc_file_ahash()
416 if (IS_ERR(tfm)) in ima_calc_file_shash()
511 if (IS_ERR(tfm)) in ima_calc_field_array_hash()
565 if (IS_ERR(tfm)) in ima_calc_boot_aggregate()
/linux-4.1.27/net/mac80211/
Dwep.c34 if (IS_ERR(local->wep_tx_tfm)) { in ieee80211_wep_init()
40 if (IS_ERR(local->wep_rx_tfm)) { in ieee80211_wep_init()
51 if (!IS_ERR(local->wep_tx_tfm)) in ieee80211_wep_free()
53 if (!IS_ERR(local->wep_rx_tfm)) in ieee80211_wep_free()
140 if (IS_ERR(tfm)) in ieee80211_wep_encrypt_data()
201 if (IS_ERR(tfm)) in ieee80211_wep_decrypt_data()
/linux-4.1.27/arch/avr32/mach-at32ap/
Dpdc.c19 if (IS_ERR(pclk)) { in pdc_probe()
24 if (IS_ERR(hclk)) { in pdc_probe()
/linux-4.1.27/include/linux/
Derr.h33 static inline bool __must_check IS_ERR(__force const void *ptr) in IS_ERR() function
58 if (IS_ERR(ptr)) in PTR_ERR_OR_ZERO()
/linux-4.1.27/fs/exportfs/
Dexpfs.c132 if (IS_ERR(parent)) { in reconnect_one()
149 if (IS_ERR(tmp)) { in reconnect_one()
222 if (IS_ERR(parent)) in reconnect_path()
307 if (IS_ERR(file)) in get_name()
429 if (IS_ERR(result)) in exportfs_decode_fh()
485 if (IS_ERR(target_dir)) in exportfs_decode_fh()
510 if (!IS_ERR(nresult)) { in exportfs_decode_fh()
/linux-4.1.27/sound/soc/fsl/
Dfsl_esai.c249 if (IS_ERR(clksrc)) { in fsl_esai_set_dai_sysclk()
472 if (!IS_ERR(esai_priv->extalclk)) { in fsl_esai_startup()
477 if (!IS_ERR(esai_priv->fsysclk)) { in fsl_esai_startup()
499 if (!IS_ERR(esai_priv->extalclk)) in fsl_esai_startup()
563 if (!IS_ERR(esai_priv->fsysclk)) in fsl_esai_shutdown()
565 if (!IS_ERR(esai_priv->extalclk)) in fsl_esai_shutdown()
747 if (IS_ERR(regs)) in fsl_esai_probe()
752 if (IS_ERR(esai_priv->regmap)) { in fsl_esai_probe()
759 if (IS_ERR(esai_priv->coreclk)) { in fsl_esai_probe()
766 if (IS_ERR(esai_priv->extalclk)) in fsl_esai_probe()
[all …]
/linux-4.1.27/fs/ext4/
Dnamei.c65 if (IS_ERR(bh)) in ext4_append()
99 if (IS_ERR(bh)) { in __ext4_read_dirblock()
617 if (IS_ERR(ctx)) { in dx_show_leaf()
698 if (!bh || IS_ERR(bh)) in dx_show_entries()
738 if (IS_ERR(frame->bh)) in dx_probe()
760 if (IS_ERR(ctx)) { in dx_probe()
841 if (IS_ERR(frame->bh)) { in dx_probe()
941 if (IS_ERR(bh)) in ext4_htree_next_block()
971 if (IS_ERR(bh)) in htree_dirblock_to_tree()
981 if (IS_ERR(ctx)) { in htree_dirblock_to_tree()
[all …]
/linux-4.1.27/fs/logfs/
Ddir.c178 if (IS_ERR(page)) in logfs_get_dd_page()
236 if (IS_ERR(page)) { in logfs_unlink()
310 if (IS_ERR(page)) in logfs_readdir()
342 if (IS_ERR(page)) in logfs_lookup()
355 if (IS_ERR(inode)) in logfs_lookup()
476 if (IS_ERR(inode)) in logfs_mkdir()
491 if (IS_ERR(inode)) in logfs_create()
510 if (IS_ERR(inode)) in logfs_mknod()
528 if (IS_ERR(inode)) in logfs_symlink()
557 if (IS_ERR(page)) in logfs_get_dd()
[all …]
/linux-4.1.27/drivers/media/platform/s5p-g2d/
Dg2d.c111 if (IS_ERR(f)) in g2d_queue_setup()
129 if (IS_ERR(f)) in g2d_buf_prepare()
257 if (IS_ERR(ctx->fh.m2m_ctx)) { in g2d_open()
325 if (IS_ERR(frm)) in vidioc_g_fmt()
387 if (IS_ERR(frm)) in vidioc_s_fmt()
414 if (IS_ERR(f)) in vidioc_cropcap()
431 if (IS_ERR(f)) in vidioc_g_crop()
448 if (IS_ERR(f)) in vidioc_try_crop()
470 if (IS_ERR(f)) in vidioc_s_crop()
639 if (IS_ERR(dev->regs)) in g2d_probe()
[all …]
/linux-4.1.27/arch/ia64/kernel/
Dsys_ia64.c140 if (!IS_ERR((void *) addr)) in sys_mmap2()
152 if (!IS_ERR((void *) addr)) in sys_mmap()
162 if (!IS_ERR((void *) addr)) in ia64_mremap()
/linux-4.1.27/drivers/reset/
Dcore.c224 if (!IS_ERR(rstc)) in reset_control_get()
238 if (IS_ERR(rstc)) in reset_control_put()
270 if (!IS_ERR(rstc)) { in devm_reset_control_get()
296 if (IS_ERR(rstc)) in device_reset()
/linux-4.1.27/drivers/power/
Drx51_battery.c227 if (IS_ERR(di->channel_temp)) { in rx51_battery_probe()
233 if (IS_ERR(di->channel_bsi)) { in rx51_battery_probe()
239 if (IS_ERR(di->channel_vbat)) { in rx51_battery_probe()
245 if (IS_ERR(di->bat)) { in rx51_battery_probe()
/linux-4.1.27/drivers/remoteproc/
Dda8xx_remoteproc.c166 if (IS_ERR(dsp_clk)) { in reset_assert()
205 if (IS_ERR(bootreg)) in da8xx_rproc_probe()
210 if (IS_ERR(chipsig)) in da8xx_rproc_probe()
214 if (IS_ERR(dsp_clk)) { in da8xx_rproc_probe()
/linux-4.1.27/arch/mips/pci/
Dpci-lantiq.c106 if (IS_ERR(clk_pci)) { in ltq_pci_startup()
112 if (IS_ERR(clk_external)) { in ltq_pci_startup()
220 if (IS_ERR(ltq_pci_membase)) in ltq_pci_probe()
225 if (IS_ERR(ltq_pci_mapped_cfg)) in ltq_pci_probe()
/linux-4.1.27/drivers/net/ethernet/arc/
Demac_rockchip.c121 if (IS_ERR(priv->grf)) { in emac_rockchip_probe()
131 if (IS_ERR(priv->emac.clk)) { in emac_rockchip_probe()
138 if (IS_ERR(priv->refclk)) { in emac_rockchip_probe()
152 if (IS_ERR(priv->regulator)) { in emac_rockchip_probe()
/linux-4.1.27/fs/cifs/
Dcifs_dfs_ref.c158 if (IS_ERR(*devname)) { in cifs_compose_mount_options()
255 if (IS_ERR(mountdata)) in cifs_dfs_do_refmount()
307 if (IS_ERR(tlink)) { in cifs_dfs_do_automount()
337 if (!IS_ERR(mnt)) in cifs_dfs_do_automount()
365 if (IS_ERR(newmnt)) { in cifs_dfs_d_automount()
/linux-4.1.27/drivers/tty/
Dtty_ldisc.c167 if (IS_ERR(ldops)) { in tty_ldisc_get()
170 if (IS_ERR(ldops)) in tty_ldisc_get()
221 if (IS_ERR(ldops)) in tty_ldiscs_seq_show()
492 WARN_ON(IS_ERR(old)); in tty_ldisc_restore()
499 if (IS_ERR(new_ldisc)) in tty_ldisc_restore()
528 if (IS_ERR(new_ldisc)) in tty_set_ldisc()
632 if (IS_ERR(ld)) in tty_ldisc_reinit()
806 if (IS_ERR(ld)) in tty_ldisc_init()
/linux-4.1.27/fs/hfs/
Dbtree.c78 if (IS_ERR(page)) in hfs_btree_open()
166 if (IS_ERR(node)) in hfs_btree_write()
195 if (IS_ERR(node)) in hfs_bmap_new_bmap()
254 if (IS_ERR(node)) in hfs_bmap_alloc()
298 if (IS_ERR(next_node)) in hfs_bmap_alloc()
323 if (IS_ERR(node)) in hfs_bmap_free()
339 if (IS_ERR(node)) in hfs_bmap_free()
/linux-4.1.27/crypto/asymmetric_keys/
Dpkcs7_trust.c59 if (!IS_ERR(key)) { in pkcs7_validate_trust_one()
91 if (!IS_ERR(key)) { in pkcs7_validate_trust_one()
107 if (!IS_ERR(key)) { in pkcs7_validate_trust_one()
/linux-4.1.27/drivers/net/can/mscan/
Dmpc5xxx_can.c168 if (IS_ERR(clk_in)) in mpc512x_can_get_clock()
186 if (IS_ERR(clk_in)) in mpc512x_can_get_clock()
203 if (IS_ERR(clk_can)) in mpc512x_can_get_clock()
215 if (IS_ERR(clk_can)) in mpc512x_can_get_clock()
223 if (IS_ERR(clk_in)) in mpc512x_can_get_clock()
242 if (IS_ERR(clk_ipg)) in mpc512x_can_get_clock()
/linux-4.1.27/net/nfc/
Ddigital_technology.c230 if (IS_ERR(resp)) { in digital_in_recv_ats()
288 if (IS_ERR(resp)) { in digital_in_recv_sel_res()
404 if (IS_ERR(resp)) { in digital_in_recv_sdd_res()
486 if (IS_ERR(resp)) { in digital_in_recv_sens_res()
586 if (IS_ERR(resp)) { in digital_in_recv_attrib_res()
658 if (IS_ERR(resp)) { in digital_in_recv_sensb_res()
756 if (IS_ERR(resp)) { in digital_in_recv_sensf_res()
853 if (IS_ERR(resp)) { in digital_in_recv_iso15693_inv_res()
967 if (IS_ERR(resp)) { in digital_tg_recv_sel_req()
1033 if (IS_ERR(resp)) { in digital_tg_recv_sdd_req()
[all …]
/linux-4.1.27/drivers/clk/sunxi/
Dclk-sun8i-apb0.c33 if (IS_ERR(reg)) in sun8i_a23_apb0_clk_probe()
45 if (IS_ERR(clk)) in sun8i_a23_apb0_clk_probe()
Dclk-sun9i-mmc.c110 if (IS_ERR(data->membase)) in sun9i_a80_mmc_config_clk_probe()
121 if (IS_ERR(data->clk)) { in sun9i_a80_mmc_config_clk_probe()
127 if (IS_ERR(data->reset)) { in sun9i_a80_mmc_config_clk_probe()
149 if (IS_ERR(clk_data->clks[i])) { in sun9i_a80_mmc_config_clk_probe()
/linux-4.1.27/sound/soc/adi/
Daxi-spdif.c195 if (IS_ERR(base)) in axi_spdif_probe()
200 if (IS_ERR(spdif->regmap)) in axi_spdif_probe()
204 if (IS_ERR(spdif->clk)) in axi_spdif_probe()
208 if (IS_ERR(spdif->clk_ref)) in axi_spdif_probe()
/linux-4.1.27/drivers/mmc/host/
Dsdhci_f_sdh30.c119 if (IS_ERR(host)) in sdhci_f_sdh30_probe()
143 if (IS_ERR(host->ioaddr)) { in sdhci_f_sdh30_probe()
149 if (IS_ERR(priv->clk_iface)) { in sdhci_f_sdh30_probe()
159 if (IS_ERR(priv->clk)) { in sdhci_f_sdh30_probe()
/linux-4.1.27/arch/avr32/boards/favr-32/
Dsetup.c214 if (IS_ERR(pclk)) in set_hw_addr()
284 if (IS_ERR(osc1)) { in set_abdac_rate()
290 if (IS_ERR(pll1)) { in set_abdac_rate()
296 if (IS_ERR(abdac)) { in set_abdac_rate()
/linux-4.1.27/drivers/staging/lustre/lustre/lov/
Dlov_page.c93 if (!IS_ERR(sub)) { in lov_page_own()
119 if (!IS_ERR(sub)) { in lov_page_cache_add()
183 if (IS_ERR(sub)) { in lov_page_init_raid0()
192 if (IS_ERR(subpage)) { in lov_page_init_raid0()
/linux-4.1.27/security/keys/encrypted-keys/
Dencrypted.c91 if (IS_ERR(tfm)) { in aes_get_sizes()
313 if (IS_ERR(ukey)) in request_user_key()
345 if (IS_ERR(sdesc)) { in calc_hmac()
363 if (IS_ERR(sdesc)) { in calc_hash()
411 if (IS_ERR(desc->tfm)) { in init_blkcipher_desc()
446 if (IS_ERR(mkey)) { in request_master_key()
685 if (IS_ERR(mkey)) in encrypted_key_decrypt()
803 if (IS_ERR(epayload)) { in encrypted_instantiate()
869 if (IS_ERR(new_epayload)) { in encrypted_update()
919 if (IS_ERR(mkey)) in encrypted_read()
[all …]
/linux-4.1.27/arch/arm/mach-imx/
Dclk.c15 if (IS_ERR(clks[i])) in imx_check_clocks()
46 if (IS_ERR(clk)) in imx_obtain_fixed_clock()
/linux-4.1.27/fs/ecryptfs/
Dkthread.c96 if (IS_ERR(ecryptfs_kthread)) { in ecryptfs_init_kthread()
150 if (!IS_ERR(*lower_file)) in ecryptfs_privileged_open()
169 if (IS_ERR(*lower_file)) { in ecryptfs_privileged_open()

12345678910>>...23