Home
last modified time | relevance | path

Searched refs:HS_SECTOR_SIZE (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/hsfs/
H A Dhsfs_susp_subr.c444 HS_SECTOR_SIZE - secoff) == 0) { in hs_check_root_dirent()
446 (int *)NULL, HS_SECTOR_SIZE - secoff); in hs_check_root_dirent()
482 if (cont_info_p->cont_offset > HS_SECTOR_SIZE || in get_cont_area()
483 cont_info_p->cont_len > HS_SECTOR_SIZE) { in get_cont_area()
489 *buf_pp = kmem_alloc((size_t)HS_SECTOR_SIZE, KM_SLEEP); in get_cont_area()
506 HS_SECTOR_SIZE) { in get_cont_area()
507 bcopy(secbp->b_un.b_addr, (char *)*buf_pp, HS_SECTOR_SIZE); in get_cont_area()
522 bzero((char *)*buf_pp, HS_SECTOR_SIZE); in get_cont_area()
523 partial_size = HS_SECTOR_SIZE - cont_info_p->cont_offset; in get_cont_area()
530 HS_SECTOR_SIZE); in get_cont_area()
[all …]
H A Dhsfs_node.c611 if (off > HS_SECTOR_SIZE) in hs_makenode()
724 if (off > HS_SECTOR_SIZE) { in hs_remakenode()
730 secbp = bread(fsp->hsfs_devvp->v_rdev, secno * 4, HS_SECTOR_SIZE); in hs_remakenode()
740 HS_SECTOR_SIZE - off); in hs_remakenode()
1415 secbp = bread(fsp->hsfs_devvp->v_rdev, secno * 4, HS_SECTOR_SIZE); in hs_filldirent()
1430 (int *)NULL, HS_SECTOR_SIZE - secoff); in hs_filldirent()
1513 *offset = roundup(*offset + 1, HS_SECTOR_SIZE); in process_dirblock()
H A Dhsfs_vfsops.c1012 secbp = bread(vp->v_rdev, secno * 4, HS_SECTOR_SIZE); in hs_findhsvol()
1051 secbp = bread(vp->v_rdev, secno * 4, HS_SECTOR_SIZE); in hs_findhsvol()
1089 ffs((long)howmany(HS_SECTOR_SIZE, (int)hvp->lbn_size)) - 1; in hs_parsehsvol()
1211 secbp = bread(vp->v_rdev, secno * 4, HS_SECTOR_SIZE); in hs_findisovol()
1226 secbp = bread(vp->v_rdev, secno * 4, HS_SECTOR_SIZE); in hs_findisovol()
H A Dhsfs_vnops.c477 offset = roundup(offset + 1, HS_SECTOR_SIZE); in hsfs_readdir()
/illumos-gate/usr/src/uts/common/sys/fs/
H A Dhsfs_spec.h86 #define HS_SECTOR_SIZE 2048 /* bytes per logical sector */ macro
88 #define HS_SEC_PER_PAGE (PAGESIZE/HS_SECTOR_SIZE) /* sectors per page */
92 #define MAXHSOFFSET (HS_SECTOR_SIZE - 1)
H A Dhsfs_isospec.h76 #define ISO_SEC_PER_PAGE (PAGESIZE/HS_SECTOR_SIZE)