Home
last modified time | relevance | path

Searched refs:ERR_CAST (Results 1 – 25 of 435) sorted by relevance

12345678910>>...18

/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
33 + ERR_CAST(x)
47 msg="WARNING ERR_CAST can be used with %s" % (x)
56 msg="WARNING: ERR_CAST can be used with %s" % (x)
/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Dvideo-pll.c143 return ERR_CAST(pll_base); in dss_video_pll_init()
151 return ERR_CAST(clkctrl_base); in dss_video_pll_init()
159 return ERR_CAST(clk); in dss_video_pll_init()
/linux/drivers/gpu/drm/omapdrm/dss/
H A Dvideo-pll.c150 return ERR_CAST(pll_base); in dss_video_pll_init()
156 return ERR_CAST(clkctrl_base); in dss_video_pll_init()
163 return ERR_CAST(clk); in dss_video_pll_init()
/linux/lib/kunit/
H A Ddevice.c156 return ERR_CAST(kunit_dev); in kunit_device_register_with_driver()
173 return ERR_CAST(drv); in kunit_device_register()
178 return ERR_CAST(dev); in kunit_device_register()
/linux/drivers/gpu/drm/i915/gem/selftests/
H A Dmock_context.c88 return ERR_CAST(pc); in live_context()
131 return ERR_CAST(ce); in live_context_for_engine()
157 return ERR_CAST(pc); in kernel_context()
H A Digt_gem_utils.c33 return ERR_CAST(ce); in igt_request_alloc()
57 return ERR_CAST(obj); in igt_emit_store_dw()
/linux/drivers/base/regmap/
H A Dregmap-slimbus.c49 return ERR_CAST(bus); in __regmap_init_slimbus()
64 return ERR_CAST(bus); in __devm_regmap_init_slimbus()
H A Dregmap-sccb.c106 return ERR_CAST(bus); in __regmap_init_sccb()
121 return ERR_CAST(bus); in __devm_regmap_init_sccb()
H A Dregmap-spi-avmm.c677 return ERR_CAST(bridge); in __regmap_init_spi_avmm()
683 return ERR_CAST(map); in __regmap_init_spi_avmm()
700 return ERR_CAST(bridge); in __devm_regmap_init_spi_avmm()
706 return ERR_CAST(map); in __devm_regmap_init_spi_avmm()
H A Dregmap-fsi.c212 return ERR_CAST(bus); in __regmap_init_fsi()
225 return ERR_CAST(bus); in __devm_regmap_init_fsi()
H A Dregmap-spi.c147 return ERR_CAST(bus); in __regmap_init_spi()
161 return ERR_CAST(bus); in __devm_regmap_init_spi()
H A Dregmap-w1.c214 return ERR_CAST(bus); in __regmap_init_w1()
230 return ERR_CAST(bus); in __devm_regmap_init_w1()
/linux/drivers/gpu/drm/msm/disp/mdp4/
H A Dmdp4_dtv_encoder.c171 return ERR_CAST(mdp4_dtv_encoder); in mdp4_dtv_encoder_init()
180 return ERR_CAST(mdp4_dtv_encoder->hdmi_clk); in mdp4_dtv_encoder_init()
186 return ERR_CAST(mdp4_dtv_encoder->mdp_clk); in mdp4_dtv_encoder_init()
/linux/fs/smb/client/
H A Dnamespace.c207 return ERR_CAST(fc); in cifs_do_automount()
214 mnt = ERR_CAST(full_path); in cifs_do_automount()
239 mnt = ERR_CAST(ctx->source); in cifs_do_automount()
/linux/drivers/gpu/drm/i915/gt/
H A Dselftest_ring_submission.c18 return ERR_CAST(obj); in create_wally()
41 return ERR_CAST(cs); in create_wally()
63 vma = ERR_CAST(vma->private); in create_wally()
/linux/fs/ext4/
H A Dsymlink.c44 return ERR_CAST(bh); in ext4_encrypted_get_link()
104 return ERR_CAST(bh); in ext4_get_link()
/linux/fs/ceph/
H A Dexport.c147 return ERR_CAST(req); in __lookup_inode()
191 return ERR_CAST(inode); in __fh_to_dentry()
247 return ERR_CAST(req); in __snapfh_to_dentry()
330 return ERR_CAST(req); in __get_parent()
380 dn = ERR_CAST(dir); in ceph_get_parent()
391 dn = ERR_CAST(snapdir); in ceph_get_parent()
/linux/include/linux/pinctrl/
H A Dconsumer.h172 return ERR_CAST(s); in pinctrl_get_select()
203 return ERR_CAST(s); in devm_pinctrl_get_select()
/linux/Documentation/dev-tools/
H A Dcoccinelle.rst378 msg="ERR_CAST can be used with %s" % (x)
385 /home/user/linux/crypto/ctr.c:188:9-16: ERR_CAST can be used with alg
386 /home/user/linux/crypto/authenc.c:619:9-16: ERR_CAST can be used with auth
387 /home/user/linux/crypto/xts.c:227:9-16: ERR_CAST can be used with alg
411 + ERR_CAST(x)
425 + return ERR_CAST(alg);
501 msg="ERR_CAST can be used with %s" % (x)
509 …ome/user/linux/crypto/ctr.c::face=ovl-face1::linb=188::colb=9::cole=16][ERR_CAST can be used with …
510 …user/linux/crypto/authenc.c::face=ovl-face1::linb=619::colb=9::cole=16][ERR_CAST can be used with …
511 …ome/user/linux/crypto/xts.c::face=ovl-face1::linb=227::colb=9::cole=16][ERR_CAST can be used with …
/linux/drivers/clk/renesas/
H A Drcar-gen3-cpg.c358 return ERR_CAST(parent); in rcar_gen3_cpg_clk_register()
453 return ERR_CAST(parent); in rcar_gen3_cpg_clk_register()
484 return ERR_CAST(parent); in rcar_gen3_cpg_clk_register()
514 return ERR_CAST(parent); in rcar_gen3_cpg_clk_register()
/linux/drivers/mmc/host/
H A Dsdhci-pltfm.c118 return ERR_CAST(ioaddr); in sdhci_pltfm_init()
128 return ERR_CAST(host); in sdhci_pltfm_init()
/linux/drivers/interconnect/qcom/
H A Dicc-common.c20 return ERR_CAST(node); in qcom_icc_xlate_extended()
/linux/tools/include/linux/
H A Derr.h70 static inline void * __must_check ERR_CAST(__force const void *ptr) in ERR_CAST() function
/linux/include/linux/
H A Derr.h91 static inline void * __must_check ERR_CAST(__force const void *ptr) in ERR_CAST() function
/linux/drivers/clk/tegra/
H A Dclk-pll.c1932 return ERR_CAST(pll); in tegra_clk_register_pll()
1966 return ERR_CAST(pll); in tegra_clk_register_plle()
1987 return ERR_CAST(pll); in tegra_clk_register_pllu()
2096 return ERR_CAST(pll); in tegra_clk_register_pllxc()
2124 return ERR_CAST(pll); in tegra_clk_register_pllre()
2187 return ERR_CAST(pll); in tegra_clk_register_pllm()
2226 return ERR_CAST(pll); in tegra_clk_register_pllc()
2282 return ERR_CAST(pll); in tegra_clk_register_plle_tegra114()
2307 return ERR_CAST(pll); in tegra_clk_register_pllu_tegra114()
2353 return ERR_CAST(pll); in tegra_clk_register_pllss()
[all …]

12345678910>>...18