Home
last modified time | relevance | path

Searched refs:chunk (Results 1 – 25 of 112) sorted by relevance

12345

/dragonfly/sbin/fsck/
H A Dmemzone.c56 zone->list = chunk; in mzalloc()
58 chunk = NULL; in mzalloc()
61 if (chunk == NULL) { in mzalloc()
62 chunk = malloc(sizeof(*chunk)); in mzalloc()
63 if (chunk == NULL) in mzalloc()
65 bzero(chunk, sizeof(*chunk)); in mzalloc()
69 free(chunk); in mzalloc()
73 zone->curr = chunk; in mzalloc()
93 zone->list = chunk; in mzpurge()
98 munmap(chunk->base, chunk->bytes); in mzpurge()
[all …]
/dragonfly/crypto/libressl/crypto/evp/
H A De_camellia.c113 chunk = inl; in camellia_128_cfb128_cipher()
117 inl -= chunk; in camellia_128_cfb128_cipher()
118 in += chunk; in camellia_128_cfb128_cipher()
119 out += chunk; in camellia_128_cfb128_cipher()
121 chunk = inl; in camellia_128_cfb128_cipher()
271 chunk = inl; in camellia_192_cfb128_cipher()
276 in += chunk; in camellia_192_cfb128_cipher()
429 chunk = inl; in camellia_256_cfb128_cipher()
570 chunk >>= 3; in camellia_128_cfb1_cipher()
614 chunk >>= 3; in camellia_192_cfb1_cipher()
[all …]
H A De_des.c125 inl -= chunk; in des_ofb_cipher()
126 in += chunk; in des_ofb_cipher()
127 out += chunk; in des_ofb_cipher()
144 inl -= chunk; in des_cbc_cipher()
145 in += chunk; in des_cbc_cipher()
146 out += chunk; in des_cbc_cipher()
163 inl -= chunk; in des_cfb64_cipher()
164 in += chunk; in des_cfb64_cipher()
184 chunk = inl; in des_cfb1_cipher()
196 in += chunk; in des_cfb1_cipher()
[all …]
H A De_bf.c93 inl -= chunk; in bf_cbc_cipher()
94 in += chunk; in bf_cbc_cipher()
95 out += chunk; in bf_cbc_cipher()
110 chunk = inl; in bf_cfb64_cipher()
114 inl -= chunk; in bf_cfb64_cipher()
115 in += chunk; in bf_cfb64_cipher()
116 out += chunk; in bf_cfb64_cipher()
118 chunk = inl; in bf_cfb64_cipher()
149 inl -= chunk; in bf_ofb_cipher()
150 in += chunk; in bf_ofb_cipher()
[all …]
H A De_idea.c130 inl -= chunk; in idea_cbc_cipher()
131 in += chunk; in idea_cbc_cipher()
132 out += chunk; in idea_cbc_cipher()
148 inl -= chunk; in idea_ofb_cipher()
149 in += chunk; in idea_ofb_cipher()
150 out += chunk; in idea_ofb_cipher()
165 chunk = inl; in idea_cfb64_cipher()
169 inl -= chunk; in idea_cfb64_cipher()
170 in += chunk; in idea_cfb64_cipher()
171 out += chunk; in idea_cfb64_cipher()
[all …]
H A De_cast.c93 inl -= chunk; in cast5_cbc_cipher()
94 in += chunk; in cast5_cbc_cipher()
95 out += chunk; in cast5_cbc_cipher()
110 chunk = inl; in cast5_cfb64_cipher()
114 inl -= chunk; in cast5_cfb64_cipher()
115 in += chunk; in cast5_cfb64_cipher()
116 out += chunk; in cast5_cfb64_cipher()
118 chunk = inl; in cast5_cfb64_cipher()
149 inl -= chunk; in cast5_ofb_cipher()
150 in += chunk; in cast5_ofb_cipher()
[all …]
H A De_rc2.c95 inl -= chunk; in rc2_cbc_cipher()
96 in += chunk; in rc2_cbc_cipher()
97 out += chunk; in rc2_cbc_cipher()
112 chunk = inl; in rc2_cfb64_cipher()
116 inl -= chunk; in rc2_cfb64_cipher()
117 in += chunk; in rc2_cfb64_cipher()
118 out += chunk; in rc2_cfb64_cipher()
120 chunk = inl; in rc2_cfb64_cipher()
151 inl -= chunk; in rc2_ofb_cipher()
152 in += chunk; in rc2_ofb_cipher()
[all …]
H A De_des3.c157 inl -= chunk; in des_ede_ofb_cipher()
158 in += chunk; in des_ede_ofb_cipher()
159 out += chunk; in des_ede_ofb_cipher()
179 inl -= chunk; in des_ede_cbc_cipher()
180 in += chunk; in des_ede_cbc_cipher()
181 out += chunk; in des_ede_cbc_cipher()
200 inl -= chunk; in des_ede_cfb64_cipher()
201 in += chunk; in des_ede_cfb64_cipher()
202 out += chunk; in des_ede_cfb64_cipher()
245 inl -= chunk; in des_ede3_cfb8_cipher()
[all …]
/dragonfly/contrib/lvm2/dist/libdm/mm/
H A Dpool-fast.c20 struct chunk { struct
65 c = p->chunk; in dm_pool_destroy()
83 struct chunk *c = p->chunk; in dm_pool_alloc_aligned()
110 struct chunk *c; in dm_pool_empty()
121 struct chunk *c = p->chunk; in dm_pool_free()
140 p->chunk = c; in dm_pool_free()
145 struct chunk *c = p->chunk; in dm_pool_begin_object()
172 struct chunk *c = p->chunk, *nc; in dm_pool_grow_object()
189 c = p->chunk; in dm_pool_grow_object()
199 struct chunk *c = p->chunk; in dm_pool_end_object()
[all …]
/dragonfly/sys/vfs/devfs/
H A Ddevfs_helper.c138 int chunk; in devfs_clone_bitmap_chk() local
141 chunk = unit / (sizeof(u_long) * 8); in devfs_clone_bitmap_chk()
142 unit -= chunk * (sizeof(u_long) * 8); in devfs_clone_bitmap_chk()
145 if (chunk >= bitmap->chunks) { in devfs_clone_bitmap_chk()
172 int chunk; in devfs_clone_bitmap_set() local
175 chunk = unit / (sizeof(u_long) * 8); in devfs_clone_bitmap_set()
176 unit -= chunk * (sizeof(u_long) * 8); in devfs_clone_bitmap_set()
179 if (chunk >= bitmap->chunks) in devfs_clone_bitmap_set()
200 int chunk; in devfs_clone_bitmap_put() local
204 chunk = unit / (sizeof(u_long) * 8); in devfs_clone_bitmap_put()
[all …]
/dragonfly/contrib/binutils-2.27/libiberty/
H A Dobjalloc.c89 struct objalloc_chunk *chunk; in objalloc_create() local
103 chunk->next = NULL; in objalloc_create()
104 chunk->current_ptr = NULL; in objalloc_create()
141 struct objalloc_chunk *chunk; in _objalloc_alloc() local
147 chunk = (struct objalloc_chunk *) ret; in _objalloc_alloc()
149 chunk->current_ptr = o->current_ptr; in _objalloc_alloc()
151 o->chunks = (PTR) chunk; in _objalloc_alloc()
157 struct objalloc_chunk *chunk; in _objalloc_alloc() local
160 if (chunk == NULL) in _objalloc_alloc()
163 chunk->current_ptr = NULL; in _objalloc_alloc()
[all …]
H A Dobstack.c142 if (!chunk) in _obstack_begin_worker()
144 h->chunk = chunk; in _obstack_begin_worker()
145 h->next_free = h->object_base = __PTR_ALIGN ((char *) chunk, chunk->contents, in _obstack_begin_worker()
147 h->chunk_limit = chunk->limit = (char *) chunk + h->chunk_size; in _obstack_begin_worker()
148 chunk->prev = 0; in _obstack_begin_worker()
190 struct _obstack_chunk *old_chunk = h->chunk; in _obstack_newchunk()
209 h->chunk = new_chunk; in _obstack_newchunk()
252 lp = (h)->chunk; in _obstack_allocated_p()
273 lp = h->chunk; in _obstack_free()
290 h->chunk = lp; in _obstack_free()
[all …]
/dragonfly/contrib/binutils-2.34/libiberty/
H A Dobjalloc.c89 struct objalloc_chunk *chunk; in objalloc_create() local
103 chunk->next = NULL; in objalloc_create()
104 chunk->current_ptr = NULL; in objalloc_create()
141 struct objalloc_chunk *chunk; in _objalloc_alloc() local
147 chunk = (struct objalloc_chunk *) ret; in _objalloc_alloc()
149 chunk->current_ptr = o->current_ptr; in _objalloc_alloc()
151 o->chunks = (PTR) chunk; in _objalloc_alloc()
157 struct objalloc_chunk *chunk; in _objalloc_alloc() local
160 if (chunk == NULL) in _objalloc_alloc()
163 chunk->current_ptr = NULL; in _objalloc_alloc()
[all …]
H A Dobstack.c142 if (!chunk) in _obstack_begin_worker()
144 h->chunk = chunk; in _obstack_begin_worker()
145 h->next_free = h->object_base = __PTR_ALIGN ((char *) chunk, chunk->contents, in _obstack_begin_worker()
147 h->chunk_limit = chunk->limit = (char *) chunk + h->chunk_size; in _obstack_begin_worker()
148 chunk->prev = 0; in _obstack_begin_worker()
190 struct _obstack_chunk *old_chunk = h->chunk; in _obstack_newchunk()
209 h->chunk = new_chunk; in _obstack_newchunk()
252 lp = (h)->chunk; in _obstack_allocated_p()
273 lp = h->chunk; in _obstack_free()
290 h->chunk = lp; in _obstack_free()
[all …]
/dragonfly/contrib/gdb-7/libiberty/
H A Dobjalloc.c89 struct objalloc_chunk *chunk; in objalloc_create() local
103 chunk->next = NULL; in objalloc_create()
104 chunk->current_ptr = NULL; in objalloc_create()
141 struct objalloc_chunk *chunk; in _objalloc_alloc() local
147 chunk = (struct objalloc_chunk *) ret; in _objalloc_alloc()
149 chunk->current_ptr = o->current_ptr; in _objalloc_alloc()
151 o->chunks = (PTR) chunk; in _objalloc_alloc()
157 struct objalloc_chunk *chunk; in _objalloc_alloc() local
160 if (chunk == NULL) in _objalloc_alloc()
163 chunk->current_ptr = NULL; in _objalloc_alloc()
[all …]
H A Dobstack.c172 chunk = h->chunk = CALL_CHUNKFUN (h, h -> chunk_size); in _obstack_begin()
173 if (!chunk) in _obstack_begin()
178 chunk->prev = 0; in _obstack_begin()
218 chunk = h->chunk = CALL_CHUNKFUN (h, h -> chunk_size); in _obstack_begin_1()
219 if (!chunk) in _obstack_begin_1()
224 chunk->prev = 0; in _obstack_begin_1()
309 lp = (h)->chunk; in _obstack_allocated_p()
335 lp = h->chunk; in _obstack_free()
352 h->chunk = lp; in _obstack_free()
367 lp = h->chunk; in obstack_free()
[all …]
/dragonfly/contrib/gcc-8.0/libiberty/
H A Dobjalloc.c89 struct objalloc_chunk *chunk; in objalloc_create() local
103 chunk->next = NULL; in objalloc_create()
104 chunk->current_ptr = NULL; in objalloc_create()
141 struct objalloc_chunk *chunk; in _objalloc_alloc() local
147 chunk = (struct objalloc_chunk *) ret; in _objalloc_alloc()
149 chunk->current_ptr = o->current_ptr; in _objalloc_alloc()
151 o->chunks = (PTR) chunk; in _objalloc_alloc()
157 struct objalloc_chunk *chunk; in _objalloc_alloc() local
160 if (chunk == NULL) in _objalloc_alloc()
163 chunk->current_ptr = NULL; in _objalloc_alloc()
[all …]
H A Dobstack.c142 if (!chunk) in _obstack_begin_worker()
144 h->chunk = chunk; in _obstack_begin_worker()
145 h->next_free = h->object_base = __PTR_ALIGN ((char *) chunk, chunk->contents, in _obstack_begin_worker()
147 h->chunk_limit = chunk->limit = (char *) chunk + h->chunk_size; in _obstack_begin_worker()
148 chunk->prev = 0; in _obstack_begin_worker()
190 struct _obstack_chunk *old_chunk = h->chunk; in _obstack_newchunk()
209 h->chunk = new_chunk; in _obstack_newchunk()
252 lp = (h)->chunk; in _obstack_allocated_p()
273 lp = h->chunk; in _obstack_free()
290 h->chunk = lp; in _obstack_free()
[all …]
/dragonfly/contrib/gcc-4.7/libiberty/
H A Dobjalloc.c89 struct objalloc_chunk *chunk; in objalloc_create() local
103 chunk->next = NULL; in objalloc_create()
104 chunk->current_ptr = NULL; in objalloc_create()
134 struct objalloc_chunk *chunk; in _objalloc_alloc() local
140 chunk = (struct objalloc_chunk *) ret; in _objalloc_alloc()
142 chunk->current_ptr = o->current_ptr; in _objalloc_alloc()
144 o->chunks = (PTR) chunk; in _objalloc_alloc()
150 struct objalloc_chunk *chunk; in _objalloc_alloc() local
153 if (chunk == NULL) in _objalloc_alloc()
156 chunk->current_ptr = NULL; in _objalloc_alloc()
[all …]
H A Dobstack.c172 chunk = h->chunk = CALL_CHUNKFUN (h, h -> chunk_size); in _obstack_begin()
173 if (!chunk) in _obstack_begin()
178 chunk->prev = 0; in _obstack_begin()
218 chunk = h->chunk = CALL_CHUNKFUN (h, h -> chunk_size); in _obstack_begin_1()
219 if (!chunk) in _obstack_begin_1()
224 chunk->prev = 0; in _obstack_begin_1()
309 lp = (h)->chunk; in _obstack_allocated_p()
335 lp = h->chunk; in _obstack_free()
352 h->chunk = lp; in _obstack_free()
367 lp = h->chunk; in obstack_free()
[all …]
/dragonfly/contrib/gcc-8.0/libgomp/
H A Diter.c162 if (chunk < left) in gomp_iter_dynamic_next_locked()
163 chunk = left; in gomp_iter_dynamic_next_locked()
167 if (chunk > left) in gomp_iter_dynamic_next_locked()
168 chunk = left; in gomp_iter_dynamic_next_locked()
170 end = start + chunk; in gomp_iter_dynamic_next_locked()
201 nend = tmp + chunk; in gomp_iter_dynamic_next()
212 nend = tmp + chunk; in gomp_iter_dynamic_next()
232 if (chunk < left) in gomp_iter_dynamic_next()
233 chunk = left; in gomp_iter_dynamic_next()
237 if (chunk > left) in gomp_iter_dynamic_next()
[all …]
H A Diter_ull.c164 if (chunk < left) in gomp_iter_ull_dynamic_next_locked()
165 chunk = left; in gomp_iter_ull_dynamic_next_locked()
169 if (chunk > left) in gomp_iter_ull_dynamic_next_locked()
170 chunk = left; in gomp_iter_ull_dynamic_next_locked()
172 end = start + chunk; in gomp_iter_ull_dynamic_next_locked()
202 nend = tmp + chunk; in gomp_iter_ull_dynamic_next()
213 nend = tmp + chunk; in gomp_iter_ull_dynamic_next()
233 if (chunk < left) in gomp_iter_ull_dynamic_next()
234 chunk = left; in gomp_iter_ull_dynamic_next()
238 if (chunk > left) in gomp_iter_ull_dynamic_next()
[all …]
/dragonfly/contrib/gcc-4.7/libgomp/
H A Diter.c161 if (chunk < left) in gomp_iter_dynamic_next_locked()
162 chunk = left; in gomp_iter_dynamic_next_locked()
166 if (chunk > left) in gomp_iter_dynamic_next_locked()
167 chunk = left; in gomp_iter_dynamic_next_locked()
169 end = start + chunk; in gomp_iter_dynamic_next_locked()
200 nend = tmp + chunk; in gomp_iter_dynamic_next()
211 nend = tmp + chunk; in gomp_iter_dynamic_next()
231 if (chunk < left) in gomp_iter_dynamic_next()
232 chunk = left; in gomp_iter_dynamic_next()
236 if (chunk > left) in gomp_iter_dynamic_next()
[all …]
H A Diter_ull.c163 if (chunk < left) in gomp_iter_ull_dynamic_next_locked()
164 chunk = left; in gomp_iter_ull_dynamic_next_locked()
168 if (chunk > left) in gomp_iter_ull_dynamic_next_locked()
169 chunk = left; in gomp_iter_ull_dynamic_next_locked()
171 end = start + chunk; in gomp_iter_ull_dynamic_next_locked()
201 nend = tmp + chunk; in gomp_iter_ull_dynamic_next()
212 nend = tmp + chunk; in gomp_iter_ull_dynamic_next()
232 if (chunk < left) in gomp_iter_ull_dynamic_next()
233 chunk = left; in gomp_iter_ull_dynamic_next()
237 if (chunk > left) in gomp_iter_ull_dynamic_next()
[all …]
/dragonfly/contrib/grep/lib/
H A Dobstack.c136 chunk = h->chunk = call_chunkfun (h, h->chunk_size); in _obstack_begin_worker()
137 if (!chunk) in _obstack_begin_worker()
139 h->next_free = h->object_base = __PTR_ALIGN ((char *) chunk, chunk->contents, in _obstack_begin_worker()
141 h->chunk_limit = chunk->limit = (char *) chunk + h->chunk_size; in _obstack_begin_worker()
142 chunk->prev = 0; in _obstack_begin_worker()
184 struct _obstack_chunk *old_chunk = h->chunk; in _obstack_newchunk()
203 h->chunk = new_chunk; in _obstack_newchunk()
246 lp = (h)->chunk; in _obstack_allocated_p()
267 lp = h->chunk; in _obstack_free()
284 h->chunk = lp; in _obstack_free()
[all …]

12345