Searched refs:blocksize (Results 1 - 25 of 129) sorted by relevance

123456

/freebsd-9.3-release/release/scripts/
H A Dtar.sh38 blocksize="20"
45 echo "usage: tar -{c|t|x} [-v] [-b blocksize] [-f archive] [files...]" 1>&2
82 blocksize="${OPTARG}"
105 exec cpio -it $verbose $device --block-size="$blocksize" "$@"
108 exec cpio -idmu $verbose $device --block-size="$blocksize" "$@"
116 cpio -o -H ustar $verbose $device --block-size="$blocksize"
/freebsd-9.3-release/usr.bin/csup/
H A Drsyncfile.c57 size_t blocksize; member in struct:rsyncfile
73 rsync_open(char *path, size_t blocksize, int rdonly) argument
99 rf->blocksize = (blocksize == 0 ? rsync_chooseblocksize(rf->fsize) :
100 blocksize);
127 size_t bestrem, blocksize, bs, hisearch, losearch, rem; local
129 blocksize = fsize / MAXBLOCKS;
130 losearch = blocksize - SEARCHREGION;
131 hisearch = blocksize + SEARCHREGION;
146 blocksize
157 size_t blocksize; local
[all...]
/freebsd-9.3-release/usr.bin/hexdump/
H A Dhexdump.c52 int blocksize; /* data block size */ variable
70 for (blocksize = 0, tfs = fshead; tfs; tfs = tfs->nextfs) {
72 if (blocksize < tfs->bcnt)
73 blocksize = tfs->bcnt;
H A Ddisplay.c92 * blocksize, and no partial block ever found.
133 blocksize - address % blocksize);
240 if ((curp = calloc(1, blocksize)) == NULL)
242 if ((savp = calloc(1, blocksize)) == NULL)
248 address += blocksize;
251 for (need = blocksize, nread = 0;;) {
260 if (need == blocksize)
295 bcmp(curp, savp, blocksize) != 0) {
303 address += blocksize;
[all...]
/freebsd-9.3-release/contrib/libarchive/libarchive/test/
H A Dtest_write_format_tar.c37 size_t blocksize; local
40 for (blocksize = 1; blocksize < 100000; blocksize += blocksize + 3) {
45 assertA(0 == archive_write_set_bytes_per_block(a, (int)blocksize));
46 assertA(0 == archive_write_set_bytes_in_last_block(a, (int)blocksize));
47 assertA(blocksize == (size_t)archive_write_get_bytes_in_last_block(a));
49 assertA(blocksize == (size_t)archive_write_get_bytes_in_last_block(a));
82 assert(((2048 - 1)/blocksize
[all...]
H A Dtest_write_open_memory.c49 size_t blocksize = 94; local
53 assertA(0 == archive_write_set_bytes_per_block(a, (int)blocksize));
57 if (i < (511/blocksize)*blocksize)
H A Dtest_write_compress_program.c39 int blocksize = 1024;
58 assertA(0 == archive_write_set_bytes_per_block(a, blocksize));
59 assertA(0 == archive_write_set_bytes_in_last_block(a, blocksize));
60 assertA(blocksize == archive_write_get_bytes_in_last_block(a));
62 assertA(blocksize == archive_write_get_bytes_in_last_block(a));
/freebsd-9.3-release/lib/libc/gen/
H A Dgetbsize.c47 long n, max, mul, blocksize; local
84 fmterr: warnx("%s: unknown blocksize", p);
91 warnx("maximum blocksize is %ldG", MAXB / GB);
94 if ((blocksize = n * mul) < 512) {
95 underflow: warnx("minimum blocksize is 512");
97 blocksize = n = 512;
100 blocksize = n = 512;
104 *blocksizep = blocksize;
/freebsd-9.3-release/crypto/heimdal/appl/rsh/
H A Dcommon.c48 size_t blocksize; local
50 krb5_crypto_getblocksize(context, crypto, &blocksize);
52 ivec_in[0] = malloc(blocksize);
53 memset(ivec_in[0], client, blocksize);
56 ivec_in[1] = malloc(blocksize);
57 memset(ivec_in[1], 2 | client, blocksize);
61 ivec_out[0] = malloc(blocksize);
62 memset(ivec_out[0], !client, blocksize);
65 ivec_out[1] = malloc(blocksize);
66 memset(ivec_out[1], 2 | !client, blocksize);
[all...]
/freebsd-9.3-release/sbin/swapon/
H A Dswapon.c231 long blocksize)
241 snprintf(buf, bufsize, "%*lld", hlen, val / blocksize);
251 long blocksize; local
261 blocksize = 1024 * 1024 * 1024;
266 blocksize = -1;
271 blocksize = 1024;
276 blocksize = 1024 * 1024;
281 getbsize(&hlen, &blocksize);
282 snprintf(buf, sizeof(buf), "%ld-blocks", blocksize);
311 blocksize);
230 sizetobuf(char *buf, size_t bufsize, int hflag, long long val, int hlen, long blocksize) argument
[all...]
/freebsd-9.3-release/bin/ls/
H A Dls.h40 extern long blocksize; /* block size units */
/freebsd-9.3-release/crypto/openssl/crypto/ec/
H A Dec_mult.c80 size_t blocksize; /* block size for wNAF splitting */ member in struct:ec_pre_comp_st
109 ret->blocksize = 8; /* default */
338 size_t blocksize = 0, numblocks = 0; /* for wNAF splitting */ local
397 blocksize = pre_comp->blocksize;
403 numblocks = (BN_num_bits(scalar) / blocksize) + 1;
516 if (tmp_len < numblocks * blocksize) {
520 numblocks = (tmp_len + blocksize - 1) / blocksize;
534 wNAF_len[i] = blocksize;
745 size_t i, bits, w, pre_points_per_block, blocksize, numblocks, num; local
[all...]
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Ddmu_object.c34 dmu_object_alloc(objset_t *os, dmu_object_type_t ot, int blocksize, argument
79 dnode_allocate(dn, ot, blocksize, 0, bonustype, bonuslen, tx);
90 int blocksize, dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx)
101 dnode_allocate(dn, ot, blocksize, 0, bonustype, bonuslen, tx);
110 int blocksize, dmu_object_type_t bonustype, int bonuslen)
125 if (dn->dn_type == ot && dn->dn_datablksz == blocksize &&
143 if (dn->dn_nblkptr > nblkptr || dn->dn_datablksz != blocksize) {
157 dnode_reallocate(dn, ot, blocksize, bonustype, bonuslen, tx);
89 dmu_object_claim(objset_t *os, uint64_t object, dmu_object_type_t ot, int blocksize, dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) argument
109 dmu_object_reclaim(objset_t *os, uint64_t object, dmu_object_type_t ot, int blocksize, dmu_object_type_t bonustype, int bonuslen) argument
/freebsd-9.3-release/sys/dev/ata/
H A Datapi-fd.h71 u_int32_t blocksize; member in struct:afd_capacity
76 u_int32_t blocksize; member in struct:afd_capacity_big
/freebsd-9.3-release/sys/dev/sound/usb/
H A Duaudio.h46 uint32_t blocksize);
48 uint32_t blocksize, uint32_t blockcount);
H A Duaudio_pcm.c70 ua_chan_setblocksize(kobj_t obj, void *data, uint32_t blocksize) argument
72 return (uaudio_chan_set_param_blocksize(data, blocksize));
76 ua_chan_setfragments(kobj_t obj, void *data, uint32_t blocksize, uint32_t blockcount) argument
78 return (uaudio_chan_set_param_fragments(data, blocksize, blockcount));
/freebsd-9.3-release/usr.bin/du/
H A Ddu.c80 static long blocksize, cblocksize; variable
109 blocksize = 0;
162 blocksize = 1073741824;
169 blocksize = 1024;
176 blocksize = 1048576;
244 if (blocksize == 0)
245 (void)getbsize(&notused, &blocksize);
249 blocksize /= DEV_BSIZE;
254 blocksize);
281 cblocksize, blocksize)) {
[all...]
/freebsd-9.3-release/usr.bin/systat/
H A Dswap.c60 static long blocksize; variable
95 #define CONVERT(v) ((int)((int64_t)(v) * pagesize / blocksize))
124 header = getbsize(&hlen, &blocksize);
/freebsd-9.3-release/crypto/heimdal/lib/krb5/
H A Dmit_glue.c184 size_t *blocksize)
198 ret = krb5_crypto_getblocksize(context, crypto, blocksize);
220 size_t blocksize; local
222 ret = krb5_crypto_getblocksize(context, crypto, &blocksize);
228 if (blocksize > ivec->length) {
260 size_t blocksize; local
262 ret = krb5_crypto_getblocksize(context, crypto, &blocksize);
268 if (blocksize > ivec->length) {
182 krb5_c_block_size(krb5_context context, krb5_enctype enctype, size_t *blocksize) argument
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dbpobj.h70 uint64_t bpobj_alloc(objset_t *mos, int blocksize, dmu_tx_t *tx);
71 uint64_t bpobj_alloc_empty(objset_t *os, int blocksize, dmu_tx_t *tx);
/freebsd-9.3-release/sys/opencrypto/
H A Dxform.h39 u_int16_t blocksize; member in struct:auth_hash
52 u_int16_t blocksize; member in struct:enc_xform
/freebsd-9.3-release/sys/gnu/fs/reiserfs/
H A Dreiserfs_stree.c359 is_leaf(char *buf, int blocksize, struct buf *bp) argument
373 ((blocksize - BLKH_SIZE) / (IH_SIZE + MIN_ITEM_LEN))) {
380 used_space = BLKH_SIZE + IH_SIZE * nr + (blocksize - ih_location(ih));
381 if (used_space != blocksize - blkh_free_space(blkh)) {
395 prev_location = blocksize;
402 if (ih_location(ih) >= blocksize ||
409 ih_item_len(ih) > MAX_ITEM_LEN(blocksize)) {
427 is_internal(char *buf, int blocksize, struct buf *bp) argument
441 if (nr > (blocksize - BLKH_SIZE - DC_SIZE) / (KEY_SIZE + DC_SIZE)) {
451 if (used_space != blocksize
[all...]
/freebsd-9.3-release/sys/cam/ctl/
H A Dctl_backend_ramdisk.c275 len = lbalen.len * ctl_be_lun->blocksize;
292 if (((lbalen.lba * ctl_be_lun->blocksize) + len) > be_lun->size_bytes) {
492 uint32_t blocksize; local
499 blocksize = params->blocksize_bytes;
501 blocksize = 512;
520 if (params->lun_size_bytes < blocksize) {
522 "%s: LUN size %ju < blocksize %u", __func__,
523 params->lun_size_bytes, blocksize);
527 be_lun->size_blocks = params->lun_size_bytes / blocksize;
528 be_lun->size_bytes = be_lun->size_blocks * blocksize;
663 uint32_t blocksize; local
[all...]
/freebsd-9.3-release/sys/geom/eli/
H A Dg_eli_key_cache.c210 size_t blocksize; local
217 blocksize = pp->sectorsize;
220 blocksize = sc->sc_sectorsize;
223 ((mediasize - 1) >> G_ELI_KEY_SHIFT) / blocksize + 1;
265 g_eli_key_hold(struct g_eli_softc *sc, off_t offset, size_t blocksize) argument
274 keyno = (offset >> G_ELI_KEY_SHIFT) / blocksize;
/freebsd-9.3-release/usr.sbin/pstat/
H A Dpstat.c462 #define CONVERT(v) ((int64_t)(v) * pagesize / blocksize)
471 long blocksize; local
474 header = getbsize(&hlen, &blocksize);
488 long blocksize; local
491 getbsize(&hlen, &blocksize);
525 long blocksize; local
528 getbsize(&hlen, &blocksize);
530 blocksize = 1024 * 1024;

Completed in 146 milliseconds

123456