Home
last modified time | relevance | path

Searched refs:ds_size (Results 1 – 23 of 23) sorted by relevance

/freebsd/contrib/elftoolchain/libdwarf/
H A Dlibdwarf_reloc.c226 assert(offset <= ds->ds_size); in _dwarf_reloc_entry_add()
245 if (offset > ds->ds_size) in _dwarf_reloc_entry_add()
246 ds->ds_size = offset; in _dwarf_reloc_entry_add()
275 assert(offset <= ds->ds_size); in _dwarf_reloc_entry_add_pair()
284 if (offset > ds->ds_size) in _dwarf_reloc_entry_add_pair()
285 ds->ds_size = offset; in _dwarf_reloc_entry_add_pair()
330 assert(ds->ds_size == 0); in _dwarf_reloc_section_finalize()
382 assert(drs->drs_ds != NULL && drs->drs_ds->ds_size == 0); in _dwarf_reloc_section_gen()
392 &ds->ds_size, dre->dre_offset, 8, error); in _dwarf_reloc_section_gen()
397 &ds->ds_size, ELF64_R_INFO(dre->dre_symndx, type), in _dwarf_reloc_section_gen()
[all …]
H A Dlibdwarf_arange.c76 while (offset < ds->ds_size) { in _dwarf_arange_init()
120 while (offset < ds->ds_size) { in _dwarf_arange_init()
197 ds->ds_size, 0, as->as_cu_offset, ".debug_info", error)); in _dwarf_arange_gen()
202 offset = roundup(ds->ds_size, 2 * as->as_addrsz); in _dwarf_arange_gen()
203 if (offset > ds->ds_size) in _dwarf_arange_gen()
204 RCHECK(WRITE_PADDING(0, offset - ds->ds_size)); in _dwarf_arange_gen()
209 dwarf_drt_data_reloc, dbg->dbg_pointer_size, ds->ds_size, in _dwarf_arange_gen()
213 dbg->dbg_pointer_size, ds->ds_size, ar->ar_symndx, in _dwarf_arange_gen()
222 as->as_length = ds->ds_size - 4; in _dwarf_arange_gen()
H A Dlibdwarf_str.c86 dbg->dbg_strtab_cap = dbg->dbg_strtab_size = ds->ds_size; in _dwarf_strtab_init()
89 if ((dbg->dbg_strtab = malloc((size_t) ds->ds_size)) == in _dwarf_strtab_init()
94 memcpy(dbg->dbg_strtab, ds->ds_data, ds->ds_size); in _dwarf_strtab_init()
149 ds->ds_size = dbg->dbg_strtab_size; in _dwarf_strtab_gen()
H A Dlibdwarf_attr.c180 atref.u[0].s = _dwarf_read_string(ds->ds_data, ds->ds_size, in _dwarf_attr_init()
241 ds->ds_size, at->at_relsym, at->u[0].u64, NULL, in _dwarf_attr_write()
253 &ds->ds_cap, &ds->ds_size, at->u[0].u64, error); in _dwarf_attr_write()
269 offset = ds->ds_size; in _dwarf_attr_write()
302 dwarf_drt_data_reloc, 4, ds->ds_size, at->at_relsym, in _dwarf_attr_write()
310 dwarf_drt_data_reloc, 8, ds->ds_size, at->at_relsym, in _dwarf_attr_write()
327 at->at_offset = ds->ds_size; in _dwarf_attr_write()
343 ds->ds_size, at->at_relsym, at->u[0].u64, NULL, in _dwarf_attr_write()
361 4, ds->ds_size, 0, at->u[0].u64, ".debug_str", error); in _dwarf_attr_write()
H A Dlibdwarf_info.c167 while (offset < ds->ds_size) { in _dwarf_info_load()
190 if (length > ds->ds_size - offset) { in _dwarf_info_load()
243 if ((Dwarf_Unsigned) dbg->dbg_info_off >= ds->ds_size) in _dwarf_info_load()
246 if ((Dwarf_Unsigned) dbg->dbg_types_off >= ds->ds_size) in _dwarf_info_load()
333 ds->ds_size, 0, cu->cu_abbrev_offset, ".debug_abbrev", error)); in _dwarf_info_gen()
342 cu->cu_length = ds->ds_size - 4; in _dwarf_info_gen()
H A Ddwarf_str.c48 if (offset > ds->ds_size) { in dwarf_get_str()
53 if (offset == ds->ds_size) { in dwarf_get_str()
H A Dlibdwarf_loclist.c42 for (i = 0; *off < ds->ds_size; i++) { in _dwarf_loclist_add_locdesc()
66 if (*off + len > ds->ds_size) { in _dwarf_loclist_add_locdesc()
109 if (lloff >= ds->ds_size) { in _dwarf_loclist_find()
H A Dlibdwarf_nametbl.c80 while (offset < ds->ds_size) { in _dwarf_nametbl_init()
119 while (offset < ds->ds_size) { in _dwarf_nametbl_init()
201 ds->ds_size, 0, nt->nt_cu_offset, ".debug_info", error)); in _dwarf_nametbl_gen()
214 nt->nt_length = ds->ds_size - 4; in _dwarf_nametbl_gen()
H A D_libdwarf.h68 dbg->write_alloc(&ds->ds_data, &ds->ds_cap, &ds->ds_size, \
72 &ds->ds_size, (value), error)
75 &ds->ds_size, (value), error)
78 &ds->ds_size, (string), error)
81 &ds->ds_size, (blk), (size), error)
84 &ds->ds_size, (byte), (cnt), error)
347 Dwarf_Unsigned ds_size; /* Section size. */ member
353 Dwarf_Unsigned ds_size; /* Section size. */ member
H A Dlibdwarf_macinfo.c45 while (*off < ds->ds_size) { in _dwarf_macinfo_parse()
137 while (offset < ds->ds_size) { in _dwarf_macinfo_init()
201 md->dmd_offset = ds->ds_size; in _dwarf_macinfo_gen()
H A Dlibdwarf_lineno.c313 if (length > ds->ds_size - offset) { in _dwarf_lineno_init()
373 if (p - ds->ds_data > (int) ds->ds_size) { in _dwarf_lineno_init()
406 if (p - ds->ds_data > (int) ds->ds_size) { in _dwarf_lineno_init()
521 ds->ds_size, ln->ln_symndx, ln->ln_addr, in _dwarf_lineno_gen_program()
692 offset = ds->ds_size; in _dwarf_lineno_gen()
732 li->li_hdrlen = ds->ds_size - offset - 4; in _dwarf_lineno_gen()
739 li->li_length = ds->ds_size - 4; in _dwarf_lineno_gen()
H A Dlibdwarf_frame.c207 if (length > ds->ds_size - *off) { in _dwarf_frame_add_cie()
330 if (length > ds->ds_size - *off) { in _dwarf_frame_add_fde()
460 while (offset < ds->ds_size) { in _dwarf_frame_section_init()
469 if (length > ds->ds_size - offset || in _dwarf_frame_section_init()
1343 #define ds_size fde_instlen in _dwarf_frame_fde_add_inst() macro
1424 #undef ds_size in _dwarf_frame_fde_add_inst()
1437 cie->cie_offset = offset = ds->ds_size; in _dwarf_frame_gen_cie()
1467 len = ds->ds_size - cie->cie_offset - 4; in _dwarf_frame_gen_cie()
1492 fde->fde_offset = offset = ds->ds_size; in _dwarf_frame_gen_fde()
1501 ds->ds_size, 0, fde->fde_cieoff, ".debug_frame", error)); in _dwarf_frame_gen_fde()
[all …]
H A Dlibdwarf_die.c119 while (offset < next_offset && offset < ds->ds_size) { in _dwarf_die_parse()
352 die->die_offset = ds->ds_size; in _dwarf_die_gen_recursive()
358 &ds->ds_size, die->die_ab->ab_entry, error); in _dwarf_die_gen_recursive()
388 &ds->ds_size, 0, error); in _dwarf_die_gen_recursive()
H A Dlibdwarf_abbrev.c116 if (ds == NULL || *offset >= ds->ds_size) in _dwarf_abbrev_parse()
183 while (offset < ds->ds_size) { in _dwarf_abbrev_find()
H A Ddwarf_pro_sections.c65 *length = dbg->dbgp_secpos->ds_size; in dwarf_get_section_bytes()
H A Ddwarf_sections.c68 sz = dbg->dbg_section[i].ds_size; in dwarf_get_section_max_offsets_b()
H A Dlibdwarf_ranges.c39 while (off < ds->ds_size) { in _dwarf_ranges_parse()
H A Dlibdwarf_sections.c128 ndx = _dwarf_pro_callback(dbg, ds->ds_name, (int) ds->ds_size, in _dwarf_section_callback()
H A Dlibdwarf_init.c85 dbg->dbg_section[i].ds_size = sec.size; in _dwarf_consumer_init()
/freebsd/sys/dev/ath/
H A Dif_ath_descdma.h34 int ds_size, int ndesc);
36 ath_bufhead *head, const char *name, int ds_size, int nbuf,
H A Dif_ath_descdma.c145 const char *name, int ds_size, int ndesc) in ath_descdma_alloc_desc() argument
153 dd->dd_descsize = ds_size; in ath_descdma_alloc_desc()
169 dd->dd_desc_len += ds_size * numpages; in ath_descdma_alloc_desc()
238 const char *name, int ds_size, int nbuf, int ndesc) in ath_descdma_setup() argument
249 error = ath_descdma_alloc_desc(sc, dd, head, name, ds_size, in ath_descdma_setup()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/
H A Dsend-c_stream_size_estimate.ksh68 typeset ds_size=$(get_estimated_size "zfs send -nP $send_ds@snap")
70 log_must within_percent $ds_size $ds_lrefer 90
H A Drsend.kshlib766 ds_size=$(get_prop refer $ds)
768 ds_size=$(get_prop lrefer $ds)
770 ds_size=$((ds_size - inc_size))
772 log_must within_percent $stream_size $ds_size $percent