Home
last modified time | relevance | path

Searched refs:chunks (Results 1 – 25 of 50) sorted by relevance

12

/dragonfly/sys/vfs/devfs/
H A Ddevfs_helper.c59 bitmap->chunks = DEVFS_BITMAP_INITIAL_SIZE; in devfs_clone_bitmap_init()
80 int oldchunks = bitmap->chunks; in devfs_clone_bitmap_extend()
82 bitmap->chunks = newchunks + 2; in devfs_clone_bitmap_extend()
84 sizeof(u_long) * bitmap->chunks, in devfs_clone_bitmap_extend()
99 int chunks; in devfs_clone_bitmap_fff() local
101 chunks = bitmap->chunks; in devfs_clone_bitmap_fff()
103 for (i = 0; i < chunks + 1; i++) { in devfs_clone_bitmap_fff()
104 if (i == chunks) in devfs_clone_bitmap_fff()
145 if (chunk >= bitmap->chunks) { in devfs_clone_bitmap_chk()
179 if (chunk >= bitmap->chunks) in devfs_clone_bitmap_set()
[all …]
/dragonfly/contrib/binutils-2.27/libiberty/
H A Dobjalloc.c95 ret->chunks = (PTR) malloc (CHUNK_SIZE); in objalloc_create()
96 if (ret->chunks == NULL) in objalloc_create()
102 chunk = (struct objalloc_chunk *) ret->chunks; in objalloc_create()
148 chunk->next = (struct objalloc_chunk *) o->chunks; in _objalloc_alloc()
151 o->chunks = (PTR) chunk; in _objalloc_alloc()
168 o->chunks = (PTR) chunk; in _objalloc_alloc()
181 l = (struct objalloc_chunk *) o->chunks; in objalloc_free()
238 q = (struct objalloc_chunk *) o->chunks; in objalloc_free_block()
260 o->chunks = (PTR) first; in objalloc_free_block()
280 q = (struct objalloc_chunk *) o->chunks; in objalloc_free_block()
[all …]
/dragonfly/contrib/binutils-2.34/libiberty/
H A Dobjalloc.c95 ret->chunks = (PTR) malloc (CHUNK_SIZE); in objalloc_create()
96 if (ret->chunks == NULL) in objalloc_create()
102 chunk = (struct objalloc_chunk *) ret->chunks; in objalloc_create()
148 chunk->next = (struct objalloc_chunk *) o->chunks; in _objalloc_alloc()
151 o->chunks = (PTR) chunk; in _objalloc_alloc()
168 o->chunks = (PTR) chunk; in _objalloc_alloc()
181 l = (struct objalloc_chunk *) o->chunks; in objalloc_free()
238 q = (struct objalloc_chunk *) o->chunks; in objalloc_free_block()
260 o->chunks = (PTR) first; in objalloc_free_block()
280 q = (struct objalloc_chunk *) o->chunks; in objalloc_free_block()
[all …]
/dragonfly/contrib/gdb-7/libiberty/
H A Dobjalloc.c95 ret->chunks = (PTR) malloc (CHUNK_SIZE); in objalloc_create()
96 if (ret->chunks == NULL) in objalloc_create()
102 chunk = (struct objalloc_chunk *) ret->chunks; in objalloc_create()
148 chunk->next = (struct objalloc_chunk *) o->chunks; in _objalloc_alloc()
151 o->chunks = (PTR) chunk; in _objalloc_alloc()
168 o->chunks = (PTR) chunk; in _objalloc_alloc()
181 l = (struct objalloc_chunk *) o->chunks; in objalloc_free()
238 q = (struct objalloc_chunk *) o->chunks; in objalloc_free_block()
260 o->chunks = (PTR) first; in objalloc_free_block()
280 q = (struct objalloc_chunk *) o->chunks; in objalloc_free_block()
[all …]
/dragonfly/contrib/gcc-8.0/libiberty/
H A Dobjalloc.c95 ret->chunks = (PTR) malloc (CHUNK_SIZE); in objalloc_create()
96 if (ret->chunks == NULL) in objalloc_create()
102 chunk = (struct objalloc_chunk *) ret->chunks; in objalloc_create()
148 chunk->next = (struct objalloc_chunk *) o->chunks; in _objalloc_alloc()
151 o->chunks = (PTR) chunk; in _objalloc_alloc()
168 o->chunks = (PTR) chunk; in _objalloc_alloc()
181 l = (struct objalloc_chunk *) o->chunks; in objalloc_free()
238 q = (struct objalloc_chunk *) o->chunks; in objalloc_free_block()
260 o->chunks = (PTR) first; in objalloc_free_block()
280 q = (struct objalloc_chunk *) o->chunks; in objalloc_free_block()
[all …]
/dragonfly/contrib/gcc-4.7/libiberty/
H A Dobjalloc.c95 ret->chunks = (PTR) malloc (CHUNK_SIZE); in objalloc_create()
96 if (ret->chunks == NULL) in objalloc_create()
102 chunk = (struct objalloc_chunk *) ret->chunks; in objalloc_create()
141 chunk->next = (struct objalloc_chunk *) o->chunks; in _objalloc_alloc()
144 o->chunks = (PTR) chunk; in _objalloc_alloc()
161 o->chunks = (PTR) chunk; in _objalloc_alloc()
174 l = (struct objalloc_chunk *) o->chunks; in objalloc_free()
231 q = (struct objalloc_chunk *) o->chunks; in objalloc_free_block()
253 o->chunks = (PTR) first; in objalloc_free_block()
273 q = (struct objalloc_chunk *) o->chunks; in objalloc_free_block()
[all …]
/dragonfly/sys/dev/drm/radeon/
H A Dradeon_cs.c299 if (p->chunks == NULL) { in radeon_cs_parser_init()
314 p->chunk_relocs = &p->chunks[i]; in radeon_cs_parser_init()
317 p->chunk_ib = &p->chunks[i]; in radeon_cs_parser_init()
329 p->chunk_flags = &p->chunks[i]; in radeon_cs_parser_init()
335 size = p->chunks[i].length_dw; in radeon_cs_parser_init()
337 p->chunks[i].user_ptr = cdata; in radeon_cs_parser_init()
356 if (p->chunks[i].length_dw > 1) in radeon_cs_parser_init()
357 ring = p->chunks[i].kdata[1]; in radeon_cs_parser_init()
358 if (p->chunks[i].length_dw > 2) in radeon_cs_parser_init()
448 kvfree(parser->chunks[i].kdata); in radeon_cs_parser_fini()
[all …]
/dragonfly/sys/dev/drm/amd/amdgpu/
H A Damdgpu_cs.c144 if (!p->chunks) { in amdgpu_cs_parser_init()
164 size = p->chunks[i].length_dw; in amdgpu_cs_parser_init()
168 if (p->chunks[i].kdata == NULL) { in amdgpu_cs_parser_init()
179 switch (p->chunks[i].chunk_id) { in amdgpu_cs_parser_init()
244 kvfree(p->chunks[i].kdata); in amdgpu_cs_parser_init()
245 kfree(p->chunks); in amdgpu_cs_parser_init()
246 p->chunks = NULL; in amdgpu_cs_parser_init()
809 kfree(parser->chunks); in amdgpu_cs_parser_fini()
922 chunk = &p->chunks[i]; in amdgpu_cs_ib_vm_chunk()
999 chunk = &parser->chunks[i]; in amdgpu_cs_ib_fill()
[all …]
/dragonfly/sys/dev/drm/include/linux/
H A Dbitmap.h42 int chunks = DIV_ROUND_UP(nbits, BITS_PER_LONG); in bitmap_or() local
44 for (int i = 0;i < chunks;i++) in bitmap_or()
/dragonfly/contrib/gcc-8.0/libgomp/
H A Dtarget.c192 size_t *chunks; member
242 cbuf->chunks[2 * cbuf->chunk_cnt] = start; in gomp_coalesce_buf_add()
281 if (cbuf->chunks[2 * middle + 1] <= doff) in gomp_copy_host2dev()
283 else if (cbuf->chunks[2 * middle] <= doff) in gomp_copy_host2dev()
507 cbuf.chunks = NULL; in gomp_map_vars()
513 cbuf.chunks in gomp_map_vars()
524 cbuf.chunks[0] = 0; in gomp_map_vars()
525 cbuf.chunks[1] = tgt_size; in gomp_map_vars()
710 = malloc (cbuf.chunks[2 * cbuf.chunk_cnt - 1] - cbuf.chunks[0]); in gomp_map_vars()
985 (char *) cbuf.buf + (cbuf.chunks[2 * c] - cbuf.chunks[0]), in gomp_map_vars()
[all …]
/dragonfly/lib/libc/stdlib/
H A Ddmalloc.c232 char *chunks; /* chunk base */ member
885 obj = slab->chunks + ((bmi << LONG_BITS_SHIFT) + bno) * size; in memalloc()
909 obj = slab->chunks + ((bmi << LONG_BITS_SHIFT) + bno) * in memalloc()
926 obj = slab->chunks + ((bmi << LONG_BITS_SHIFT) + bno) * in memalloc()
1060 bno = ((uintptr_t)ptr - (uintptr_t)slab->chunks) / slab->chunk_size; in memfree()
1514 slab->chunks = save; in slaballoc()
1520 slab->chunks = (char *)slab + chunk_offset; in slaballoc()
1571 _vmem_free(slab->chunks, slab->slab_size); in slabfree()
/dragonfly/contrib/tcpdump/
H A DREADME.md128 A summary line is printed showing the number of chunks,
129 the number of packets it took to send that many chunks
131 of packets should equal the number of chunks) and the
150 # 134 chunks. 536 packets sent. 508 acks.
161 This says that 134 chunks were transferred (about 70K
/dragonfly/contrib/gcc-8.0/gcc/
H A Dhsa-brig.c176 vec <struct hsa_brig_data_chunk> chunks; variable
222 cur_chunk = chunks.safe_push (new_chunk); in allocate_new_chunk()
236 chunks.create (1); in init()
248 for (unsigned i = 0; i < chunks.length (); i++) in release()
249 free (chunks[i].data); in release()
250 chunks.release (); in release()
272 for (unsigned i = 0; i < chunks.length (); i++) in output()
273 assemble_string (chunks[i].data, chunks[i].size); in output()
330 for (i = 0; offset >= chunks[i].size; i++) in get_ptr_by_offset()
331 offset -= chunks[i].size; in get_ptr_by_offset()
[all …]
/dragonfly/contrib/gcc-4.7/include/
H A Dobjalloc.h48 void *chunks; member
/dragonfly/contrib/binutils-2.27/include/
H A Dobjalloc.h48 void *chunks; member
/dragonfly/contrib/binutils-2.34/include/
H A Dobjalloc.h48 void *chunks; member
/dragonfly/contrib/gdb-7/include/
H A Dobjalloc.h48 void *chunks; member
/dragonfly/contrib/gcc-8.0/include/
H A Dobjalloc.h48 void *chunks; member
/dragonfly/contrib/tcsh-6/nls/greek/
H A Dset1917 15 Number of non-inuse chunks: %zu\n
/dragonfly/contrib/tcsh-6/nls/ukrainian/
H A Dset1917 15 Number of non-inuse chunks: %zu\n
/dragonfly/contrib/tcsh-6/nls/russian/
H A Dset1917 15 Number of non-inuse chunks: %zu\n
/dragonfly/contrib/tcsh-6/nls/et/
H A Dset1917 15 Number of non-inuse chunks: %zu\n
/dragonfly/contrib/tcsh-6/nls/french/
H A Dset1917 15 Number of non-inuse chunks: %zu\n
/dragonfly/contrib/tcsh-6/nls/italian/
H A Dset1917 15 Number of non-inuse chunks: %zu\n
/dragonfly/contrib/tcsh-6/nls/spanish/
H A Dset1917 15 Number of non-inuse chunks: %zu\n

12