Lines Matching refs:devm_kmalloc
814 * devm_kmalloc - Resource-managed kmalloc
826 void *devm_kmalloc(struct device *dev, size_t size, gfp_t gfp)
846 EXPORT_SYMBOL_GPL(devm_kmalloc);
855 * Managed krealloc(). Resizes the memory chunk allocated with devm_kmalloc().
857 * it's the equivalent of devm_kmalloc(). If new_size is zero, it frees the
860 * will be called (except when falling back to devm_kmalloc() or when freeing
876 return devm_kmalloc(dev, new_size, gfp);
950 * @gfp: the GFP mask used in the devm_kmalloc() call when
964 buf = devm_kmalloc(dev, size, gfp);
997 * @gfp: the GFP mask used in the devm_kmalloc() call when
1015 p = devm_kmalloc(dev, len+1, gfp);
1029 * @gfp: the GFP mask used in the devm_kmalloc() call when
1054 * Free memory allocated with devm_kmalloc().
1086 p = devm_kmalloc(dev, len, gfp);