Home
last modified time | relevance | path

Searched refs:PTR_ERR (Results 1 – 25 of 132) sorted by relevance

123456

/external/u-boot/drivers/firmware/
Dti_sci.c269 return PTR_ERR(handle); in ti_sci_cmd_get_revision()
280 ret = PTR_ERR(xfer); in ti_sci_cmd_get_revision()
336 return PTR_ERR(handle); in cmd_set_board_config_using_msg()
346 ret = PTR_ERR(xfer); in cmd_set_board_config_using_msg()
497 return PTR_ERR(handle); in ti_sci_set_device_state()
507 ret = PTR_ERR(xfer); in ti_sci_set_device_state()
552 return PTR_ERR(handle); in ti_sci_set_device_state_no_wait()
562 ret = PTR_ERR(xfer); in ti_sci_set_device_state_no_wait()
598 return PTR_ERR(handle); in ti_sci_get_device_state()
611 ret = PTR_ERR(xfer); in ti_sci_get_device_state()
[all …]
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/
Dtest_overhead.c71 if (CHECK(IS_ERR(obj), "obj_open_file", "err %ld\n", PTR_ERR(obj))) in test_test_overhead()
107 if (CHECK(IS_ERR(link), "attach_kprobe", "err %ld\n", PTR_ERR(link))) in test_test_overhead()
115 if (CHECK(IS_ERR(link), "attach kretprobe", "err %ld\n", PTR_ERR(link))) in test_test_overhead()
122 if (CHECK(IS_ERR(link), "attach fentry", "err %ld\n", PTR_ERR(link))) in test_test_overhead()
129 if (CHECK(IS_ERR(link), "attach fentry", "err %ld\n", PTR_ERR(link))) in test_test_overhead()
136 if (CHECK(IS_ERR(link), "attach fexit", "err %ld\n", PTR_ERR(link))) in test_test_overhead()
Dattach_probe.c77 if (CHECK(IS_ERR(obj), "obj_open_mem", "err %ld\n", PTR_ERR(obj))) in test_attach_probe()
117 "err %ld\n", PTR_ERR(kprobe_link))) { in test_attach_probe()
125 "err %ld\n", PTR_ERR(kretprobe_link))) { in test_attach_probe()
135 "err %ld\n", PTR_ERR(uprobe_link))) { in test_attach_probe()
145 "err %ld\n", PTR_ERR(uretprobe_link))) { in test_attach_probe()
Dkfree_skb.c99 if (CHECK(IS_ERR(link), "attach_raw_tp", "err %ld\n", PTR_ERR(link))) in test_kfree_skb()
103 PTR_ERR(link_fentry))) in test_kfree_skb()
107 PTR_ERR(link_fexit))) in test_kfree_skb()
118 if (CHECK(IS_ERR(pb), "perf_buf__new", "err %ld\n", PTR_ERR(pb))) in test_kfree_skb()
Dbtf_dump.c35 return PTR_ERR(d); in btf_dump_all_types()
59 "failed to load test BTF: %ld\n", PTR_ERR(btf))) { in test_btf_dump_case()
60 err = -PTR_ERR(btf); in test_btf_dump_case()
Dperf_buffer.c54 if (CHECK(IS_ERR(link), "attach_kprobe", "err %ld\n", PTR_ERR(link))) in test_perf_buffer()
61 if (CHECK(IS_ERR(pb), "perf_buf__new", "err %ld\n", PTR_ERR(pb))) in test_perf_buffer()
Dprobe_user.c19 if (CHECK(IS_ERR(obj), "obj_open_file", "err %ld\n", PTR_ERR(obj))) in test_probe_user()
39 "err %ld\n", PTR_ERR(kprobe_link))) { in test_probe_user()
Drdonly_maps.c36 if (CHECK(IS_ERR(obj), "obj_open", "err %ld\n", PTR_ERR(obj))) in test_rdonly_maps()
65 t->prog_name, PTR_ERR(link))) { in test_rdonly_maps()
Dget_stack_raw_tp.c119 if (CHECK(IS_ERR(link), "attach_raw_tp", "err %ld\n", PTR_ERR(link))) in test_get_stack_raw_tp()
124 if (CHECK(IS_ERR(pb), "perf_buf__new", "err %ld\n", PTR_ERR(pb))) in test_get_stack_raw_tp()
/external/u-boot/include/linux/
Derr.h29 static inline long PTR_ERR(const void *ptr) in PTR_ERR() function
36 return IS_ERR_VALUE((unsigned long)PTR_ERR(ptr)); in IS_ERR()
41 return !ptr || IS_ERR_VALUE((unsigned long)PTR_ERR(ptr)); in IS_ERR_OR_NULL()
/external/u-boot/fs/ubifs/
Dubifs.c210 PTR_ERR(compr->cc)); in compr_init()
211 return PTR_ERR(compr->cc); in compr_init()
309 err = PTR_ERR(dent); in ubifs_printdir()
328 err = PTR_ERR(dent); in ubifs_printdir()
354 err = PTR_ERR(dent); in ubifs_printdir()
412 err = PTR_ERR(dent); in ubifs_finddir()
440 err = PTR_ERR(dent); in ubifs_finddir()
647 err = PTR_ERR(inode); in ubifs_size()
863 err = PTR_ERR(inode); in ubifs_read()
Dreplay.c99 err = PTR_ERR(lp); in set_bud_lprops()
144 err = PTR_ERR(lp); in set_bud_lprops()
555 return PTR_ERR(sleb); in replay_bud()
829 if (PTR_ERR(sleb) != -EUCLEAN || !c->need_recovery) in replay_log_leb()
830 return PTR_ERR(sleb); in replay_log_leb()
838 return PTR_ERR(sleb); in replay_log_leb()
974 err = PTR_ERR(lp); in take_ihead()
983 err = PTR_ERR(lp); in take_ihead()
Dtnc.c610 return PTR_ERR(znode); in tnc_next()
614 return PTR_ERR(znode); in tnc_next()
654 return PTR_ERR(znode); in tnc_prev()
659 return PTR_ERR(znode); in tnc_prev()
1168 return PTR_ERR(znode); in ubifs_lookup_level0()
1194 return PTR_ERR(znode); in ubifs_lookup_level0()
1303 return PTR_ERR(znode); in lookup_level0_dirty()
1308 return PTR_ERR(znode); in lookup_level0_dirty()
1328 return PTR_ERR(znode); in lookup_level0_dirty()
1335 return PTR_ERR(znode); in lookup_level0_dirty()
[all …]
Dgc.c508 return PTR_ERR(sleb); in ubifs_garbage_collect_leb()
844 err = PTR_ERR(lp); in ubifs_gc_start_commit()
856 err = PTR_ERR(lp); in ubifs_gc_start_commit()
871 err = PTR_ERR(lp); in ubifs_gc_start_commit()
887 err = PTR_ERR(lp); in ubifs_gc_start_commit()
/external/u-boot/drivers/clk/
Dclk_sandbox_test.c51 return PTR_ERR(clk); in sandbox_clk_test_devm_get()
56 return PTR_ERR(clk); in sandbox_clk_test_devm_get()
62 return PTR_ERR(clk); in sandbox_clk_test_devm_get()
/external/u-boot/lib/crypto/
Dx509_public_key.c75 if (PTR_ERR(tfm) == -ENOENT) { in x509_get_sig_params()
79 return PTR_ERR(tfm); in x509_get_sig_params()
188 return PTR_ERR(cert); in x509_key_preparse()
Dpublic_key.c151 return PTR_ERR(tfm); in software_key_query()
216 return PTR_ERR(tfm); in software_key_eds_op()
306 return PTR_ERR(tfm); in public_key_verify_signature()
/external/u-boot/drivers/phy/marvell/
Dcomphy_core.c89 return PTR_ERR(chip_cfg->comphy_base_addr); in comphy_probe()
93 return PTR_ERR(chip_cfg->hpipe3_base_addr); in comphy_probe()
/external/u-boot/drivers/remoteproc/
Dti_k3_arm64_rproc.c129 dev_err(dev, "ti_sci get failed: %ld\n", PTR_ERR(tsp->sci)); in ti_sci_proc_of_to_priv()
130 return PTR_ERR(tsp->sci); in ti_sci_proc_of_to_priv()
Dstm32_copro.c52 PTR_ERR(regmap)); in stm32_copro_probe()
53 return PTR_ERR(regmap); in stm32_copro_probe()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_hashmap.c62 if (CHECK(IS_ERR(map), "failed to create map: %ld\n", PTR_ERR(map))) in test_hashmap_generic()
269 if (CHECK(IS_ERR(map), "failed to create map: %ld\n", PTR_ERR(map))) in test_hashmap_multimap()
343 if (CHECK(IS_ERR(map), "failed to create map: %ld\n", PTR_ERR(map))) in test_hashmap_empty()
/external/u-boot/drivers/phy/
Domap-usb2-phy.c208 printf("can't get regmap (err %ld)\n", PTR_ERR(regmap)); in omap_usb2_phy_probe()
209 return PTR_ERR(regmap); in omap_usb2_phy_probe()
/external/squashfs-tools/kernel/fs/squashfs/
Dsuper.c212 err = PTR_ERR(msblk->id_table); in squashfs_fill_super()
232 err = PTR_ERR(msblk->fragment_index); in squashfs_fill_super()
246 err = PTR_ERR(msblk->inode_lookup_table); in squashfs_fill_super()
/external/u-boot/arch/riscv/lib/
Dandes_plmt.c29 return PTR_ERR(ret); \
/external/u-boot/arch/arm/mach-stm32mp/
Dpwr_regulator.c63 PTR_ERR(regmap)); in stm32mp_pwr_ofdata_to_platdata()
64 return PTR_ERR(regmap); in stm32mp_pwr_ofdata_to_platdata()

123456