Home
last modified time | relevance | path

Searched refs:DEV_BSIZE (Results 76 – 100 of 182) sorted by path

12345678

/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_ext2fs.c28 #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 Dfsys_ffs.c87 || part_length < (SBLOCK + (SBSIZE / DEV_BSIZE)) in ffs_mount()
H A Dfsys_minix.c37 #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 Dfsys_ufs2.c95 if (! (part_length < (sblock_try[i] + (SBLOCKSIZE / DEV_BSIZE)) in ufs2_mount()
H A Dufs2.h71 #define DEV_BSIZE 512 macro
/illumos-gate/usr/src/lib/fm/topo/modules/common/disk/
H A Ddisk_common.c1028 blksize = DEV_BSIZE; /* default value */ in dev_di_node_add()
/illumos-gate/usr/src/lib/libadm/common/
H A Drdwr_vtoc.c127 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 Drdwr_efi.c168 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 Ddstream.c589 howmany(svfsb.f_frsize, DEV_BSIZE) : in ds_getpkg()
590 howmany(svfsb.f_bsize, DEV_BSIZE)) * svfsb.f_bfree; in ds_getpkg()
H A Dpkgtrans.c1278 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 Df_format.c164 * DEV_BSIZE; in format_floppy()
/illumos-gate/usr/src/lib/libzutil/common/
H A Dzutil_import.c1030 blksz = DEV_BSIZE; in check_one_slice()
/illumos-gate/usr/src/lib/storage/liba5k/common/
H A Dmon.c2778 vtoc.v_sectorsz != DEV_BSIZE) { in l_get_disk_port_status()
/illumos-gate/usr/src/stand/lib/fs/common/
H A Ddiskread.c66 (unsigned long long)blocknum * (unsigned long long)DEV_BSIZE); in diskread()
/illumos-gate/usr/src/stand/lib/fs/hsfs/
H A Dhsfsops.c50 #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 Dlufsboot.c413 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 Dufsops.c210 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 Dls.c42 #define dbtokb(nb) ((nb) / (1024 / DEV_BSIZE))
/illumos-gate/usr/src/ucbhead/sys/
H A Ddir.h62 #if !defined(KERNEL) && !defined(DEV_BSIZE)
63 #define DEV_BSIZE 512 macro
H A Dparam.h200 #define DEV_BSIZE 512 macro
/illumos-gate/usr/src/uts/common/cpr/
H A Dcpr_dump.c283 btod(cpr_wptr - cpr_buf) * DEV_BSIZE; in cpr_write_terminator()
/illumos-gate/usr/src/uts/common/fs/ctfs/
H A Dctfs_root.c239 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 Dsdev_vfsops.c336 vfsp->vfs_bsize = DEV_BSIZE; in sdev_mount()
/illumos-gate/usr/src/uts/common/fs/devfs/
H A Ddevfs_vfsops.c223 vfsp->vfs_bsize = DEV_BSIZE; in devfs_mount()
/illumos-gate/usr/src/uts/common/fs/
H A Dfdbuffer.c379 ASSERT((len & (DEV_BSIZE - 1)) == 0); in fdb_iosetup()

12345678