Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/common/fs/pcfs/
H A Dpc_alloc.c98 fsp->pcfs_clsize))) { in pc_bmap()
142 if (contigbp && *contigbp > fsp->pcfs_clsize) { in pc_bmap()
143 uint_t count = fsp->pcfs_clsize; in pc_bmap()
147 count += fsp->pcfs_clsize; in pc_bmap()
272 n = (int)howmany((offset_t)pcp->pc_size, fsp->pcfs_clsize); in pc_bfree()
478 bp = ngeteblk(fsp->pcfs_clsize); in pc_alloccluster()
H A Dpc_node.c170 pcp->pc_size = fsp->pcfs_clsize * ncl; in pc_getnode()
183 pcp->pc_size = fsp->pcfs_clsize * ncl; in pc_getnode()
386 uint_t llcn = howmany((offset_t)length, fsp->pcfs_clsize); in pc_truncate()
393 if ((daddr_t)howmany((offset_t)pcp->pc_size, fsp->pcfs_clsize) < in pc_truncate()
409 pcp->pc_size = fsp->pcfs_clsize * ncl; in pc_truncate()
436 roundup(length, MIN(fsp->pcfs_clsize, MAXBSIZE)) - in pc_truncate()
445 howmany((offset_t)length, fsp->pcfs_clsize)); in pc_truncate()
470 pc_dbdaddr(fsp, pcp->pc_eblkno), fsp->pcfs_clsize); in pc_getentryblock()
H A Dpc_vfsops.c760 vfsp->vfs_bsize = fsp->pcfs_clsize; in pcfs_mount()
909 sp->f_bsize = sp->f_frsize = fsp->pcfs_clsize; in pcfs_statvfs()
1188 (eoffset > fsp->pcfs_clsize)) { in pcfs_vget()
1197 fsp->pcfs_clsize); in pcfs_vget()
1289 readsize = fsp->pcfs_clsize; in pc_readfat()
1331 writesize = fsp->pcfs_clsize; in pc_writefat()
2036 fsp->pcfs_clsize = secsize * fsp->pcfs_spcl; in parseBPB()
2077 if (VALID_CLSIZE(fsp->pcfs_clsize)) in parseBPB()
2234 fsp->pcfs_rootblksize = fsp->pcfs_clsize; in parseBPB()
2580 fat_changemapsize = (fatsize / fsp->pcfs_clsize) + 1; in pc_getfat()
[all …]
H A Dpc_vnops.c421 fsp->pcfs_clsize); in rwpcp()
424 fsp->pcfs_clsize)) { in rwpcp()
439 fsp->pcfs_clsize)) in rwpcp()
476 pcp->pc_size = fsp->pcfs_clsize * ncl; in rwpcp()
633 vap->va_blksize = fsp->pcfs_clsize; in pcfs_getattr()
1498 lbnoff = off & ~(fsp->pcfs_clsize - 1); in pcfs_getapage()
1512 lbn += howmany(xfersize, fsp->pcfs_clsize), in pcfs_getapage()
1799 lbnoff = io_off & ~(fsp->pcfs_clsize - 1); in pcfs_putapage()
1804 lbn += howmany(xfersize, fsp->pcfs_clsize), in pcfs_putapage()
H A Dpc_dir.c234 (*pcpp)->pc_size = fsp->pcfs_clsize; in pc_direnter()
319 bp = ngeteblk(fsp->pcfs_clsize); in pc_makedirentry()
1295 pcp->pc_size += fsp->pcfs_clsize; in pc_find_free_space()
1296 spaceavail += fsp->pcfs_clsize; in pc_find_free_space()
1297 offset += fsp->pcfs_clsize; in pc_find_free_space()
/titanic_41/usr/src/uts/common/sys/fs/
H A Dpc_fs.h410 int pcfs_clsize; /* cluster size in bytes */ member
527 (PCFS)->pcfs_clsize): \
528 (PCFS)->pcfs_clsize)
531 ((int)((OFF) & ((PCFS)->pcfs_clsize - 1)))
534 ((daddr_t)((OFF) / (PCFS)->pcfs_clsize))
563 ((int)((PCFS)->pcfs_clsize / sizeof (struct pcdir)))