Lines Matching refs:content
128 void *content = NULL; in xenhypfs_inflate() local
149 content = realloc(content, *sz + out_sz); in xenhypfs_inflate()
150 if (!content) { in xenhypfs_inflate()
154 memcpy(content + *sz, workbuf, out_sz); in xenhypfs_inflate()
159 free(content); in xenhypfs_inflate()
160 content = NULL; in xenhypfs_inflate()
164 return content; in xenhypfs_inflate()
213 void *retbuf = NULL, *content = NULL; in xenhypfs_read_raw() local
248 content = malloc(entry->content_len); in xenhypfs_read_raw()
249 if (!content) in xenhypfs_read_raw()
251 memcpy(content, entry + 1, entry->content_len); in xenhypfs_read_raw()
263 free(content); in xenhypfs_read_raw()
264 content = NULL; in xenhypfs_read_raw()
278 return content; in xenhypfs_read_raw()