Home
last modified time | relevance | path

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

12345678910>>...163

/openbmc/linux/arch/m68k/amiga/
H A 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 …]
/openbmc/linux/drivers/usb/gadget/legacy/
H A Dnokia.c158 if (IS_ERR(f_phonet)) in nokia_bind_config()
164 if (IS_ERR(f_obex1)) in nokia_bind_config()
170 if (IS_ERR(f_obex2)) in nokia_bind_config()
175 if (IS_ERR(f_acm)) { in nokia_bind_config()
181 if (IS_ERR(f_ecm)) { in nokia_bind_config()
187 if (IS_ERR(f_msg)) { in nokia_bind_config()
293 if (IS_ERR(fi_obex1)) in nokia_bind()
297 if (IS_ERR(fi_obex2)) in nokia_bind()
301 if (IS_ERR(fi_acm)) { in nokia_bind()
307 if (IS_ERR(fi_ecm)) { in nokia_bind()
[all …]
/openbmc/linux/scripts/coccinelle/tests/
H A Dodd_ptr_err.cocci2 /// PTR_ERR should access the value just tested by IS_ERR
4 //# IS_ERR that is wrong.
22 if (IS_ERR(x=e) || ...) {
33 if (IS_ERR(x) || ...) {
48 if (IS_ERR(x) || ...) {
50 when != IS_ERR(...)
70 if (IS_ERR@j0(x) || ...) {
72 when != IS_ERR(...)
89 * if (IS_ERR@j0(x) || ...) {
91 when != IS_ERR(...)
[all …]
/openbmc/linux/arch/s390/hypfs/
H A Dhypfs_vm_fs.c24 if (IS_ERR(rc)) \
43 if (IS_ERR(guest_dir)) in hypfs_vm_create_guest()
49 if (IS_ERR(cpus_dir)) in hypfs_vm_create_guest()
66 if (IS_ERR(mem_dir)) in hypfs_vm_create_guest()
75 if (IS_ERR(samples_dir)) in hypfs_vm_create_guest()
94 if (IS_ERR(data)) in hypfs_vm_create_files()
99 if (IS_ERR(dir)) { in hypfs_vm_create_files()
104 if (IS_ERR(file)) { in hypfs_vm_create_files()
111 if (IS_ERR(dir)) { in hypfs_vm_create_files()
116 if (IS_ERR(file)) { in hypfs_vm_create_files()
[all …]
H A Dhypfs_diag_fs.c214 if (IS_ERR(rc)) in hypfs_create_cpu_files()
218 if (IS_ERR(rc)) in hypfs_create_cpu_files()
224 if (IS_ERR(rc)) in hypfs_create_cpu_files()
243 if (IS_ERR(lpar_dir)) in hypfs_create_lpar_files()
246 if (IS_ERR(cpus_dir)) in hypfs_create_lpar_files()
269 if (IS_ERR(cpu_dir)) in hypfs_create_phys_cpu_files()
273 if (IS_ERR(rc)) in hypfs_create_phys_cpu_files()
287 if (IS_ERR(cpus_dir)) in hypfs_create_phys_files()
309 if (IS_ERR(buffer)) in hypfs_diag_create_files()
332 if (IS_ERR(ptr)) { in hypfs_diag_create_files()
[all …]
/openbmc/linux/drivers/clk/at91/
H A Ddt-compat.c41 if (IS_ERR(regmap)) in of_sama5d2_clk_audio_pll_frac_setup()
47 if (IS_ERR(hw)) in of_sama5d2_clk_audio_pll_frac_setup()
73 if (IS_ERR(hw)) in of_sama5d2_clk_audio_pll_pad_setup()
99 if (IS_ERR(hw)) in of_sama5d2_clk_audio_pll_pmc_setup()
177 if (IS_ERR(hw)) in of_sama5d2_clk_generated_setup()
205 if (IS_ERR(hw)) in of_sama5d4_clk_h32mx_setup()
273 if (IS_ERR(hw)) in of_at91rm9200_clk_main_osc_setup()
301 if (IS_ERR(hw)) in of_at91sam9x5_clk_main_rc_osc_setup()
327 if (IS_ERR(hw)) in of_at91rm9200_clk_main_setup()
359 if (IS_ERR(hw)) in of_at91sam9x5_clk_main_setup()
[all …]
H A Dsama5d4.c163 if (IS_ERR(hw)) in sama5d4_pmc_setup()
170 if (IS_ERR(hw)) in sama5d4_pmc_setup()
176 if (IS_ERR(hw)) in sama5d4_pmc_setup()
181 if (IS_ERR(hw)) in sama5d4_pmc_setup()
185 if (IS_ERR(hw)) in sama5d4_pmc_setup()
191 if (IS_ERR(hw)) in sama5d4_pmc_setup()
204 if (IS_ERR(hw)) in sama5d4_pmc_setup()
212 if (IS_ERR(hw)) in sama5d4_pmc_setup()
218 if (IS_ERR(hw)) in sama5d4_pmc_setup()
226 if (IS_ERR(hw)) in sama5d4_pmc_setup()
[all …]
H A Dat91sam9x5.c167 if (IS_ERR(hw)) in at91sam9x5_pmc_setup()
174 if (IS_ERR(hw)) in at91sam9x5_pmc_setup()
180 if (IS_ERR(hw)) in at91sam9x5_pmc_setup()
187 if (IS_ERR(hw)) in at91sam9x5_pmc_setup()
191 if (IS_ERR(hw)) in at91sam9x5_pmc_setup()
197 if (IS_ERR(hw)) in at91sam9x5_pmc_setup()
210 if (IS_ERR(hw)) in at91sam9x5_pmc_setup()
218 if (IS_ERR(hw)) in at91sam9x5_pmc_setup()
226 if (IS_ERR(hw)) in at91sam9x5_pmc_setup()
230 if (IS_ERR(hw)) in at91sam9x5_pmc_setup()
[all …]
H A Dat91sam9n12.c145 if (IS_ERR(hw)) in at91sam9n12_pmc_setup()
152 if (IS_ERR(hw)) in at91sam9n12_pmc_setup()
158 if (IS_ERR(hw)) in at91sam9n12_pmc_setup()
165 if (IS_ERR(hw)) in at91sam9n12_pmc_setup()
169 if (IS_ERR(hw)) in at91sam9n12_pmc_setup()
176 if (IS_ERR(hw)) in at91sam9n12_pmc_setup()
190 if (IS_ERR(hw)) in at91sam9n12_pmc_setup()
199 if (IS_ERR(hw)) in at91sam9n12_pmc_setup()
205 if (IS_ERR(hw)) in at91sam9n12_pmc_setup()
222 if (IS_ERR(hw)) in at91sam9n12_pmc_setup()
[all …]
H A Dsama5d2.c200 if (IS_ERR(hw)) in sama5d2_pmc_setup()
207 if (IS_ERR(hw)) in sama5d2_pmc_setup()
213 if (IS_ERR(hw)) in sama5d2_pmc_setup()
220 if (IS_ERR(hw)) in sama5d2_pmc_setup()
224 if (IS_ERR(hw)) in sama5d2_pmc_setup()
231 if (IS_ERR(hw)) in sama5d2_pmc_setup()
236 if (IS_ERR(hw)) in sama5d2_pmc_setup()
243 if (IS_ERR(hw)) in sama5d2_pmc_setup()
253 if (IS_ERR(hw)) in sama5d2_pmc_setup()
266 if (IS_ERR(hw)) in sama5d2_pmc_setup()
[all …]
H A Dat91sam9g45.c128 if (IS_ERR(hw)) in at91sam9g45_pmc_setup()
132 if (IS_ERR(hw)) in at91sam9g45_pmc_setup()
139 if (IS_ERR(hw)) in at91sam9g45_pmc_setup()
143 if (IS_ERR(hw)) in at91sam9g45_pmc_setup()
149 if (IS_ERR(hw)) in at91sam9g45_pmc_setup()
163 if (IS_ERR(hw)) in at91sam9g45_pmc_setup()
172 if (IS_ERR(hw)) in at91sam9g45_pmc_setup()
180 if (IS_ERR(hw)) in at91sam9g45_pmc_setup()
197 if (IS_ERR(hw)) in at91sam9g45_pmc_setup()
208 if (IS_ERR(hw)) in at91sam9g45_pmc_setup()
[all …]
H A Dat91rm9200.c100 if (IS_ERR(regmap)) in at91rm9200_pmc_setup()
113 if (IS_ERR(hw)) in at91rm9200_pmc_setup()
117 if (IS_ERR(hw)) in at91rm9200_pmc_setup()
125 if (IS_ERR(hw)) in at91rm9200_pmc_setup()
133 if (IS_ERR(hw)) in at91rm9200_pmc_setup()
147 if (IS_ERR(hw)) in at91rm9200_pmc_setup()
155 if (IS_ERR(hw)) in at91rm9200_pmc_setup()
161 if (IS_ERR(hw)) in at91rm9200_pmc_setup()
177 if (IS_ERR(hw)) in at91rm9200_pmc_setup()
187 if (IS_ERR(hw)) in at91rm9200_pmc_setup()
[all …]
H A Dsama5d3.c148 if (IS_ERR(hw)) in sama5d3_pmc_setup()
155 if (IS_ERR(hw)) in sama5d3_pmc_setup()
161 if (IS_ERR(hw)) in sama5d3_pmc_setup()
166 if (IS_ERR(hw)) in sama5d3_pmc_setup()
170 if (IS_ERR(hw)) in sama5d3_pmc_setup()
176 if (IS_ERR(hw)) in sama5d3_pmc_setup()
189 if (IS_ERR(hw)) in sama5d3_pmc_setup()
197 if (IS_ERR(hw)) in sama5d3_pmc_setup()
205 if (IS_ERR(hw)) in sama5d3_pmc_setup()
209 if (IS_ERR(hw)) in sama5d3_pmc_setup()
[all …]
H A Dsam9x60.c219 if (IS_ERR(hw)) in sam9x60_pmc_setup()
223 if (IS_ERR(hw)) in sam9x60_pmc_setup()
230 if (IS_ERR(hw)) in sam9x60_pmc_setup()
245 if (IS_ERR(hw)) in sam9x60_pmc_setup()
256 if (IS_ERR(hw)) in sam9x60_pmc_setup()
265 if (IS_ERR(hw)) in sam9x60_pmc_setup()
274 if (IS_ERR(hw)) in sam9x60_pmc_setup()
285 if (IS_ERR(hw)) in sam9x60_pmc_setup()
292 if (IS_ERR(hw)) in sam9x60_pmc_setup()
301 if (IS_ERR(hw)) in sam9x60_pmc_setup()
[all …]
H A Dat91sam9rl.c89 if (IS_ERR(regmap)) in at91sam9rl_pmc_setup()
99 if (IS_ERR(hw)) in at91sam9rl_pmc_setup()
107 if (IS_ERR(hw)) in at91sam9rl_pmc_setup()
113 if (IS_ERR(hw)) in at91sam9rl_pmc_setup()
127 if (IS_ERR(hw)) in at91sam9rl_pmc_setup()
135 if (IS_ERR(hw)) in at91sam9rl_pmc_setup()
154 if (IS_ERR(hw)) in at91sam9rl_pmc_setup()
164 if (IS_ERR(hw)) in at91sam9rl_pmc_setup()
175 if (IS_ERR(hw)) in at91sam9rl_pmc_setup()
/openbmc/linux/drivers/gpu/drm/i915/gem/selftests/
H A Di915_gem_dmabuf.c24 if (IS_ERR(obj)) in igt_dmabuf_export()
29 if (IS_ERR(dmabuf)) { in igt_dmabuf_export()
48 if (IS_ERR(obj)) in igt_dmabuf_import_self()
52 if (IS_ERR(dmabuf)) { in igt_dmabuf_import_self()
107 if (IS_ERR(obj)) { in igt_dmabuf_import_same_driver_lmem()
160 if (IS_ERR(file)) in verify_access()
164 if (IS_ERR(ctx)) { in verify_access()
178 if (IS_ERR(vma)) { in verify_access()
232 if (IS_ERR(obj)) { in igt_dmabuf_import_same_driver()
294 if (IS_ERR(st)) { in igt_dmabuf_import_same_driver()
[all …]
/openbmc/linux/drivers/hv/
H A Dhv_debugfs.c66 if (IS_ERR(buffer_file)) { in hv_debug_delay_files()
74 if (IS_ERR(message_file)) { in hv_debug_delay_files()
93 if (IS_ERR(test_state)) { in hv_debug_set_test_state()
116 if (!IS_ERR(hv_debug_root)) { in hv_debug_add_dev_dir()
118 if (IS_ERR(dev_root)) { in hv_debug_add_dev_dir()
127 if (IS_ERR(delay)) { in hv_debug_add_dev_dir()
143 if (!IS_ERR(hv_debug_root)) in hv_debug_rm_dev_dir()
173 if (IS_ERR(hv_debug_root)) { in hv_debug_init()
/openbmc/linux/drivers/gpu/drm/i915/gt/
H A Dselftest_lrc.c87 if (IS_ERR(rq)) in emit_semaphore_signal()
91 if (IS_ERR(cs)) { in emit_semaphore_signal()
115 if (IS_ERR(rq)) in context_flush()
419 if (IS_ERR(ce)) in __live_lrc_state()
539 if (IS_ERR(rq)) in gpr_make_dirty()
575 if (IS_ERR(rq)) in __gpr_read()
633 if (IS_ERR(ce)) in __live_lrc_gpr()
747 if (IS_ERR(rq)) in create_timestamp()
806 if (IS_ERR(rq)) in __lrc_timestamp()
1410 if (IS_ERR(A)) in __lrc_isolation()
[all …]
/openbmc/linux/drivers/clk/samsung/
H A Dclk-exynos-audss.c107 if (!IS_ERR(clk_data->hws[i])) in exynos_audss_clk_teardown()
112 if (!IS_ERR(clk_data->hws[i])) in exynos_audss_clk_teardown()
139 if (IS_ERR(reg_base)) in exynos_audss_clk_probe()
156 if (!IS_ERR(pll_ref)) in exynos_audss_clk_probe()
158 if (!IS_ERR(pll_in)) { in exynos_audss_clk_probe()
190 if (!IS_ERR(cdclk)) in exynos_audss_clk_probe()
192 if (!IS_ERR(sclk_audio)) in exynos_audss_clk_probe()
228 if (!IS_ERR(sclk_pcm_in)) in exynos_audss_clk_probe()
241 if (IS_ERR(clk_table[i])) { in exynos_audss_clk_probe()
264 if (!IS_ERR(epll)) in exynos_audss_clk_probe()
[all …]
/openbmc/linux/drivers/net/wireless/ath/ath10k/
H A Dwmi-ops.h474 if (IS_ERR(skb)) in ath10k_wmi_mgmt_tx_send()
496 if (IS_ERR(skb)) in ath10k_wmi_mgmt_tx()
525 if (IS_ERR(skb)) in ath10k_wmi_pdev_set_regdomain()
541 if (IS_ERR(skb)) in ath10k_wmi_pdev_set_base_macaddr()
557 if (IS_ERR(skb)) in ath10k_wmi_pdev_suspend_target()
572 if (IS_ERR(skb)) in ath10k_wmi_pdev_resume_target()
587 if (IS_ERR(skb)) in ath10k_wmi_pdev_set_param()
602 if (IS_ERR(skb)) in ath10k_wmi_cmd_init()
618 if (IS_ERR(skb)) in ath10k_wmi_start_scan()
633 if (IS_ERR(skb)) in ath10k_wmi_stop_scan()
[all …]
/openbmc/linux/drivers/gpu/drm/sun4i/
H A Dsun4i_hdmi_i2c.c203 if (IS_ERR(hdmi->field_ddc_en)) in sun4i_hdmi_init_regmap_fields()
209 if (IS_ERR(hdmi->field_ddc_start)) in sun4i_hdmi_init_regmap_fields()
215 if (IS_ERR(hdmi->field_ddc_reset)) in sun4i_hdmi_init_regmap_fields()
221 if (IS_ERR(hdmi->field_ddc_addr_reg)) in sun4i_hdmi_init_regmap_fields()
227 if (IS_ERR(hdmi->field_ddc_slave_addr)) in sun4i_hdmi_init_regmap_fields()
233 if (IS_ERR(hdmi->field_ddc_int_mask)) in sun4i_hdmi_init_regmap_fields()
239 if (IS_ERR(hdmi->field_ddc_int_status)) in sun4i_hdmi_init_regmap_fields()
245 if (IS_ERR(hdmi->field_ddc_fifo_clear)) in sun4i_hdmi_init_regmap_fields()
269 if (IS_ERR(hdmi->field_ddc_cmd)) in sun4i_hdmi_init_regmap_fields()
275 if (IS_ERR(hdmi->field_ddc_sda_en)) in sun4i_hdmi_init_regmap_fields()
[all …]
/openbmc/linux/drivers/base/regmap/
H A Dregmap-kunit.c107 if (IS_ERR(ret)) { in gen_regmap()
133 if (IS_ERR(map)) in basic_read_write()
163 if (IS_ERR(map)) in bulk_write()
200 if (IS_ERR(map)) in bulk_read()
235 if (IS_ERR(map)) in write_readonly()
269 if (IS_ERR(map)) in read_writeonly()
309 if (IS_ERR(map)) in reg_defaults()
337 if (IS_ERR(map)) in reg_defaults_read_dev()
373 if (IS_ERR(map)) in register_patch()
424 if (IS_ERR(map)) in stride()
[all …]
/openbmc/linux/security/keys/
H A Dkeyctl.c137 if (!IS_ERR(key_ref)) { in SYSCALL_DEFINE5()
216 if (IS_ERR(ktype)) { in SYSCALL_DEFINE4()
225 if (IS_ERR(key)) { in SYSCALL_DEFINE4()
266 if (IS_ERR(key_ref)) { in keyctl_get_keyring_ID()
297 if (IS_ERR(name)) { in keyctl_join_session_keyring()
352 if (IS_ERR(key_ref)) { in keyctl_update_key()
386 if (IS_ERR(key_ref)) { in keyctl_revoke_key()
605 if (IS_ERR(key_ref)) in keyctl_keyring_move()
615 if (IS_ERR(to_ref)) { in keyctl_keyring_move()
757 if (IS_ERR(ktype)) { in keyctl_keyring_search()
[all …]
/openbmc/linux/drivers/bluetooth/
H A Dbtbcm.c83 if (IS_ERR(skb)) { in btbcm_check_bdaddr()
153 if (IS_ERR(skb)) { in btbcm_set_bdaddr()
171 if (IS_ERR(skb)) { in btbcm_read_pcm_int_params()
199 if (IS_ERR(skb)) { in btbcm_write_pcm_int_params()
221 if (IS_ERR(skb)) { in btbcm_patchram()
278 if (IS_ERR(skb)) { in btbcm_reset()
298 if (IS_ERR(skb)) { in btbcm_read_local_name()
446 if (IS_ERR(skb)) in btbcm_read_info()
461 if (IS_ERR(skb)) in btbcm_print_controller_features()
480 if (IS_ERR(skb)) in btbcm_print_local_name()
[all …]
/openbmc/linux/drivers/pci/controller/
H A Dpcie-rockchip.c40 if (IS_ERR(rockchip->reg_base)) in rockchip_pcie_parse_dt()
52 if (IS_ERR(rockchip->apb_base)) in rockchip_pcie_parse_dt()
73 if (IS_ERR(rockchip->core_rst)) { in rockchip_pcie_parse_dt()
80 if (IS_ERR(rockchip->mgmt_rst)) { in rockchip_pcie_parse_dt()
95 if (IS_ERR(rockchip->pipe_rst)) { in rockchip_pcie_parse_dt()
102 if (IS_ERR(rockchip->pm_rst)) { in rockchip_pcie_parse_dt()
109 if (IS_ERR(rockchip->pclk_rst)) { in rockchip_pcie_parse_dt()
116 if (IS_ERR(rockchip->aclk_rst)) { in rockchip_pcie_parse_dt()
125 if (IS_ERR(rockchip->ep_gpio)) in rockchip_pcie_parse_dt()
323 if (!IS_ERR(phy)) { in rockchip_pcie_get_phys()
[all …]

12345678910>>...163