Home
last modified time | relevance | path

Searched refs:IS_ERR_OR_NULL (Results 1 – 25 of 113) sorted by relevance

12345

/linux-4.19.296/drivers/pci/endpoint/
Dpci-epc-core.c145 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions) in pci_epc_raise_irq()
171 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions) in pci_epc_get_msi()
204 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions || in pci_epc_set_msi()
233 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions) in pci_epc_get_msix()
263 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions || in pci_epc_set_msix()
291 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions) in pci_epc_unmap_addr()
319 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions) in pci_epc_map_addr()
346 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions || in pci_epc_clear_bar()
375 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions || in pci_epc_set_bar()
412 if (IS_ERR_OR_NULL(epc) || func_no >= epc->max_functions) in pci_epc_write_header()
/linux-4.19.296/drivers/base/power/
Dqos.c64 if (IS_ERR_OR_NULL(qos)) in __dev_pm_qos_flags()
369 if (IS_ERR_OR_NULL(req->dev->power.qos)) in __dev_pm_qos_update_request()
432 if (IS_ERR_OR_NULL(req->dev->power.qos)) in __dev_pm_qos_remove_request()
519 if (!IS_ERR_OR_NULL(dev->power.qos)) in dev_pm_qos_remove_notifier()
624 if (IS_ERR_OR_NULL(dev->power.qos)) in dev_pm_qos_expose_latency_limit()
651 if (!IS_ERR_OR_NULL(dev->power.qos) && dev->power.qos->resume_latency_req) in __dev_pm_qos_hide_latency_limit()
701 if (IS_ERR_OR_NULL(dev->power.qos)) in dev_pm_qos_expose_flags()
729 if (!IS_ERR_OR_NULL(dev->power.qos) && dev->power.qos->flags_req) in __dev_pm_qos_hide_flags()
767 if (IS_ERR_OR_NULL(dev->power.qos) || !dev->power.qos->flags_req) { in dev_pm_qos_update_flags()
795 ret = IS_ERR_OR_NULL(dev->power.qos) in dev_pm_qos_get_user_latency_tolerance()
[all …]
Ddomain.c159 if (IS_ERR_OR_NULL(dev) || IS_ERR_OR_NULL(dev->pm_domain)) in genpd_lookup_dev()
180 if (IS_ERR_OR_NULL(dev->pm_domain)) in dev_to_genpd()
858 if (IS_ERR_OR_NULL(genpd)) in genpd_present()
1388 if (IS_ERR_OR_NULL(genpd) || IS_ERR_OR_NULL(dev)) in genpd_add_device()
1499 if (IS_ERR_OR_NULL(genpd) || IS_ERR_OR_NULL(subdomain) in genpd_add_subdomain()
1577 if (IS_ERR_OR_NULL(genpd) || IS_ERR_OR_NULL(subdomain)) in pm_genpd_remove_subdomain()
1651 if (IS_ERR_OR_NULL(genpd)) in pm_genpd_init()
1712 if (IS_ERR_OR_NULL(genpd)) in genpd_remove()
2162 if (IS_ERR_OR_NULL(np)) in of_genpd_remove_last()
/linux-4.19.296/drivers/clk/mediatek/
Dclk-mtk.c61 if (clk_data && !IS_ERR_OR_NULL(clk_data->clks[rc->id])) in mtk_clk_register_fixed_clks()
87 if (clk_data && !IS_ERR_OR_NULL(clk_data->clks[ff->id])) in mtk_clk_register_factors()
125 if (!IS_ERR_OR_NULL(clk_data->clks[gate->id])) in mtk_clk_register_gates()
244 if (clk_data && !IS_ERR_OR_NULL(clk_data->clks[mc->id])) in mtk_clk_register_composites()
270 if (clk_data && !IS_ERR_OR_NULL(clk_data->clks[mcd->id])) in mtk_clk_register_dividers()
/linux-4.19.296/drivers/gpio/
Dgpio-mockup.c201 if (IS_ERR_OR_NULL(chip->dbg_dir)) in gpio_mockup_debugfs_setup()
205 if (IS_ERR_OR_NULL(link)) in gpio_mockup_debugfs_setup()
223 if (IS_ERR_OR_NULL(evfile)) in gpio_mockup_debugfs_setup()
312 if (!IS_ERR_OR_NULL(gpio_mockup_dbg_dir)) in gpio_mockup_probe()
364 if (IS_ERR_OR_NULL(gpio_mockup_dbg_dir)) in gpio_mockup_init()
/linux-4.19.296/drivers/i2c/
Di2c-core-slave.c25 if (WARN(IS_ERR_OR_NULL(client) || !slave_cb, "insufficient data\n")) in i2c_slave_register()
65 if (IS_ERR_OR_NULL(client)) in i2c_slave_unregister()
/linux-4.19.296/drivers/rtc/
Dnvmem.c88 if (!IS_ERR_OR_NULL(rtc->nvmem)) in rtc_nvmem_register()
110 if (IS_ERR_OR_NULL(rtc->nvmem)) in rtc_nvmem_unregister()
/linux-4.19.296/include/linux/
Derr.h39 static inline bool __must_check IS_ERR_OR_NULL(__force const void *ptr) in IS_ERR_OR_NULL() function
/linux-4.19.296/drivers/clk/spear/
Dclk-vco-pll.c316 if (IS_ERR_OR_NULL(tvco_gate_clk)) in clk_register_vco_pll()
339 if (IS_ERR_OR_NULL(vco_clk)) in clk_register_vco_pll()
343 if (IS_ERR_OR_NULL(tpll_clk)) in clk_register_vco_pll()
Dclk-aux-synth.c174 if (IS_ERR_OR_NULL(clk)) in clk_register_aux()
183 if (IS_ERR_OR_NULL(tgate_clk)) in clk_register_aux()
Dclk-gpt-synth.c145 if (!IS_ERR_OR_NULL(clk)) in clk_register_gpt()
Dclk-frac-synth.c156 if (!IS_ERR_OR_NULL(clk)) in clk_register_frac()
/linux-4.19.296/drivers/base/
Dproperty.c31 return !IS_ERR_OR_NULL(fwnode) && fwnode->ops == &pset_fwnode_ops; in is_pset_node()
327 if (ret == false && !IS_ERR_OR_NULL(fwnode) && in fwnode_property_present()
328 !IS_ERR_OR_NULL(fwnode->secondary)) in fwnode_property_present()
513 if (ret == -EINVAL && !IS_ERR_OR_NULL(fwnode) && in fwnode_property_read_int_array()
514 !IS_ERR_OR_NULL(fwnode->secondary)) in fwnode_property_read_int_array()
652 if (ret == -EINVAL && !IS_ERR_OR_NULL(fwnode) && in fwnode_property_read_string_array()
653 !IS_ERR_OR_NULL(fwnode->secondary)) in fwnode_property_read_string_array()
/linux-4.19.296/fs/ubifs/
Ddebug.c2840 if (IS_ERR_OR_NULL(dent)) in dbg_debugfs_init_fs()
2846 if (IS_ERR_OR_NULL(dent)) in dbg_debugfs_init_fs()
2852 if (IS_ERR_OR_NULL(dent)) in dbg_debugfs_init_fs()
2858 if (IS_ERR_OR_NULL(dent)) in dbg_debugfs_init_fs()
2865 if (IS_ERR_OR_NULL(dent)) in dbg_debugfs_init_fs()
2872 if (IS_ERR_OR_NULL(dent)) in dbg_debugfs_init_fs()
2879 if (IS_ERR_OR_NULL(dent)) in dbg_debugfs_init_fs()
2886 if (IS_ERR_OR_NULL(dent)) in dbg_debugfs_init_fs()
2893 if (IS_ERR_OR_NULL(dent)) in dbg_debugfs_init_fs()
2900 if (IS_ERR_OR_NULL(dent)) in dbg_debugfs_init_fs()
[all …]
/linux-4.19.296/drivers/clk/actions/
Dowl-common.c73 if (IS_ERR_OR_NULL(hw)) in owl_clk_probe()
/linux-4.19.296/fs/overlayfs/
Dnamei.c38 if (IS_ERR_OR_NULL(buf)) in ovl_check_redirect()
293 while (!IS_ERR_OR_NULL(base) && d_can_lookup(base)) { in ovl_lookup_layer()
371 if (IS_ERR_OR_NULL(fh)) in ovl_check_origin()
463 if (IS_ERR_OR_NULL(fh)) in ovl_index_upper()
469 if (IS_ERR_OR_NULL(upper)) in ovl_index_upper()
551 if (IS_ERR_OR_NULL(upper)) { in ovl_verify_index()
Dexport.c471 if (IS_ERR_OR_NULL(upper)) in ovl_lookup_real_inode()
485 if (IS_ERR_OR_NULL(this)) in ovl_lookup_real_inode()
694 if (IS_ERR_OR_NULL(upper)) in ovl_upper_fh_to_d()
748 if (IS_ERR_OR_NULL(upper)) in ovl_lower_fh_to_d()
/linux-4.19.296/drivers/clk/sprd/
Dcommon.c56 if (IS_ERR_OR_NULL(regmap)) { in sprd_clk_regmap_init()
/linux-4.19.296/fs/squashfs/
Ddecompressor_multi_percpu.c54 if (!IS_ERR_OR_NULL(stream->stream)) in squashfs_decompressor_create()
/linux-4.19.296/drivers/clk/tegra/
Dclk.c255 if (IS_ERR_OR_NULL(clk)) { in tegra_init_from_table()
344 if (!IS_ERR_OR_NULL(clks[i])) in tegra_register_devclks()
/linux-4.19.296/drivers/iio/dac/
Dad5761.c389 if (!IS_ERR_OR_NULL(st->vref_reg)) in ad5761_probe()
402 if (!IS_ERR_OR_NULL(st->vref_reg)) in ad5761_remove()
/linux-4.19.296/fs/
Dmount.h90 return !IS_ERR_OR_NULL(real_mount(mnt)->mnt_ns); in is_mounted()
/linux-4.19.296/fs/debugfs/
Dinode.c680 if (IS_ERR_OR_NULL(dentry)) in debugfs_remove()
709 if (IS_ERR_OR_NULL(dentry)) in debugfs_remove_recursive()
817 if (IS_ERR_OR_NULL(old_dentry)) in debugfs_rename()
/linux-4.19.296/drivers/clk/ux500/
Dclk-prcc.c129 if (IS_ERR_OR_NULL(clk_reg)) in clk_reg_prcc()
/linux-4.19.296/drivers/i2c/busses/
Di2c-designware-platdrv.c369 if (!IS_ERR_OR_NULL(dev->rst)) in dw_i2c_plat_probe()
388 if (!IS_ERR_OR_NULL(dev->rst)) in dw_i2c_plat_remove()

12345