Lines Matching defs:cntr_fds
75 int *cntr_fds, unsigned int cntr_count)
89 err = container_builder_init(cntrs + i, cntr_fds[i], cntr_format, 0);
166 int *cntr_fds, unsigned int cntr_count)
179 err = container_parser_init(cntrs + i, cntr_fds[i], 0);
227 int *cntr_fds;
235 cntr_fds = calloc(cntr_count, sizeof(*cntr_fds));
236 if (cntr_fds == NULL)
243 cntr_fds[i] = memfd_create(path, 0);
245 cntr_fds[i] = open(path, O_RDWR | O_CREAT | O_TRUNC, 0644);
247 if (cntr_fds[i] < 0) {
255 frame_count, cntr_fds, cntr_count);
260 off_t pos = lseek(cntr_fds[i], 0, SEEK_SET);
269 frame_count, cntr_fds, cntr_count);
272 close(cntr_fds[i]);
274 free(cntr_fds);