Home
last modified time | relevance | path

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

12345

/freebsd-12.1/sys/dev/drm2/radeon/
H A Dradeon_cs.c49 chunk = &p->chunks[p->chunk_relocs_idx]; in radeon_cs_parser_relocs()
198 if (p->chunks == NULL) { in radeon_cs_parser_init()
212 p->chunks[i].kdata = NULL; in radeon_cs_parser_init()
221 if (p->chunks[i].length_dw == 0) in radeon_cs_parser_init()
227 if (p->chunks[i].length_dw == 0) in radeon_cs_parser_init()
233 if (p->chunks[i].length_dw == 0) in radeon_cs_parser_init()
245 if (p->chunks[i].kdata == NULL) { in radeon_cs_parser_init()
254 if (p->chunks[i].length_dw > 1) in radeon_cs_parser_init()
255 ring = p->chunks[i].kdata[1]; in radeon_cs_parser_init()
256 if (p->chunks[i].length_dw > 2) in radeon_cs_parser_init()
[all …]
/freebsd-12.1/contrib/bearssl/src/ssl/
H A Dssl_keyexport.c49 br_tls_prf_seed_chunk chunks[4]; in br_ssl_key_export() local
58 chunks[0].data = cc->client_random; in br_ssl_key_export()
59 chunks[0].len = sizeof cc->client_random; in br_ssl_key_export()
60 chunks[1].data = cc->server_random; in br_ssl_key_export()
61 chunks[1].len = sizeof cc->server_random; in br_ssl_key_export()
64 chunks[2].data = tmp; in br_ssl_key_export()
65 chunks[2].len = 2; in br_ssl_key_export()
66 chunks[3].data = context; in br_ssl_key_export()
67 chunks[3].len = context_len; in br_ssl_key_export()
81 label, num_chunks, chunks); in br_ssl_key_export()
/freebsd-12.1/contrib/gcclibs/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 …]
H A Dobstacks.texi30 * Obstack Chunks:: How obstacks obtain and release chunks;
65 @dfn{chunks}. The @code{struct obstack} structure points to a chain of
66 the chunks currently in use.
70 chunks automatically, you don't need to pay much attention to them, but
91 the chunks of memory into which objects are packed. The other,
92 @code{obstack_chunk_free}, is used to return chunks when the objects in
624 @cindex efficiency of chunks
625 @cindex chunks
627 Obstacks work by allocating space for themselves in large chunks, and
631 for storing objects. Regardless of the specified size, longer chunks
[all …]
/freebsd-12.1/contrib/binutils/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 …]
H A Dobstacks.texi30 * Obstack Chunks:: How obstacks obtain and release chunks;
65 @dfn{chunks}. The @code{struct obstack} structure points to a chain of
66 the chunks currently in use.
70 chunks automatically, you don't need to pay much attention to them, but
91 the chunks of memory into which objects are packed. The other,
92 @code{obstack_chunk_free}, is used to return chunks when the objects in
624 @cindex efficiency of chunks
625 @cindex chunks
627 Obstacks work by allocating space for themselves in large chunks, and
631 for storing objects. Regardless of the specified size, longer chunks
[all …]
/freebsd-12.1/usr.bin/split/
H A Dsplit.c69 static off_t chunks = 0; /* Chunks count to split into. */ variable
139 (chunks = (size_t)strtoul(optarg, &ep, 10)) == 0 || in main()
172 if (pflag && (numlines != 0 || bytecnt != 0 || chunks != 0)) in main()
177 else if (bytecnt != 0 || chunks != 0) in main()
180 if (bytecnt && chunks) in main()
189 } else if (chunks) { in main()
222 if (!chunks || (nfiles < chunks)) { in split1()
234 if (!chunks || (nfiles < chunks)) { in split1()
243 if (!chunks || (nfiles < chunks)) { in split1()
326 if (chunks > sb.st_size) { in split3()
[all …]
/freebsd-12.1/contrib/subversion/subversion/libsvn_fs_base/
H A Dreps-strings.c105 apr_array_header_t *chunks; in delta_string_keys() local
113 chunks = rep->contents.delta.chunks; in delta_string_keys()
117 if (! chunks->nelts) in delta_string_keys()
265 apr_array_header_t *chunks = rep->contents.delta.chunks; in get_one_window() local
269 if (chunks->nelts <= cur_chunk) in get_one_window()
434 const apr_array_header_t *chunks = rep->contents.delta.chunks; in get_chunk_offset() local
436 assert(chunks->nelts); in get_chunk_offset()
744 apr_array_header_t *chunks = rep->contents.delta.chunks; in svn_fs_base__rep_contents_size() local
749 last_chunk = APR_ARRAY_IDX(chunks, chunks->nelts - 1, in svn_fs_base__rep_contents_size()
1575 apr_array_header_t *chunks; in svn_fs_base__rep_deltify() local
[all …]
/freebsd-12.1/contrib/libucl/src/
H A Ducl_sexp.c76 assert (parser->chunks != NULL); in ucl_parse_csexp()
77 assert (parser->chunks->begin != NULL); in ucl_parse_csexp()
78 assert (parser->chunks->remain != 0); in ucl_parse_csexp()
80 p = parser->chunks->begin; in ucl_parse_csexp()
81 end = p + parser->chunks->remain; in ucl_parse_csexp()
H A Ducl_msgpack.c981 p = parser->chunks->begin; in ucl_msgpack_consume()
982 remain = parser->chunks->remain; in ucl_msgpack_consume()
1079 parser->chunks->priority); in ucl_msgpack_consume()
1110 parser->chunks->priority); in ucl_msgpack_consume()
1257 parser->chunks->priority); in ucl_msgpack_consume()
1328 assert (parser->chunks != NULL); in ucl_parse_msgpack()
1329 assert (parser->chunks->begin != NULL); in ucl_parse_msgpack()
1330 assert (parser->chunks->remain != 0); in ucl_parse_msgpack()
1332 p = parser->chunks->begin; in ucl_parse_msgpack()
1435 obj = ucl_object_new_full (UCL_INT, parser->chunks->priority); in ucl_msgpack_parse_int()
[all …]
/freebsd-12.1/contrib/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_secondary.h207 Header **chunks = AddressSpaceView::LoadWritable(chunks_, n_chunks_); in EnsureSortedChunks() local
208 Sort(reinterpret_cast<uptr *>(chunks), n_chunks_); in EnsureSortedChunks()
210 AddressSpaceView::LoadWritable(chunks[i])->chunk_idx = i; in EnsureSortedChunks()
278 const Header *const *chunks = AddressSpaceView::Load(chunks_, n_chunks_); in ForEachChunk() local
280 const Header *t = chunks[i]; in ForEachChunk()
283 CHECK_EQ(chunks[i], t); in ForEachChunk()
284 CHECK_EQ(AddressSpaceView::Load(chunks[i])->chunk_idx, i); in ForEachChunk()
H A Dsanitizer_allocator_local_cache.h50 CompactPtrT chunk = c->chunks[--c->count]; in Allocate()
68 c->chunks[c->count++] = chunk; in Deallocate()
89 CompactPtrT chunks[2 * SizeClassMap::kMaxNumCachedHint]; member
110 if (UNLIKELY(!allocator->GetFromAllocator(&stats_, class_id, c->chunks, in Refill()
123 &c->chunks[first_idx_to_drain], count); in Drain()
/freebsd-12.1/sys/netinet/
H A Dsctp_auth.c119 if (list->chunks[chunk] == 0) { in sctp_auth_add_chunk()
120 list->chunks[chunk] = 1; in sctp_auth_add_chunk()
138 if (list->chunks[chunk] == 1) { in sctp_auth_delete_chunk()
139 list->chunks[chunk] = 0; in sctp_auth_delete_chunk()
170 if (list->chunks[i] != 0) { in sctp_serialize_auth_chunks()
189 if (list->chunks[i] != 0) { in sctp_pack_auth_chunks()
199 if (list->chunks[i] != 0) { in sctp_pack_auth_chunks()
1446 num_chunks = plen - sizeof(*chunks); in sctp_auth_get_cookie_params()
1466 if (chunks != NULL) { in sctp_auth_get_cookie_params()
1479 if (chunks != NULL) { in sctp_auth_get_cookie_params()
[all …]
H A Dsctp_auth.h75 uint8_t chunks[256]; member
103 #define sctp_auth_is_required_chunk(chunk, list) ((list == NULL) ? (0) : (list->chunks[chunk] != 0))
/freebsd-12.1/sys/dev/adlink/
H A Dadlink.c113 struct pgstat *chunks; member
182 pg = sc->chunks; in adlink_mmap()
254 sc->chunks = pg; in adlink_ioctl()
265 pg->next = sc->chunks; in adlink_ioctl()
270 sc->next = sc->chunks; in adlink_ioctl()
274 pg = sc->chunks; in adlink_ioctl()
308 pg = sc->next = sc->chunks; in adlink_ioctl()
/freebsd-12.1/tests/sys/cddl/zfs/tests/txg_integrity/
H A Dmake_patterns.py38 chunks = random.sample(range(NUM_CHUNKS), NUM_CHUNKS / 2)
39 for chunk in chunks:
/freebsd-12.1/crypto/openssl/crypto/
H A Dmem_dbg.c451 int chunks; member
507 l->chunks++; in print_leak()
585 ml.chunks = 0; in CRYPTO_mem_leaks_cb()
589 if (ml.chunks != 0) { in CRYPTO_mem_leaks_cb()
593 ml.bytes, ml.chunks); in CRYPTO_mem_leaks_cb()
628 return ml.chunks == 0 ? 1 : 0; in CRYPTO_mem_leaks_cb()
/freebsd-12.1/contrib/ofed/infiniband-diags/src/
H A Dibroute.c101 unsigned chunks = ALIGN(nports + 1, 16) / 16; in dump_mlid() local
102 for (i = 0; i < chunks; i++) { in dump_mlid()
147 unsigned block, i, j, e, nports, cap, chunks, startblock, lastblock, in dump_multicast_tables() local
207 chunks = ALIGN(nports + 1, 16) / 16; in dump_multicast_tables()
212 for (j = 0; j < chunks; j++) { in dump_multicast_tables()
H A Ddump_fts.c76 unsigned chunks = ALIGN(nports + 1, 16) / 16; in dump_mlid() local
77 for (i = 0; i < chunks; i++) { in dump_mlid()
122 unsigned block, i, j, e, nports, cap, chunks, startblock, lastblock, in dump_multicast_tables() local
183 chunks = ALIGN(nports + 1, 16) / 16; in dump_multicast_tables()
188 for (j = 0; j < chunks; j++) { in dump_multicast_tables()
/freebsd-12.1/sys/powerpc/powerpc/
H A Dplatform_if.m115 * @param _memp Array of physical memory chunks
116 * @param _memsz Number of physical memory chunks
117 * @param _availp Array of available physical memory chunks
118 * @param _availsz Number of available physical memory chunks
/freebsd-12.1/contrib/compiler-rt/lib/scudo/
H A Dscudo_flags.inc24 "chunks. Lower value may reduce memory usage but decrease the "
37 "Size in bytes up to which chunks will be quarantined (if lower than"
/freebsd-12.1/contrib/subversion/subversion/libsvn_fs_base/util/
H A Dfs_skels.c544 apr_array_header_t *chunks; in svn_fs_base__parse_representation_skel() local
547 chunks = apr_array_make(pool, svn_skel__list_length(skel) - 1, in svn_fs_base__parse_representation_skel()
589 APR_ARRAY_PUSH(chunks, rep_delta_chunk_t *) = chunk; in svn_fs_base__parse_representation_skel()
596 rep->contents.delta.chunks = chunks; in svn_fs_base__parse_representation_skel()
1115 apr_array_header_t *chunks = rep->contents.delta.chunks; in svn_fs_base__unparse_representation_skel() local
1118 for (i = chunks->nelts; i > 0; i--) in svn_fs_base__unparse_representation_skel()
1124 rep_delta_chunk_t *chunk = APR_ARRAY_IDX(chunks, i - 1, in svn_fs_base__unparse_representation_skel()
/freebsd-12.1/contrib/tcpdump/
H A DREADME.md129 A summary line is printed showing the number of chunks,
130 the number of packets it took to send that many chunks
132 of packets should equal the number of chunks) and the
151 # 134 chunks. 536 packets sent. 508 acks.
162 This says that 134 chunks were transferred (about 70K
H A DREADME129 A summary line is printed showing the number of chunks,
130 the number of packets it took to send that many chunks
132 of packets should equal the number of chunks) and the
151 # 134 chunks. 536 packets sent. 508 acks.
162 This says that 134 chunks were transferred (about 70K
/freebsd-12.1/contrib/binutils/include/
H A Dobjalloc.h48 void *chunks; member

12345