/freebsd-11.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-11.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
|
H A D | usb_msctest.h | 54 uint32_t *block_size);
|
/freebsd-11.0-release/sys/contrib/octeon-sdk/ |
H A D | cvmx-flash.h | 67 int block_size; member in struct:__anon8524
|
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-11.0-release/contrib/libarchive/libarchive/ |
H A D | archive_read_open_fd.c | 55 size_t block_size; member in struct:read_fd_data 66 archive_read_open_fd(struct archive *a, int fd, size_t block_size) argument 79 b = malloc(block_size); 86 mine->block_size = block_size; 120 bytes_read = read(mine->fd, mine->buffer, mine->block_size); 150 /* Reduce request to the next smallest multiple of block_size */ 151 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; 115 bytes_read = fread(mine->buffer, 1, mine->block_size, mine->f); 116 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) 109 return archive_read_open_filenames(a, filenames, block_size); 114 size_t block_size) 131 mine->block_size = block_size; 160 size_t block_size) 170 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 113 archive_read_open_filenames(struct archive *a, const char **filenames, size_t block_size) argument 159 archive_read_open_filename_w(struct archive *a, const wchar_t *wfilename, size_t block_size) argument [all...] |
H A D | archive_write_add_filter_lz4.c | 75 size_t block_size; member in struct:private_data 237 data->block_size = bkmap[0]; 239 data->block_size = bkmap[data->block_maximum_size - 4]; 241 required_size = 4 + 15 + 4 + data->block_size + 4 + 4; 264 if (data->in_buffer_size < data->block_size + pre_block_size) { 266 data->in_buffer_size = data->block_size; 273 data->in_buffer_size = data->block_size; 448 data->in_buffer == data->in && length >= data->block_size) { 449 r = drive_compressor(f, p, data->block_size); 451 r = (ssize_t)data->block_size; [all...] |
/freebsd-11.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-11.0-release/contrib/xz/src/liblzma/common/ |
H A D | filter_encoder.c | 37 uint64_t (*block_size)(const void *options); member in struct:__anon5856 62 .block_size = NULL, // FIXME 73 .block_size = &lzma_lzma2_block_size, // FIXME 84 .block_size = NULL, 94 .block_size = NULL, 104 .block_size = NULL, 114 .block_size = NULL, 124 .block_size = NULL, 134 .block_size = NULL, 144 .block_size [all...] |
/freebsd-11.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-11.0-release/contrib/gcc/ |
H A D | alloc-pool.h | 45 size_t block_size; member in struct:alloc_pool_def
|
/freebsd-11.0-release/sys/netgraph/bluetooth/include/ |
H A D | ng_bt3c.h | 106 u_int16_t block_size; /* in words */ member in struct:__anon12385
|
/freebsd-11.0-release/tools/tools/usbtest/ |
H A D | usb_msc_test.c | 98 static uint32_t block_size = 512; variable 295 len /= block_size; 305 retval = do_msc_cmd(cmd, 10, buf, len * block_size, 1, 0, lun, 0); 325 len /= block_size; 335 retval = do_msc_cmd(cmd, 10, buf, (len * block_size), 0, 0, lun, abort); 448 retval = do_read_10(io_offset, io_size * block_size, 449 buffer + (io_offset * block_size), lun); 452 if (bcmp(buffer + (io_offset * block_size), 453 reference + (io_offset * block_size), 454 io_size * block_size)) { [all...] |
/freebsd-11.0-release/crypto/openssl/ssl/ |
H A D | s3_cbc.c | 79 * block_size: the block size of the cipher used to encrypt the record. 87 unsigned block_size, unsigned mac_size) 101 good &= constant_time_ge(block_size, padding_length + 1); 115 * block_size: the block size of the cipher used to encrypt the record. 123 unsigned block_size, unsigned mac_size) 133 if (overhead + block_size > rec->length) 136 rec->data += block_size; 137 rec->input += block_size; 138 rec->length -= block_size; 785 size_t block_size, digest_pa local 85 ssl3_cbc_remove_padding(const SSL *s, SSL3_RECORD *rec, unsigned block_size, unsigned mac_size) argument 121 tls1_cbc_remove_padding(const SSL *s, SSL3_RECORD *rec, unsigned block_size, unsigned mac_size) argument [all...] |
/freebsd-11.0-release/crypto/openssl/crypto/evp/ |
H A D | evp_locl.h | 66 bl = ctx->cipher->block_size;\ 134 #define BLOCK_CIPHER_def1(cname, nmode, mode, MODE, kstruct, nid, block_size, \ 138 nid##_##nmode, block_size, key_len, iv_len, \ 150 #define BLOCK_CIPHER_def_cbc(cname, kstruct, nid, block_size, key_len, \ 153 BLOCK_CIPHER_def1(cname, cbc, cbc, CBC, kstruct, nid, block_size, key_len, \ 170 #define BLOCK_CIPHER_def_ecb(cname, kstruct, nid, block_size, key_len, \ 173 BLOCK_CIPHER_def1(cname, ecb, ecb, ECB, kstruct, nid, block_size, key_len, \ 177 nid, block_size, key_len, iv_len, cbits, flags, \ 179 BLOCK_CIPHER_def_cbc(cname, kstruct, nid, block_size, key_len, iv_len, flags, \ 185 BLOCK_CIPHER_def_ecb(cname, kstruct, nid, block_size, key_le [all...] |
/freebsd-11.0-release/contrib/wpa/src/eap_common/ |
H A D | eap_eke_common.c | 617 size_t block_size, icv_len, pad; local 621 block_size = AES_BLOCK_SIZE; 632 pad = data_len % block_size; 634 pad = block_size - pad; 636 if (*prot_len < block_size + data_len + pad + icv_len) { 641 if (random_get_bytes(pos, block_size)) 644 wpa_hexdump(MSG_DEBUG, "EAP-EKE: IV for Prot()", iv, block_size); 645 pos += block_size; 672 size_t block_size, icv_len; local 676 block_size [all...] |
/freebsd-11.0-release/contrib/subversion/subversion/libsvn_fs_fs/ |
H A D | rev_file.h | 68 apr_off_t block_size; member in struct:svn_fs_fs__revision_file_t
|
/freebsd-11.0-release/contrib/groff/src/include/ |
H A D | symbol.h | 30 static int block_size; member in class:symbol
|
/freebsd-11.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++) {
|