/src/usr.bin/hexdump/ |
hexdump.c | 58 int blocksize; /* data block size */ variable in typeref:typename:int 82 for (blocksize = 0, tfs = fshead; tfs; tfs = tfs->nextfs) { 84 if (blocksize < tfs->bcnt) 85 blocksize = tfs->bcnt;
|
/src/lib/libc/gen/ |
getbsize.c | 57 long n, max, mul, blocksize; local in function:__weak_alias 66 if ((p = getenv("BLOCKSIZE")) != NULL && *p != '\0') { 94 fmterr: warnx("%s: unknown blocksize", p); 101 warnx("maximum blocksize is %ldG", MAXB / GB); 104 if ((blocksize = n * mul) < 512) { 105 underflow: warnx("%s: minimum blocksize is 512", p); 107 blocksize = n = 512; 110 blocksize = n = 512; 116 *blocksizep = blocksize;
|
/src/sys/arch/x68k/stand/xxboot/ |
xxboot.h | 40 uint32_t blocksize; member in struct:__anon6d1671be0108
|
/src/sys/opencrypto/ |
xform.h | 36 u_int16_t blocksize; member in struct:auth_hash 45 u_int16_t blocksize; member in struct:enc_xform
|
/src/usr.sbin/installboot/ |
cd9660.c | 68 int rv, blocksize; local in function:cd9660_match 94 blocksize = isonum_723((u_char *)ipd.logical_block_size); 95 if (blocksize != ISO_DEFAULT_BLOCK_SIZE) { 96 warnx("Invalid blocksize %d in `%s'", 97 blocksize, params->filesystem); 101 params->fstype->blocksize = blocksize; 114 int rv, blocksize, found; local in function:cd9660_findstage2 156 blocksize = isonum_723((u_char *)ipd.logical_block_size); 159 loc = (off_t)isonum_733(idr->extent) * blocksize; [all...] |
installboot.h | 116 uint32_t blocksize; member in struct:__anon78e59b4b0408 135 uint32_t blocksize; member in struct:ib_fs 149 uint32_t blocksize; /* blocksize of stage1 */ member in struct:bbinfo_params
|
/src/sys/external/isc/libsodium/dist/test/default/ |
sodium_utils.c | 18 size_t blocksize; local in function:main 147 blocksize = 1U + randombytes_uniform(100U); 148 bin_padded_maxlen = bin_len + (blocksize - bin_len % blocksize); 153 blocksize, bin_padded_maxlen - 1U) == -1); 155 blocksize, bin_padded_maxlen + 1U) == 0); 157 blocksize, bin_padded_maxlen + 1U) == 0); 161 blocksize, bin_padded_maxlen) == 0); 169 blocksize) == 0);
|
/src/lib/libc/hash/ |
hmac.c | 52 size_t blocksize; member in struct:hmac 131 if (klen > h->blocksize) { 151 (*h->update)(c, ipad, (unsigned int)h->blocksize); 156 (*h->update)(c, opad, (unsigned int)h->blocksize);
|
/src/sys/arch/x68k/stand/installboot/ |
installboot.c | 53 size_t blocksize; variable in typeref:typename:size_t 131 blocksize = label.d_secsize; 132 if (blocksize < 512) 133 blocksize = 512; 134 if (blocksize > MAXBBSIZE) 135 errx(1, "%s: blocksize too large", name); 136 if (read(fd, bootblock, blocksize) != blocksize) 146 if ((label.d_partitions[part].p_offset * blocksize < 32768) && 210 if (merging && blocksize > bboffset && !floppy [all...] |
/src/sys/dev/dkwedge/ |
dkwedge_apple.c | 141 uint32_t blocksize, blockcount, offset, rsize; local in function:dkwedge_discover_apple 164 blocksize = am->sbBlockSize; 166 rsize = 1 << (ilog2(MAX(sizeof(*ae), blocksize) - 1) + 1); 182 offset = blocksize;
|
/src/usr.bin/systat/ |
swap.c | 78 void showspace(char *header, int hlen, long blocksize); 80 static long blocksize; variable in typeref:typename:long 153 header = getbsize(&hlen, &blocksize); 166 blk_div = blocksize / 512;
|
/src/usr.bin/vndcompress/ |
vnduncompress.c | 87 const uint32_t blocksize = be32toh(header.cl2h_blocksize); local in function:vnduncompress 92 if (blocksize < MIN_BLOCKSIZE) 93 errx(1, "blocksize too small: %"PRIu32 95 blocksize, (uint32_t)MIN_BLOCKSIZE); 97 if (MAX_BLOCKSIZE < blocksize) 98 errx(1, "blocksize too large: %"PRIu32 100 blocksize, (uint32_t)MAX_BLOCKSIZE); 102 if ((blocksize % DEV_BSIZE) != 0) 103 errx(1, "bad blocksize: %"PRIu32 105 blocksize, (uint32_t)DEV_BSIZE) [all...] |
common.h | 98 * 0 < blocksize (duh) 99 * blocksize % DEV_BSIZE == 0 (for kernel use) 101 * blocksize <= UINT32_MAX (per the format) 102 * blocksize*2 <= SIZE_MAX (for a compression buffer) 103 * blocksize*2 <= ULONG_MAX (for zlib API) 152 uint32_t blocksize; member in struct:options
|
vndcompress.c | 68 uint32_t blocksize; /* bytes per block */ member in struct:compress_state 70 uint32_t n_full_blocks; /* floor(size/blocksize) */ 71 uint32_t n_blocks; /* ceiling(size/blocksize) */ 134 assert(MIN_BLOCKSIZE <= S->blocksize); 135 assert(S->blocksize <= MAX_BLOCKSIZE); 146 void *const uncompbuf = malloc(S->blocksize); 152 void *const compbuf = malloc(2 * (size_t)S->blocksize); 175 (S->size % S->blocksize) : S->blocksize); 177 assert(readsize <= S->blocksize); [all...] |
/src/sbin/swapctl/ |
swaplist.c | 60 long blocksize; local in function:list_swap 87 blocksize = 1024; 93 blocksize = 1024 * 1024; 97 blocksize = 1024 * 1024 * 1024; 103 header = getbsize(&hlen, &blocksize); 106 blocksize = 1; suff = ""; /* unused */ 135 (long)(dbtoqb(size) / blocksize)); 138 (long)(dbtoqb(inuse) / blocksize), 139 (long)(dbtoqb(size - inuse) / blocksize), 172 (long)(dbtoqb(totalinuse) / blocksize), [all...] |
/src/bin/sh/ |
memalloc.c | 131 int blocksize; local in function:stalloc 134 blocksize = nbytes; 135 if (blocksize < MINSIZE) 136 blocksize = MINSIZE; 138 sp = ckmalloc(sizeof(struct stack_block) - MINSIZE + blocksize); 141 stacknleft = blocksize;
|
/src/usr.bin/du/ |
du.c | 73 static long blocksize; variable in typeref:typename:long 119 blocksize = 1024 * 1024 * 1024; 129 blocksize = 1024; 133 blocksize = 1024 * 1024; 191 (void)getbsize(NULL, &blocksize); 192 blocksize /= 512; 276 howmany(blocks, (int64_t)blocksize),
|
/src/sys/arch/hp300/stand/inst/ |
inst.c | 298 static int blocksize = 8192; /* XXX */ local in function:get_fstype 347 GETNUM(" FFS block size? [%d] ", blocksize); 348 if (blocksize < NBPG || (blocksize % NBPG) != 0) { 353 fragsize = blocksize / 8; /* XXX */ 361 if ((blocksize % fragsize) != 0) { 363 " block size (%d).\n", blocksize); 371 pp->p_frag = blocksize / fragsize;
|
/src/sys/arch/aarch64/aarch64/ |
pmap_machdep.c | 660 psize_t blocksize; local in function:pmap_kenter_range 667 blocksize = L1_SIZE; 670 blocksize = L2_SIZE; 673 blocksize = L3_SIZE; 681 pmapboot_enter(va, pa, blocksize, blocksize, attr, NULL); 683 va += blocksize; 684 pa += blocksize; 685 resid -= blocksize; 686 mapped += blocksize; [all...] |
/src/sys/arch/dreamcast/dev/g2/ |
aicavar.h | 37 uint32_t blocksize; member in struct:__anon1e92516e0108 59 #define AICA_ARM_CMD_BLOCKSIZE AICA_ARM_CMDADDR(blocksize)
|
/src/sys/arch/macppc/stand/installboot/ |
installboot.h | 93 uint32_t blocksize; member in struct:__anon551177cf0308 109 uint32_t blocksize; member in struct:ib_fs 122 uint32_t blocksize; /* blocksize of stage1 */ member in struct:bbinfo_params
|
/src/bin/df/ |
df.c | 419 * Convert statvfs returned filesystem size into BLOCKSIZE units. 449 static long blocksize; local in function:prtstat 513 switch (blocksize = usize) { 536 header = getbsize(&headerlen, &blocksize); 540 if (blocksize >= 1024 * 1024) 542 if (blocksize >= 1024 * 1024 * 1024) 554 if (blocksize != 1024 && blocksize != 512) 578 assert(blocksize > 0); 586 fsbtoblk(sfsp->f_blocks, sfsp->f_frsize, blocksize), [all...] |
/src/sys/kern/ |
subr_disk.c | 162 u_int blocksize = DEV_BSIZE; local in function:disk_init 172 diskp->dk_blkshift = DK_BSIZE2BLKSHIFT(blocksize); 173 diskp->dk_byteshift = DK_BSIZE2BYTESHIFT(blocksize);
|
/src/usr.sbin/quot/ |
quot.c | 59 static long blocksize; variable in typeref:typename:long 65 * wrong if the size is a multiple of the blocksize. 73 #define SIZE(n) howmany((long long)(n) * DEV_BSIZE, (long long)blocksize) 583 /* might be a first alt. id blocksize 64k */ 614 header = getbsize(NULL, &blocksize); 636 blocksize = 1024;
|
/src/sys/dev/pci/ |
esmvar.h | 140 uint32_t blocksize; /* block size in bytes */ member in struct:esm_chinfo
|