Home
last modified time | relevance | path

Searched refs:DEFINE_FREE (Results 1 – 25 of 43) sorted by relevance

12

/linux-6.15/include/linux/
H A Dmnt_namespace.h17 DEFINE_FREE(put_mnt_ns, struct mnt_namespace *, if (!IS_ERR_OR_NULL(_T)) put_mnt_ns(_T))
H A Dexecmem.h180 DEFINE_FREE(execmem, void *, if (_T) execmem_free(_T));
H A Dfwctl.h116 DEFINE_FREE(fwctl, struct fwctl_device *, if (_T) fwctl_put(_T));
H A Dnsproxy.h126 DEFINE_FREE(put_nsproxy, struct nsproxy *, if (_T) put_nsproxy(_T))
H A Dslab.h476 DEFINE_FREE(kfree, void *, if (!IS_ERR_OR_NULL(_T)) kfree(_T))
477 DEFINE_FREE(kfree_sensitive, void *, if (_T) kfree_sensitive(_T))
1081 DEFINE_FREE(kvfree, void *, if (!IS_ERR_OR_NULL(_T)) kvfree(_T))
H A Dpercpu.h158 DEFINE_FREE(free_percpu, void __percpu *, free_percpu(_T))
H A Dfile.h97 DEFINE_FREE(fput, struct file *, if (!IS_ERR_OR_NULL(_T)) fput(_T))
H A Dfirmware.h214 DEFINE_FREE(firmware, struct firmware *, release_firmware(_T))
H A Dcleanup.h197 #define DEFINE_FREE(_name, _type, _free) \ macro
H A Ddevice.h983 DEFINE_FREE(device_del, struct device *, if (_T) device_del(_T))
1178 DEFINE_FREE(put_device, struct device *, if (_T) put_device(_T))
H A Dstring.h316 DEFINE_FREE(argv_free, char **, if (!IS_ERR_OR_NULL(_T)) argv_free(_T))
/linux-6.15/include/linux/firmware/qcom/
H A Dqcom_tzmem.h52 DEFINE_FREE(qcom_tzmem, void *, if (_T) qcom_tzmem_free(_T))
/linux-6.15/crypto/asymmetric_keys/
H A Dx509_parser.h48 DEFINE_FREE(x509_free_certificate, struct x509_certificate *,
/linux-6.15/security/landlock/
H A Druleset.h200 DEFINE_FREE(landlock_put_ruleset, struct landlock_ruleset *,
/linux-6.15/include/linux/sched/
H A Dtask.h173 DEFINE_FREE(put_task, struct task_struct *, if (_T) put_task_struct(_T)) in DEFINE_FREE() function
/linux-6.15/fs/pstore/
H A Dinode.c38 DEFINE_FREE(pstore_iput, struct inode *, if (_T) iput(_T))
66 DEFINE_FREE(pstore_private, struct pstore_private *, free_pstore_private(_T));
/linux-6.15/drivers/cxl/
H A Dcxl.h740 DEFINE_FREE(put_cxl_root, struct cxl_root *, if (_T) put_cxl_root(_T))
742 DEFINE_FREE(put_cxl_port, struct cxl_port *, if (!IS_ERR_OR_NULL(_T)) put_device(&_T->dev))
H A Dacpi.c340 DEFINE_FREE(put_cxlrd, struct cxl_root_decoder *,
342 DEFINE_FREE(del_cxl_resource, struct resource *, if (_T) del_cxl_resource(_T)) in DEFINE_FREE() function
/linux-6.15/drivers/platform/x86/intel/pmc/
H A Dcore_ssram.c32 DEFINE_FREE(pmc_core_iounmap, void __iomem *, if (_T) iounmap(_T)) in DEFINE_FREE() function
/linux-6.15/net/core/
H A Ddev.h37 DEFINE_FREE(netdev_unlock, struct net_device *, if (_T) netdev_unlock(_T));
/linux-6.15/drivers/fwctl/mlx5/
H A Dmain.c28 DEFINE_FREE(mlx5ctl, struct mlx5ctl_dev *, if (_T) fwctl_put(&_T->fwctl));
/linux-6.15/drivers/thermal/testing/
H A Dzone.c308 DEFINE_FREE(put_tt_zone, struct tt_thermal_zone *,
/linux-6.15/include/linux/gpio/
H A Ddriver.h681 DEFINE_FREE(gpio_device_put, struct gpio_device *,
/linux-6.15/drivers/cxl/core/
H A Dcdat.c401 DEFINE_FREE(dsmas, struct xarray *, if (_T) discard_dsmas(_T)) in DEFINE_FREE() function
739 DEFINE_FREE(free_perf_xa, struct xarray *, if (_T) free_perf_xa(_T)) in DEFINE_FREE() function
/linux-6.15/fs/btrfs/
H A Dctree.h611 DEFINE_FREE(btrfs_free_path, struct btrfs_path *, btrfs_free_path(_T))

12