Lines Matching refs:devm_kmalloc
823 * devm_kmalloc - Resource-managed kmalloc
835 void *devm_kmalloc(struct device *dev, size_t size, gfp_t gfp)
855 EXPORT_SYMBOL_GPL(devm_kmalloc);
864 * Managed krealloc(). Resizes the memory chunk allocated with devm_kmalloc().
866 * it's the equivalent of devm_kmalloc(). If new_size is zero, it frees the
869 * will be called (except when falling back to devm_kmalloc() or when freeing
885 return devm_kmalloc(dev, new_size, gfp);
915 * is delivered to it directly as devm_kmalloc() does.
962 * @gfp: the GFP mask used in the devm_kmalloc() call when
976 buf = devm_kmalloc(dev, size, gfp);
1009 * @gfp: the GFP mask used in the devm_kmalloc() call when
1027 p = devm_kmalloc(dev, len+1, gfp);
1041 * @gfp: the GFP mask used in the devm_kmalloc() call when
1066 * Free memory allocated with devm_kmalloc().
1098 p = devm_kmalloc(dev, len, gfp);