Searched refs:grub_divmod64 (Results 1 - 16 of 16) sorted by relevance

/osnet-11/usr/src/grub/grub2/grub-core/kern/generic/
H A Drtc_get_time_ms.c36 return grub_divmod64 (ticks_ms_per_sec, GRUB_TICKS_PER_SECOND, 0);
/osnet-11/usr/src/grub/grub2/grub-core/kern/i386/
H A Dtsc.c39 return tsc_boot_time + grub_divmod64 (grub_get_tsc (), tsc_ticks_per_ms, 0);
58 tsc_ticks_per_ms = grub_divmod64 (end_tsc - start_tsc, 55, 0);
/osnet-11/usr/src/grub/grub2/grub-core/fs/
H A Dhfs.c253 blockcnt = grub_divmod64 (((len + pos)
256 for (i = grub_divmod64 (pos, data->blksz, 0); i < blockcnt; i++)
264 grub_divmod64 (pos, data->blksz, &blockoff);
273 grub_divmod64 ((len + pos), data->blksz, &blockend);
281 if (i == grub_divmod64 (pos, data->blksz, 0))
H A Dbtrfs.c695 stripe_length = grub_divmod64 (grub_le_to_cpu64 (chunk->size),
698 stripen = grub_divmod64 (off, stripe_length, &stripe_offset);
717 middle = grub_divmod64 (off,
721 high = grub_divmod64 (middle, grub_le_to_cpu16 (chunk->nstripes),
732 middle = grub_divmod64 (off,
736 high = grub_divmod64 (middle,
H A Dntfs.c447 vcn = ctx->target_vcn = grub_divmod64 (ofs >> GRUB_NTFS_BLK_SHR, ctx->comp.spc, 0);
462 grub_divmod64 (ofs >> GRUB_NTFS_BLK_SHR, ctx->comp.spc, &m);
515 vcn = grub_divmod64 (ofs, at->mft->data->spc << GRUB_NTFS_BLK_SHR, 0);
1023 info.mtime = grub_divmod64 (node->mtime, 10000000, 0)
H A Dbfs.c811 grub_divmod64 (grub_bfs_to_cpu64 (ino.ino.mtime), 1000000, 0);
H A Dnilfs2.c658 blockno = grub_divmod64 (cpno, NILFS2_BLOCK_SIZE (data) /
/osnet-11/usr/src/grub/grub2/grub-core/disk/
H A Draid.c308 disk->total_sectors = grub_divmod64 (array->total_devs *
351 read_sector = grub_divmod64 (sector, array->chunk_size, &b);
367 far_ofs = grub_divmod64 (array->disk_size,
373 read_sector = grub_divmod64 (read_sector * near, array->total_devs,
461 read_sector = grub_divmod64 (sector, array->chunk_size, &b);
462 read_sector = grub_divmod64 (read_sector, array->total_devs - n,
466 grub_divmod64 (read_sector, array->total_devs, &p);
H A Dlvm.c870 extent = grub_divmod64 (sector, vg->extent_size, NULL);
917 a = grub_divmod64 (offset, seg->stripe_size, NULL);
918 grub_divmod64 (a, seg->node_count, &stripenr);
920 a = grub_divmod64 (offset, seg->stripe_size * seg->node_count, NULL);
921 grub_divmod64 (offset, seg->stripe_size, &b);
/osnet-11/usr/src/grub/grub2/grub-core/disk/i386/pc/
H A Dbiosdisk.c410 = grub_divmod64 (total_sectors
533 grub_divmod64 (sector, sectors, &offset);
/osnet-11/usr/src/grub/grub2/grub-core/commands/
H A Dls.c160 whole = grub_divmod64 (fsize, 100, &fraction);
/osnet-11/usr/src/grub/grub2/grub-core/kern/
H A Dfile.c188 unsigned pct = grub_divmod64(file->progress_counter * 100,
H A Dmisc.c428 if (num > grub_divmod64 (~0ULL - digit, base, 0))
563 grub_divmod64 (grub_uint64_t n, grub_uint64_t d, grub_uint64_t *r) function
634 n = grub_divmod64 (n, 10, &m);
/osnet-11/usr/src/grub/grub2/include/grub/
H A Dmisc.h361 grub_uint64_t EXPORT_FUNC(grub_divmod64) (grub_uint64_t n,
/osnet-11/usr/src/grub/grub2/grub-core/loader/i386/
H A Dxnu.c199 tsc_ticks_per_ms = grub_divmod64 (end_tsc - start_tsc, 55, 0);
208 return grub_divmod64 (2000 * tsc_ticks_per_ms,
/osnet-11/usr/src/grub/grub2/grub-core/fs/zfs/
H A Dzfs.c1674 high = grub_divmod64 ((offset >> desc->ashift),
1697 high = grub_divmod64 ((offset >> desc->ashift) + c,
1759 high = grub_divmod64 ((offset >> desc->ashift)
4390 grub_uint64_t blkid = grub_divmod64 (file->offset + read, blksz, 0);

Completed in 106 milliseconds