Lines Matching refs:written
32 * @lnum: LEB number where new index node will be written
33 * @offs: offset where new index node will be written
106 * This function returns the number of index nodes written into the gap.
111 int len, gap_remains, gap_pos, written, pad_len;
121 written = 0;
139 written += 1;
150 dbg_gc("LEB %d:%d to %d len %d nodes written %d wasted bytes %d",
151 lnum, gap_start, gap_end, gap_end - gap_start, written, pad_len);
154 return written;
223 * This function returns the number of index nodes written into the gaps, or a
230 int lnum, dirt = 0, gap_start, gap_end, err, written, tot_written;
279 written = fill_gap(c, lnum, gap_start, gap_end, &dirt);
280 if (written < 0) {
282 return written; /* Error code */
284 tot_written += written;
292 written = fill_gap(c, lnum, gap_start, gap_end, &dirt);
293 if (written < 0)
294 return written; /* Error code */
295 tot_written += written;
361 int err, leb_needed_cnt, written, *p;
372 written = layout_leb_in_gaps(c, p);
373 if (written < 0) {
374 err = written;
396 cnt -= written;