/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | fsys_ext2fs.c | 28 #define DEV_BSIZE 512 macro 35 #define SBLOCK (WHICH_SUPER * BLOCK_SIZE / DEV_BSIZE) /* = 2 */ 310 || part_length < (SBLOCK + (sizeof (struct ext2_super_block) / DEV_BSIZE)) in ext2fs_mount() 326 return devread (fsblock * (EXT2_BLOCK_SIZE (SUPERBLOCK) / DEV_BSIZE), 0, in ext2_rdfsb() 488 devread (map * (EXT2_BLOCK_SIZE (SUPERBLOCK) / DEV_BSIZE), in ext2fs_read() 534 ea_blocks = INODE->i_file_acl ? EXT2_BLOCK_SIZE (SUPERBLOCK) / DEV_BSIZE : 0; in ext2_is_fast_symlink()
|
H A D | fsys_ffs.c | 87 || part_length < (SBLOCK + (SBSIZE / DEV_BSIZE)) in ffs_mount()
|
H A D | fsys_minix.c | 37 #define DEV_BSIZE 512 macro 46 #define SBLOCK (WHICH_SUPER * BLOCK_SIZE / DEV_BSIZE) /* = 2 */ 169 (sizeof (struct minix_super_block) / DEV_BSIZE))) in minix_mount() 195 return devread (fsblock * (BLOCK_SIZE / DEV_BSIZE), 0, in minix_rdfsb() 273 devread (map * (BLOCK_SIZE / DEV_BSIZE), in minix_read()
|
H A D | fsys_ufs2.c | 95 if (! (part_length < (sblock_try[i] + (SBLOCKSIZE / DEV_BSIZE)) in ufs2_mount()
|
H A D | ufs2.h | 71 #define DEV_BSIZE 512 macro
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/disk/ |
H A D | disk_common.c | 1028 blksize = DEV_BSIZE; /* default value */ in dev_di_node_add()
|
/illumos-gate/usr/src/lib/libadm/common/ |
H A D | rdwr_vtoc.c | 127 vtoc->v_sectorsz = DEV_BSIZE; in read_vtoc() 267 extvtoc->v_sectorsz = DEV_BSIZE; in read_extvtoc()
|
/illumos-gate/usr/src/lib/libefi/common/ |
H A D | rdwr_efi.c | 168 return ((EFI_MIN_RESV_SIZE * DEV_BSIZE + efi->efi_lbasize - 1) / in efi_reserved_sectors() 415 disk_info.dki_lbsize = DEV_BSIZE; in efi_read() 422 disk_info.dki_lbsize = DEV_BSIZE; in efi_read()
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | dstream.c | 589 howmany(svfsb.f_frsize, DEV_BSIZE) : in ds_getpkg() 590 howmany(svfsb.f_bsize, DEV_BSIZE)) * svfsb.f_bfree; in ds_getpkg()
|
H A D | pkgtrans.c | 1278 howmany(svfsb.f_frsize, DEV_BSIZE) : in pkgxfer() 1279 howmany(svfsb.f_bsize, DEV_BSIZE)) * svfsb.f_bavail; in pkgxfer()
|
/illumos-gate/usr/src/lib/libsmedia/plugins/floppy/common/ |
H A D | f_format.c | 164 * DEV_BSIZE; in format_floppy()
|
/illumos-gate/usr/src/lib/libzutil/common/ |
H A D | zutil_import.c | 1030 blksz = DEV_BSIZE; in check_one_slice()
|
/illumos-gate/usr/src/lib/storage/liba5k/common/ |
H A D | mon.c | 2778 vtoc.v_sectorsz != DEV_BSIZE) { in l_get_disk_port_status()
|
/illumos-gate/usr/src/stand/lib/fs/common/ |
H A D | diskread.c | 66 (unsigned long long)blocknum * (unsigned long long)DEV_BSIZE); in diskread()
|
/illumos-gate/usr/src/stand/lib/fs/hsfs/ |
H A D | hsfsops.c | 50 #define hdbtodb(n) ((ISO_SECTOR_SIZE / DEV_BSIZE) * (n)) 667 filep->fi_blocknum = addr / DEV_BSIZE; in boot_hsfs_lseek()
|
/illumos-gate/usr/src/stand/lib/fs/ufs/ |
H A D | lufsboot.c | 413 logfp->fi_count = DEV_BSIZE; in lufs_read_log() 616 *addr += ((*addr & (DEV_BSIZE - 1))) ? in lufs_logscan_skip() 866 odi.od_tail_lof = dbtob(btodb(odi.od_head_lof)) - DEV_BSIZE; in lufs_logscan_prescan() 868 odi.od_tail_lof = odi.od_eol_lof - DEV_BSIZE; in lufs_logscan_prescan()
|
H A D | ufsops.c | 210 filep->fi_count = DEV_BSIZE; in find() 740 filep->fi_blocknum = addr / DEV_BSIZE; in boot_ufs_lseek() 879 fp->fi_count = DEV_BSIZE; in boot_ufs_getdents()
|
/illumos-gate/usr/src/ucbcmd/ls/ |
H A D | ls.c | 42 #define dbtokb(nb) ((nb) / (1024 / DEV_BSIZE))
|
/illumos-gate/usr/src/ucbhead/sys/ |
H A D | dir.h | 62 #if !defined(KERNEL) && !defined(DEV_BSIZE) 63 #define DEV_BSIZE 512 macro
|
H A D | param.h | 200 #define DEV_BSIZE 512 macro
|
/illumos-gate/usr/src/uts/common/cpr/ |
H A D | cpr_dump.c | 283 btod(cpr_wptr - cpr_buf) * DEV_BSIZE; in cpr_write_terminator()
|
/illumos-gate/usr/src/uts/common/fs/ctfs/ |
H A D | ctfs_root.c | 239 vfsp->vfs_bsize = DEV_BSIZE; in ctfs_mount() 346 sp->f_bsize = DEV_BSIZE; in ctfs_statvfs() 347 sp->f_frsize = DEV_BSIZE; in ctfs_statvfs() 383 vap->va_blksize = DEV_BSIZE; in ctfs_common_getattr()
|
/illumos-gate/usr/src/uts/common/fs/dev/ |
H A D | sdev_vfsops.c | 336 vfsp->vfs_bsize = DEV_BSIZE; in sdev_mount()
|
/illumos-gate/usr/src/uts/common/fs/devfs/ |
H A D | devfs_vfsops.c | 223 vfsp->vfs_bsize = DEV_BSIZE; in devfs_mount()
|
/illumos-gate/usr/src/uts/common/fs/ |
H A D | fdbuffer.c | 379 ASSERT((len & (DEV_BSIZE - 1)) == 0); in fdb_iosetup()
|