Lines Matching refs:devm_kmalloc
809 * devm_kmalloc - Resource-managed kmalloc
821 void *devm_kmalloc(struct device *dev, size_t size, gfp_t gfp)
841 EXPORT_SYMBOL_GPL(devm_kmalloc);
850 * Managed krealloc(). Resizes the memory chunk allocated with devm_kmalloc().
852 * it's the equivalent of devm_kmalloc(). If new_size is zero, it frees the
855 * will be called (except when falling back to devm_kmalloc() or when freeing
871 return devm_kmalloc(dev, new_size, gfp);
945 * @gfp: the GFP mask used in the devm_kmalloc() call when
959 buf = devm_kmalloc(dev, size, gfp);
992 * @gfp: the GFP mask used in the devm_kmalloc() call when
1010 p = devm_kmalloc(dev, len+1, gfp);
1024 * @gfp: the GFP mask used in the devm_kmalloc() call when
1049 * Free memory allocated with devm_kmalloc().
1081 p = devm_kmalloc(dev, len, gfp);