Lines Matching refs:gfp
17 static struct string_stream_fragment *alloc_string_stream_fragment(int len, gfp_t gfp)
21 frag = kzalloc(sizeof(*frag), gfp);
25 frag->fragment = kmalloc(len, gfp);
67 frag_container = alloc_string_stream_fragment(buf_len, stream->gfp);
123 buf = kzalloc(buf_len, stream->gfp);
157 struct string_stream *alloc_string_stream(gfp_t gfp)
161 stream = kzalloc(sizeof(*stream), gfp);
165 stream->gfp = gfp;
190 struct string_stream *kunit_alloc_string_stream(struct kunit *test, gfp_t gfp)
194 stream = alloc_string_stream(gfp);