/kernel/linux/linux-5.10/drivers/tee/ |
D | tee_shm.c | 71 return ERR_PTR(-EINVAL); in tee_shm_alloc() 76 return ERR_PTR(-EINVAL); in tee_shm_alloc() 80 return ERR_PTR(-EINVAL); in tee_shm_alloc() 84 ret = ERR_PTR(-EINVAL); in tee_shm_alloc() 90 ret = ERR_PTR(-ENOMEM); in tee_shm_alloc() 104 ret = ERR_PTR(rc); in tee_shm_alloc() 113 ret = ERR_PTR(shm->id); in tee_shm_alloc() 162 return ERR_PTR(-ENOTSUPP); in tee_shm_register() 165 return ERR_PTR(-EINVAL); in tee_shm_register() 170 return ERR_PTR(-ENOTSUPP); in tee_shm_register() [all …]
|
/kernel/linux/linux-5.10/fs/hmdfs/ |
D | inode_root.c | 27 return ERR_PTR(-ESTALE); in fill_device_local_inode() 34 return ERR_PTR(-ENOMEM); in fill_device_local_inode() 71 return ERR_PTR(-ENOENT); in fill_device_inode_remote() 76 inode = ERR_PTR(-ENOMEM); in fill_device_inode_remote() 107 inode = ERR_PTR(-ENOMEM); in fill_device_inode_cloud() 150 ret_dentry = ERR_PTR(err); in hmdfs_device_lookup() 161 ret_dentry = ERR_PTR(err); in hmdfs_device_lookup() 168 ret_dentry = ERR_PTR(err); in hmdfs_device_lookup() 177 ret_dentry = ERR_PTR(err); in hmdfs_device_lookup() 184 ret_dentry = ERR_PTR(err); in hmdfs_device_lookup() [all …]
|
/kernel/linux/linux-5.10/include/linux/mfd/ |
D | syscon.h | 34 return ERR_PTR(-ENOTSUPP); in device_node_to_regmap() 39 return ERR_PTR(-ENOTSUPP); in syscon_node_to_regmap() 44 return ERR_PTR(-ENOTSUPP); in syscon_regmap_lookup_by_compatible() 51 return ERR_PTR(-ENOTSUPP); in syscon_regmap_lookup_by_phandle() 60 return ERR_PTR(-ENOTSUPP); in syscon_regmap_lookup_by_phandle_args()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/usb/typec/ |
D | mux.c | 48 return dev ? to_typec_switch(dev) : ERR_PTR(-EPROBE_DEFER); in typec_switch_match() 116 return ERR_PTR(-EINVAL); in typec_switch_register() 120 return ERR_PTR(-ENOMEM); in typec_switch_register() 133 return ERR_PTR(ret); in typec_switch_register() 140 return ERR_PTR(ret); in typec_switch_register() 223 return ERR_PTR(-ENOMEM); in typec_mux_match() 228 return ERR_PTR(ret); in typec_mux_match() 245 return dev ? to_typec_mux(dev) : ERR_PTR(-EPROBE_DEFER); in typec_mux_match() 323 return ERR_PTR(-EINVAL); in typec_mux_register() 327 return ERR_PTR(-ENOMEM); in typec_mux_register() [all …]
|
/kernel/linux/linux-5.10/include/linux/ |
D | pm_opp.h | 163 return ERR_PTR(-ENOTSUPP); in dev_pm_opp_get_opp_table() 168 return ERR_PTR(-ENOTSUPP); in dev_pm_opp_get_opp_table_indexed() 221 return ERR_PTR(-ENOTSUPP); in dev_pm_opp_find_freq_exact() 227 return ERR_PTR(-ENOTSUPP); in dev_pm_opp_find_level_exact() 233 return ERR_PTR(-ENOTSUPP); in dev_pm_opp_find_freq_floor() 239 return ERR_PTR(-ENOTSUPP); in dev_pm_opp_find_freq_ceil_by_volt() 245 return ERR_PTR(-ENOTSUPP); in dev_pm_opp_find_freq_ceil() 296 return ERR_PTR(-ENOTSUPP); in dev_pm_opp_set_supported_hw() 304 return ERR_PTR(-ENOTSUPP); in dev_pm_opp_register_set_opp_helper() 311 return ERR_PTR(-ENOTSUPP); in dev_pm_opp_set_prop_name() [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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() 165 return ERR_PTR(-ENOMEM); in ext2_get_acl() 173 acl = ERR_PTR(retval); in ext2_get_acl()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/fs/cifs/ |
D | cifs_dfs_ref.c | 73 return ERR_PTR(-EINVAL); in cifs_build_devname() 93 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() 252 mountdata = ERR_PTR(rc); in cifs_compose_mount_options() 277 return ERR_PTR(-ENOMEM); in cifs_dfs_do_mount() 317 mnt = ERR_PTR(-ENOMEM); in cifs_dfs_do_automount() 321 mnt = ERR_PTR(-EREMOTE); in cifs_dfs_do_automount() 347 mnt = ERR_PTR(-ENOMEM); in cifs_dfs_do_automount() 370 mnt = ERR_PTR(rc); in cifs_dfs_do_automount()
|
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/ |
D | sgl.c | 65 return ERR_PTR(-EINVAL); in hisi_acc_create_sgl_pool() 77 return ERR_PTR(-EINVAL); in hisi_acc_create_sgl_pool() 81 return ERR_PTR(-ENOMEM); in hisi_acc_create_sgl_pool() 118 return ERR_PTR(-ENOMEM); in hisi_acc_create_sgl_pool() 154 return ERR_PTR(-EINVAL); in acc_get_sgl() 208 return ERR_PTR(-EINVAL); in hisi_acc_sg_buf_map_to_hw_sgl() 214 return ERR_PTR(-EINVAL); in hisi_acc_sg_buf_map_to_hw_sgl() 218 return ERR_PTR(-EINVAL); in hisi_acc_sg_buf_map_to_hw_sgl() 224 return ERR_PTR(-ENOMEM); in hisi_acc_sg_buf_map_to_hw_sgl()
|
/kernel/linux/linux-5.10/drivers/phy/ |
D | phy-core.c | 128 return pl ? pl->phy : ERR_PTR(-ENODEV); in phy_find() 145 return ERR_PTR(-EPROBE_DEFER); in of_phy_provider_lookup() 507 return ERR_PTR(-ENODEV); in _of_phy_get() 511 return ERR_PTR(-ENODEV); in _of_phy_get() 516 phy = ERR_PTR(-EPROBE_DEFER); in _of_phy_get() 522 phy = ERR_PTR(-ENODEV); in _of_phy_get() 560 return ERR_PTR(-EPROBE_DEFER); in of_phy_get() 650 return ERR_PTR(-ENODEV); in of_phy_simple_xlate() 672 return ERR_PTR(-EINVAL); in phy_get() 686 return ERR_PTR(-EPROBE_DEFER); in phy_get() [all …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/reset/ |
D | core.c | 559 return ERR_PTR(-EBUSY); in __reset_control_get_internal() 568 return ERR_PTR(-ENOMEM); in __reset_control_get_internal() 572 return ERR_PTR(-ENODEV); in __reset_control_get_internal() 616 return ERR_PTR(-EINVAL); in __of_reset_control_get() 622 return ERR_PTR(index); in __of_reset_control_get() 624 return optional ? NULL : ERR_PTR(-ENOENT); in __of_reset_control_get() 630 return ERR_PTR(ret); in __of_reset_control_get() 632 return optional ? NULL : ERR_PTR(ret); in __of_reset_control_get() 644 rstc = ERR_PTR(-EPROBE_DEFER); in __of_reset_control_get() 649 rstc = ERR_PTR(-EINVAL); in __of_reset_control_get() [all …]
|
/kernel/linux/linux-5.10/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))
|
/kernel/linux/linux-5.10/fs/fuse/ |
D | acl.c | 23 return ERR_PTR(-EIO); in fuse_get_acl() 33 return ERR_PTR(-EOPNOTSUPP); in fuse_get_acl() 37 return ERR_PTR(-ENOMEM); in fuse_get_acl() 45 acl = ERR_PTR(-E2BIG); in fuse_get_acl() 47 acl = ERR_PTR(size); in fuse_get_acl()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/fs/reiserfs/ |
D | xattr_acl.c | 74 return ERR_PTR(-EINVAL); in reiserfs_posix_acl_from_disk() 77 return ERR_PTR(-EINVAL); in reiserfs_posix_acl_from_disk() 81 return ERR_PTR(-EINVAL); in reiserfs_posix_acl_from_disk() 86 return ERR_PTR(-ENOMEM); in reiserfs_posix_acl_from_disk() 129 return ERR_PTR(-EINVAL); in reiserfs_posix_acl_from_disk() 147 return ERR_PTR(-ENOMEM); in reiserfs_posix_acl_to_disk() 182 return ERR_PTR(-EINVAL); in reiserfs_posix_acl_to_disk() 213 return ERR_PTR(size); in reiserfs_get_acl() 218 return ERR_PTR(-ENOMEM); in reiserfs_get_acl() 228 acl = ERR_PTR(retval); in reiserfs_get_acl()
|
/kernel/linux/linux-5.10/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() 196 return ERR_PTR(-ENOMEM); in jffs2_get_acl() 204 acl = ERR_PTR(rc); in jffs2_get_acl()
|
/kernel/linux/linux-5.10/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() 166 return ERR_PTR(-ENOMEM); in ext4_get_acl() 174 acl = ERR_PTR(retval); in ext4_get_acl()
|
/kernel/linux/linux-5.10/fs/squashfs/ |
D | xattr_id.c | 80 return ERR_PTR(-EINVAL); in squashfs_read_xattr_id_table() 93 return ERR_PTR(-EINVAL); in squashfs_read_xattr_id_table() 115 return ERR_PTR(-EINVAL); in squashfs_read_xattr_id_table() 123 return ERR_PTR(-EINVAL); in squashfs_read_xattr_id_table() 128 return ERR_PTR(-EINVAL); in squashfs_read_xattr_id_table()
|