Home
last modified time | relevance | path

Searched refs:blks (Results 1 – 25 of 29) sorted by relevance

12

/titanic_41/usr/src/cmd/svr4pkg/pkgmk/
H A Dsplpkgmap.c65 fsblkcnt_t blks; member
197 f[i].blks = 0; in splpkgmap()
207 f[i].blks = nblk(ept->cinfo.size, bsize, frsize); in splpkgmap()
210 bpkginfo = f[i].blks; in splpkgmap()
237 btemp += f[j].blks; in splpkgmap()
293 btotal += f[j].blks; in splpkgmap()
321 if ((f[j].blks + btemp) > *plimit) { in splpkgmap()
323 progerr(gettext(ERR_TOOBIG), f[j].ept->path, f[j].blks); in splpkgmap()
419 btemp = sf[i]->blks + (ftemp * DIRSIZE); in store()
437 btotal += sf[choice]->blks + (svnodes * DIRSIZE); in store()
[all …]
/titanic_41/usr/src/cmd/fs.d/ufs/fsck/
H A Dmain.c364 daddr32_t blks; in checkfilesys() local
543 blks = n_blks + in checkfilesys()
545 blks += cgsblock(&sblock, 0) - cgbase(&sblock, 0); in checkfilesys()
546 blks += howmany(sblock.fs_cssize, sblock.fs_fsize); in checkfilesys()
547 blks = maxfsblock - (n_ffree + sblock.fs_frag * n_bfree) - blks; in checkfilesys()
548 if (debug && (files > 0 || blks > 0)) { in checkfilesys()
552 (longlong_t)blks); in checkfilesys()
585 if (blks < 0) in checkfilesys()
586 pwarn("%lld blocks missing\n", -(longlong_t)blks); in checkfilesys()
H A Dinode.c827 uint_t blks; in cacheino() local
829 blks = NDADDR + NIADDR; in cacheino()
831 malloc(sizeof (*inp) + (blks - 1) * sizeof (daddr32_t)); in cacheino()
900 uint_t blks; in cacheacl() local
902 blks = NDADDR + NIADDR; in cacheacl()
904 malloc(sizeof (*aclp) + (blks - 1) * sizeof (daddr32_t)); in cacheacl()
912 aclp->i_blkssize = (size_t)(blks * sizeof (daddr32_t)); in cacheacl()
/titanic_41/usr/src/test/zfs-tests/tests/functional/zvol/zvol_swap/
H A Dzvol_swap_002_pos.ksh54 typeset -i count blks volsize=$(get_prop volsize $vol)
55 ((blks = (volsize / 512) * 80 / 100))
57 ((count = blks / 2048))
/titanic_41/usr/src/cmd/boot/fiocompress/
H A Dfiocompress.c177 size_t blks, dstlen, hlen; in do_comp() local
181 blks = ((srclen - 1) / blksize) + 1; in do_comp()
182 hlen = offset = sizeof (struct comphdr) + blks * sizeof (uint64_t); in do_comp()
208 for (i = 0; i < blks; i++) { in do_comp()
249 size_t blks, blksize; in do_decomp() local
279 blks = (hdr->ch_fsize - 1) / blksize; in do_decomp()
281 for (i = 0; i < blks; i++) { in do_decomp()
/titanic_41/usr/src/uts/common/avs/ns/sdbc/
H A Dsd_bcache.h851 #define CACHE_FBA_READ(cd, blks) \ argument
853 _sd_cache_stats->st_shared[(cd)].sh_cache_read += (blks)
854 #define DISK_FBA_READ(cd, blks) \ argument
856 _sd_cache_stats->st_shared[(cd)].sh_disk_read += (blks)
857 #define CACHE_FBA_WRITE(cd, blks) \ argument
859 _sd_cache_stats->st_shared[(cd)].sh_cache_write += (blks)
860 #define DISK_FBA_WRITE(cd, blks) \ argument
862 _sd_cache_stats->st_shared[(cd)].sh_disk_write += (blks)
933 #define CACHE_FBA_READ(cd, blks) argument
934 #define DISK_FBA_READ(cd, blks) argument
[all …]
H A Dsd_pcu.c106 nsc_size_t i, blks; in sdbc_get_anon_list() local
109 blks = (bytes + CACHE_BLOCK_SIZE - 1) / CACHE_BLOCK_SIZE; in sdbc_get_anon_list()
110 for (i = 0; i < blks; i++) { in sdbc_get_anon_list()
/titanic_41/usr/src/uts/sun4u/os/
H A Dmemscrub.c225 static void memscrub_scan(uint_t blks, ms_paddr_t src);
1042 memscrub_scan(uint_t blks, ms_paddr_t src) in memscrub_scan() argument
1052 extern void memscrub_read(caddr_t src, uint_t blks); in memscrub_scan()
1070 while (blks != 0) { in memscrub_scan()
1073 (blks >= MEMSCRUB_BPP4M)) { in memscrub_scan()
1077 (blks >= MEMSCRUB_BPP512K)) { in memscrub_scan()
1081 (blks >= MEMSCRUB_BPP64K)) { in memscrub_scan()
1095 if (blks < bpp) bpp = blks; in memscrub_scan()
1188 blks -= bpp; in memscrub_scan()
/titanic_41/usr/src/uts/sun4u/ml/
H A Dmemscrub_asm.s54 memscrub_read(caddr_t vaddr, u_int blks)
60 ! void memscrub_read(caddr_t src, u_int blks)
/titanic_41/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_copies/
H A Dzfs_copies_002_pos.ksh81 blks=`$LS -ls /$TESTPOOL/fs_$val/$FILE | $AWK '{print $1}'`
82 (( used = blks * 512 / (1024 * 1024) ))
/titanic_41/usr/src/cmd/fs.d/ufs/quot/
H A Dquot.c302 long blks, frags, size; in qacct() local
320 blks = lblkno(&sblock, ip->di_size); in qacct()
321 frags = blks * sblock.fs_frag + in qacct()
322 numfrags(&sblock, dblksize(&sblock, ip, blks)); in qacct()
/titanic_41/usr/src/cmd/fs.d/cachefs/fsck/
H A Dres.c69 long blks);
656 res_rlent_moveto(res *resp, enum cachefs_rl_type type, uint_t entno, long blks) in res_rlent_moveto() argument
692 lhp->rli_blkcnt -= blks; in res_rlent_moveto()
713 lhp->rli_blkcnt += blks; in res_rlent_moveto()
/titanic_41/usr/src/grub/grub-0.97/stage2/
H A Dfs.h415 #define blkstofrags(fs, blks) /* calculates (blks * fs->fs_frag) */ \ argument
416 ((blks) << (fs)->fs_fragshift)
H A Dufs2.h400 #define blkstofrags(fs, blks) /* calculates (blks * fs->fs_frag) */ \ argument
401 ((blks) << (fs)->fs_fragshift)
/titanic_41/usr/src/cmd/mdb/common/modules/ufs/
H A Dufs.c521 short *blks; in cg() local
602 blks = (short *)((char *)cgp + cgp->cg_boff); in cg()
610 mdb_printf(" %d", blks[i*cnt + j]); in cg()
/titanic_41/usr/src/uts/common/fs/ufs/
H A Dufs_alloc.c635 short *blks; in free() local
678 blks = cg_blks(ufsvfsp, cgp, cylno); in free()
688 blks[rpos]++; in free()
747 blks = cg_blks(ufsvfsp, cgp, cylno); in free()
748 blks[rpos]++; in free()
1116 short *blks; in alloccgblk() local
1271 blks = cg_blks(ufsvfsp, cgp, cylno); in alloccgblk()
1274 blks[rpos]--; in alloccgblk()
H A Dufs_vfsops.c1962 int blks; in sbupdate() local
1985 blks = howmany(fs->fs_cssize, fs->fs_fsize); in sbupdate()
1987 for (i = 0; i < blks; i += fs->fs_frag) { in sbupdate()
1989 if (i + fs->fs_frag > blks) in sbupdate()
1990 size = (blks - i) * fs->fs_fsize; in sbupdate()
/titanic_41/usr/src/uts/common/fs/cachefs/
H A Dcachefs_resource.c82 enum cachefs_rl_type type, uint_t entno, size_t blks) in cachefs_rlent_moveto() argument
86 cachefs_rlent_moveto_nolock(cachep, type, entno, blks); in cachefs_rlent_moveto()
92 enum cachefs_rl_type type, uint_t entno, size_t blks) in cachefs_rlent_moveto_nolock() argument
141 lhp->rli_blkcnt -= blks; in cachefs_rlent_moveto_nolock()
165 lhp->rli_blkcnt += blks; in cachefs_rlent_moveto_nolock()
/titanic_41/usr/src/cmd/backup/dump/
H A Ddumpmain.c1235 mb(u_offset_t blks) in mb() argument
1239 if (blks < 1024) in mb()
1240 (void) snprintf(buf, sizeof (buf), "%lldKB", blks); in mb()
1243 ((double)(blks*tp_bsize)) / (double)(1024*1024)); in mb()
H A Ddumptape.c81 struct breq blks; /* used for off-line mode */ member
90 #define br_dblk data.blks.dblk
91 #define br_size data.blks.size
92 #define br_spcl data.blks.spclrec
/titanic_41/usr/src/uts/common/sys/fs/
H A Dufs_fs.h680 #define blkstofrags(fs, blks) /* calculates (blks * fs->fs_frag) */ \ argument
681 ((blks) << (fs)->fs_fragshift)
/titanic_41/usr/src/cmd/format/
H A Dstartup.c2617 int blks; in str2blks() local
2620 blks = (int)strtol(str, &p, 0); in str2blks()
2630 blks = blks * spc(); in str2blks()
2641 blks = -1; in str2blks()
2645 return (blks); in str2blks()
/titanic_41/usr/src/cmd/backup/restore/
H A Dtape.c1899 int blks, i; in accthdr() local
1941 blks = 0; in accthdr()
1945 blks++; in accthdr()
1946 predict = blks; in accthdr()
/titanic_41/usr/src/uts/common/io/lvm/md/
H A Dmd.c895 md_print_block_usage(mddb_set_t *s, uint_t blks) in md_print_block_usage() argument
912 max_blk_needed = s->s_totalblkcnt - s->s_freeblkcnt + blks; in md_print_block_usage()
921 s->s_totalblkcnt, (blks - s->s_freeblkcnt)); in md_print_block_usage()
/titanic_41/usr/src/uts/common/io/lvm/mirror/
H A Dmirror_resync.c1608 int blks; in check_comp_4_resync() local
1672 blks = ((MD_DEF_RESYNC_BLK_SZ + blk_size + skip - 1)/ in check_comp_4_resync()
1674 un->un_rs_resync_done = (un->un_rs_resync_done/blks) * blks; in check_comp_4_resync()
1733 if ((un->un_rs_resync_done%blks == 0)) { in check_comp_4_resync()
1736 (blk_size+skip)*blks, flags1); in check_comp_4_resync()

12