Home
last modified time | relevance | path

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

12345678910>>...19

/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
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)
/openbmc/linux/fs/ext4/
H A Dsymlink.c44 return ERR_CAST(bh); in ext4_encrypted_get_link()
96 return ERR_CAST(bh); in ext4_get_link()
102 return ERR_CAST(bh); in ext4_get_link()
/openbmc/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()
/openbmc/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()
/openbmc/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()
/openbmc/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()
/openbmc/linux/fs/ceph/
H A Dexport.c145 return ERR_CAST(req); in __lookup_inode()
189 return ERR_CAST(inode); in __fh_to_dentry()
244 return ERR_CAST(req); in __snapfh_to_dentry()
288 return ERR_CAST(inode); in __snapfh_to_dentry()
329 return ERR_CAST(req); in __get_parent()
378 dn = ERR_CAST(dir); in ceph_get_parent()
389 dn = ERR_CAST(snapdir); in ceph_get_parent()
/openbmc/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()
/openbmc/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()
/openbmc/linux/include/linux/pinctrl/
H A Dconsumer.h161 return ERR_CAST(s); in pinctrl_get_select()
192 return ERR_CAST(s); in devm_pinctrl_get_select()
/openbmc/u-boot/include/linux/
H A Derr.h51 static inline void * __must_check ERR_CAST(__force const void *ptr) in ERR_CAST() function
/openbmc/u-boot/doc/
H A DREADME.coccinelle358 msg="ERR_CAST can be used with %s" % (x)
365 /home/user/linux/crypto/ctr.c:188:9-16: ERR_CAST can be used with alg
366 /home/user/linux/crypto/authenc.c:619:9-16: ERR_CAST can be used with auth
367 /home/user/linux/crypto/xts.c:227:9-16: ERR_CAST can be used with alg
391 + ERR_CAST(x)
405 + return ERR_CAST(alg);
481 msg="ERR_CAST can be used with %s" % (x)
489 …ome/user/linux/crypto/ctr.c::face=ovl-face1::linb=188::colb=9::cole=16][ERR_CAST can be used with …
490 …user/linux/crypto/authenc.c::face=ovl-face1::linb=619::colb=9::cole=16][ERR_CAST can be used with …
491 …ome/user/linux/crypto/xts.c::face=ovl-face1::linb=227::colb=9::cole=16][ERR_CAST can be used with …
/openbmc/linux/drivers/interconnect/qcom/
H A Dicc-common.c19 return ERR_CAST(node); in qcom_icc_xlate_extended()
/openbmc/linux/tools/include/linux/
H A Derr.h70 static inline void * __must_check ERR_CAST(__force const void *ptr) in ERR_CAST() function
/openbmc/linux/include/linux/
H A Derr.h82 static inline void * __must_check ERR_CAST(__force const void *ptr) in ERR_CAST() function
/openbmc/linux/drivers/clk/renesas/
H A Drcar-gen3-cpg.c359 return ERR_CAST(parent); in rcar_gen3_cpg_clk_register()
454 return ERR_CAST(parent); in rcar_gen3_cpg_clk_register()
485 return ERR_CAST(parent); in rcar_gen3_cpg_clk_register()
515 return ERR_CAST(parent); in rcar_gen3_cpg_clk_register()
/openbmc/linux/Documentation/dev-tools/
H A Dcoccinelle.rst386 msg="ERR_CAST can be used with %s" % (x)
393 /home/user/linux/crypto/ctr.c:188:9-16: ERR_CAST can be used with alg
394 /home/user/linux/crypto/authenc.c:619:9-16: ERR_CAST can be used with auth
395 /home/user/linux/crypto/xts.c:227:9-16: ERR_CAST can be used with alg
419 + ERR_CAST(x)
433 + return ERR_CAST(alg);
509 msg="ERR_CAST can be used with %s" % (x)
517 …ome/user/linux/crypto/ctr.c::face=ovl-face1::linb=188::colb=9::cole=16][ERR_CAST can be used with …
518 …user/linux/crypto/authenc.c::face=ovl-face1::linb=619::colb=9::cole=16][ERR_CAST can be used with …
519 …ome/user/linux/crypto/xts.c::face=ovl-face1::linb=227::colb=9::cole=16][ERR_CAST can be used with …
/openbmc/linux/include/linux/mfd/
H A Docelot.h33 return ERR_CAST(regs); in ocelot_regmap_from_resource_optional()
/openbmc/linux/fs/nfs/
H A Dsymlink.c72 return ERR_CAST(page); in nfs_get_link()

12345678910>>...19