HomeSort by: relevance | last modified time | path
    Searched defs:sectors (Results 1 - 25 of 30) sorted by relevancy

1 2

  /src/sys/arch/arm/arm/
disksubr_acorn.c 186 int sectors; local in function:filecore_label_read
235 sectors = bb->secspertrack;
242 __func__, heads, sectors);
244 netbsdpartoff = cyl * heads * sectors;
256 bp->b_blkno = cyl * heads * sectors;
328 int sectors; local in function:filecore_label_locate
389 sectors = bb->secspertrack;
392 printf("%s: heads = %d nsectors = %d\n", __func__, heads, sectors);
395 netbsdpartoff = cyl * heads * sectors;
  /src/sbin/gpt/
add.c 84 add(gpt_t gpt, off_t alignment, off_t block, off_t sectors, off_t size __unused,
133 map = map_alloc(gpt, block, sectors, alignsecs);
140 map = map_alloc(gpt, block, sectors, 0);
166 off_t alignment = 0, block = 0, sectors = 0, size = 0; local in function:cmd_add
209 if ((sectors = gpt_check_ais(gpt, alignment, ~0U, size)) == -1)
212 return add(gpt, alignment, block, sectors, size, entry, name, type);
resize.c 69 resize(gpt_t gpt, u_int entry, off_t alignment, off_t sectors,
101 if (sectors > 0 && sectors == map->map_size)
103 (alignment > 0 && sectors % alignsecs == 0)) {
112 newsize = map_resize(gpt, map, sectors, alignsecs);
146 off_t alignment = 0, sectors, start = 0, size = 0; local in function:cmd_resize
175 if ((sectors = gpt_check_ais(gpt, alignment, entry, size)) == -1)
178 return resize(gpt, entry, alignment, sectors, size, quiet);
gpt.c 556 * We require an absolute minimum of 6 sectors. One for the MBR,
563 gpt_warnx(gpt, "Need 6 sectors, we have %ju",
956 off_t sectors; local in function:gpt_size_get
962 sectors = strtoll(optarg, &p, 10);
963 if (sectors < 1)
966 *size = sectors * gpt->secsz;
970 *size = sectors;
  /src/sys/dev/mca/
edvar.h 60 u_int8_t sectors; member in struct:ed_softc
  /src/sys/compat/linux/common/
linux_hdio.h 76 u_char sectors; member in struct:linux_hd_geometry
83 u_char sectors; member in struct:linux_hd_big_geometry
  /src/distrib/utils/embedded/conf/
x86.conf 17 # compute all sizes in terms of sectors
35 sectors/track: ${spt}
37 sectors/cylinder: ${spc}
39 total sectors: ${totalsize}
evbppc.conf 25 # compute all sizes in terms of sectors
47 sectors/track: ${spt}
49 sectors/cylinder: ${spc}
51 total sectors: ${totalsize}
riscv.conf 23 # compute all sizes in terms of sectors
45 sectors/track: ${spt}
47 sectors/cylinder: ${spc}
49 total sectors: ${totalsize}
evbarm.conf 25 # compute all sizes in terms of sectors
47 sectors/track: ${spt}
49 sectors/cylinder: ${spc}
51 total sectors: ${totalsize}
evbmips.conf 25 # compute all sizes in terms of sectors
47 sectors/track: ${spt}
49 sectors/cylinder: ${spc}
51 total sectors: ${totalsize}
  /src/sys/dev/scsipi/
sdvar.h 69 u_long sectors; /* number of sectors/track */ member in struct:disk_parms
72 u_int64_t disksize; /* total number sectors */
73 u_int64_t disksize512; /* total number sectors */
  /src/sys/fs/v7fs/
v7fs_impl.h 128 daddr_t sectors; /*total size in sector. */ member in struct:v7fs_mount_device
  /src/sys/fs/udf/
udf_readwrite.c 286 uint32_t start, uint32_t sectors)
296 DPRINTF(READ, ("udf_intbreadn() : sectors = %d, sector_size = %d\n",
297 sectors, sector_size));
303 buf->b_bcount = sectors * sector_size;
315 while ((sectors > 0) && (error == 0)) {
316 piece = MIN(MAXPHYS/sector_size, sectors);
337 sectors -= piece;
353 int sectors, dscrlen; local in function:udf_read_phys_dscr
402 sectors = (dscrlen + sector_size -1) / sector_size;
403 DPRINTF(DESCRIPTOR, ("dscrlen = %d (%d blk)\n", dscrlen, sectors));
434 uint32_t sectors; local in function:udf_write_phys_buf
    [all...]
udf_strat_direct.c 249 int len, buf_len, sector, sectors, run_length; local in function:udf_queue_buf_direct
353 sectors = (buf->b_bcount + sector_size -1) / sector_size;
354 udf_translate_vtop_list(ump, sectors, vpart_num, lmapping, pmapping);
356 for (sector = 0; sector < sectors; sector++) {
365 while (sector < sectors-1) {
udf_strat_rmw.c 778 uint32_t buf_len, len, sectors, sectornr, our_sectornr; local in function:udf_queuebuf_rmw
962 sectors = (buf->b_bcount + sector_size -1) / sector_size;
963 udf_translate_vtop_list(ump, sectors, vpart_num, lmapping, pmapping);
1057 * XXX TODO what to do on read errors? read in all sectors
udf_vnops.c 478 uint32_t lb_size, sectors; local in function:udf_vfsstrategy
492 /* calculate length to fetch/store in sectors */
493 sectors = bp->b_bcount / lb_size;
500 assert(sectors * lb_size == bp->b_bcount);
501 __USE(sectors);
506 ", for %d sectors\n",
507 vp, bp, bp->b_blkno, sectors));
513 ", for %d sectors\n",
514 vp, bp, bp->b_blkno, sectors));
  /src/sys/arch/bebox/stand/boot/
sdvar.h 142 u_long sectors; /* number of sectors/track */ member in struct:sd_softc::disk_parms
145 u_int64_t disksize; /* total number sectors */
146 u_int64_t disksize512; /* total number sectors */
  /src/sys/arch/prep/stand/boot/
sdvar.h 142 u_long sectors; /* number of sectors/track */ member in struct:sd_softc::disk_parms
145 u_int64_t disksize; /* total number sectors */
146 u_int64_t disksize512; /* total number sectors */
  /src/sys/compat/linux/arch/i386/
linux_machdep.c 793 u_char heads, sectors; local in function:linux_machdepioctl
928 sectors = bip->bi_sec;
930 biostotal = heads * sectors * cylinders;
934 cylinders = realtotal / (heads * sectors);
938 sectors = label.d_nsectors;
945 hdg.sectors = sectors;
953 hdg_big.sectors = sectors;
  /src/usr.sbin/makefs/
udf.c 638 int sectors; local in function:udf_append_file_contents
653 sectors = udf_datablocks(flen);
655 return udf_write_virt(fdata, location, vpart, sectors);
  /src/sys/arch/i386/stand/lib/
biosdisk.c 363 int sectors; local in function:check_gpt
398 sectors = sizeof(d->buf)/d->ll.secsize; /* sectors per buffer */
410 sectors = roundup(size, d->ll.secsize) / d->ll.secsize;
411 if (readsects(&d->ll, entblk, sectors, d->buf, 1))
413 entblk += sectors;
  /src/sys/dev/sdmmc/
sdmmc_mem.c 965 uint32_t sectors = 0; local in function:sdmmc_mem_mmc_init
1133 sectors = ext_csd[EXT_CSD_SEC_COUNT + 0] << 0 |
1137 if (sectors > (2u * 1024 * 1024 * 1024) / 512) {
1139 sf->csd.capacity = sectors;
  /src/sys/arch/xen/xen/
xbd_xenbus.c 172 uint64_t sc_sectors; /* number of sc_secsize sectors for this device */
697 "%s, %d bytes/sect x %" PRIu64 " sectors\n",
721 unsigned long long sectors; local in function:xbd_connect
755 sc->sc_xbusd->xbusd_otherend, "sectors", &sectors, 10);
757 panic("%s: can't read number from %s/sectors\n",
760 sc->sc_sectors = sectors * (uint64_t)XEN_BSIZE / sc->sc_secsize;
  /src/sys/dev/ata/
ata_raidreg.h 99 uint8_t sectors; member in struct:promise_raid_conf::__anon736e3db70108
153 uint32_t sectors; member in struct:adaptec_raid_conf::__anon736e3db70308
320 uint32_t sectors; member in struct:intel_raid_conf::__anon736e3db70408

Completed in 27 milliseconds

1 2