Home
last modified time | relevance | path

Searched refs:IS_ERR (Results 1 – 25 of 4498) sorted by relevance

12345678910>>...180

/Linux-v4.19/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-v4.19/drivers/usb/gadget/legacy/
Dnokia.c157 if (!IS_ERR(fi_phonet)) { in nokia_bind_config()
159 if (IS_ERR(f_phonet)) in nokia_bind_config()
163 if (!IS_ERR(fi_obex1)) { in nokia_bind_config()
165 if (IS_ERR(f_obex1)) in nokia_bind_config()
169 if (!IS_ERR(fi_obex2)) { in nokia_bind_config()
171 if (IS_ERR(f_obex2)) in nokia_bind_config()
176 if (IS_ERR(f_acm)) { in nokia_bind_config()
182 if (IS_ERR(f_ecm)) { in nokia_bind_config()
188 if (IS_ERR(f_msg)) { in nokia_bind_config()
290 if (IS_ERR(fi_phonet)) in nokia_bind()
[all …]
/Linux-v4.19/scripts/coccinelle/tests/
Dodd_ptr_err.cocci1 /// PTR_ERR should access the value just tested by IS_ERR
3 //# IS_ERR that is wrong.
21 if (IS_ERR(x=e) || ...) {
32 if (IS_ERR(x) || ...) {
47 if (IS_ERR(x) || ...) {
49 when != IS_ERR(...)
69 if (IS_ERR@j0(x) || ...) {
71 when != IS_ERR(...)
88 * if (IS_ERR@j0(x) || ...) {
90 when != IS_ERR(...)
[all …]
/Linux-v4.19/drivers/bluetooth/
Dbtbcm.c46 if (IS_ERR(skb)) { in btbcm_check_bdaddr()
93 if (IS_ERR(skb)) { in btbcm_set_bdaddr()
115 if (IS_ERR(skb)) { in btbcm_patchram()
150 if (IS_ERR(skb)) { in btbcm_patchram()
172 if (IS_ERR(skb)) { in btbcm_reset()
191 if (IS_ERR(skb)) { in btbcm_read_local_name()
212 if (IS_ERR(skb)) { in btbcm_read_local_version()
232 if (IS_ERR(skb)) { in btbcm_read_verbose_config()
252 if (IS_ERR(skb)) { in btbcm_read_controller_features()
272 if (IS_ERR(skb)) { in btbcm_read_usb_product()
[all …]
/Linux-v4.19/drivers/mfd/
Dtwl-core.c730 if (IS_ERR(child)) in add_children()
738 if (IS_ERR(child)) in add_children()
747 if (IS_ERR(child)) in add_children()
761 if (IS_ERR(child)) in add_children()
768 if (IS_ERR(child)) in add_children()
775 if (IS_ERR(child)) in add_children()
807 if (IS_ERR(child)) in add_children()
813 if (IS_ERR(child)) in add_children()
819 if (IS_ERR(child)) in add_children()
830 if (IS_ERR(child)) in add_children()
[all …]
/Linux-v4.19/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-rk.c99 if (IS_ERR(bsp_priv->grf)) { in px30_set_to_rmii()
113 if (IS_ERR(bsp_priv->clk_mac_speed)) { in px30_set_rmii_speed()
178 if (IS_ERR(bsp_priv->grf)) { in rk3128_set_to_rgmii()
196 if (IS_ERR(bsp_priv->grf)) { in rk3128_set_to_rmii()
209 if (IS_ERR(bsp_priv->grf)) { in rk3128_set_rgmii_speed()
231 if (IS_ERR(bsp_priv->grf)) { in rk3128_set_rmii_speed()
294 if (IS_ERR(bsp_priv->grf)) { in rk3228_set_to_rgmii()
313 if (IS_ERR(bsp_priv->grf)) { in rk3228_set_to_rmii()
330 if (IS_ERR(bsp_priv->grf)) { in rk3228_set_rgmii_speed()
352 if (IS_ERR(bsp_priv->grf)) { in rk3228_set_rmii_speed()
[all …]
/Linux-v4.19/drivers/gpu/drm/i915/selftests/
Di915_gem_dmabuf.c37 if (IS_ERR(obj)) in igt_dmabuf_export()
42 if (IS_ERR(dmabuf)) { in igt_dmabuf_export()
61 if (IS_ERR(obj)) in igt_dmabuf_import_self()
65 if (IS_ERR(dmabuf)) { in igt_dmabuf_import_self()
73 if (IS_ERR(import)) { in igt_dmabuf_import_self()
106 if (IS_ERR(dmabuf)) in igt_dmabuf_import()
110 if (IS_ERR(obj)) { in igt_dmabuf_import()
139 if (IS_ERR(obj_map)) { in igt_dmabuf_import()
187 if (IS_ERR(dmabuf)) in igt_dmabuf_import_ownership()
201 if (IS_ERR(obj)) { in igt_dmabuf_import_ownership()
[all …]
Dintel_workarounds.c24 if (IS_ERR(result)) in read_nonprivs()
30 if (IS_ERR(cs)) { in read_nonprivs()
38 if (IS_ERR(vma)) { in read_nonprivs()
48 if (IS_ERR(rq)) { in read_nonprivs()
62 if (IS_ERR(cs)) { in read_nonprivs()
121 if (IS_ERR(results)) in check_whitelist()
133 if (IS_ERR(vaddr)) { in check_whitelist()
175 if (IS_ERR(ctx)) in switch_to_scratch_context()
180 if (IS_ERR(rq)) in switch_to_scratch_context()
197 if (IS_ERR(ctx)) in check_whitelist_across_reset()
[all …]
/Linux-v4.19/drivers/clk/samsung/
Dclk-exynos-audss.c112 if (!IS_ERR(clk_data->hws[i])) in exynos_audss_clk_teardown()
117 if (!IS_ERR(clk_data->hws[i])) in exynos_audss_clk_teardown()
122 if (!IS_ERR(clk_data->hws[i])) in exynos_audss_clk_teardown()
146 if (IS_ERR(reg_base)) in exynos_audss_clk_probe()
163 if (!IS_ERR(pll_ref)) in exynos_audss_clk_probe()
165 if (!IS_ERR(pll_in)) { in exynos_audss_clk_probe()
197 if (!IS_ERR(cdclk)) in exynos_audss_clk_probe()
199 if (!IS_ERR(sclk_audio)) in exynos_audss_clk_probe()
235 if (!IS_ERR(sclk_pcm_in)) in exynos_audss_clk_probe()
248 if (IS_ERR(clk_table[i])) { in exynos_audss_clk_probe()
[all …]
/Linux-v4.19/drivers/net/wireless/ath/ath10k/
Dwmi-ops.h445 if (IS_ERR(skb)) in ath10k_wmi_mgmt_tx_send()
467 if (IS_ERR(skb)) in ath10k_wmi_mgmt_tx()
496 if (IS_ERR(skb)) in ath10k_wmi_pdev_set_regdomain()
512 if (IS_ERR(skb)) in ath10k_wmi_pdev_suspend_target()
527 if (IS_ERR(skb)) in ath10k_wmi_pdev_resume_target()
542 if (IS_ERR(skb)) in ath10k_wmi_pdev_set_param()
557 if (IS_ERR(skb)) in ath10k_wmi_cmd_init()
573 if (IS_ERR(skb)) in ath10k_wmi_start_scan()
588 if (IS_ERR(skb)) in ath10k_wmi_stop_scan()
606 if (IS_ERR(skb)) in ath10k_wmi_vdev_create()
[all …]
/Linux-v4.19/security/keys/
Dkeyctl.c85 if (IS_ERR(description)) { in SYSCALL_DEFINE5()
115 if (IS_ERR(keyring_ref)) { in SYSCALL_DEFINE5()
125 if (!IS_ERR(key_ref)) { in SYSCALL_DEFINE5()
177 if (IS_ERR(description)) { in SYSCALL_DEFINE4()
187 if (IS_ERR(callout_info)) { in SYSCALL_DEFINE4()
199 if (IS_ERR(dest_ref)) { in SYSCALL_DEFINE4()
207 if (IS_ERR(ktype)) { in SYSCALL_DEFINE4()
216 if (IS_ERR(key)) { in SYSCALL_DEFINE4()
257 if (IS_ERR(key_ref)) { in keyctl_get_keyring_ID()
288 if (IS_ERR(name)) { in keyctl_join_session_keyring()
[all …]
/Linux-v4.19/drivers/gpu/drm/sun4i/
Dsun4i_hdmi_i2c.c207 if (IS_ERR(hdmi->field_ddc_en)) in sun4i_hdmi_init_regmap_fields()
213 if (IS_ERR(hdmi->field_ddc_start)) in sun4i_hdmi_init_regmap_fields()
219 if (IS_ERR(hdmi->field_ddc_reset)) in sun4i_hdmi_init_regmap_fields()
225 if (IS_ERR(hdmi->field_ddc_addr_reg)) in sun4i_hdmi_init_regmap_fields()
231 if (IS_ERR(hdmi->field_ddc_slave_addr)) in sun4i_hdmi_init_regmap_fields()
237 if (IS_ERR(hdmi->field_ddc_int_mask)) in sun4i_hdmi_init_regmap_fields()
243 if (IS_ERR(hdmi->field_ddc_int_status)) in sun4i_hdmi_init_regmap_fields()
249 if (IS_ERR(hdmi->field_ddc_fifo_clear)) in sun4i_hdmi_init_regmap_fields()
255 if (IS_ERR(hdmi->field_ddc_fifo_rx_thres)) in sun4i_hdmi_init_regmap_fields()
261 if (IS_ERR(hdmi->field_ddc_fifo_tx_thres)) in sun4i_hdmi_init_regmap_fields()
[all …]
/Linux-v4.19/arch/s390/hypfs/
Dhypfs_vm.c117 if (IS_ERR(rc)) \
136 if (IS_ERR(guest_dir)) in hpyfs_vm_create_guest()
142 if (IS_ERR(cpus_dir)) in hpyfs_vm_create_guest()
159 if (IS_ERR(mem_dir)) in hpyfs_vm_create_guest()
168 if (IS_ERR(samples_dir)) in hpyfs_vm_create_guest()
187 if (IS_ERR(data)) in hypfs_vm_create_files()
192 if (IS_ERR(dir)) { in hypfs_vm_create_files()
197 if (IS_ERR(file)) { in hypfs_vm_create_files()
204 if (IS_ERR(dir)) { in hypfs_vm_create_files()
209 if (IS_ERR(file)) { in hypfs_vm_create_files()
[all …]
Dhypfs_diag.c298 if (!IS_ERR(buf)) { in diag204_probe()
317 if (IS_ERR(buf)) { in diag204_probe()
353 if (IS_ERR(buf)) in diag204_store()
485 if (IS_ERR(rc)) in hypfs_create_cpu_files()
489 if (IS_ERR(rc)) in hypfs_create_cpu_files()
495 if (IS_ERR(rc)) in hypfs_create_cpu_files()
514 if (IS_ERR(lpar_dir)) in hypfs_create_lpar_files()
517 if (IS_ERR(cpus_dir)) in hypfs_create_lpar_files()
539 if (IS_ERR(cpu_dir)) in hypfs_create_phys_cpu_files()
543 if (IS_ERR(rc)) in hypfs_create_phys_cpu_files()
[all …]
/Linux-v4.19/drivers/pci/controller/dwc/
Dpcie-qcom.c225 if (IS_ERR(res->iface_clk)) in qcom_pcie_get_resources_2_1_0()
229 if (IS_ERR(res->core_clk)) in qcom_pcie_get_resources_2_1_0()
233 if (IS_ERR(res->phy_clk)) in qcom_pcie_get_resources_2_1_0()
237 if (IS_ERR(res->pci_reset)) in qcom_pcie_get_resources_2_1_0()
241 if (IS_ERR(res->axi_reset)) in qcom_pcie_get_resources_2_1_0()
245 if (IS_ERR(res->ahb_reset)) in qcom_pcie_get_resources_2_1_0()
249 if (IS_ERR(res->por_reset)) in qcom_pcie_get_resources_2_1_0()
380 if (IS_ERR(res->vdda)) in qcom_pcie_get_resources_1_0_0()
384 if (IS_ERR(res->iface)) in qcom_pcie_get_resources_1_0_0()
388 if (IS_ERR(res->aux)) in qcom_pcie_get_resources_1_0_0()
[all …]
/Linux-v4.19/drivers/pci/controller/
Dpcie-rockchip.c38 if (IS_ERR(rockchip->reg_base)) in rockchip_pcie_parse_dt()
51 if (IS_ERR(rockchip->apb_base)) in rockchip_pcie_parse_dt()
72 if (IS_ERR(rockchip->core_rst)) { in rockchip_pcie_parse_dt()
79 if (IS_ERR(rockchip->mgmt_rst)) { in rockchip_pcie_parse_dt()
87 if (IS_ERR(rockchip->mgmt_sticky_rst)) { in rockchip_pcie_parse_dt()
94 if (IS_ERR(rockchip->pipe_rst)) { in rockchip_pcie_parse_dt()
101 if (IS_ERR(rockchip->pm_rst)) { in rockchip_pcie_parse_dt()
108 if (IS_ERR(rockchip->pclk_rst)) { in rockchip_pcie_parse_dt()
115 if (IS_ERR(rockchip->aclk_rst)) { in rockchip_pcie_parse_dt()
123 if (IS_ERR(rockchip->ep_gpio)) { in rockchip_pcie_parse_dt()
[all …]
/Linux-v4.19/drivers/mtd/nand/raw/
Dgpio.c200 if (gpiomtd->nwp && !IS_ERR(gpiomtd->nwp)) in gpio_nand_remove()
202 if (gpiomtd->nce && !IS_ERR(gpiomtd->nce)) in gpio_nand_remove()
228 if (IS_ERR(chip->IO_ADDR_R)) in gpio_nand_probe()
234 if (IS_ERR(gpiomtd->io_sync)) in gpio_nand_probe()
244 if (IS_ERR(gpiomtd->nce)) in gpio_nand_probe()
249 if (IS_ERR(gpiomtd->nwp)) { in gpio_nand_probe()
255 if (IS_ERR(gpiomtd->ale)) { in gpio_nand_probe()
261 if (IS_ERR(gpiomtd->cle)) { in gpio_nand_probe()
267 if (IS_ERR(gpiomtd->rdy)) { in gpio_nand_probe()
289 if (gpiomtd->nwp && !IS_ERR(gpiomtd->nwp)) in gpio_nand_probe()
[all …]
/Linux-v4.19/drivers/cpufreq/
Dmediatek-cpufreq.c236 if (IS_ERR(opp)) { in mtk_cpufreq_set_target()
335 if (IS_ERR(cpu_clk)) { in mtk_cpu_dvfs_info_init()
346 if (IS_ERR(inter_clk)) { in mtk_cpu_dvfs_info_init()
359 if (IS_ERR(proc_reg)) { in mtk_cpu_dvfs_info_init()
391 if (IS_ERR(opp)) { in mtk_cpu_dvfs_info_init()
401 info->sram_reg = IS_ERR(sram_reg) ? NULL : sram_reg; in mtk_cpu_dvfs_info_init()
409 info->need_voltage_tracking = !IS_ERR(sram_reg); in mtk_cpu_dvfs_info_init()
417 if (!IS_ERR(proc_reg)) in mtk_cpu_dvfs_info_init()
419 if (!IS_ERR(sram_reg)) in mtk_cpu_dvfs_info_init()
421 if (!IS_ERR(cpu_clk)) in mtk_cpu_dvfs_info_init()
[all …]
/Linux-v4.19/drivers/s390/block/
Ddasd_devmap.c361 if (IS_ERR(devmap)) { in dasd_parse_range()
469 return IS_ERR(dasd_find_busid(bus_id)) ? -ENOENT : 0; in dasd_busid_known()
531 if (IS_ERR(devmap)) in dasd_devmap_from_cdev()
549 if (IS_ERR(devmap)) in dasd_create_device()
553 if (IS_ERR(device)) in dasd_create_device()
600 BUG_ON(IS_ERR(devmap)); in dasd_delete_device()
683 if (IS_ERR(devmap)) in dasd_add_link_to_gendisk()
722 if (!IS_ERR(devmap)) in dasd_ff_show()
756 if (IS_ERR(devmap)) in dasd_ro_show()
789 if (IS_ERR(device)) in dasd_ro_store()
[all …]
/Linux-v4.19/drivers/phy/ti/
Dphy-ti-pipe3.c449 if (IS_ERR(phy->refclk)) { in ti_pipe3_get_clk()
460 if (IS_ERR(phy->wkupclk)) { in ti_pipe3_get_clk()
471 if (IS_ERR(phy->sys_clk)) { in ti_pipe3_get_clk()
479 if (IS_ERR(clk)) { in ti_pipe3_get_clk()
486 if (IS_ERR(clk)) { in ti_pipe3_get_clk()
493 if (IS_ERR(clk)) { in ti_pipe3_get_clk()
500 if (IS_ERR(phy->div_clk)) { in ti_pipe3_get_clk()
520 if (IS_ERR(phy->phy_power_syscon)) { in ti_pipe3_get_sysctrl()
552 if (IS_ERR(phy->pcs_syscon)) { in ti_pipe3_get_sysctrl()
570 if (IS_ERR(phy->dpll_reset_syscon)) { in ti_pipe3_get_sysctrl()
[all …]
Dphy-omap-usb2.c54 if (IS_ERR(x)) in omap_usb2_set_comparator()
139 if (!IS_ERR(phy->optclk)) in omap_usb2_disable_clocks()
155 if (!IS_ERR(phy->optclk)) { in omap_usb2_enable_clocks()
314 if (IS_ERR(phy->phy_base)) in omap_usb2_probe()
321 if (IS_ERR(phy->syscon_phy_power)) { in omap_usb2_probe()
361 if (IS_ERR(generic_phy)) { in omap_usb2_probe()
371 if (IS_ERR(phy_provider)) { in omap_usb2_probe()
377 if (IS_ERR(phy->wkupclk)) { in omap_usb2_probe()
380 if (IS_ERR(phy->wkupclk)) { in omap_usb2_probe()
392 if (IS_ERR(phy->optclk)) { in omap_usb2_probe()
[all …]
/Linux-v4.19/drivers/media/rc/img-ir/
Dimg-ir-core.c61 if (!IS_ERR(priv->clk)) in img_ir_setup()
105 if (IS_ERR(priv->reg_base)) in img_ir_probe()
110 if (IS_ERR(priv->clk)) in img_ir_probe()
115 if (IS_ERR(priv->sys_clk)) in img_ir_probe()
122 if (!IS_ERR(priv->sys_clk)) { in img_ir_probe()
158 if (!IS_ERR(priv->sys_clk)) in img_ir_probe()
171 if (!IS_ERR(priv->clk)) in img_ir_remove()
173 if (!IS_ERR(priv->sys_clk)) in img_ir_remove()
/Linux-v4.19/kernel/
Dnsproxy.c76 if (IS_ERR(new_nsp->mnt_ns)) { in create_new_namespaces()
82 if (IS_ERR(new_nsp->uts_ns)) { in create_new_namespaces()
88 if (IS_ERR(new_nsp->ipc_ns)) { in create_new_namespaces()
95 if (IS_ERR(new_nsp->pid_ns_for_children)) { in create_new_namespaces()
102 if (IS_ERR(new_nsp->cgroup_ns)) { in create_new_namespaces()
108 if (IS_ERR(new_nsp->net_ns)) { in create_new_namespaces()
166 if (IS_ERR(new_ns)) in copy_namespaces()
208 if (IS_ERR(*new_nsp)) { in unshare_nsproxy_namespaces()
246 if (IS_ERR(file)) in SYSCALL_DEFINE2()
255 if (IS_ERR(new_nsproxy)) { in SYSCALL_DEFINE2()
/Linux-v4.19/drivers/s390/char/
Dtape_std.c60 if (IS_ERR(request)) in tape_std_assign()
105 if (IS_ERR(request)) in tape_std_unassign()
131 if (IS_ERR(request)) { in tape_std_display()
161 if (IS_ERR(request)) in tape_std_read_block_id()
239 if (IS_ERR(new)) in tape_std_mtsetblk()
273 if (IS_ERR(request)) in tape_std_mtfsf()
298 if (IS_ERR(request)) in tape_std_mtfsr()
330 if (IS_ERR(request)) in tape_std_mtbsr()
360 if (IS_ERR(request)) in tape_std_mtweof()
385 if (IS_ERR(request)) in tape_std_mtbsfm()
[all …]
/Linux-v4.19/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

12345678910>>...180