/Linux-v5.15/lib/ |
D | asn1_encoder.c | 34 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() 172 return ERR_PTR(ret); in asn1_encode_oid() 279 return ERR_PTR(-EINVAL); in asn1_encode_tag() 283 return ERR_PTR(-EINVAL); in asn1_encode_tag() 299 return ERR_PTR(-EINVAL); in asn1_encode_tag() [all …]
|
/Linux-v5.15/drivers/tee/ |
D | tee_shm.c | 117 return ERR_PTR(-EINVAL); in tee_shm_alloc() 122 return ERR_PTR(-EINVAL); in tee_shm_alloc() 126 return ERR_PTR(-EINVAL); in tee_shm_alloc() 130 ret = ERR_PTR(-EINVAL); in tee_shm_alloc() 136 ret = ERR_PTR(-ENOMEM); in tee_shm_alloc() 149 ret = ERR_PTR(rc); in tee_shm_alloc() 161 ret = ERR_PTR(shm->id); in tee_shm_alloc() 227 return ERR_PTR(-ENOTSUPP); in tee_shm_register() 230 return ERR_PTR(-EINVAL); in tee_shm_register() 235 return ERR_PTR(-ENOTSUPP); in tee_shm_register() [all …]
|
/Linux-v5.15/fs/cifs/ |
D | unc.c | 27 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()
|
D | cifs_dfs_ref.c | 74 return ERR_PTR(-EINVAL); in cifs_build_devname() 94 return ERR_PTR(-ENOMEM); in cifs_build_devname() 151 return ERR_PTR(-EINVAL); in cifs_compose_mount_options() 155 return ERR_PTR(-EINVAL); in cifs_compose_mount_options() 256 mountdata = ERR_PTR(rc); in cifs_compose_mount_options() 282 return ERR_PTR(-ENOMEM); in cifs_dfs_do_mount() 327 mnt = ERR_PTR(-ENOMEM); in cifs_dfs_do_automount() 331 mnt = ERR_PTR(-EREMOTE); in cifs_dfs_do_automount() 360 mnt = ERR_PTR(-ENOMEM); in cifs_dfs_do_automount() 383 mnt = ERR_PTR(rc); in cifs_dfs_do_automount()
|
/Linux-v5.15/drivers/net/wireless/intel/iwlwifi/fw/ |
D | uefi.c | 30 return ERR_PTR(-ENOMEM); in iwl_uefi_get_pnvm() 45 data = ERR_PTR(-ENOMEM); in iwl_uefi_get_pnvm() 55 data = ERR_PTR(err); in iwl_uefi_get_pnvm() 89 reduce_power_data = ERR_PTR(-EINVAL); in iwl_uefi_reduce_power_section() 108 reduce_power_data = ERR_PTR(-ENOMEM); in iwl_uefi_reduce_power_section() 137 reduce_power_data = ERR_PTR(-ENOENT); in iwl_uefi_reduce_power_section() 167 return ERR_PTR(-EINVAL); in iwl_uefi_reduce_power_parse() 202 return ERR_PTR(-ENOENT); in iwl_uefi_reduce_power_parse() 217 return ERR_PTR(-ENOMEM); in iwl_uefi_get_reduced_power() 232 package = ERR_PTR(-ENOMEM); in iwl_uefi_get_reduced_power() [all …]
|
/Linux-v5.15/drivers/md/ |
D | dm-init.c | 120 return ERR_PTR(-EINVAL); in dm_parse_table_entry() 127 return ERR_PTR(-ENOMEM); in dm_parse_table_entry() 132 return ERR_PTR(-EINVAL); in dm_parse_table_entry() 135 return ERR_PTR(-EINVAL); in dm_parse_table_entry() 140 return ERR_PTR(-EINVAL); in dm_parse_table_entry() 146 return ERR_PTR(-ENOMEM); in dm_parse_table_entry() 199 return ERR_PTR(-EINVAL); in dm_parse_device_entry() 211 return ERR_PTR(-EINVAL); in dm_parse_device_entry() 218 return ERR_PTR(-EINVAL); in dm_parse_device_entry() 221 return ERR_PTR(-EINVAL); in dm_parse_device_entry()
|
/Linux-v5.15/include/linux/mfd/ |
D | syscon.h | 37 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()
|
/Linux-v5.15/include/linux/ |
D | pm_opp.h | 174 return ERR_PTR(-EOPNOTSUPP); in dev_pm_opp_get_opp_table() 179 return ERR_PTR(-EOPNOTSUPP); in dev_pm_opp_get_opp_table_indexed() 239 return ERR_PTR(-EOPNOTSUPP); in dev_pm_opp_find_freq_exact() 245 return ERR_PTR(-EOPNOTSUPP); in dev_pm_opp_find_level_exact() 251 return ERR_PTR(-EOPNOTSUPP); in dev_pm_opp_find_level_ceil() 257 return ERR_PTR(-EOPNOTSUPP); in dev_pm_opp_find_freq_floor() 263 return ERR_PTR(-EOPNOTSUPP); in dev_pm_opp_find_freq_ceil_by_volt() 269 return ERR_PTR(-EOPNOTSUPP); in dev_pm_opp_find_freq_ceil() 320 return ERR_PTR(-EOPNOTSUPP); in dev_pm_opp_set_supported_hw() 335 return ERR_PTR(-EOPNOTSUPP); in dev_pm_opp_register_set_opp_helper() [all …]
|
D | devfreq_cooling.h | 61 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()
|
/Linux-v5.15/fs/ext2/ |
D | acl.c | 29 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()
|
/Linux-v5.15/fs/fuse/ |
D | acl.c | 23 return ERR_PTR(-ECHILD); in fuse_get_acl() 26 return ERR_PTR(-EIO); in fuse_get_acl() 36 return ERR_PTR(-EOPNOTSUPP); in fuse_get_acl() 40 return ERR_PTR(-ENOMEM); in fuse_get_acl() 48 acl = ERR_PTR(-E2BIG); in fuse_get_acl() 50 acl = ERR_PTR(size); in fuse_get_acl()
|
/Linux-v5.15/drivers/gpio/ |
D | gpiolib-of.c | 106 return ERR_PTR(-EINVAL); in of_xlate_and_get_gpiod_flags() 110 return ERR_PTR(ret); in of_xlate_and_get_gpiod_flags() 252 return ERR_PTR(ret); in of_get_named_gpiod_flags() 257 desc = ERR_PTR(-EPROBE_DEFER); in of_get_named_gpiod_flags() 336 return ERR_PTR(ret); in gpiod_get_from_of_node() 360 return ERR_PTR(ret); in gpiod_get_from_of_node() 384 return ERR_PTR(-ENOENT); in of_find_spi_gpio() 388 return ERR_PTR(-ENOENT); in of_find_spi_gpio() 410 return ERR_PTR(-ENOENT); in of_find_spi_cs_gpio() 416 return ERR_PTR(-ENOENT); in of_find_spi_cs_gpio() [all …]
|
/Linux-v5.15/drivers/gpu/drm/rockchip/ |
D | rockchip_drm_fb.c | 37 return ERR_PTR(-ENOMEM); in rockchip_fb_alloc() 50 return ERR_PTR(ret); in rockchip_fb_alloc() 70 return ERR_PTR(-ENOMEM); in rockchip_fb_create() 74 return ERR_PTR(-ENOMEM); in rockchip_fb_create() 80 return ERR_PTR(ret); in rockchip_fb_create() 94 return ERR_PTR(ret); in rockchip_fb_create()
|
/Linux-v5.15/drivers/usb/typec/ |
D | mux.c | 52 return dev ? to_typec_switch(dev) : ERR_PTR(-EPROBE_DEFER); in typec_switch_match() 120 return ERR_PTR(-EINVAL); in typec_switch_register() 124 return ERR_PTR(-ENOMEM); in typec_switch_register() 141 return ERR_PTR(ret); in typec_switch_register() 227 return ERR_PTR(-ENOMEM); in typec_mux_match() 232 return ERR_PTR(ret); in typec_mux_match() 249 return dev ? to_typec_mux(dev) : ERR_PTR(-EPROBE_DEFER); in typec_mux_match() 327 return ERR_PTR(-EINVAL); in typec_mux_register() 331 return ERR_PTR(-ENOMEM); in typec_mux_register() 348 return ERR_PTR(ret); in typec_mux_register()
|
/Linux-v5.15/fs/ext4/ |
D | acl.c | 27 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()
|
/Linux-v5.15/fs/jffs2/ |
D | acl.c | 67 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()
|
/Linux-v5.15/drivers/bluetooth/ |
D | h4_recv.h | 63 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()
|
/Linux-v5.15/drivers/clk/at91/ |
D | clk-main.c | 141 return ERR_PTR(-EINVAL); in at91_clk_register_main_osc() 145 return ERR_PTR(-ENOMEM); in at91_clk_register_main_osc() 166 hw = ERR_PTR(ret); in at91_clk_register_main_osc() 262 return ERR_PTR(-EINVAL); in at91_clk_register_main_rc_osc() 266 return ERR_PTR(-ENOMEM); in at91_clk_register_main_rc_osc() 283 hw = ERR_PTR(ret); in at91_clk_register_main_rc_osc() 367 return ERR_PTR(-EINVAL); in at91_clk_register_rm9200_main() 370 return ERR_PTR(-EINVAL); in at91_clk_register_rm9200_main() 374 return ERR_PTR(-ENOMEM); in at91_clk_register_rm9200_main() 389 hw = ERR_PTR(ret); in at91_clk_register_rm9200_main() [all …]
|
/Linux-v5.15/drivers/clk/qcom/ |
D | krait-cc.c | 149 clk = ERR_PTR(-ENOMEM); in krait_add_sec_mux() 185 return ERR_PTR(-ENOMEM); in krait_add_pri_mux() 197 return ERR_PTR(-ENOMEM); in krait_add_pri_mux() 201 clk = ERR_PTR(-ENOMEM); in krait_add_pri_mux() 207 clk = ERR_PTR(-ENOMEM); in krait_add_pri_mux() 213 clk = ERR_PTR(-ENOMEM); in krait_add_pri_mux() 246 return ERR_PTR(-ENOMEM); in krait_add_clks() 254 clk = ERR_PTR(ret); in krait_add_clks() 260 clk = ERR_PTR(ret); in krait_add_clks() 277 return ERR_PTR(-EINVAL); in krait_of_get() [all …]
|
/Linux-v5.15/fs/reiserfs/ |
D | xattr_acl.c | 76 return ERR_PTR(-EINVAL); in reiserfs_posix_acl_from_disk() 79 return ERR_PTR(-EINVAL); in reiserfs_posix_acl_from_disk() 83 return ERR_PTR(-EINVAL); in reiserfs_posix_acl_from_disk() 88 return ERR_PTR(-ENOMEM); in reiserfs_posix_acl_from_disk() 131 return ERR_PTR(-EINVAL); in reiserfs_posix_acl_from_disk() 149 return ERR_PTR(-ENOMEM); in reiserfs_posix_acl_to_disk() 184 return ERR_PTR(-EINVAL); in reiserfs_posix_acl_to_disk() 201 return ERR_PTR(-ECHILD); in reiserfs_get_acl() 218 return ERR_PTR(size); in reiserfs_get_acl() 223 return ERR_PTR(-ENOMEM); in reiserfs_get_acl() [all …]
|
/Linux-v5.15/drivers/gpu/drm/ |
D | drm_edid_load.c | 200 return ERR_PTR(err); in edid_load() 211 edid = ERR_PTR(-EINVAL); in edid_load() 217 edid = ERR_PTR(-ENOMEM); in edid_load() 227 edid = ERR_PTR(-EINVAL); in edid_load() 273 return ERR_PTR(-ENOENT); in drm_load_edid_firmware() 285 return ERR_PTR(-ENOMEM); in drm_load_edid_firmware() 304 return ERR_PTR(-ENOENT); in drm_load_edid_firmware()
|
/Linux-v5.15/drivers/dax/pmem/ |
D | core.c | 33 return ERR_PTR(rc); in __dax_pmem_probe() 36 return ERR_PTR(rc); in __dax_pmem_probe() 46 return ERR_PTR(-EBUSY); in __dax_pmem_probe() 51 return ERR_PTR(-EINVAL); in __dax_pmem_probe() 60 return ERR_PTR(-ENOMEM); in __dax_pmem_probe()
|
/Linux-v5.15/arch/s390/kernel/ |
D | kexec_elf.c | 82 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()
|
/Linux-v5.15/scripts/coccinelle/api/ |
D | err_cast.cocci | 3 /// 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))
|
/Linux-v5.15/drivers/crypto/hisilicon/ |
D | sgl.c | 65 return ERR_PTR(-EINVAL); in hisi_acc_create_sgl_pool() 82 return ERR_PTR(-EINVAL); in hisi_acc_create_sgl_pool() 86 return ERR_PTR(-ENOMEM); in hisi_acc_create_sgl_pool() 128 return ERR_PTR(-ENOMEM); in hisi_acc_create_sgl_pool() 164 return ERR_PTR(-EINVAL); in acc_get_sgl() 231 return ERR_PTR(-EINVAL); in hisi_acc_sg_buf_map_to_hw_sgl() 238 return ERR_PTR(-EINVAL); in hisi_acc_sg_buf_map_to_hw_sgl() 243 return ERR_PTR(-EINVAL); in hisi_acc_sg_buf_map_to_hw_sgl() 250 return ERR_PTR(-ENOMEM); in hisi_acc_sg_buf_map_to_hw_sgl()
|