Home
last modified time | relevance | path

Searched refs:ERR_PTR (Results 1 – 25 of 2510) sorted by relevance

12345678910>>...101

/openbmc/linux/lib/
H A Dasn1_encoder.c34 return ERR_PTR(-EINVAL); in asn1_encode_integer()
41 return ERR_PTR(-EINVAL); in asn1_encode_integer()
75 return ERR_PTR(-EINVAL); in asn1_encode_integer()
149 return ERR_PTR(-EINVAL); in asn1_encode_oid()
152 return ERR_PTR(-EINVAL); in asn1_encode_oid()
160 return ERR_PTR(-EINVAL); in asn1_encode_oid()
170 return ERR_PTR(ret); in asn1_encode_oid()
277 return ERR_PTR(-EINVAL); in asn1_encode_tag()
303 return ERR_PTR(ret); in asn1_encode_tag()
347 return ERR_PTR(ret); in asn1_encode_octet_string()
[all …]
/openbmc/linux/fs/smb/client/
H A Dunc.c27 return ERR_PTR(-EINVAL); in extract_hostname()
31 return ERR_PTR(-EINVAL); in extract_hostname()
36 return ERR_PTR(-EINVAL); in extract_hostname()
41 return ERR_PTR(-ENOMEM); in extract_hostname()
60 return ERR_PTR(-EINVAL); in extract_sharename()
66 return ERR_PTR(-ENOMEM); in extract_sharename()
/openbmc/linux/drivers/clk/qcom/
H A Dkrait-cc.c98 return ERR_PTR(-ENOMEM); in krait_add_div()
108 return ERR_PTR(-ENOMEM); in krait_add_div()
113 clk = ERR_PTR(-ENOMEM); in krait_add_div()
122 clk = ERR_PTR(ret); in krait_add_div()
164 return ERR_PTR(-ENOMEM); in krait_add_sec_mux()
184 return ERR_PTR(-ENOMEM); in krait_add_sec_mux()
200 clk = ERR_PTR(ret); in krait_add_sec_mux()
208 clk = ERR_PTR(ret); in krait_add_sec_mux()
261 clk = ERR_PTR(-ENOMEM); in krait_add_pri_mux()
273 clk = ERR_PTR(ret); in krait_add_pri_mux()
[all …]
/openbmc/linux/include/linux/mfd/
H A Dsyscon.h37 return ERR_PTR(-ENOTSUPP); in device_node_to_regmap()
42 return ERR_PTR(-ENOTSUPP); in syscon_node_to_regmap()
47 return ERR_PTR(-ENOTSUPP); in syscon_regmap_lookup_by_compatible()
54 return ERR_PTR(-ENOTSUPP); in syscon_regmap_lookup_by_phandle()
63 return ERR_PTR(-ENOTSUPP); in syscon_regmap_lookup_by_phandle_args()
/openbmc/linux/drivers/tee/
H A Dtee_shm.c86 return ERR_PTR(-EINVAL); in shm_alloc_helper()
90 ret = ERR_PTR(-EINVAL); in shm_alloc_helper()
96 ret = ERR_PTR(-ENOMEM); in shm_alloc_helper()
114 ret = ERR_PTR(rc); in shm_alloc_helper()
151 return ERR_PTR(id); in tee_shm_alloc_user_buf()
228 return ERR_PTR(-EINVAL); in register_shm_helper()
240 ret = ERR_PTR(-ENOMEM); in register_shm_helper()
255 ret = ERR_PTR(-ENOMEM); in register_shm_helper()
269 ret = ERR_PTR(rc); in register_shm_helper()
276 ret = ERR_PTR(rc); in register_shm_helper()
[all …]
/openbmc/u-boot/drivers/core/
H A Dsyscon-uclass.c31 return ERR_PTR(-ENOEXEC); in syscon_get_regmap()
71 return ERR_PTR(err); in syscon_regmap_lookup_by_phandle()
77 return ERR_PTR(-ENODEV); in syscon_regmap_lookup_by_phandle()
111 return ERR_PTR(ret); in syscon_get_regmap_by_driver_data()
162 return ERR_PTR(-EINVAL); in syscon_node_to_regmap()
173 return ERR_PTR(ret); in syscon_node_to_regmap()
177 return ERR_PTR(ret); in syscon_node_to_regmap()
/openbmc/linux/drivers/usb/typec/
H A Dmux.c81 return ERR_PTR(-ENOMEM); in fwnode_typec_switch_get()
116 return ERR_PTR(err); in fwnode_typec_switch_get()
172 return ERR_PTR(-EINVAL); in typec_switch_register()
176 return ERR_PTR(-ENOMEM); in typec_switch_register()
189 return ERR_PTR(ret); in typec_switch_register()
196 return ERR_PTR(ret); in typec_switch_register()
306 return ERR_PTR(-ENOMEM); in fwnode_typec_mux_get()
341 return ERR_PTR(err); in fwnode_typec_mux_get()
416 return ERR_PTR(-EINVAL); in typec_mux_register()
433 return ERR_PTR(ret); in typec_mux_register()
[all …]
/openbmc/linux/fs/ext2/
H A Dacl.c29 return ERR_PTR(-EINVAL); in ext2_acl_from_disk()
32 return ERR_PTR(-EINVAL); in ext2_acl_from_disk()
36 return ERR_PTR(-EINVAL); in ext2_acl_from_disk()
41 return ERR_PTR(-ENOMEM); in ext2_acl_from_disk()
85 return ERR_PTR(-EINVAL); in ext2_acl_from_disk()
102 return ERR_PTR(-ENOMEM); in ext2_acl_to_disk()
137 return ERR_PTR(-EINVAL); in ext2_acl_to_disk()
152 return ERR_PTR(-ECHILD); in ext2_get_acl()
168 return ERR_PTR(-ENOMEM); in ext2_get_acl()
176 acl = ERR_PTR(retval); in ext2_get_acl()
/openbmc/linux/drivers/md/
H A Ddm-init.c125 return ERR_PTR(-EINVAL); in dm_parse_table_entry()
132 return ERR_PTR(-ENOMEM); in dm_parse_table_entry()
137 return ERR_PTR(-EINVAL); in dm_parse_table_entry()
140 return ERR_PTR(-EINVAL); in dm_parse_table_entry()
145 return ERR_PTR(-EINVAL); in dm_parse_table_entry()
151 return ERR_PTR(-ENOMEM); in dm_parse_table_entry()
204 return ERR_PTR(-EINVAL); in dm_parse_device_entry()
216 return ERR_PTR(-EINVAL); in dm_parse_device_entry()
223 return ERR_PTR(-EINVAL); in dm_parse_device_entry()
226 return ERR_PTR(-EINVAL); in dm_parse_device_entry()
/openbmc/linux/drivers/gpu/drm/tiny/
H A Dsimpledrm.c73 return ERR_PTR(-EINVAL); in simplefb_get_validated_format()
89 return ERR_PTR(-EINVAL); in simplefb_get_validated_format()
184 return ERR_PTR(ret); in simplefb_get_format_of()
205 return ERR_PTR(err); in simplefb_get_memory_of()
652 return ERR_PTR(ret); in simpledrm_device_create()
655 return ERR_PTR(ret); in simpledrm_device_create()
779 return ERR_PTR(ret); in simpledrm_device_create()
802 return ERR_PTR(ret); in simpledrm_device_create()
812 return ERR_PTR(ret); in simpledrm_device_create()
821 return ERR_PTR(ret); in simpledrm_device_create()
[all …]
/openbmc/linux/include/linux/
H A Dpruss_driver.h126 return ERR_PTR(-EOPNOTSUPP); in pruss_get()
147 return ERR_PTR(-EOPNOTSUPP); in pruss_cfg_get_gpmux()
153 return ERR_PTR(-EOPNOTSUPP); in pruss_cfg_set_gpmux()
160 return ERR_PTR(-EOPNOTSUPP); in pruss_cfg_gpimode()
165 return ERR_PTR(-EOPNOTSUPP); in pruss_cfg_miirt_enable()
172 return ERR_PTR(-EOPNOTSUPP);
H A Ddevfreq_cooling.h61 return ERR_PTR(-EINVAL); in of_devfreq_cooling_register_power()
67 return ERR_PTR(-EINVAL); in of_devfreq_cooling_register()
73 return ERR_PTR(-EINVAL); in devfreq_cooling_register()
80 return ERR_PTR(-EINVAL); in devfreq_cooling_em_register()
/openbmc/linux/fs/fuse/
H A Dacl.c24 return ERR_PTR(-ECHILD); in __fuse_get_acl()
27 return ERR_PTR(-EIO); in __fuse_get_acl()
37 return ERR_PTR(-EOPNOTSUPP); in __fuse_get_acl()
41 return ERR_PTR(-ENOMEM); in __fuse_get_acl()
49 acl = ERR_PTR(-E2BIG); in __fuse_get_acl()
51 acl = ERR_PTR(size); in __fuse_get_acl()
75 return ERR_PTR(-EOPNOTSUPP); in fuse_get_acl()
/openbmc/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_region.c54 return ERR_PTR(-EINVAL); in __i915_gem_object_create_region()
57 return ERR_PTR(-ENODEV); in __i915_gem_object_create_region()
77 return ERR_PTR(-E2BIG); in __i915_gem_object_create_region()
81 return ERR_PTR(-ENOMEM); in __i915_gem_object_create_region()
103 return ERR_PTR(err); in __i915_gem_object_create_region()
126 return ERR_PTR(-EINVAL); in i915_gem_object_create_region_at()
129 return ERR_PTR(-EINVAL); in i915_gem_object_create_region_at()
134 return ERR_PTR(-ENOSPC); in i915_gem_object_create_region_at()
/openbmc/linux/drivers/bluetooth/
H A Dh4_recv.h63 return ERR_PTR(-ENOMEM); in h4_recv_buf()
72 return ERR_PTR(-EILSEQ); in h4_recv_buf()
95 return ERR_PTR(-EILSEQ); in h4_recv_buf()
113 return ERR_PTR(-EMSGSIZE); in h4_recv_buf()
124 return ERR_PTR(-EMSGSIZE); in h4_recv_buf()
130 return ERR_PTR(-EILSEQ); in h4_recv_buf()
/openbmc/linux/drivers/gpu/drm/i915/gt/uc/
H A Dselftest_guc.c39 return ERR_PTR(ret); in nop_user_request()
101 gt_err(gt, "Last request failed to complete: %pe\n", ERR_PTR(ret)); in intel_guc_scrub_ctbs()
118 gt_err(gt, "GT failed to idle: %pe\n", ERR_PTR(ret)); in intel_guc_scrub_ctbs()
177 guc_err(guc, "Failed to create spinner: %pe\n", ERR_PTR(ret)); in intel_guc_steal_guc_ids()
189 guc_err(guc, "Failed to add Spinner request: %pe\n", ERR_PTR(ret)); in intel_guc_steal_guc_ids()
209 last ? "" : "first ", context_index, ERR_PTR(ret)); in intel_guc_steal_guc_ids()
223 guc_err(guc, "Spin request failed to complete: %pe\n", ERR_PTR(ret)); in intel_guc_steal_guc_ids()
235 guc_err(guc, "Last request failed to complete: %pe\n", ERR_PTR(ret)); in intel_guc_steal_guc_ids()
251 guc_err(guc, "Request with stolen guc_id failed to complete: %pe\n", ERR_PTR(ret)); in intel_guc_steal_guc_ids()
258 guc_err(guc, "GT failed to idle: %pe\n", ERR_PTR(ret)); in intel_guc_steal_guc_ids()
/openbmc/linux/fs/ext4/
H A Dacl.c27 return ERR_PTR(-EINVAL); in ext4_acl_from_disk()
30 return ERR_PTR(-EINVAL); in ext4_acl_from_disk()
34 return ERR_PTR(-EINVAL); in ext4_acl_from_disk()
39 return ERR_PTR(-ENOMEM); in ext4_acl_from_disk()
84 return ERR_PTR(-EINVAL); in ext4_acl_from_disk()
101 return ERR_PTR(-ENOMEM); in ext4_acl_to_disk()
136 return ERR_PTR(-EINVAL); in ext4_acl_to_disk()
153 return ERR_PTR(-ECHILD); in ext4_get_acl()
169 return ERR_PTR(-ENOMEM); in ext4_get_acl()
177 acl = ERR_PTR(retval); in ext4_get_acl()
/openbmc/linux/drivers/mux/
H A Dcore.c99 return ERR_PTR(-EINVAL); in mux_chip_alloc()
105 return ERR_PTR(-ENOMEM); in mux_chip_alloc()
120 return ERR_PTR(err); in mux_chip_alloc()
243 return ERR_PTR(-ENOMEM); in devm_mux_chip_alloc()
549 return ERR_PTR(index); in mux_get()
564 return ERR_PTR(ret); in mux_get()
606 return ERR_PTR(-EINVAL); in mux_get()
659 return ERR_PTR(-ENOMEM); in devm_mux_control_get()
687 return ERR_PTR(-ENOMEM); in mux_state_get()
694 return ERR_PTR(err); in mux_state_get()
[all …]
/openbmc/linux/fs/reiserfs/
H A Dxattr_acl.c77 return ERR_PTR(-EINVAL); in reiserfs_posix_acl_from_disk()
80 return ERR_PTR(-EINVAL); in reiserfs_posix_acl_from_disk()
84 return ERR_PTR(-EINVAL); in reiserfs_posix_acl_from_disk()
89 return ERR_PTR(-ENOMEM); in reiserfs_posix_acl_from_disk()
132 return ERR_PTR(-EINVAL); in reiserfs_posix_acl_from_disk()
150 return ERR_PTR(-ENOMEM); in reiserfs_posix_acl_to_disk()
185 return ERR_PTR(-EINVAL); in reiserfs_posix_acl_to_disk()
202 return ERR_PTR(-ECHILD); in reiserfs_get_acl()
219 return ERR_PTR(size); in reiserfs_get_acl()
224 return ERR_PTR(-ENOMEM); in reiserfs_get_acl()
[all …]
/openbmc/linux/fs/jffs2/
H A Dacl.c67 return ERR_PTR(-EINVAL); in jffs2_acl_from_medium()
71 return ERR_PTR(-EINVAL); in jffs2_acl_from_medium()
77 return ERR_PTR(-EINVAL); in jffs2_acl_from_medium()
83 return ERR_PTR(-ENOMEM); in jffs2_acl_from_medium()
125 return ERR_PTR(-EINVAL); in jffs2_acl_from_medium()
139 return ERR_PTR(-ENOMEM); in jffs2_acl_to_medium()
173 return ERR_PTR(-EINVAL); in jffs2_acl_to_medium()
183 return ERR_PTR(-ECHILD); in jffs2_get_acl()
199 return ERR_PTR(-ENOMEM); in jffs2_get_acl()
207 acl = ERR_PTR(rc); in jffs2_get_acl()
/openbmc/linux/scripts/coccinelle/api/
H A Derr_cast.cocci3 /// Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(...))
12 // Keywords: ERR_PTR, PTR_ERR, ERR_CAST
26 * ERR_PTR(PTR_ERR(x))
32 - ERR_PTR(PTR_ERR(x))
40 ERR_PTR@p(PTR_ERR(x))
/openbmc/linux/arch/s390/kernel/
H A Dkexec_elf.c82 return ERR_PTR(-EINVAL); in s390_elf_load()
85 return ERR_PTR(-EINVAL); in s390_elf_load()
90 return ERR_PTR(-EINVAL); in s390_elf_load()
96 return ERR_PTR(-EINVAL); in s390_elf_load()
99 return ERR_PTR(-EINVAL); in s390_elf_load()
105 return ERR_PTR(-EINVAL); in s390_elf_load()
/openbmc/linux/fs/overlayfs/
H A Dexport.c310 return ERR_PTR(-EIO); in ovl_obtain_alias()
314 return ERR_PTR(-ENOMEM); in ovl_obtain_alias()
436 this = ERR_PTR(err); in ovl_lookup_real_one()
502 this = ERR_PTR(-EIO); in ovl_lookup_real_inode()
661 return ERR_PTR(err); in ovl_lookup_real()
685 return ERR_PTR(-ENOENT); in ovl_get_dentry()
728 return ERR_PTR(err); in ovl_lower_fh_to_d()
790 dentry = ERR_PTR(err); in ovl_lower_fh_to_d()
853 dentry = ERR_PTR(err); in ovl_fh_to_dentry()
861 return ERR_PTR(-EACCES); in ovl_fh_to_parent()
[all …]
/openbmc/linux/crypto/
H A Dapi.c112 return ERR_PTR(-ENOMEM); in crypto_larval_alloc()
215 alg = ERR_PTR(-EINTR); in crypto_larval_wait()
219 alg = ERR_PTR(-ENOENT); in crypto_larval_wait()
224 alg = ERR_PTR(-EAGAIN); in crypto_larval_wait()
226 alg = ERR_PTR(-EAGAIN); in crypto_larval_wait()
228 alg = ERR_PTR(-EAGAIN); in crypto_larval_wait()
415 tfm = ERR_PTR(err); in __crypto_alloc_tfmgfp()
480 return ERR_PTR(err); in crypto_alloc_base()
537 mem = ERR_PTR(err); in crypto_create_tfm_node()
550 mem = ERR_PTR(-ESTALE); in crypto_clone_tfm()
[all …]
/openbmc/linux/drivers/dax/
H A Dpmem.c32 return ERR_PTR(rc); in __dax_pmem_probe()
35 return ERR_PTR(rc); in __dax_pmem_probe()
45 return ERR_PTR(-EBUSY); in __dax_pmem_probe()
50 return ERR_PTR(-EINVAL); in __dax_pmem_probe()
59 return ERR_PTR(-ENOMEM); in __dax_pmem_probe()

12345678910>>...101