Home
last modified time | relevance | path

Searched refs:sect_size (Results 1 - 9 of 9) sorted by relevance

/third_party/mesa3d/src/freedreno/decode/
H A Dpgmdump.c278 next_sect(struct state *state, int *sect_size) in next_sect() argument
286 *sect_size = end - state->buf; in next_sect()
289 sect = malloc(ALIGN(*sect_size, 4)); in next_sect()
290 memcpy(sect, state->buf, *sect_size); in next_sect()
292 state->sz -= *sect_size + 4; in next_sect()
433 int i, sect_size; in dump_shaders_a2xx() local
438 struct vs_header *vs_hdr = next_sect(state, &sect_size); in dump_shaders_a2xx()
446 printf("######## VS%d HEADER: (size %d)\n", i, sect_size); in dump_shaders_a2xx()
447 dump_hex((void *)vs_hdr, sect_size); in dump_shaders_a2xx()
451 constants[j] = next_sect(state, &sect_size); in dump_shaders_a2xx()
539 int instrs_size, hdr_size, sect_size, nconsts = 0, level = 0, compact = 0; dump_shaders_a3xx() local
620 int instrs_size, hdr_size, sect_size, nconsts = 0, level = 0, compact = 0; dump_shaders_a3xx() local
703 int i, sect_size; dump_program() local
[all...]
/third_party/ntfs-3g/libntfs-3g/
H A Ddevice.c857 int sect_size = 0; in ntfs_device_sector_size_get() local
859 if (!dev->d_ops->ioctl(dev, BLKSSZGET, &sect_size)) { in ntfs_device_sector_size_get()
861 sect_size); in ntfs_device_sector_size_get()
862 return sect_size; in ntfs_device_sector_size_get()
868 size_t sect_size = 0; in ntfs_device_sector_size_get() local
870 if (!dev->d_ops->ioctl(dev, DIOCGSECTORSIZE, &sect_size)) { in ntfs_device_sector_size_get()
872 (int) sect_size); in ntfs_device_sector_size_get()
873 return sect_size; in ntfs_device_sector_size_get()
879 uint32_t sect_size = 0; in ntfs_device_sector_size_get() local
881 if (!dev->d_ops->ioctl(dev, DKIOCGETBLOCKSIZE, &sect_size)) { in ntfs_device_sector_size_get()
[all...]
/third_party/exfatprogs/fsck/
H A Dfsck.c300 int bs_offset, unsigned int sect_size) in boot_region_checksum()
307 sect = malloc(sect_size); in boot_region_checksum()
313 if (exfat_read(dev_fd, sect, sect_size, in boot_region_checksum()
314 bs_offset * sect_size + i * sect_size) != in boot_region_checksum()
315 (ssize_t)sect_size) { in boot_region_checksum()
320 boot_calc_checksum(sect, sect_size, i == 0, &checksum); in boot_region_checksum()
323 if (exfat_read(dev_fd, sect, sect_size, in boot_region_checksum()
324 bs_offset * sect_size + 11 * sect_size) ! in boot_region_checksum()
299 boot_region_checksum(int dev_fd, int bs_offset, unsigned int sect_size) boot_region_checksum() argument
368 read_boot_region(struct exfat_blk_dev *bd, struct pbr **pbr, int bs_offset, unsigned int sect_size, bool verbose) read_boot_region() argument
453 restore_boot_region(struct exfat_blk_dev *bd, unsigned int sect_size) restore_boot_region() argument
499 unsigned int sect_size; exfat_boot_region_check() local
[all...]
/third_party/exfatprogs/include/
H A Dexfat_fs.h40 unsigned int sect_size; member
86 unsigned int clu_size, unsigned int sect_size);
/third_party/exfatprogs/lib/
H A Dexfat_fs.c139 exfat->sect_size = EXFAT_SECTOR_SIZE(bs); in exfat_alloc_exfat()
177 unsigned int clu_size, unsigned int sect_size) in exfat_alloc_buffer()
190 bd[i].dirty = (char *)calloc(clu_size / sect_size, 1); in exfat_alloc_buffer()
176 exfat_alloc_buffer(int count, unsigned int clu_size, unsigned int sect_size) exfat_alloc_buffer() argument
H A Dlibexfat.c818 unsigned int sect_size, clu_size; in read_boot_sect() local
835 sect_size = 1 << pbr->bsx.sect_size_bits; in read_boot_sect()
839 if (sect_size < 512 || sect_size > 4 * KB) { in read_boot_sect()
841 sect_size); in read_boot_sect()
845 if (clu_size < sect_size || clu_size > 32 * MB) { in read_boot_sect()
H A Dexfat_dir.c226 iter->write_size = exfat->sect_size; in exfat_de_iter_init()
362 bd = exfat_alloc_buffer(2, exfat->clus_size, exfat->sect_size); in exfat_lookup_dentry_set()
/third_party/exfatprogs/exfat2img/
H A Dexfat2img.c123 ei->exfat->sect_size); in create_exfat2img()
131 ei->exfat->sect_size); in create_exfat2img()
732 exfat->sect_size); in dump_header()
/third_party/elfio/elfio/
H A Delfio.hpp543 Elf_Xword sect_size,
548 ( sect_begin + sect_size <= seg_end ) &&
550 seg_end ); // this is important criteria when sect_size == 0
552 // sect_begin=12, sect_size=0 -> shall return false!

Completed in 11 milliseconds