/freebsd/contrib/elftoolchain/libdwarf/ |
H A D | libdwarf_reloc.c | 226 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 D | libdwarf_arange.c | 76 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 D | libdwarf_str.c | 86 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 D | libdwarf_attr.c | 180 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 D | libdwarf_info.c | 167 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 D | dwarf_str.c | 48 if (offset > ds->ds_size) { in dwarf_get_str() 53 if (offset == ds->ds_size) { in dwarf_get_str()
|
H A D | libdwarf_loclist.c | 42 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 D | libdwarf_nametbl.c | 80 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.h | 68 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 D | libdwarf_macinfo.c | 45 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 D | libdwarf_lineno.c | 313 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 D | libdwarf_frame.c | 207 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 D | libdwarf_die.c | 119 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 D | libdwarf_abbrev.c | 116 if (ds == NULL || *offset >= ds->ds_size) in _dwarf_abbrev_parse() 183 while (offset < ds->ds_size) { in _dwarf_abbrev_find()
|
H A D | dwarf_pro_sections.c | 65 *length = dbg->dbgp_secpos->ds_size; in dwarf_get_section_bytes()
|
H A D | dwarf_sections.c | 68 sz = dbg->dbg_section[i].ds_size; in dwarf_get_section_max_offsets_b()
|
H A D | libdwarf_ranges.c | 39 while (off < ds->ds_size) { in _dwarf_ranges_parse()
|
H A D | libdwarf_sections.c | 128 ndx = _dwarf_pro_callback(dbg, ds->ds_name, (int) ds->ds_size, in _dwarf_section_callback()
|
H A D | libdwarf_init.c | 85 dbg->dbg_section[i].ds_size = sec.size; in _dwarf_consumer_init()
|
/freebsd/sys/dev/ath/ |
H A D | if_ath_descdma.h | 34 int ds_size, int ndesc); 36 ath_bufhead *head, const char *name, int ds_size, int nbuf,
|
H A D | if_ath_descdma.c | 145 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 D | send-c_stream_size_estimate.ksh | 68 typeset ds_size=$(get_estimated_size "zfs send -nP $send_ds@snap") 70 log_must within_percent $ds_size $ds_lrefer 90
|
H A D | rsend.kshlib | 766 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
|