Searched refs:sec_size (Results 1 – 6 of 6) sorted by relevance
/external/elfutils/tests/ |
D | addsections.c | 73 add_sections (const char *name, size_t nr, int use_mmap, size_t sec_size) in add_sections() argument 75 printf ("add_sections '%s': %zd (sec_size: %zd)\n", name, nr, sec_size); in add_sections() 154 if (sec_size == 0) in add_sections() 161 buf = malloc (sec_size); in add_sections() 164 printf ("cannot allocate buffer data of %zd bytes\n", sec_size); in add_sections() 167 memset (buf, 0xAA, sec_size); in add_sections() 168 bufsz = sec_size; in add_sections() 324 size_t sec_size = 0; in main() local 326 sec_size = atol (argv[argn++]); in main() 328 add_sections (file, nr, use_mmap, sec_size); in main()
|
D | ChangeLog | 546 * addsections.c (add_sections): Add sec_size argument, use it 548 (main): Handle extra sec_size argument. Pass to add_sections.
|
/external/mtools/ |
D | mformat.c | 721 int sec_size; in get_sector_size() local 722 if (ioctl(fd, BLKSSZGET, &sec_size) != 0 || sec_size <= 0) { in get_sector_size() 729 if(sec_size > 4096) in get_sector_size() 730 sec_size = 4096; in get_sector_size() 731 return sec_size; in get_sector_size() 736 int sec_size; in get_block_geom() local 754 sec_size = get_sector_size(fd, errmsg); in get_block_geom() 755 if(sec_size < 0) in get_block_geom() 759 while (dev->ssize < 0x7F && (128 << dev->ssize) < sec_size) in get_block_geom() 800 int sec_size; in get_lba_geom() local [all …]
|
D | devices.c | 528 #define FD_SECTSIZE(floppy) floppy.dkbuf.sec_size 529 #define FD_SET_SECTSIZE(floppy,v) { floppy.dkbuf.sec_size = v; }
|
/external/elfutils/libdw/ |
D | dwarf_ranges.c | 423 size_t sec_size = cu->dbg->sectiondata[secidx]->d_size; in initial_offset() local 425 if (offset_size > sec_size) in initial_offset() 433 if (range_base_off > (sec_size - offset_size)) in initial_offset() 436 size_t max_idx = (sec_size - offset_size - range_base_off) / offset_size; in initial_offset()
|
D | dwarf_getlocation.c | 760 size_t sec_size = cu->dbg->sectiondata[secidx]->d_size; in initial_offset() local 762 if (offset_size > sec_size) in initial_offset() 770 if (loc_base_off > (sec_size - offset_size)) in initial_offset() 773 size_t max_idx = (sec_size - offset_size - loc_base_off) / offset_size; in initial_offset()
|