| /freebsd-13.1/contrib/libucl/src/ |
| H A D | ucl_parser.c | 73 if (chunk->pos < chunk->end) { in ucl_set_err() 83 filename, chunk->line, chunk->column, in ucl_set_err() 991 chunk->remain -= pos - chunk->pos; in ucl_lex_number() 992 chunk->column += pos - chunk->pos; in ucl_lex_number() 1965 chunk->fname ? chunk->fname : "memory", in ucl_parse_after_value() 2349 while (chunk->pos < chunk->end) { in ucl_state_machine() 2502 chunk->fname ? chunk->fname : "memory", in ucl_state_machine() 2657 chunk->fname ? chunk->fname : "memory", in ucl_state_machine() 2880 memset (chunk, 0, sizeof (*chunk)); in ucl_parser_add_chunk_full() 2925 chunk->pos = chunk->begin; in ucl_parser_add_chunk_full() [all …]
|
| /freebsd-13.1/sys/dev/mlx4/mlx4_core/ |
| H A D | mlx4_icm.c | 60 pci_unmap_sg(dev->persist->pdev, chunk->mem, chunk->npages, in mlx4_free_icm_pages() 92 kfree(chunk); in mlx4_free_icm() 155 if (!chunk) { in mlx4_alloc_icm() 156 chunk = kmalloc_node(sizeof(*chunk), in mlx4_alloc_icm() 160 if (!chunk) { in mlx4_alloc_icm() 161 chunk = kmalloc(sizeof(*chunk), in mlx4_alloc_icm() 164 if (!chunk) in mlx4_alloc_icm() 179 &chunk->mem[chunk->npages], in mlx4_alloc_icm() 182 ret = mlx4_alloc_icm_pages(&chunk->mem[chunk->npages], in mlx4_alloc_icm() 198 chunk->nsg = pci_map_sg(dev->persist->pdev, chunk->mem, in mlx4_alloc_icm() [all …]
|
| H A D | icm.h | 63 struct mlx4_icm_chunk *chunk; member 90 iter->chunk = list_empty(&icm->chunk_list) ? in mlx4_icm_first() 98 return !iter->chunk; in mlx4_icm_last() 103 if (++iter->page_idx >= iter->chunk->nsg) { in mlx4_icm_next() 104 if (iter->chunk->list.next == &iter->icm->chunk_list) { in mlx4_icm_next() 105 iter->chunk = NULL; in mlx4_icm_next() 109 iter->chunk = list_entry(iter->chunk->list.next, in mlx4_icm_next() 117 return sg_dma_address(&iter->chunk->mem[iter->page_idx]); in mlx4_icm_addr() 122 return sg_dma_len(&iter->chunk->mem[iter->page_idx]); in mlx4_icm_size()
|
| /freebsd-13.1/crypto/openssl/engines/asm/ |
| H A D | e_padlock-x86_64.pl | 45 $chunk="%rbx"; 317 cmp $chunk,$len 320 mov $len,$chunk 341 cmp $chunk,$len 352 and %rax,$chunk 364 mov $chunk,$len 365 mov $chunk,%r11 372 sub $chunk,$out 373 mov $chunk,$len 397 mov %r11,$chunk [all …]
|
| H A D | e_padlock-x86.pl | 57 $chunk="ebx"; 223 &cmp ($len,$chunk); 226 &mov ($chunk,$len); 237 &cmp ($len,$chunk); 257 &mov ($len,$chunk); 271 &cmp ($out,$chunk); 277 &mov ($len,$chunk); 285 &sub ($out,$chunk); 286 &mov ($len,$chunk); 308 &cmp ($len,$chunk); [all …]
|
| /freebsd-13.1/sys/contrib/openzfs/module/zfs/ |
| H A D | zap_leaf.c | 197 return (chunk); in zap_leaf_chunk_alloc() 251 *chunkp = chunk; in zap_leaf_array_create() 271 chunk = nextchunk; in zap_leaf_array_free() 330 chunk = la->la_next; in zap_leaf_array_read() 377 chunk = la->la_next; in zap_leaf_array_match() 444 chunk != CHAIN_END; chunk = le->le_next) { in zap_leaf_lookup_closest() 558 uint16_t chunk; in zap_entry_create() local 575 chunk != CHAIN_END; chunk = le->le_next) { in zap_entry_create() 588 chunk != CHAIN_END; chunk = le->le_next) { in zap_entry_create() 661 chunk != CHAIN_END; chunk = le->le_next) { in zap_entry_normalization_conflict() [all …]
|
| /freebsd-13.1/sys/dev/mthca/ |
| H A D | mthca_memfree.c | 68 pci_unmap_sg(dev->pdev, chunk->mem, chunk->npages, in mthca_free_icm_pages() 100 kfree(chunk); in mthca_free_icm() 157 if (!chunk) { in mthca_alloc_icm() 158 chunk = kmalloc(sizeof *chunk, in mthca_alloc_icm() 160 if (!chunk) in mthca_alloc_icm() 174 &chunk->mem[chunk->npages], in mthca_alloc_icm() 177 ret = mthca_alloc_icm_pages(&chunk->mem[chunk->npages], in mthca_alloc_icm() 184 ++chunk->nsg; in mthca_alloc_icm() 186 chunk->nsg = pci_map_sg(dev->pdev, chunk->mem, in mthca_alloc_icm() 195 chunk = NULL; in mthca_alloc_icm() [all …]
|
| H A D | mthca_memfree.h | 74 struct mthca_icm_chunk *chunk; member 101 iter->chunk = list_empty(&icm->chunk_list) ? in mthca_icm_first() 109 return !iter->chunk; in mthca_icm_last() 114 if (++iter->page_idx >= iter->chunk->nsg) { in mthca_icm_next() 115 if (iter->chunk->list.next == &iter->icm->chunk_list) { in mthca_icm_next() 116 iter->chunk = NULL; in mthca_icm_next() 120 iter->chunk = list_entry(iter->chunk->list.next, in mthca_icm_next() 128 return sg_dma_address(&iter->chunk->mem[iter->page_idx]); in mthca_icm_addr() 133 return sg_dma_len(&iter->chunk->mem[iter->page_idx]); in mthca_icm_size()
|
| /freebsd-13.1/crypto/openssl/engines/ |
| H A D | e_padlock.c | 323 size_t chunk; in padlock_cfb_cipher() local 333 ivp[chunk] = *(out_arg++) = *(in_arg++) ^ ivp[chunk]; in padlock_cfb_cipher() 334 chunk++, nbytes--; in padlock_cfb_cipher() 353 nbytes -= chunk; in padlock_cfb_cipher() 359 out_arg += chunk; in padlock_cfb_cipher() 360 in_arg += chunk; in padlock_cfb_cipher() 394 size_t chunk; in padlock_ofb_cipher() local 407 chunk++, nbytes--; in padlock_ofb_cipher() 421 nbytes -= chunk; in padlock_ofb_cipher() 427 out_arg += chunk; in padlock_ofb_cipher() [all …]
|
| /freebsd-13.1/contrib/llvm-project/openmp/runtime/src/ |
| H A D | kmp_sched.cpp | 351 if (chunk < 1) in __kmp_for_static_init() 352 chunk = 1; in __kmp_for_static_init() 355 nchunks = (trip_count) / (UT)chunk + (trip_count % (UT)chunk ? 1 : 0); in __kmp_for_static_init() 356 span = chunk * incr; in __kmp_for_static_init() 380 chunk = (span + chunk - 1) & ~(chunk - 1); in __kmp_for_static_init() 382 span = chunk * incr; in __kmp_for_static_init() 648 if (chunk < 1) in __kmp_dist_for_static_init() 649 chunk = 1; in __kmp_dist_for_static_init() 761 if (chunk < 1) in __kmp_team_static_init() 762 chunk = 1; in __kmp_team_static_init() [all …]
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/lsan/ |
| H A D | lsan_common.cpp | 209 pp, p, chunk, chunk + m.requested_size(), m.requested_size()); in ScanRangeForPointers() 215 chunk, chunk + m.requested_size(), m.requested_size()); in ScanRangeForPointers() 264 if (!chunk) in ProcessThreadRegistry() 441 chunk = GetUserBegin(chunk); in MarkIndirectlyLeakedCb() 444 ScanRangeForPointers(chunk, chunk + m.requested_size(), in MarkIndirectlyLeakedCb() 451 chunk = GetUserBegin(chunk); in IgnoredSuppressedCb() 471 chunk = GetUserBegin(chunk); in CollectIgnoredCb() 475 chunk, chunk + m.requested_size(), m.requested_size()); in CollectIgnoredCb() 500 chunk = GetUserBegin(chunk); in MarkInvalidPCCb() 581 chunk = GetUserBegin(chunk); in ResetTagsCb() [all …]
|
| H A D | lsan_allocator.cpp | 254 if (!chunk) return 0; in PointsIntoChunk() 257 if (addr < chunk) return 0; in PointsIntoChunk() 262 if (addr < chunk + m->requested_size) in PointsIntoChunk() 263 return chunk; in PointsIntoChunk() 265 return chunk; in PointsIntoChunk() 269 uptr GetUserBegin(uptr chunk) { in GetUserBegin() argument 270 return chunk; in GetUserBegin() 273 LsanMetadata::LsanMetadata(uptr chunk) { in LsanMetadata() argument 303 void *chunk = allocator.GetBlockBegin(p); in IgnoreObjectLocked() local 304 if (!chunk || p < chunk) return kIgnoreObjectInvalid; in IgnoreObjectLocked() [all …]
|
| H A D | lsan_common_fuchsia.cpp | 71 auto globals = +[](void *chunk, size_t size, void *data) { in LockStuffAndStopTheWorld() argument 73 uptr begin = reinterpret_cast<uptr>(chunk); in LockStuffAndStopTheWorld() 79 auto stacks = +[](void *chunk, size_t size, void *data) { in LockStuffAndStopTheWorld() argument 81 uptr begin = reinterpret_cast<uptr>(chunk); in LockStuffAndStopTheWorld() 88 auto registers = +[](void *chunk, size_t size, void *data) { in LockStuffAndStopTheWorld() argument 90 uptr begin = reinterpret_cast<uptr>(chunk); in LockStuffAndStopTheWorld() 106 auto tls = +[](void *chunk, size_t size, void *data) { in LockStuffAndStopTheWorld() argument 108 uptr begin = reinterpret_cast<uptr>(chunk); in LockStuffAndStopTheWorld()
|
| /freebsd-13.1/contrib/llvm-project/compiler-rt/lib/asan/ |
| H A D | asan_poisoning.cpp | 54 u8 *chunk; member 61 value = *chunk; in ShadowSegmentEndpoint() 109 if (beg.chunk == end.chunk) { in __asan_poison_memory_region() 124 CHECK_LT(beg.chunk, end.chunk); in __asan_poison_memory_region() 132 beg.chunk++; in __asan_poison_memory_region() 134 REAL(memset)(beg.chunk, kAsanUserPoisonedMemoryMagic, end.chunk - beg.chunk); in __asan_poison_memory_region() 149 if (beg.chunk == end.chunk) { in __asan_unpoison_memory_region() 160 CHECK_LT(beg.chunk, end.chunk); in __asan_unpoison_memory_region() 162 *beg.chunk = 0; in __asan_unpoison_memory_region() 163 beg.chunk++; in __asan_unpoison_memory_region() [all …]
|
| H A D | asan_debugging.cpp | 51 AsanChunkView chunk = FindHeapChunkByAddress(addr); in AsanGetStack() local 52 if (!chunk.IsValid()) return 0; in AsanGetStack() 56 if (chunk.AllocTid() == kInvalidTid) return 0; in AsanGetStack() 57 stack = chunk.GetAllocStack(); in AsanGetStack() 58 if (thread_id) *thread_id = chunk.AllocTid(); in AsanGetStack() 60 if (chunk.FreeTid() == kInvalidTid) return 0; in AsanGetStack() 61 stack = chunk.GetFreeStack(); in AsanGetStack() 62 if (thread_id) *thread_id = chunk.FreeTid(); in AsanGetStack()
|
| /freebsd-13.1/crypto/openssl/apps/ |
| H A D | rand.c | 102 int chunk; in rand_main() local 104 chunk = num; in rand_main() 105 if (chunk > (int)sizeof(buf)) in rand_main() 106 chunk = sizeof(buf); in rand_main() 107 r = RAND_bytes(buf, chunk); in rand_main() 111 if (BIO_write(out, buf, chunk) != chunk) in rand_main() 114 for (i = 0; i < chunk; i++) in rand_main() 118 num -= chunk; in rand_main()
|
| /freebsd-13.1/crypto/openssl/crypto/md2/ |
| H A D | md2_one.c | 33 unsigned long chunk; in MD2() local 36 chunk = (n > sizeof(temp)) ? sizeof(temp) : n; in MD2() 37 ebcdic2ascii(temp, d, chunk); in MD2() 38 MD2_Update(&c, temp, chunk); in MD2() 39 n -= chunk; in MD2() 40 d += chunk; in MD2()
|
| /freebsd-13.1/crypto/openssl/crypto/md5/ |
| H A D | md5_one.c | 33 unsigned long chunk; in MD5() local 36 chunk = (n > sizeof(temp)) ? sizeof(temp) : n; in MD5() 37 ebcdic2ascii(temp, d, chunk); in MD5() 38 MD5_Update(&c, temp, chunk); in MD5() 39 n -= chunk; in MD5() 40 d += chunk; in MD5()
|
| /freebsd-13.1/crypto/openssl/crypto/md4/ |
| H A D | md4_one.c | 33 unsigned long chunk; in MD4() local 36 chunk = (n > sizeof(temp)) ? sizeof(temp) : n; in MD4() 37 ebcdic2ascii(temp, d, chunk); in MD4() 38 MD4_Update(&c, temp, chunk); in MD4() 39 n -= chunk; in MD4() 40 d += chunk; in MD4()
|
| /freebsd-13.1/sys/dev/firewire/ |
| H A D | fwcrom.c | 396 index = chunk->data.crc_len; in crom_add_quad() 401 chunk->data.buf[index] = entry; in crom_add_quad() 402 chunk->data.crc_len++; in crom_add_quad() 417 return (crom_add_quad(chunk, foo.i)); in crom_add_entry() 485 struct crom_chunk *chunk, *parent; in crom_load() local 497 chunk->offset = offset; in crom_load() 499 parent = chunk->ref_chunk; in crom_load() 507 offset += 1 + chunk->data.crc_len; in crom_load() 516 chunk->data.crc = in crom_load() 517 crom_crc(&chunk->data.buf[0], chunk->data.crc_len); in crom_load() [all …]
|
| /freebsd-13.1/contrib/ncurses/ncurses/base/ |
| H A D | vsscanf.c | 214 ChunkType chunk, ctest; in vsscanf() 233 chunk = cUnknown; in vsscanf() 263 chunk = cRange; in vsscanf() 272 chunk = ctest; in vsscanf() 277 chunk = cError; in vsscanf() 288 if (chunk == cUnknown in vsscanf() 289 || chunk == cError) { in vsscanf() 296 if (chunk != cAssigned) { in vsscanf() 300 switch (chunk) { in vsscanf() 334 assigned + 1, chunk, in vsscanf()
|
| /freebsd-13.1/sys/x86/isa/ |
| H A D | orm.c | 89 u_int32_t chunk = IOMEM_START; in orm_identify() local 105 while (sc->rnum < MAX_ROMS && chunk < IOMEM_END) { in orm_identify() 106 bus_set_resource(child, SYS_RES_MEMORY, sc->rnum, chunk, in orm_identify() 113 chunk += IOMEM_STEP; in orm_identify() 134 chunk += IOMEM_STEP; in orm_identify() 138 bus_set_resource(child, SYS_RES_MEMORY, sc->rnum, chunk, in orm_identify() 144 chunk += IOMEM_STEP; in orm_identify() 150 chunk += rom_size; in orm_identify()
|
| /freebsd-13.1/contrib/serf/buckets/ |
| H A D | chunk_buckets.c | 37 serf_bucket_t *chunk; member 51 ctx->chunk = serf_bucket_aggregate_create(allocator); in serf_bucket_chunk_create() 106 serf_bucket_aggregate_append(ctx->chunk, simple_bkt); in create_chunk() 126 serf_bucket_aggregate_append_iovec(ctx->chunk, vecs, vecs_read); in create_chunk() 146 status = serf_bucket_read(ctx->chunk, requested, data, len); in serf_chunk_read() 164 status = serf_bucket_readline(ctx->chunk, acceptable, found, data, len); in serf_chunk_readline() 192 status = serf_bucket_read_iovec(ctx->chunk, requested, vecs_size, vecs, in serf_chunk_read_iovec() 211 status = serf_bucket_peek(ctx->chunk, data, len); in serf_chunk_peek() 226 serf_bucket_destroy(ctx->chunk); in serf_chunk_destroy()
|
| /freebsd-13.1/crypto/openssl/crypto/evp/ |
| H A D | e_des.c | 147 size_t n, chunk = EVP_MAXCHUNK / 8; in des_cfb1_cipher() local 150 if (inl < chunk) in des_cfb1_cipher() 151 chunk = inl; in des_cfb1_cipher() 153 while (inl && inl >= chunk) { in des_cfb1_cipher() 154 for (n = 0; n < chunk * 8; ++n) { in des_cfb1_cipher() 163 inl -= chunk; in des_cfb1_cipher() 164 in += chunk; in des_cfb1_cipher() 165 out += chunk; in des_cfb1_cipher() 166 if (inl < chunk) in des_cfb1_cipher() 167 chunk = inl; in des_cfb1_cipher()
|
| /freebsd-13.1/contrib/kyua/doc/ |
| H A D | manbuild_test.sh | 116 __include__ subdir/chunk 118 __include__ chunk 121 cat >doc/subdir/chunk <<EOF 125 cat >doc/chunk <<EOF 144 __include__ chunk value=first 145 __include__ chunk value=second 147 cat >chunk <<EOF 148 This is a chunk with value: __value__. 152 This is a chunk with value: first. 153 This is a chunk with value: second.
|