Lines Matching refs:gfp

108 						size_t size, gfp_t gfp, int nid)  in alloc_dr()  argument
116 dr = kmalloc_node_track_caller(tot_size, gfp, nid); in alloc_dr()
121 if (!(gfp & __GFP_ZERO)) in alloc_dr()
159 void *__devres_alloc_node(dr_release_t release, size_t size, gfp_t gfp, int nid, in __devres_alloc_node() argument
164 dr = alloc_dr(release, size, gfp | __GFP_ZERO, nid); in __devres_alloc_node()
549 void * devres_open_group(struct device *dev, void *id, gfp_t gfp) in devres_open_group() argument
554 grp = kmalloc(sizeof(*grp), gfp); in devres_open_group()
817 void *devm_kmalloc(struct device *dev, size_t size, gfp_t gfp) in devm_kmalloc() argument
825 dr = alloc_dr(devm_kmalloc_release, size, gfp, dev_to_node(dev)); in devm_kmalloc()
855 void *devm_krealloc(struct device *dev, void *ptr, size_t new_size, gfp_t gfp) in devm_krealloc() argument
867 return devm_kmalloc(dev, new_size, gfp); in devm_krealloc()
897 total_new_size, gfp, dev_to_node(dev)); in devm_krealloc()
946 char *devm_kstrdup(struct device *dev, const char *s, gfp_t gfp) in devm_kstrdup() argument
955 buf = devm_kmalloc(dev, size, gfp); in devm_kstrdup()
975 const char *devm_kstrdup_const(struct device *dev, const char *s, gfp_t gfp) in devm_kstrdup_const() argument
980 return devm_kstrdup(dev, s, gfp); in devm_kstrdup_const()
995 char *devm_kvasprintf(struct device *dev, gfp_t gfp, const char *fmt, in devm_kvasprintf() argument
1006 p = devm_kmalloc(dev, len+1, gfp); in devm_kvasprintf()
1027 char *devm_kasprintf(struct device *dev, gfp_t gfp, const char *fmt, ...) in devm_kasprintf() argument
1033 p = devm_kvasprintf(dev, gfp, fmt, ap); in devm_kasprintf()
1073 void *devm_kmemdup(struct device *dev, const void *src, size_t len, gfp_t gfp) in devm_kmemdup() argument
1077 p = devm_kmalloc(dev, len, gfp); in devm_kmemdup()