Home
last modified time | relevance | path

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

/linux-4.1.27/scripts/coccinelle/api/
Derr_cast.cocci2 /// Use ERR_CAST inlined function instead of ERR_PTR(PTR_ERR(...))
11 // Keywords: ERR_PTR, PTR_ERR, ERR_CAST
32 + ERR_CAST(x)
46 msg="WARNING ERR_CAST can be used with %s" % (x)
55 msg="WARNING: ERR_CAST can be used with %s" % (x)
/linux-4.1.27/drivers/video/fbdev/omap2/dss/
Dvideo-pll.c157 return ERR_CAST(pll_base); in dss_video_pll_init()
173 return ERR_CAST(clkctrl_base); in dss_video_pll_init()
181 return ERR_CAST(clk); in dss_video_pll_init()
/linux-4.1.27/Documentation/
Dcoccinelle.txt197 msg="ERR_CAST can be used with %s" % (x)
204 /home/user/linux/crypto/ctr.c:188:9-16: ERR_CAST can be used with alg
205 /home/user/linux/crypto/authenc.c:619:9-16: ERR_CAST can be used with auth
206 /home/user/linux/crypto/xts.c:227:9-16: ERR_CAST can be used with alg
228 + ERR_CAST(x)
242 + return ERR_CAST(alg);
314 msg="ERR_CAST can be used with %s" % (x)
322 * TODO [[view:/home/user/linux/crypto/ctr.c::face=ovl-face1::linb=188::colb=9::cole=16][ERR_CAST ca…
323 …user/linux/crypto/authenc.c::face=ovl-face1::linb=619::colb=9::cole=16][ERR_CAST can be used with …
324 * TODO [[view:/home/user/linux/crypto/xts.c::face=ovl-face1::linb=227::colb=9::cole=16][ERR_CAST ca…
/linux-4.1.27/drivers/mtd/
Dmtdsuper.c97 return ERR_CAST(sb); in mount_mtd_aux()
112 return ERR_CAST(mtd); in mount_mtd_nr()
/linux-4.1.27/crypto/
Dccm.c489 return ERR_CAST(algt); in crypto_ccm_alloc_common()
497 return ERR_CAST(cipher); in crypto_ccm_alloc_common()
581 return ERR_CAST(cipher_name); in crypto_ccm_alloc()
618 return ERR_CAST(ctr_name); in crypto_ccm_base_alloc()
622 return ERR_CAST(cipher_name); in crypto_ccm_base_alloc()
758 return ERR_CAST(algt); in crypto_rfc4309_alloc()
765 return ERR_CAST(ccm_name); in crypto_rfc4309_alloc()
Dgcm.c712 return ERR_CAST(algt); in crypto_gcm_alloc_common()
721 return ERR_CAST(ghash_alg); in crypto_gcm_alloc_common()
801 return ERR_CAST(cipher_name); in crypto_gcm_alloc()
838 return ERR_CAST(ctr_name); in crypto_gcm_base_alloc()
842 return ERR_CAST(ghash_name); in crypto_gcm_base_alloc()
975 return ERR_CAST(algt); in crypto_rfc4106_alloc()
982 return ERR_CAST(ccm_name); in crypto_rfc4106_alloc()
1291 return ERR_CAST(algt); in crypto_rfc4543_alloc()
1298 return ERR_CAST(ccm_name); in crypto_rfc4543_alloc()
Dctr.c194 return ERR_CAST(alg); in crypto_ctr_alloc()
347 return ERR_CAST(algt); in crypto_rfc3686_alloc()
354 return ERR_CAST(cipher_name); in crypto_rfc3686_alloc()
Decb.c131 return ERR_CAST(alg); in crypto_ecb_alloc()
Dalgapi.c657 return ERR_CAST(alg); in crypto_spawn_tfm()
682 return ERR_CAST(alg); in crypto_spawn_tfm2()
767 return ERR_CAST(name); in crypto_attr_alg2()
Dpcrypt.c355 return ERR_CAST(alg); in pcrypt_alloc_aead()
390 return ERR_CAST(algt); in pcrypt_alloc()
Daead.c285 return ERR_CAST(algt); in aead_geniv_alloc()
293 return ERR_CAST(name); in aead_geniv_alloc()
Dcryptd.c866 return ERR_CAST(tfm); in cryptd_alloc_ablkcipher()
900 return ERR_CAST(tfm); in cryptd_alloc_ahash()
942 return ERR_CAST(tfm); in cryptd_alloc_aead()
Dchainiv.c295 return ERR_CAST(algt); in chainiv_alloc()
Dcbc.c227 return ERR_CAST(alg); in crypto_cbc_alloc()
Dpcbc.c237 return ERR_CAST(alg); in crypto_pcbc_alloc()
Dseqiv.c321 return ERR_CAST(algt); in seqiv_alloc()
Dxts.c300 return ERR_CAST(alg); in alloc()
Dcts.c287 return ERR_CAST(alg); in crypto_cts_alloc()
Dauthenc.c609 return ERR_CAST(algt); in crypto_authenc_alloc()
617 return ERR_CAST(auth); in crypto_authenc_alloc()
Dblkcipher.c605 return ERR_CAST(algt); in skcipher_geniv_alloc()
613 return ERR_CAST(name); in skcipher_geniv_alloc()
Dlrw.c339 return ERR_CAST(alg); in alloc()
Dalgif_hash.c357 return ERR_CAST(hash); in hash_bind()
Dauthencesn.c701 return ERR_CAST(algt); in crypto_authenc_esn_alloc()
709 return ERR_CAST(auth); in crypto_authenc_esn_alloc()
Dapi.c137 return ERR_CAST(larval); in crypto_larval_add()
Dahash.c615 return IS_ERR(alg) ? ERR_CAST(alg) : __crypto_hash_alg_common(alg); in ahash_attr_alg()
Dshash.c705 return IS_ERR(alg) ? ERR_CAST(alg) : in shash_attr_alg()
Dmcryptd.c608 return ERR_CAST(tfm); in mcryptd_alloc_ahash()
Dalgif_skcipher.c866 return ERR_CAST(skcipher); in skcipher_bind()
/linux-4.1.27/fs/nfs/
Dnfs4super.c119 mntroot = ERR_CAST(server); in nfs4_remote_mount()
223 return ERR_CAST(root_mnt); in nfs_follow_remote_path()
283 mntroot = ERR_CAST(server); in nfs4_remote_referral_mount()
Dgetroot.c101 ret = ERR_CAST(inode); in nfs_get_root()
Dnfs4namespace.c250 return ERR_CAST(mnt_path); in try_location()
408 return ERR_CAST(client); in nfs4_submount()
Dunlink.c425 struct rpc_task *task = ERR_CAST(data->cred); in nfs_async_rename()
Dsuper.c1855 return ERR_CAST(server); in nfs_try_mount()
2561 mntroot = ERR_CAST(s); in nfs_fs_mount_common()
2636 mntroot = ERR_CAST(nfs_mod); in nfs_fs_mount()
2692 mntroot = ERR_CAST(server); in nfs_xdev_mount()
Dnfs4client.c135 return ERR_CAST(new); in nfs4_find_or_create_ds_client()
Dpagelist.c370 return ERR_CAST(l_ctx); in nfs_create_request()
Dinode.c786 return ERR_CAST(cred); in alloc_nfs_open_context()
Ddir.c1407 res = ERR_CAST(inode); in nfs_lookup()
Dnfs4proc.c2861 return ERR_CAST(state); in nfs4_atomic_open()
7832 return ERR_CAST(task); in nfs4_proc_layoutget()
/linux-4.1.27/include/linux/
Derr.h50 static inline void * __must_check ERR_CAST(__force const void *ptr) in ERR_CAST() function
/linux-4.1.27/fs/qnx6/
Dnamei.c34 return ERR_CAST(foundinode); in qnx6_lookup()
Ddir.c61 return ERR_CAST(page); in qnx6_longname()
Dinode.c553 return ERR_CAST(page); in qnx6_iget()
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/
Ddwmac-meson.c61 return ERR_CAST(dwmac->reg); in meson6_dwmac_setup()
/linux-4.1.27/drivers/base/regmap/
Dregmap-i2c.c251 return ERR_CAST(bus); in regmap_init_i2c()
273 return ERR_CAST(bus); in devm_regmap_init_i2c()
Dregmap-mmio.c318 return ERR_CAST(ctx); in regmap_init_mmio_clk()
344 return ERR_CAST(ctx); in devm_regmap_init_mmio_clk()
/linux-4.1.27/kernel/
Dmodule_signing.c60 return (PTR_ERR(tfm) == -ENOENT) ? ERR_PTR(-ENOPKG) : ERR_CAST(tfm); in mod_make_digest()
176 return ERR_CAST(key); in request_asymmetric_key()
Dsysctl_binary.c1290 result = ERR_CAST(table); in sysctl_getname()
/linux-4.1.27/fs/freevxfs/
Dvxfs_inode.c155 return ERR_CAST(pp); in __vxfs_iget()
308 return ERR_CAST(vip); in vxfs_iget()
Dvxfs_lookup.c218 return ERR_CAST(ip); in vxfs_lookup()
/linux-4.1.27/drivers/gpu/drm/udl/
Dudl_dmabuf.c104 return ERR_CAST(obj->sg); in udl_map_dma_buf()
256 return ERR_CAST(attach); in udl_gem_prime_import()
/linux-4.1.27/fs/ceph/
Dexport.c78 return ERR_CAST(req); in __fh_to_dentry()
136 return ERR_CAST(req); in __get_parent()
Dsuper.c722 return ERR_CAST(req); in open_root_dentry()
937 res = ERR_CAST(fsc); in ceph_mount()
953 res = ERR_CAST(sb); in ceph_mount()
Ddir.c656 return ERR_CAST(req); in ceph_lookup()
/linux-4.1.27/drivers/base/power/
Dopp.c342 return ERR_CAST(dev_opp); in dev_pm_opp_find_freq_ceil()
392 return ERR_CAST(dev_opp); in dev_pm_opp_find_freq_floor()
820 return ERR_CAST(dev_opp); /* matching type */ in dev_pm_opp_get_notifier()
/linux-4.1.27/security/integrity/
Ddigsig_asymmetric.c41 key = ERR_CAST(kref); in request_asymmetric_key()
/linux-4.1.27/drivers/media/platform/ti-vpe/
Dcsc.c188 return ERR_CAST(csc->base); in csc_create()
Dsc.c303 return ERR_CAST(sc->base); in sc_create()
/linux-4.1.27/drivers/tty/serial/
Dserial_mctrl_gpio.c109 return ERR_CAST(gpios->gpio[i]); in mctrl_gpio_init()
/linux-4.1.27/fs/qnx4/
Dnamei.c119 return ERR_CAST(foundinode); in qnx4_lookup()
/linux-4.1.27/fs/efs/
Dnamei.c85 return ERR_CAST(inode); in efs_nfs_get_inode()
/linux-4.1.27/include/linux/pinctrl/
Dconsumer.h177 return ERR_CAST(s); in devm_pinctrl_get_select()
/linux-4.1.27/security/keys/
Dpersistent.c66 return ERR_CAST(persistent); in key_create_persistent()
Drequest_key_auth.c262 authkey = ERR_CAST(authkey_ref); in key_get_instantiation_authkey()
Drequest_key.c555 key = ERR_CAST(key_ref); in request_key_and_link()
Dprocess_keys.c667 key_ref = ERR_CAST(key); in lookup_user_key()
Dkey.c878 key_ref = ERR_CAST(key); in key_create_or_update()
/linux-4.1.27/drivers/gpu/drm/
Ddrm_edid_load.c190 return ERR_CAST(pdev); in edid_load()
Ddrm_gem_cma_helper.c465 return ERR_CAST(cma_obj); in drm_gem_cma_prime_import_sg_table()
Ddrm_atomic.c369 return ERR_CAST(crtc_state); in drm_atomic_get_plane_state()
619 return ERR_CAST(crtc_state); in drm_atomic_get_connector_state()
Ddrm_gem.c505 return ERR_CAST(p); in drm_gem_get_pages()
Ddrm_prime.c522 return ERR_CAST(attach); in drm_gem_prime_import()
/linux-4.1.27/drivers/clk/qcom/
Dcommon.c68 return ERR_CAST(base); in qcom_cc_map()
/linux-4.1.27/drivers/pwm/
Dpwm-lpss.c132 return ERR_CAST(lpwm->regs); in pwm_lpss_probe()
Dcore.c535 pwm = ERR_CAST(pc); in of_pwm_get()
/linux-4.1.27/drivers/clk/tegra/
Dclk-pll.c1466 return ERR_CAST(pll); in tegra_clk_register_pll()
1501 return ERR_CAST(pll); in tegra_clk_register_plle()
1601 return ERR_CAST(pll); in tegra_clk_register_pllxc()
1627 return ERR_CAST(pll); in tegra_clk_register_pllre()
1686 return ERR_CAST(pll); in tegra_clk_register_pllm()
1725 return ERR_CAST(pll); in tegra_clk_register_pllc()
1783 return ERR_CAST(pll); in tegra_clk_register_plle_tegra114()
1845 return ERR_CAST(pll); in tegra_clk_register_pllss()
/linux-4.1.27/fs/isofs/
Dexport.c30 return ERR_CAST(inode); in isofs_export_iget()
/linux-4.1.27/net/rxrpc/
Daf_rxrpc.c246 return ERR_CAST(peer); in rxrpc_name_to_transport()
289 call = ERR_CAST(trans); in rxrpc_kernel_begin_call()
313 call = ERR_CAST(bundle); in rxrpc_kernel_begin_call()
/linux-4.1.27/fs/affs/
Dnamei.c229 return ERR_CAST(bh); in affs_lookup()
244 return ERR_CAST(inode); in affs_lookup()
/linux-4.1.27/fs/
Dsuper.c912 return ERR_CAST(sb); in mount_ns()
963 return ERR_CAST(bdev); in mount_bdev()
1049 return ERR_CAST(s); in mount_nodev()
1075 return ERR_CAST(s); in mount_single()
Dnamespace.c941 return ERR_CAST(root); in vfs_kern_mount()
1150 return ERR_CAST(p); in mnt_clone_internal()
1741 return ERR_CAST(tree); in collect_mounts()
1775 return ERR_CAST(new_mnt); in clone_private_mount()
2795 return ERR_CAST(new); in copy_mnt_ns()
2863 return ERR_CAST(ns); in mount_subtree()
Dnamei.c2088 return ERR_CAST(filename); in kern_path_locked()
3336 return ERR_CAST(filename); in do_file_open_root()
3424 return ERR_CAST(filename); in kern_path_create()
3446 return ERR_CAST(tmp); in user_path_create()
Dlibfs.c227 return ERR_CAST(s); in mount_pseudo()
Dopen.c979 struct file *file = ERR_CAST(name); in filp_open()
Ddcache.c1941 return ERR_CAST(inode); in __d_obtain_alias()
2771 return ERR_CAST(inode); in d_splice_alias()
Daio.c212 return ERR_CAST(inode); in aio_private_file()
Dexec.c801 struct file *f = ERR_CAST(filename); in open_exec()
/linux-4.1.27/drivers/mfd/
Dsyscon.c113 return ERR_CAST(syscon); in syscon_node_to_regmap()
/linux-4.1.27/arch/x86/crypto/
Dfpu.c115 return ERR_CAST(alg); in crypto_fpu_alloc()
/linux-4.1.27/fs/proc/
Droot.c122 return ERR_CAST(sb); in proc_mount()
Dproc_sysctl.c485 return ERR_CAST(head); in proc_sys_lookup()
/linux-4.1.27/fs/kernfs/
Dmount.c165 return ERR_CAST(sb); in kernfs_mount_ns()
/linux-4.1.27/fs/gfs2/
Dexport.c152 return ERR_CAST(inode); in gfs2_get_dentry()
Dops_fstype.c1263 return ERR_CAST(bdev); in gfs2_mount()
1364 return ERR_CAST(s); in gfs2_mount_meta()
Ddir.c1559 return ERR_CAST(dent); in gfs2_dir_search()
Dinode.c843 return ERR_CAST(inode); in __gfs2_lookup()
/linux-4.1.27/lib/
Ddigsig.c213 key = ERR_CAST(kref); in digsig_verify()
/linux-4.1.27/fs/ubifs/
Dlpt.c1465 return ERR_CAST(nnode); in ubifs_lpt_lookup()
1470 return ERR_CAST(pnode); in ubifs_lpt_lookup()
1593 return ERR_CAST(nnode); in ubifs_lpt_lookup_dirty()
1601 return ERR_CAST(nnode); in ubifs_lpt_lookup_dirty()
1604 return ERR_CAST(nnode); in ubifs_lpt_lookup_dirty()
1609 return ERR_CAST(pnode); in ubifs_lpt_lookup_dirty()
1612 return ERR_CAST(pnode); in ubifs_lpt_lookup_dirty()
Dlpt_commit.c646 return ERR_CAST(nnode); in pnode_lookup()
Dsuper.c2109 return ERR_CAST(ubi); in ubifs_mount()
/linux-4.1.27/fs/nilfs2/
Dnamei.c464 return ERR_CAST(inode); in nilfs_get_parent()
486 return ERR_CAST(inode); in nilfs_get_dentry()
Dsuper.c1287 return ERR_CAST(sd.bdev); in nilfs_mount()
/linux-4.1.27/fs/9p/
Dvfs_inode.c557 return ERR_CAST(st); in v9fs_inode_from_fid()
803 return ERR_CAST(dfid); in v9fs_vfs_lookup()
812 return ERR_CAST(fid); in v9fs_vfs_lookup()
825 return ERR_CAST(inode); in v9fs_vfs_lookup()
Dvfs_inode_dotl.c166 return ERR_CAST(st); in v9fs_inode_from_fid_dotl()
928 link = ERR_CAST(fid); in v9fs_vfs_follow_link_dotl()
/linux-4.1.27/drivers/gpu/drm/rockchip/
Drockchip_drm_gem.c173 return ERR_CAST(rk_obj); in rockchip_gem_create_with_handle()
/linux-4.1.27/drivers/thermal/
Dclock_cooling.c432 return ERR_CAST(ccdev->clk); in clock_cooling_register()
/linux-4.1.27/fs/minix/
Dnamei.c33 return ERR_CAST(inode); in minix_lookup()
/linux-4.1.27/fs/btrfs/
Dsuper.c882 return ERR_CAST(di); in get_default_root()
902 return ERR_CAST(new_root); in get_default_root()
921 return ERR_CAST(inode); in get_default_root()
1214 return ERR_CAST(mnt); in mount_subvol()
1229 return ERR_CAST(mnt); in mount_subvol()
Drelocation.c4139 return ERR_CAST(root);
4143 return ERR_CAST(trans);
Ddisk-io.c1419 return ERR_CAST(leaf); in alloc_log_tree()
Dinode.c5635 return ERR_CAST(inode); in btrfs_lookup()
6858 return ERR_CAST(trans); in btrfs_get_extent()
Dextent-tree.c7606 return ERR_CAST(block_rsv); in btrfs_alloc_tree_block()
/linux-4.1.27/drivers/gpu/drm/msm/
Dmsm_gem.c95 return ERR_CAST(msm_obj->sgt); in get_pages()
395 return ERR_CAST(pages); in msm_gem_vaddr_locked()
/linux-4.1.27/fs/cifs/
Dcifs_dfs_ref.c308 mnt = ERR_CAST(tlink); in cifs_dfs_do_automount()
Dcifsfs.c668 return ERR_CAST(volume_info); in cifs_do_mount()
702 root = ERR_CAST(sb); in cifs_do_mount()
Dcifsacl.c876 return ERR_CAST(tlink); in get_cifs_acl_by_fid()
904 return ERR_CAST(tlink); in get_cifs_acl_by_path()
/linux-4.1.27/fs/sysv/
Dnamei.c57 return ERR_CAST(inode); in sysv_lookup()
/linux-4.1.27/drivers/gpu/drm/i915/
Di915_gem_dmabuf.c299 return ERR_CAST(attach); in i915_gem_prime_import()
/linux-4.1.27/ipc/
Dsem.c406 return ERR_CAST(ipcp); in sem_obtain_lock()
426 return ERR_CAST(ipcp); in sem_obtain_object()
437 return ERR_CAST(ipcp); in sem_obtain_object_check()
1711 return ERR_CAST(sma); in find_alloc_undo()
Dmsg.c82 return ERR_CAST(ipcp); in msq_obtain_object()
93 return ERR_CAST(ipcp); in msq_obtain_object_check()
Dshm.c135 return ERR_CAST(ipcp); in shm_obtain_object()
145 return ERR_CAST(ipcp); in shm_obtain_object_check()
/linux-4.1.27/crypto/asymmetric_keys/
Dx509_public_key.c114 return ERR_CAST(key); in x509_request_asymmetric_key()
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
Dllite_nfs.c150 return ERR_CAST(inode); in ll_iget_for_nfs()
Drw.c104 return ERR_CAST(env); in ll_cl_init()
/linux-4.1.27/fs/afs/
Dsecurity.c98 return ERR_CAST(auth_inode); in afs_get_auth_inode()
Ddir.c523 return ERR_CAST(key); in afs_lookup()
558 return ERR_CAST(inode); in afs_lookup()
/linux-4.1.27/fs/jffs2/
Dwrite.c187 return ERR_CAST(hold_err); in jffs2_write_dnode()
327 return ERR_CAST(hold_err); in jffs2_write_dirent()
Dfs.c672 return ERR_CAST(inode); in jffs2_gc_fetch_inode()
/linux-4.1.27/drivers/usb/gadget/function/
Df_subset.c454 return ERR_CAST(net); in geth_alloc_inst()
Df_eem.c596 return ERR_CAST(net); in eem_alloc_inst()
Df_phonet.c663 return ERR_CAST(net); in phonet_alloc_inst()
Df_ecm.c896 return ERR_CAST(net); in ecm_alloc_inst()
Df_rndis.c927 return ERR_CAST(net); in rndis_alloc_inst()
Df_ncm.c1545 return ERR_CAST(net); in ncm_alloc_inst()
Df_fs.c1314 return ERR_CAST(ffs_dev); in ffs_fs_mount()
3191 return ERR_CAST(dev); in ffs_alloc_inst()
/linux-4.1.27/net/ipv4/
Dxfrm4_policy.c38 return ERR_CAST(rt); in __xfrm4_dst_lookup()
Dgeneve.c348 return ERR_CAST(sock); in geneve_socket_create()
Dip_tunnel.c412 return ERR_CAST(dev); in ip_tunnel_create()
/linux-4.1.27/fs/openpromfs/
Dinode.c235 return ERR_CAST(inode); in openpromfs_lookup()
/linux-4.1.27/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_plane.c1010 return ERR_CAST(props); in atmel_hlcdc_create_planes()
1021 return ERR_CAST(plane); in atmel_hlcdc_create_planes()
/linux-4.1.27/fs/bfs/
Ddir.c145 return ERR_CAST(inode); in bfs_lookup()
/linux-4.1.27/fs/udf/
Dnamei.c288 return ERR_CAST(inode); in udf_lookup()
1192 return ERR_CAST(inode); in udf_get_parent()
1212 return ERR_CAST(inode); in udf_nfs_get_inode()
/linux-4.1.27/drivers/staging/android/ion/
Dion.c218 return ERR_CAST(table); in ion_buffer_create()
510 return ERR_CAST(buffer); in ion_alloc()
1163 return ERR_CAST(dmabuf); in ion_import_dma_buf()
/linux-4.1.27/fs/quota/
Dquota.c735 return ERR_CAST(tmp); in quotactl_block()
739 return ERR_CAST(bdev); in quotactl_block()
/linux-4.1.27/fs/omfs/
Ddir.c309 return ERR_CAST(inode); in omfs_lookup()
/linux-4.1.27/drivers/tty/
Dtty_ldisc.c171 return ERR_CAST(ldops); in tty_ldisc_get()
/linux-4.1.27/fs/cramfs/
Dinode.c486 return ERR_CAST(inode); in cramfs_lookup()
/linux-4.1.27/drivers/hwmon/
Dntc_thermistor.c256 return ERR_CAST(chan); in ntc_thermistor_parse_dt()
/linux-4.1.27/drivers/gpu/drm/armada/
Darmada_gem.c571 return ERR_CAST(attach); in armada_gem_prime_import()
/linux-4.1.27/fs/devpts/
Dinode.c468 return ERR_CAST(s); in devpts_mount()
/linux-4.1.27/drivers/gpu/drm/tegra/
Dgem.c656 return ERR_CAST(bo); in tegra_gem_prime_import()
/linux-4.1.27/drivers/dma-buf/
Ddma-buf.c327 return ERR_CAST(file); in dma_buf_export()
/linux-4.1.27/drivers/infiniband/hw/usnic/
Dusnic_ib_qp_grp.c271 return ERR_CAST(sock); in create_udp_flow()
/linux-4.1.27/fs/hfsplus/
Ddir.c120 return ERR_CAST(inode); in hfsplus_lookup()
/linux-4.1.27/fs/nfsd/
Dexport.c928 return ERR_CAST(ek); in exp_find()
934 return ERR_CAST(exp); in exp_find()
/linux-4.1.27/drivers/pinctrl/meson/
Dpinctrl-meson.c634 return ERR_CAST(base); in meson_map_resource()
/linux-4.1.27/fs/logfs/
Dsuper.c526 return ERR_CAST(sb); in logfs_get_sb_device()
Ddir.c343 return ERR_CAST(page); in logfs_lookup()
/linux-4.1.27/drivers/target/iscsi/
Discsi_target_tpg.c489 return ERR_CAST(np); in iscsit_tpg_add_network_portal()
Discsi_target_configfs.c324 return ERR_CAST(tpg_np); in lio_target_call_addnptotpg()
1527 return ERR_CAST(tiqn); in lio_target_call_coreaddtiqn()
/linux-4.1.27/net/core/
Dnet_namespace.c429 return ERR_CAST(file); in get_net_ns_by_fd()
/linux-4.1.27/fs/befs/
Dlinuxvfs.c204 return ERR_CAST(inode); in befs_lookup()
/linux-4.1.27/fs/f2fs/
Dnamei.c247 return ERR_CAST(inode); in f2fs_lookup()
Dsuper.c773 return ERR_CAST(inode); in f2fs_nfs_get_inode()
/linux-4.1.27/net/xfrm/
Dxfrm_policy.c1186 return ERR_CAST(pol); in xfrm_policy_lookup()
1863 return ERR_CAST(dst); in xfrm_resolve_and_create_bundle()
2146 return ERR_CAST(xdst); in xfrm_bundle_lookup()
2496 pol = ERR_CAST(flo); in __xfrm_policy_check()
/linux-4.1.27/fs/reiserfs/
Dxattr.c385 return ERR_CAST(xadir); in xattr_lookup()
/linux-4.1.27/drivers/misc/sgi-gru/
Dgrumain.c366 return ERR_CAST(gms); in gru_alloc_gts()
/linux-4.1.27/fs/exofs/
Dsuper.c971 return ERR_CAST(inode); in exofs_nfs_get_inode()
/linux-4.1.27/drivers/target/
Dtarget_core_fabric_configfs.c511 return ERR_CAST(se_nacl); in target_fabric_make_nodeacl()
Dtarget_core_configfs.c2827 return ERR_CAST(hba); in target_core_call_addhbatotarget()
/linux-4.1.27/sound/soc/intel/common/
Dsst-firmware.c191 return ERR_CAST(chip->regs); in dw_probe()
/linux-4.1.27/drivers/thermal/ti-soc-thermal/
Dti-bandgap.c1248 return ERR_CAST(chunk); in ti_bandgap_build()
/linux-4.1.27/net/mac80211/
Dkey.c1158 return ERR_CAST(key); in ieee80211_gtk_rekey_add()
/linux-4.1.27/fs/jfs/
Dnamei.c1474 return ERR_CAST(inode); in jfs_nfs_get_inode()
/linux-4.1.27/drivers/s390/char/
Draw3270.c806 return ERR_CAST(cdev); in raw3270_setup_console()
/linux-4.1.27/drivers/mmc/host/
Dsdhci-pci.c1423 return ERR_CAST(host); in sdhci_pci_probe_slot()
/linux-4.1.27/drivers/gpio/
Dgpiolib.c2193 return ERR_CAST(desc); in gpiod_get_array()
/linux-4.1.27/fs/ext2/
Dsuper.c353 return ERR_CAST(inode); in ext2_nfs_get_inode()
/linux-4.1.27/drivers/usb/gadget/
Dconfigfs.c572 return ERR_CAST(fi); in function_make()
Dcomposite.c1188 return ERR_CAST(uc); in usb_gstrings_attach()
/linux-4.1.27/net/bluetooth/
Dsmp.c3114 return ERR_CAST(tfm_aes); in smp_add_cid()
3122 return ERR_CAST(tfm_cmac); in smp_add_cid()
/linux-4.1.27/fs/ufs/
Dsuper.c122 return ERR_CAST(inode); in ufs_nfs_get_inode()
/linux-4.1.27/drivers/s390/cio/
Ddevice.c1636 return ERR_CAST(sch); in ccw_device_create_console()
/linux-4.1.27/mm/
Dvmalloc.c837 return ERR_CAST(va); in new_vmap_block()
Dshmem.c3322 return ERR_CAST(shm_mnt); in __shmem_file_setup()
/linux-4.1.27/net/sunrpc/auth_gss/
Dauth_gss.c1196 return ERR_CAST(gss_auth); in gss_create()
/linux-4.1.27/fs/ext3/
Dsuper.c714 return ERR_CAST(inode); in ext3_nfs_get_inode()
/linux-4.1.27/drivers/net/
Dvxlan.c2525 return ERR_CAST(sock); in vxlan_socket_create()
/linux-4.1.27/fs/ext4/
Dsuper.c1009 return ERR_CAST(inode); in ext4_nfs_get_inode()