Searched refs:chunk (Results 1 - 25 of 160) sorted by relevance

1234567

/freebsd-12-stable/crypto/openssl/crypto/md2/
H A Dmd2_one.c33 unsigned long chunk;
36 chunk = (n > sizeof(temp)) ? sizeof(temp) : n;
37 ebcdic2ascii(temp, d, chunk);
38 MD2_Update(&c, temp, chunk);
39 n -= chunk;
40 d += chunk;
/freebsd-12-stable/crypto/openssl/crypto/md4/
H A Dmd4_one.c33 unsigned long chunk;
36 chunk = (n > sizeof(temp)) ? sizeof(temp) : n;
37 ebcdic2ascii(temp, d, chunk);
38 MD4_Update(&c, temp, chunk);
39 n -= chunk;
40 d += chunk;
/freebsd-12-stable/crypto/openssl/crypto/md5/
H A Dmd5_one.c33 unsigned long chunk;
36 chunk = (n > sizeof(temp)) ? sizeof(temp) : n;
37 ebcdic2ascii(temp, d, chunk);
38 MD5_Update(&c, temp, chunk);
39 n -= chunk;
40 d += chunk;
/freebsd-12-stable/sys/dev/mlx4/mlx4_core/
H A Dmlx4_icm.c48 * per chunk.
55 static void mlx4_free_icm_pages(struct mlx4_dev *dev, struct mlx4_icm_chunk *chunk) argument
59 if (chunk->nsg > 0)
60 pci_unmap_sg(dev->persist->pdev, chunk->mem, chunk->npages,
63 for (i = 0; i < chunk->npages; ++i)
64 __free_pages(sg_page(&chunk->mem[i]),
65 get_order(chunk->mem[i].length));
68 static void mlx4_free_icm_coherent(struct mlx4_dev *dev, struct mlx4_icm_chunk *chunk) argument
72 for (i = 0; i < chunk
81 struct mlx4_icm_chunk *chunk, *tmp; local
132 struct mlx4_icm_chunk *chunk = NULL; local
312 struct mlx4_icm_chunk *chunk; local
[all...]
H A Dicm.h65 struct mlx4_icm_chunk *chunk; member in struct:mlx4_icm_iter
92 iter->chunk = list_empty(&icm->chunk_list) ?
100 return !iter->chunk;
105 if (++iter->page_idx >= iter->chunk->nsg) {
106 if (iter->chunk->list.next == &iter->icm->chunk_list) {
107 iter->chunk = NULL;
111 iter->chunk = list_entry(iter->chunk->list.next,
119 return sg_dma_address(&iter->chunk->mem[iter->page_idx]);
124 return sg_dma_len(&iter->chunk
[all...]
/freebsd-12-stable/contrib/gcclibs/libiberty/
H A Dobjalloc.c56 /* This structure appears at the start of each chunk. */
60 /* Next chunk. */
62 /* If this chunk contains large objects, this is the value of
63 current_ptr when this chunk was allocated. If this chunk
74 /* We ask for this much memory each time we create a chunk which is to
89 struct objalloc_chunk *chunk; local
102 chunk = (struct objalloc_chunk *) ret->chunks;
103 chunk->next = NULL;
104 chunk
141 struct objalloc_chunk *chunk; local
157 struct objalloc_chunk *chunk; local
[all...]
H A Dobstack.c133 /* Initialize an obstack H for use. Specify chunk size SIZE (0 means default).
146 register struct _obstack_chunk *chunk; /* points to new chunk */
173 chunk = h->chunk = CALL_CHUNKFUN (h, h -> chunk_size);
174 if (!chunk)
176 h->next_free = h->object_base = chunk->contents;
177 h->chunk_limit = chunk->limit
178 = (char *) chunk + h->chunk_size;
179 chunk
145 register struct _obstack_chunk *chunk; /* points to new chunk */ local
190 register struct _obstack_chunk *chunk; /* points to new chunk */ local
[all...]
/freebsd-12-stable/contrib/binutils/libiberty/
H A Dobjalloc.c56 /* This structure appears at the start of each chunk. */
60 /* Next chunk. */
62 /* If this chunk contains large objects, this is the value of
63 current_ptr when this chunk was allocated. If this chunk
74 /* We ask for this much memory each time we create a chunk which is to
89 struct objalloc_chunk *chunk; local
102 chunk = (struct objalloc_chunk *) ret->chunks;
103 chunk->next = NULL;
104 chunk
134 struct objalloc_chunk *chunk; local
150 struct objalloc_chunk *chunk; local
[all...]
H A Dobstack.c133 /* Initialize an obstack H for use. Specify chunk size SIZE (0 means default).
146 register struct _obstack_chunk *chunk; /* points to new chunk */
173 chunk = h->chunk = CALL_CHUNKFUN (h, h -> chunk_size);
174 if (!chunk)
176 h->next_free = h->object_base = chunk->contents;
177 h->chunk_limit = chunk->limit
178 = (char *) chunk + h->chunk_size;
179 chunk
145 register struct _obstack_chunk *chunk; /* points to new chunk */ local
190 register struct _obstack_chunk *chunk; /* points to new chunk */ local
[all...]
/freebsd-12-stable/contrib/vis/
H A Dfoldit.c45 foldit(const char *chunk, int col, int max, int flags) argument
51 * if this chunk puts us over the limit.
54 cp = chunk;
/freebsd-12-stable/contrib/libucl/src/
H A Ducl_parser.c46 * @return new position in chunk
48 #define ucl_chunk_skipc(chunk, p) \
51 (chunk)->line ++; \
52 (chunk)->column = 0; \
54 else (chunk)->column ++; \
56 (chunk)->pos ++; \
57 (chunk)->remain --; \
64 struct ucl_chunk *chunk = parser->chunks; local
73 if (chunk->pos < chunk
136 struct ucl_chunk *chunk = parser->chunks; local
981 ucl_lex_number(struct ucl_parser *parser, struct ucl_chunk *chunk, ucl_object_t *obj) argument
1014 ucl_lex_json_string(struct ucl_parser *parser, struct ucl_chunk *chunk, bool *need_unescape, bool *ucl_escape, bool *var_expand) argument
1099 ucl_lex_squoted_string(struct ucl_parser *parser, struct ucl_chunk *chunk, bool *need_unescape) argument
1291 ucl_parse_key(struct ucl_parser *parser, struct ucl_chunk *chunk, bool *next_key, bool *end_of_object) argument
1515 ucl_parse_string_value(struct ucl_parser *parser, struct ucl_chunk *chunk, bool *var_expand, bool *need_unescape) argument
1586 ucl_parse_multiline_string(struct ucl_parser *parser, struct ucl_chunk *chunk, const unsigned char *term, int term_len, unsigned char const **beg, bool *var_expand) argument
1671 ucl_parse_value(struct ucl_parser *parser, struct ucl_chunk *chunk) argument
1925 ucl_parse_after_value(struct ucl_parser *parser, struct ucl_chunk *chunk) argument
2031 ucl_skip_macro_as_comment(struct ucl_parser *parser, struct ucl_chunk *chunk) argument
2143 ucl_parse_macro_value(struct ucl_parser *parser, struct ucl_chunk *chunk, struct ucl_macro *macro, unsigned char const **macro_start, size_t *macro_len) argument
2220 ucl_parse_macro_arguments(struct ucl_parser *parser, struct ucl_chunk *chunk) argument
2337 struct ucl_chunk *chunk = parser->chunks; local
2861 struct ucl_chunk *chunk; local
3011 struct ucl_chunk *chunk; local
[all...]
/freebsd-12-stable/crypto/openssl/apps/
H A Drand.c102 int chunk; local
104 chunk = num;
105 if (chunk > (int)sizeof(buf))
106 chunk = sizeof(buf);
107 r = RAND_bytes(buf, chunk);
111 if (BIO_write(out, buf, chunk) != chunk)
114 for (i = 0; i < chunk; i++)
118 num -= chunk;
/freebsd-12-stable/contrib/subversion/subversion/libsvn_subr/
H A Deol.c44 apr_uintptr_t chunk = *(const apr_uintptr_t *)buf;
48 apr_uintptr_t r_test = chunk ^ SVN__R_MASK;
49 apr_uintptr_t n_test = chunk ^ SVN__N_MASK;
43 apr_uintptr_t chunk = *(const apr_uintptr_t *)buf; local
/freebsd-12-stable/sys/x86/x86/
H A Ddump_machdep.c47 dumpsys_map_chunk(vm_paddr_t pa, size_t chunk, void **va) argument
52 for (i = 0; i < chunk; i++) {
/freebsd-12-stable/tests/sys/cddl/zfs/tests/txg_integrity/
H A Dmake_patterns.py39 for chunk in chunks:
40 bmp |= (1 << chunk)
/freebsd-12-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzap_leaf.c30 * chunk number n means l_chunk[n], even though the header precedes it.
46 #define CHAIN_END 0xffff /* end of the chunk chain */
190 int chunk = zap_leaf_phys(l)->l_hdr.lh_freelist;
191 ASSERT3U(chunk, <, ZAP_LEAF_NUMCHUNKS(l));
192 ASSERT3U(ZAP_LEAF_CHUNK(l, chunk).l_free.lf_type, ==, ZAP_CHUNK_FREE);
195 ZAP_LEAF_CHUNK(l, chunk).l_free.lf_next;
199 return (chunk);
203 zap_leaf_chunk_free(zap_leaf_t *l, uint16_t chunk) argument
205 struct zap_leaf_free *zlf = &ZAP_LEAF_CHUNK(l, chunk).l_free;
207 ASSERT3U(chunk, <, ZAP_LEAF_NUMCHUNK
236 uint16_t chunk = zap_leaf_chunk_alloc(l); local
264 uint16_t chunk = *chunkp; local
279 zap_leaf_array_read(zap_leaf_t *l, uint16_t chunk, int array_int_len, int array_len, int buf_int_len, uint64_t buf_len, void *buf) argument
337 zap_leaf_array_match(zap_leaf_t *l, zap_name_t *zn, int chunk, int array_numints) argument
398 uint16_t chunk = *chunkp; local
560 uint16_t chunk; local
715 zap_leaf_transfer_array(zap_leaf_t *l, uint16_t chunk, zap_leaf_t *nl) argument
748 uint16_t chunk = zap_leaf_chunk_alloc(nl); local
829 int chunk = zap_leaf_phys(l)->l_hash[i]; local
[all...]
/freebsd-12-stable/crypto/openssl/engines/asm/
H A De_padlock-x86_64.pl45 $chunk="%rbx";
314 mov \$$PADLOCK_CHUNK,$chunk
317 cmp $chunk,$len
318 cmovc $len,$chunk # chunk=len>PADLOCK_CHUNK?PADLOCK_CHUNK:len
319 and $chunk,%rax # out_misaligned?chunk:0
320 mov $len,$chunk
322 and \$$PADLOCK_CHUNK-1,$chunk # chunk
[all...]
H A De_padlock-x86.pl57 $chunk="ebx";
220 &mov ($chunk,$PADLOCK_CHUNK);
223 &cmp ($len,$chunk);
224 &cmovc ($chunk,$len); # chunk=len>PADLOCK_CHUNK?PADLOCK_CHUNK:len
225 &and ("eax",$chunk); # out_misaligned?chunk:0
226 &mov ($chunk,$len);
228 &and ($chunk,$PADLOCK_CHUNK-1); # chunk
[all...]
/freebsd-12-stable/sys/dev/mthca/
H A Dmthca_memfree.h76 struct mthca_icm_chunk *chunk; member in struct:mthca_icm_iter
103 iter->chunk = list_empty(&icm->chunk_list) ?
111 return !iter->chunk;
116 if (++iter->page_idx >= iter->chunk->nsg) {
117 if (iter->chunk->list.next == &iter->icm->chunk_list) {
118 iter->chunk = NULL;
122 iter->chunk = list_entry(iter->chunk->list.next,
130 return sg_dma_address(&iter->chunk->mem[iter->page_idx]);
135 return sg_dma_len(&iter->chunk
[all...]
H A Dmthca_memfree.c47 * per chunk.
63 static void mthca_free_icm_pages(struct mthca_dev *dev, struct mthca_icm_chunk *chunk) argument
67 if (chunk->nsg > 0)
68 pci_unmap_sg(dev->pdev, chunk->mem, chunk->npages,
71 for (i = 0; i < chunk->npages; ++i)
72 __free_pages(sg_page(&chunk->mem[i]),
73 get_order(chunk->mem[i].length));
76 static void mthca_free_icm_coherent(struct mthca_dev *dev, struct mthca_icm_chunk *chunk) argument
80 for (i = 0; i < chunk
89 struct mthca_icm_chunk *chunk, *tmp; local
140 struct mthca_icm_chunk *chunk = NULL; local
280 struct mthca_icm_chunk *chunk; local
[all...]
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/asan/
H A Dasan_poisoning.cpp54 u8 *chunk; member in struct:__asan::ShadowSegmentEndpoint
56 s8 value; // = *chunk;
59 chunk = (u8*)MemToShadow(address);
61 value = *chunk;
66 // Since asan's mapping is compacting, the shadow chunk may be
115 if (beg.chunk == end.chunk) {
123 *beg.chunk = Min(value, beg.offset);
125 *beg.chunk = kAsanUserPoisonedMemoryMagic;
130 CHECK_LT(beg.chunk, en
[all...]
/freebsd-12-stable/contrib/serf/buckets/
H A Dchunk_buckets.c37 serf_bucket_t *chunk; member in struct:__anon6933
51 ctx->chunk = serf_bucket_aggregate_create(allocator);
65 struct iovec vecs[66]; /* 64 + chunk trailer + EOF trailer = 66 */
90 /* Inserting a 0 byte chunk indicates a terminator, which already happens
92 * EOF chunk to be interpreted by the server as a new request. So,
96 /* Build the chunk header. */
101 /* Create a copy of the chunk header so we can have multiple chunks
106 serf_bucket_aggregate_append(ctx->chunk, simple_bkt);
108 /* Insert the chunk footer. */
115 /* Insert the chunk foote
[all...]
/freebsd-12-stable/contrib/gcclibs/libgomp/
H A Diter.c115 /* Initial guess is a C sized chunk positioned nthreads iterations
151 long start, end, chunk, left; local
157 chunk = ws->chunk_size * ws->incr;
161 if (chunk < left)
162 chunk = left;
166 if (chunk > left)
167 chunk = left;
169 end = start + chunk;
187 long start, end, nend, chunk, incr; local
192 chunk
[all...]
/freebsd-12-stable/gnu/usr.bin/grep/
H A Dobstack.c143 /* Initialize an obstack H for use. Specify chunk size SIZE (0 means default).
164 register struct _obstack_chunk *chunk; /* points to new chunk */
196 chunk = h->chunk = CALL_CHUNKFUN (h, h -> chunk_size);
197 if (!chunk)
199 h->next_free = h->object_base = chunk->contents;
200 h->chunk_limit = chunk->limit
201 = (char *) chunk + h->chunk_size;
202 chunk
163 register struct _obstack_chunk *chunk; /* points to new chunk */ local
222 register struct _obstack_chunk *chunk; /* points to new chunk */ local
[all...]
/freebsd-12-stable/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_allocator.cpp249 uptr chunk = reinterpret_cast<uptr>(allocator.GetBlockBeginFastLocked(p)); local
250 if (!chunk) return 0;
251 // LargeMmapAllocator considers pointers to the meta-region of a chunk to be
253 if (addr < chunk) return 0;
254 ChunkMetadata *m = Metadata(reinterpret_cast<void *>(chunk));
258 if (addr < chunk + m->requested_size)
259 return chunk;
260 if (IsSpecialCaseOfOperatorNew0(chunk, m->requested_size, addr))
261 return chunk;
265 uptr GetUserBegin(uptr chunk) { argument
269 LsanMetadata(uptr chunk) argument
299 void *chunk = allocator.GetBlockBegin(p); local
[all...]

Completed in 116 milliseconds

1234567