Searched refs:block_size (Results 1 - 25 of 97) sorted by relevance

1234

/freebsd-9.3-release/sys/gnu/fs/reiserfs/
H A Dreiserfs_item_ops.c17 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-9.3-release/sys/dev/usb/
H A Dusb_mbuf.c60 usb_size_t block_size, uint16_t nblocks)
68 block_size += ((-block_size) & (USB_HOST_ALIGN - 1));
70 if (nblocks && block_size) {
72 alloc_size = (block_size + sizeof(struct usb_mbuf)) * nblocks;
88 m_ptr->max_data_len = block_size;
93 data_ptr += block_size;
59 usb_alloc_mbufs(struct malloc_type *type, struct usb_ifqueue *ifq, usb_size_t block_size, uint16_t nblocks) argument
/freebsd-9.3-release/contrib/libarchive/libarchive/
H A Darchive_read_open_fd.c55 size_t block_size; member in struct:read_fd_data
69 archive_read_open_fd(struct archive *a, int fd, size_t block_size) argument
82 b = malloc(block_size);
89 mine->block_size = block_size;
120 bytes_read = read(mine->fd, mine->buffer, mine->block_size);
144 /* Reduce request to the next smallest multiple of block_size */
145 request = (request / mine->block_size) * mine->block_size;
H A Darchive_read_open_filename.c59 size_t block_size; member in struct:read_file_data
76 size_t block_size)
78 return (archive_read_open_filename(a, filename, block_size));
83 size_t block_size)
92 /* We used to invoke archive_read_open_fd(a,0,block_size)
120 b = malloc(block_size);
128 mine->block_size = block_size;
164 bytes_read = read(mine->fd, mine->buffer, mine->block_size);
192 /* Reduce request to the next smallest multiple of block_size */
75 archive_read_open_file(struct archive *a, const char *filename, size_t block_size) argument
82 archive_read_open_filename(struct archive *a, const char *filename, size_t block_size) argument
[all...]
H A Darchive_read_open_file.c55 size_t block_size; member in struct:read_FILE_data
73 size_t block_size = 128 * 1024; local
78 b = malloc(block_size);
85 mine->block_size = block_size;
115 bytes_read = fread(mine->buffer, 1, mine->block_size, mine->f);
/freebsd-9.3-release/sys/contrib/octeon-sdk/
H A Dcvmx-flash.h67 int block_size; member in struct:__anon6440
H A Dcvmx-fpa.c71 * @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 Dcvmx-flash.c233 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-9.3-release/sys/sparc64/sparc64/
H A Dcam_machdep.c53 if (ccg->block_size == 0)
55 size_mb = (1024L * 1024L) / ccg->block_size;
/freebsd-9.3-release/contrib/wpa/src/crypto/
H A Dcrypto_internal-cipher.c33 size_t block_size; member in struct:crypto_cipher::__anon4318::__anon4320
87 ctx->u.aes.block_size = key_len;
88 os_memcpy(ctx->u.aes.cbc, iv, ctx->u.aes.block_size);
129 if (len % ctx->u.aes.block_size)
131 blocks = len / ctx->u.aes.block_size;
133 for (j = 0; j < ctx->u.aes.block_size; j++)
138 ctx->u.aes.block_size);
139 plain += ctx->u.aes.block_size;
140 crypt += ctx->u.aes.block_size;
194 if (len % ctx->u.aes.block_size)
[all...]
H A Dsha256-internal.c165 #define block_size 64 macro
171 if (md->curlen == 0 && inlen >= block_size) {
174 md->length += block_size * 8;
175 in += block_size;
176 inlen -= block_size;
178 n = MIN(inlen, (block_size - md->curlen));
183 if (md->curlen == block_size) {
186 md->length += 8 * block_size;
/freebsd-9.3-release/crypto/openssl/crypto/evp/
H A Devp_locl.h66 bl = ctx->cipher->block_size;\
106 #define BLOCK_CIPHER_def1(cname, nmode, mode, MODE, kstruct, nid, block_size, \
110 nid##_##nmode, block_size, key_len, iv_len, \
122 #define BLOCK_CIPHER_def_cbc(cname, kstruct, nid, block_size, key_len, \
125 BLOCK_CIPHER_def1(cname, cbc, cbc, CBC, kstruct, nid, block_size, key_len, \
142 #define BLOCK_CIPHER_def_ecb(cname, kstruct, nid, block_size, key_len, \
145 BLOCK_CIPHER_def1(cname, ecb, ecb, ECB, kstruct, nid, block_size, key_len, \
149 nid, block_size, key_len, iv_len, cbits, flags, \
151 BLOCK_CIPHER_def_cbc(cname, kstruct, nid, block_size, key_len, iv_len, flags, \
157 BLOCK_CIPHER_def_ecb(cname, kstruct, nid, block_size, key_le
[all...]
H A Devp_lib.c182 return e->block_size;
187 return ctx->cipher->block_size;
232 return md->block_size;
/freebsd-9.3-release/contrib/groff/src/libs/libgroff/
H A Dsymbol.cpp32 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-9.3-release/usr.sbin/burncd/
H A Dburncd.c55 int block_size; member in struct:track_info
82 int block_size = 0, block_type = 0, cdopen = 0, dvdrw = 0; local
251 block_size = 2352;
256 block_size = 2048;
261 block_size = 2336;
266 block_size = 2048;
271 block_size = 2324;
276 block_size = 2352;
283 block_size = 2048;
288 if (!block_size)
351 add_track(char *name, int block_size, int block_type, int nogap) argument
[all...]
/freebsd-9.3-release/contrib/gcc/
H A Dalloc-pool.h45 size_t block_size; member in struct:alloc_pool_def
/freebsd-9.3-release/sys/netgraph/bluetooth/include/
H A Dng_bt3c.h106 u_int16_t block_size; /* in words */ member in struct:__anon9656
/freebsd-9.3-release/contrib/wpa/src/eap_common/
H A Deap_fast_common.c107 int block_size; local
109 block_size = tls_connection_get_keyblock_size(ssl_ctx, conn);
110 if (block_size < 0)
113 out = os_malloc(block_size + len);
117 if (tls_connection_prf(ssl_ctx, conn, label, 1, out, block_size + len)
119 os_memmove(out, out + block_size, len);
138 keys.server_random_len, out, block_size + len))
141 os_memmove(out, out + block_size, len);
/freebsd-9.3-release/crypto/openssl/ssl/
H A Ds3_cbc.c79 * 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;
755 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-9.3-release/contrib/groff/src/include/
H A Dsymbol.h30 static int block_size; member in class:symbol
/freebsd-9.3-release/usr.sbin/bluetooth/bt3cfw/
H A Dbt3cfw.c166 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-9.3-release/lib/libstand/
H A Dufs.c312 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...]
/freebsd-9.3-release/sys/dev/drm2/i915/
H A Dintel_bios.c69 u16 *block_ptr, block_size; local
72 block_size = *block_ptr;
73 return block_size;
330 u16 block_size = get_blocksize(general); local
331 if (block_size >= sizeof(*general)) {
338 block_size);
351 u16 block_size; local
369 block_size = get_blocksize(p_defs);
371 child_device_num = (block_size - sizeof(*p_defs)) /
539 u16 block_size; local
[all...]
/freebsd-9.3-release/contrib/wpa/src/wps/
H A Dwps_attr_build.c256 const size_t block_size = 16; local
262 pad_len = block_size - wpabuf_len(plain) % block_size;
266 wpabuf_put_be16(msg, block_size + wpabuf_len(plain));
268 iv = wpabuf_put(msg, block_size);
269 if (os_get_random(iv, block_size) < 0)
/freebsd-9.3-release/sys/sys/
H A Ddevicestat.h162 u_int32_t block_size; /* Block size, bytes */ member in struct:devstat
189 u_int32_t block_size,

Completed in 167 milliseconds

1234