/freebsd-10.0-release/sys/gnu/fs/reiserfs/ |
H A D | reiserfs_item_ops.c | 17 sd_bytes_number(struct item_head *ih, int block_size) argument 43 direct_bytes_number(struct item_head *ih, int block_size) argument 69 indirect_bytes_number(struct item_head *ih, int block_size) argument 72 return (ih_item_len(ih) / UNFM_P_SIZE * block_size); 95 direntry_bytes_number(struct item_head *ih, int block_size) argument 123 errcatch_bytes_number(struct item_head *ih, int block_size) argument
|
/freebsd-10.0-release/usr.sbin/nandtool/ |
H A D | nand_erase.c | 46 int block_size, mult; local 69 block_size = chip_params.page_size * chip_params.pages_per_block; 75 pos = block_size * param_get_intx(params, "block"); 76 mult = block_size; 91 if (pos % block_size) { 98 start = pos / block_size; 99 nblocks = count / block_size; 102 if (g_delete(fd, (start + i) * block_size, block_size) == -1) {
|
H A D | nand_info.c | 43 int block_size; local 70 block_size = chip_params.page_size * chip_params.pages_per_block; 71 chip_size = block_size * chip_params.blocks; 75 printf("Block size:\t\t%d bytes (%d KB)\n", block_size, 76 block_size / 1024);
|
H A D | nand_read.c | 44 int pos, count, mult, block_size; local 72 block_size = chip_params.page_size * chip_params.pages_per_block; 78 pos = block_size * param_get_int(params, "block"); 79 mult = block_size;
|
H A D | nand_write.c | 44 int fd, block_size, mult, pos, count; local 74 block_size = chip_params.page_size * chip_params.pages_per_block; 80 pos = block_size * param_get_int(params, "block"); 81 mult = block_size;
|
/freebsd-10.0-release/sys/dev/usb/ |
H A D | usb_mbuf.c | 64 usb_size_t block_size, uint16_t nblocks) 72 block_size += ((-block_size) & (USB_HOST_ALIGN - 1)); 74 if (nblocks && block_size) { 76 alloc_size = (block_size + sizeof(struct usb_mbuf)) * nblocks; 92 m_ptr->max_data_len = block_size; 97 data_ptr += block_size; 63 usb_alloc_mbufs(struct malloc_type *type, struct usb_ifqueue *ifq, usb_size_t block_size, uint16_t nblocks) argument
|
/freebsd-10.0-release/contrib/libarchive/libarchive/ |
H A D | archive_read_open_fd.c | 55 size_t block_size; member in struct:read_fd_data 65 archive_read_open_fd(struct archive *a, int fd, size_t block_size) argument 78 b = malloc(block_size); 85 mine->block_size = block_size; 118 bytes_read = read(mine->fd, mine->buffer, mine->block_size); 148 /* Reduce request to the next smallest multiple of block_size */ 149 request = (request / mine->block_size) * mine->block_size;
|
H A D | archive_read_open_file.c | 55 size_t block_size; member in struct:read_FILE_data 69 size_t block_size = 128 * 1024; local 74 b = malloc(block_size); 81 mine->block_size = block_size; 114 bytes_read = fread(mine->buffer, 1, mine->block_size, mine->f); 115 if (bytes_read < mine->block_size && ferror(mine->f)) {
|
H A D | archive_read_open_filename.c | 75 size_t block_size; member in struct:read_file_data 97 size_t block_size) 99 return (archive_read_open_filename(a, filename, block_size)); 104 size_t block_size) 107 return archive_read_open_filenames(a, filenames, block_size); 112 size_t block_size) 129 mine->block_size = block_size; 158 size_t block_size) 168 mine->block_size 96 archive_read_open_file(struct archive *a, const char *filename, size_t block_size) argument 103 archive_read_open_filename(struct archive *a, const char *filename, size_t block_size) argument 111 archive_read_open_filenames(struct archive *a, const char **filenames, size_t block_size) argument 157 archive_read_open_filename_w(struct archive *a, const wchar_t *wfilename, size_t block_size) argument [all...] |
/freebsd-10.0-release/sys/contrib/octeon-sdk/ |
H A D | cvmx-flash.h | 67 int block_size; member in struct:__anon6875
|
H A D | cvmx-fpa.c | 71 * @param block_size Size for each block controlled by the FPA 78 uint64_t block_size, uint64_t num_blocks) 92 if (block_size < CVMX_FPA_MIN_BLOCK_SIZE) 105 cvmx_fpa_pool_info[pool].size = block_size; 113 ptr += block_size; 77 cvmx_fpa_setup_pool(uint64_t pool, const char *name, void *buffer, uint64_t block_size, uint64_t num_blocks) argument
|
H A D | cvmx-flash.c | 233 rgn_ptr->block_size = 128; 235 rgn_ptr->block_size = 256u * size; 237 start_offset += rgn_ptr->block_size * rgn_ptr->num_blocks; 276 flash->region[region].block_size); 373 block * flash_info[chip_id].region[region].block_size; 495 block * flash_info[chip_id].region[region].block_size; 496 int len = flash_info[chip_id].region[region].block_size; 635 while (region_base + flash->region[region].num_blocks * flash->region[region].block_size <= address) 642 int block = (address - region_base) / flash->region[region].block_size; 645 if (address != region_base + block*flash->region[region].block_size) [all...] |
/freebsd-10.0-release/sys/sparc64/sparc64/ |
H A D | cam_machdep.c | 53 if (ccg->block_size == 0) 55 size_mb = (1024L * 1024L) / ccg->block_size;
|
/freebsd-10.0-release/contrib/groff/src/libs/libgroff/ |
H A D | symbol.cpp | 32 int symbol::block_size = 0; member in class:symbol 138 if (block == 0 || block_size < len) { 139 block_size = len > BLOCK_SIZE ? len : BLOCK_SIZE; 140 block = new char [block_size]; 145 block_size -= len;
|
/freebsd-10.0-release/contrib/gcc/ |
H A D | alloc-pool.h | 45 size_t block_size; member in struct:alloc_pool_def
|
/freebsd-10.0-release/sys/netgraph/bluetooth/include/ |
H A D | ng_bt3c.h | 106 u_int16_t block_size; /* in words */ member in struct:__anon10153
|
/freebsd-10.0-release/contrib/wpa/src/eap_common/ |
H A D | eap_fast_common.c | 101 int block_size; local 103 block_size = tls_connection_get_keyblock_size(ssl_ctx, conn); 104 if (block_size < 0) 107 out = os_malloc(block_size + len); 111 if (tls_connection_prf(ssl_ctx, conn, label, 1, out, block_size + len) 113 os_memmove(out, out + block_size, len); 132 keys.server_random_len, out, block_size + len)) 135 os_memmove(out, out + block_size, len);
|
/freebsd-10.0-release/tools/tools/usbtest/ |
H A D | usb_msc_test.c | 98 static uint32_t block_size = 512; variable 266 len /= block_size; 276 retval = do_msc_cmd(cmd, 10, buf, len * block_size, 1, 0, lun, 0); 296 len /= block_size; 306 retval = do_msc_cmd(cmd, 10, buf, (len * block_size), 0, 0, lun, abort); 419 retval = do_read_10(io_offset, io_size * block_size, 420 buffer + (io_offset * block_size), lun); 423 if (bcmp(buffer + (io_offset * block_size), 424 reference + (io_offset * block_size), 425 io_size * block_size)) { [all...] |
/freebsd-10.0-release/crypto/openssl/ssl/ |
H A D | s3_cbc.c | 74 * block_size: the block size of the cipher used to encrypt the record. 81 unsigned block_size, 95 good &= constant_time_ge(block_size, padding_length+1); 108 * block_size: the block size of the cipher used to encrypt the record. 115 unsigned block_size, 126 if (overhead + block_size > rec->length) 129 rec->data += block_size; 130 rec->input += block_size; 131 rec->length -= block_size; 721 size_t block_size, digest_pa local 79 ssl3_cbc_remove_padding(const SSL* s, SSL3_RECORD *rec, unsigned block_size, unsigned mac_size) argument 113 tls1_cbc_remove_padding(const SSL* s, SSL3_RECORD *rec, unsigned block_size, unsigned mac_size) argument [all...] |
/freebsd-10.0-release/crypto/openssl/crypto/evp/ |
H A D | evp_locl.h | 65 bl = ctx->cipher->block_size;\ 133 #define BLOCK_CIPHER_def1(cname, nmode, mode, MODE, kstruct, nid, block_size, \ 137 nid##_##nmode, block_size, key_len, iv_len, \ 149 #define BLOCK_CIPHER_def_cbc(cname, kstruct, nid, block_size, key_len, \ 152 BLOCK_CIPHER_def1(cname, cbc, cbc, CBC, kstruct, nid, block_size, key_len, \ 169 #define BLOCK_CIPHER_def_ecb(cname, kstruct, nid, block_size, key_len, \ 172 BLOCK_CIPHER_def1(cname, ecb, ecb, ECB, kstruct, nid, block_size, key_len, \ 176 nid, block_size, key_len, iv_len, cbits, flags, \ 178 BLOCK_CIPHER_def_cbc(cname, kstruct, nid, block_size, key_len, iv_len, flags, \ 184 BLOCK_CIPHER_def_ecb(cname, kstruct, nid, block_size, key_le [all...] |
H A D | evp_lib.c | 183 return e->block_size; 188 return ctx->cipher->block_size; 253 return md->block_size;
|
/freebsd-10.0-release/contrib/groff/src/include/ |
H A D | symbol.h | 30 static int block_size; member in class:symbol
|
/freebsd-10.0-release/usr.sbin/bluetooth/bt3cfw/ |
H A D | bt3cfw.c | 166 block->block_size = (size - 4) / 2; 167 block->block_alignment = (block->block_size * 2) % 3; 171 firmware_size += (block->block_size * 2); 189 for (i = 0; i < block->block_size; i++) {
|
/freebsd-10.0-release/contrib/subversion/subversion/libsvn_subr/ |
H A D | crypto.c | 269 apr_size_t block_size; 306 &block_size, scratch_pool); 322 if ((assembled_len % block_size) == 0) 331 apr_size_t pad_len = block_size - (assembled_len % block_size) - 1; 406 apr_size_t block_size, iv_len; 432 apr_err = apr_crypto_block_decrypt_init(&block_ctx, &block_size, 505 apr_size_t block_size; 541 &block_size, scratch_pool); 551 if (MIN_STUFF_LEN % block_size) 267 apr_size_t block_size; local 404 apr_size_t block_size, iv_len; local 503 apr_size_t block_size; local 623 apr_size_t block_size, iv_len; local [all...] |
/freebsd-10.0-release/lib/libstand/ |
H A D | ufs.c | 312 size_t block_size; local 320 block_size = sblksize(fs, DIP(fp, di_size), file_block); 336 if (*size_p > block_size - off) 337 *size_p = block_size - off; 343 if (((off > 0) || (*size_p + off < block_size)) && 352 block_size, fp->f_buf, &fp->f_buf_size); 371 block_size, fp->f_buf, &fp->f_buf_size); 390 size_t block_size; local 395 block_size = sblksize(fs, DIP(fp, di_size), file_block); 406 bzero(fp->f_buf, block_size); [all...] |