Searched refs:blksize (Results 1 - 25 of 44) sorted by relevance

12

/freebsd-12-stable/tests/sys/cddl/zfs/tests/compression/
H A Dcompress_003_pos.ksh72 typeset -i blksize=512
88 (( blksize = 512 ))
89 while (( blksize <= 131072 )); do
90 log_must $ZFS set recordsize=$blksize $fs
92 if (( offset > blksize )); then
93 (( offset = offset % blksize ))
101 (( fsize = blksize + offset ))
104 (( blksize = blksize * 2 ))
H A Dcompress_004_pos.ksh95 typeset -i blksize=512
112 (( blksize = 512 ))
113 while (( blksize <= 131072 )); do
114 log_must $ZFS set recordsize=$blksize $fs
118 if (( fsize > blksize )); then
119 (( fsize = fsize % blksize ))
129 (( blknum = avail / blksize ))
138 (( fsize = blknum * blksize ))
141 (( blksize = blksize *
[all...]
/freebsd-12-stable/tests/sys/cddl/zfs/tests/zvol/zvol_misc/
H A Dzvol_misc_006_pos.ksh86 typeset blksize=$($ZFS get -H -o value volblocksize $TESTPOOL/$TESTVOL)
88 if [[ $blksize != "128K" ]]; then
89 log_fail "ZFS volume $TESTPOOL/$TESTVOL volblocksize=$blksize"
/freebsd-12-stable/sys/fs/ext2fs/
H A Dext2_htree.c66 static void ext2_append_entry(char *block, uint32_t blksize,
70 struct componentname *cnp, uint32_t blksize);
95 char *block1, char *block2, uint32_t blksize,
413 struct componentname *cnp, uint32_t blksize)
421 cursize = roundup(dp->i_size, blksize);
422 newsize = cursize + blksize;
425 auio.uio_resid = blksize;
426 aiov.iov_len = blksize;
508 ext2_append_entry(char *block, uint32_t blksize, argument
517 new_entry->e2d_reclen = block + blksize
412 ext2_htree_append_block(struct vnode *vp, char *data, struct componentname *cnp, uint32_t blksize) argument
525 ext2_htree_split_dirblock(struct inode *ip, char *block1, char *block2, uint32_t blksize, uint32_t *hash_seed, uint8_t hash_version, uint32_t *split_hash, struct ext2fs_direct_2 *entry) argument
663 uint32_t blksize, dirlen, split_hash; local
772 uint32_t blksize, blknum; local
902 ext2_htree_split_dirblock(ip, (char *)bp->b_data, newdirblock, blksize, local
[all...]
H A Dfs.h152 #define blksize(fs, ip, lbn) ((fs)->e2fs_fsize) macro
H A Dext2_inode.c300 size = blksize(fs, oip, lbn);
398 bsize = blksize(fs, oip, i);
417 oldspace = blksize(fs, oip, lastblock);
419 newspace = blksize(fs, oip, lastblock);
519 size = blksize(fs, oip, lbn);
H A Dext2_subr.c78 bsize = blksize(fs, ip, lbn);
/freebsd-12-stable/crypto/heimdal/appl/rcp/
H A Dutil.c146 allocbuf(bp, fd, blksize)
148 int fd, blksize;
158 size = roundup(stb.st_blksize, blksize);
160 size = blksize;
/freebsd-12-stable/sys/geom/
H A Dgeom_redboot.c249 u_int blksize; /* NB: flash block size stored as stripesize */ local
280 blksize = cp->provider->stripesize;
286 printf("%s: mediasize %ld secsize %d blksize %d offmask 0x%x\n",
288 blksize, offmask);
295 offset = cp->provider->mediasize - blksize;
297 buf = g_read_data(cp, offset, blksize, NULL);
299 head = parse_fis_directory(buf, blksize, offset, offmask);
/freebsd-12-stable/contrib/sendmail/contrib/
H A Dre-mqueue.pl156 $atime,$mtime,$ctime,$blksize,$blocks) = stat($dfile);
/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dzvol.h63 extern int zvol_get_volume_params(minor_t minor, uint64_t *blksize,
/freebsd-12-stable/sys/dev/cxgb/
H A Dbin2h.pl63 $atime,$mtime,$ctime,$blksize,$blocks)
/freebsd-12-stable/sys/cam/scsi/
H A Dscsi_cd.c87 u_int32_t blksize; member in struct:cd_params
937 softc->params.blksize,
938 bp->bio_bcount / softc->params.blksize,
945 if (softc->params.blksize == 2352) {
1213 cdp->blksize = scsi_4btoul (rdcap->length);
1224 ((uintmax_t)cdp->disksize * cdp->blksize) /
1226 (uintmax_t)cdp->disksize, cdp->blksize);
1463 softc->params.blksize = scsi_4btoul(rdcap->length);
1466 if (softc->params.blksize == 0)
1478 if (softc->params.blksize > 204
[all...]
/freebsd-12-stable/contrib/tcpdump/
H A Dprint-decnet.c606 int src, dst, info, blksize, eco, ueco, hello, other, vers; local
620 blksize = EXTRACT_LE_16BITS(cmp->cm_init.in_blksize);
628 dnaddr_string(ndo, src), blksize, vers, eco, ueco,
684 blksize = EXTRACT_LE_16BITS(cmp->cm_rhello.rh_blksize);
689 "vers %d eco %d ueco %d src %s blksize %d pri %d hello %d",
691 blksize, priority, hello));
707 blksize = EXTRACT_LE_16BITS(cmp->cm_ehello.eh_blksize);
716 "vers %d eco %d ueco %d src %s blksize %d rtr %s hello %d data %o",
718 blksize, dnaddr_string(ndo, dst), hello, other));
/freebsd-12-stable/sys/dev/sound/pci/
H A Dneomagic.c57 u_int32_t blksize, wmark; member in struct:sc_chinfo
361 ch->blksize = 0;
403 ch->blksize = blocksize;
425 ch->wmark = ch->blksize;
441 ch->wmark = ch->blksize;
500 sc->pch.wmark += sc->pch.blksize;
509 sc->rch.wmark += sc->rch.blksize;
/freebsd-12-stable/sys/ufs/ffs/
H A Dffs_subr.c92 bsize = blksize(fs, ip, lbn);
142 ffs_check_blkno(struct mount *mp, ino_t inum, ufs2_daddr_t daddr, int blksize) argument
154 end_daddr = daddr + numfrags(fs, blksize);
H A Dffs_inode.c460 size = blksize(fs, ip, lbn);
567 bsize = blksize(fs, ip, i);
588 oldspace = blksize(fs, ip, lastblock);
592 newspace = blksize(fs, ip, lastblock);
/freebsd-12-stable/tests/sys/fs/fusefs/
H A Dgetattr.cc142 * If attr.blksize is zero, then the kernel should use a default value for
163 out.body.attr.attr.blksize = 0;
231 out.body.attr.attr.blksize = 12345;
/freebsd-12-stable/usr.sbin/makefs/ffs/
H A Dffs_balloc.c114 osize = blksize(fs, ip, nb);
365 osize = blksize(fs, ip, nb);
/freebsd-12-stable/sys/dev/ida/
H A Didareg.h253 u_int16_t blksize; /* block size in bytes */ member in struct:ida_phys_drv_info
/freebsd-12-stable/sys/fs/cd9660/
H A Diso.h272 #define blksize(imp, ip, lbn) ((imp)->logical_block_size) macro
H A Dcd9660_lookup.c452 bsize = blksize(imp, ip, lbn);
/freebsd-12-stable/sys/geom/part/
H A Dg_part_bsd64.c306 uint32_t blksize, ressize; local
317 blksize = pp->sectorsize < BLKSIZE ? BLKSIZE: pp->sectorsize;
318 blkmask = blksize - 1;
340 table->d_align = blksize;
/freebsd-12-stable/sys/powerpc/ps3/
H A Dps3cdrom.c128 uint32_t blksize; member in struct:lv1_atapi_cmd
632 atapi_cmd.blksize = 1;
/freebsd-12-stable/contrib/opie/
H A Dopieftpd.c916 static VOIDRET send_data FUNCTION((instr, outstr, blksize), FILE *instr AND FILE *outstr AND off_t blksize) argument
950 if ((buf = malloc((u_int) blksize)) == NULL) {
957 while ((cnt = read(filefd, buf, (u_int) blksize)) > 0 &&

Completed in 455 milliseconds

12