HomeSort by relevance Sort by last modified time
    Searched refs:sectors (Results 1 - 25 of 424) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/syslinux/com32/hdt/
hdt-util.h 33 void sectors_to_size_dec2(int sectors, char *buffer);
hdt-util.c 36 void sectors_to_size(int sectors, char *buffer)
38 int b = (sectors / 2);
54 int *size, int sectors)
56 *size = sectors / 2; // Converting to bytes
81 void sectors_to_size_dec2(int sectors, char *buffer)
83 int b = (sectors / 2);
  /external/strace/mpers-m32/
struct_hd_geometry.h 6 unsigned char sectors; member in struct:__anon31630
  /external/strace/mpers-mx32/
struct_hd_geometry.h 6 unsigned char sectors; member in struct:__anon31799
  /external/syslinux/libfat/
cache.c 26 for (ls = fs->sectors; ls; ls = ls->next) {
48 ls->next = fs->sectors;
49 fs->sectors = ls;
58 lsnext = fs->sectors;
59 fs->sectors = NULL;
open.c 31 uint32_t sectors, fatsize, minfatsize, rootdirsize; local
38 fs->sectors = NULL;
58 sectors = read16(&bs->bsSectors);
59 if (!sectors)
60 sectors = read32(&bs->bsHugeSectors);
62 fs->end = sectors;
libfatint.h 52 struct libfat_sector *sectors; member in struct:libfat_filesystem
  /external/vboot_reference/firmware/stub/
vboot_api_stub_stream.c 14 /* The stub implementation assumes 512-byte disk sectors */
25 /* Number of sectors left in partition */
52 uint64_t sectors; local
63 sectors = bytes / LBA_BYTES;
64 if (sectors > s->sectors_left)
67 rv = VbExDiskRead(s->handle, s->sector, sectors, buffer);
71 s->sector += sectors;
72 s->sectors_left -= sectors;
  /external/syslinux/memdisk/
postprocess.pl 17 # integral 512-byte sector length, write this number of sectors into the
32 $sectors = ($size + 511) >> 9;
33 $xsize = $sectors << 9;
45 # All sectors are setup except the first
46 print OUT pack("C", $sectors-1);
  /tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/
SuperFloppyFormatter.java 58 * The default number of sectors per track.
377 final long sectors = size / sectorSize; local
379 if (sectors <= 66600) throw new IllegalArgumentException(
383 sectors > 67108864 ? 64 :
384 sectors > 33554432 ? 32 :
385 sectors > 16777216 ? 16 :
386 sectors > 532480 ? 8 : 1;
391 "number of reserved sectors must be 32");
396 final long sectors = device.getSize() / device.getSectorSize(); local
398 if (sectors <= 66600) throw new IllegalArgumentException
407 final long sectors = size \/ sectorSize; local
457 final long sectors = size \/ sectorSize; local
    [all...]
  /external/syslinux/libinstaller/
syslxcom.h 11 int sectmap(int fd, sector_t *sectors, int nsectors);
syslxcom.c 179 static int sectmap_fie(int fd, sector_t *sectors, int nsectors)
208 memset(sectors, 0, nsectors * sizeof *sectors);
209 esec = sectors + nsectors;
235 secp = sectors + (fe->fe_logical >> SECTOR_SHIFT);
252 static int sectmap_fib(int fd, sector_t *sectors, int nsectors)
263 /* Number of sectors per block */
274 *sectors++ = sec++;
286 int sectmap(int fd, sector_t *sectors, int nsectors)
288 if (!sectmap_fie(fd, sectors, nsectors)
    [all...]
fs.c 57 long long sectors, fatsectors, dsectors; local
67 sectors = get_16(&sectbuf->bsSectors);
68 sectors = sectors ? sectors : get_32(&sectbuf->bsHugeSectors);
70 dsectors = sectors - get_16(&sectbuf->bsResSectors);
81 return "negative number of data sectors on an FAT volume";
90 return "zero FAT sectors";
95 return "zero FAT sectors (FAT12/16)";
164 return "unsupported sectors size"
    [all...]
syslxopt.c 33 .sectors = 0,
57 {"sectors", 1, NULL, 'S'},
109 " --sectors=# -S Force the number of sectors per track\n"
148 opt.sectors = 32;
151 opt.sectors = strtoul(optarg, NULL, 0);
152 if (opt.sectors < 1 || opt.sectors > 63) {
154 "%s: invalid number of sectors: %u (must be 1-63)\n",
155 program, opt.sectors);
    [all...]
syslinux.h 61 int syslinux_patch(const sector_t *sectors, int nsectors,
syslxopt.h 6 unsigned int sectors; member in struct:sys_options
  /external/syslinux/com32/gpllib/disk/
read.c 34 * Return the number of sectors read on success or -1 on failure.
51 * @sectors: Number of sectors to read
54 * Return the number of sectors read on success or -1 on failure.
57 int dev_read(int drive, void *buf, unsigned int lba, int sectors)
62 return read_sectors(&drive_info, buf, lba, sectors);
66 * read_sectors - read several sectors from disk
70 * @sectors: Number of sectors to read
72 * Return the number of sectors read on success or -1 on failure
    [all...]
  /external/syslinux/core/fs/
getfssec.c 89 int sectors, bool *have_more)
100 if (sectors > sectors_left)
101 sectors = sectors_left;
103 if (!sectors)
134 while (sectors) {
138 while (sectors > inode->this_extent.len) {
148 sectors = 0; /* Failed to get anything... we're dead */
166 chunk = min(sectors, inode->this_extent.len);
181 sectors -= chunk;
  /external/strace/
hdio.c 51 tprintf("{heads=%u, sectors=%u, "
54 (unsigned) geo.sectors,
  /external/gptfdisk/
diskio-unix.cc 199 // Returns the number of sectors per track, according to the kernel, or 63
212 numSecs = (uint32_t) geometry.sectors;
392 uint64_t sectors = 0; // size in sectors local
412 *err = ioctl(fd, DKIOCGETBLOCKCOUNT, &sectors);
418 sectors = minfo.dki_capacity;
424 sectors = bytes / b;
432 sectors = sz = 0;
437 sectors = sz;
439 sectors = (b >> 9)
    [all...]
  /external/syslinux/com32/elflink/ldlinux/
loadhigh.c 65 uint32_t sectors; local
84 sectors = (chunk + sector_mask) >> SECTOR_SHIFT(fs);
85 bytes_read = fs->fs_ops->getfssec(file, buf, sectors, &have_more);
  /external/f2fs-tools/lib/
libf2fs_zoned.c 63 uint64_t sectors; local
85 sectors = atol(str);
86 if (!sectors)
89 dev->zone_blocks = sectors >> (F2FS_BLKSIZE_BITS - 9);
90 sectors = (sectors << 9) / c.sector_size;
96 dev->nr_zones = dev->total_sectors / sectors;
97 if (dev->total_sectors % sectors)
160 "Zone %05u: Conventional, cond 0x%x (%s), sector %llu, %llu sectors\n",
169 "non_seq %d, sector %llu, %llu sectors, wp sector %llu\n"
    [all...]
  /external/blktrace/btt/
seek.c 26 long long sectors; member in struct:seek_bkt
62 static void __insert(struct rb_root *root, long long sectors)
71 if (sectors < sbp->sectors)
73 else if (sectors > sbp->sectors)
83 sbp->sectors = sectors;
145 *rvp = sbp->sectors;
181 mp->modes[mp->nmds++] = sbp->sectors;
    [all...]
  /external/syslinux/dosutil/
mdiskchk.c 43 int sectors; member in struct:memdiskinfo
86 mm.sectors = (_ecx & 0x3f);
130 "\tAddress = 0x%08lx, len = %lu sectors, chs = %u/%u/%u,\n"
134 m->mdi.diskbuf, m->mdi.disksize, m->cylinders, m->heads, m->sectors,
239 m.sectors = patch_area->sectors;
284 m.sectors = patch_area->sectors;
  /external/valgrind/coregrind/
m_transtab.c 56 /* Nr of sectors provided via command line parameter. */
58 /* Nr of sectors.
433 /* The root data structure is an array of sectors. The index of the
445 static Sector sectors[MAX_N_SECTORS]; variable
539 Sector* s = &sectors[sNo];
551 Sector* s = &sectors[sNo];
765 hx->start, hx->len, (int)(sec - sectors), \
800 return False; /* run out of sectors to search */
802 const Sector* sec = &sectors[sno];
850 break; /* run out of sectors to search *
    [all...]

Completed in 1434 milliseconds

1 2 3 4 5 6 7 8 91011>>