Lines Matching refs:cdata
54 #define deflate_cleanup(result, cdata) \ argument
55 do_deflate_cleanup(result, &z, out_buf, cdata)
118 Elf_Data cdata; in __libelf_compress() local
119 cdata.d_buf = NULL; in __libelf_compress()
126 cdata = *data; in __libelf_compress()
132 cdata.d_buf = malloc (data->d_size); in __libelf_compress()
133 if (cdata.d_buf == NULL) in __libelf_compress()
138 if (gelf_xlatetof (scn->elf, &cdata, data, ei_data) == NULL) in __libelf_compress()
139 return deflate_cleanup (NULL, &cdata); in __libelf_compress()
142 z.avail_in = cdata.d_size; in __libelf_compress()
143 z.next_in = cdata.d_buf; in __libelf_compress()
165 return deflate_cleanup (NULL, convert ? &cdata : NULL); in __libelf_compress()
173 return deflate_cleanup ((void *) -1, convert ? &cdata : NULL); in __libelf_compress()
181 return deflate_cleanup (NULL, convert ? &cdata : NULL); in __libelf_compress()
191 free (cdata.d_buf); in __libelf_compress()
192 cdata.d_buf = NULL; in __libelf_compress()