/freebsd-9.3-release/crypto/openssl/crypto/md2/ |
H A D | md2_one.c | 82 unsigned long chunk; 85 chunk = (n > sizeof(temp)) ? sizeof(temp) : n; 86 ebcdic2ascii(temp, d, chunk); 87 MD2_Update(&c, temp, chunk); 88 n -= chunk; 89 d += chunk;
|
/freebsd-9.3-release/contrib/libucl/src/ |
H A D | ucl_parser.c | 45 * @return new position in chunk 47 #define ucl_chunk_skipc(chunk, p) do{ \ 49 (chunk)->line ++; \ 50 (chunk)->column = 0; \ 52 else (chunk)->column ++; \ 54 (chunk)->pos ++; \ 55 (chunk)->remain --; \ 60 * @param chunk 64 ucl_chunk_save_state (struct ucl_chunk *chunk, struct ucl_parser_saved_state *s) argument 66 s->column = chunk 78 ucl_chunk_restore_state(struct ucl_chunk *chunk, struct ucl_parser_saved_state *s) argument 87 ucl_set_err(struct ucl_chunk *chunk, int code, const char *str, UT_string **err) argument 112 struct ucl_chunk *chunk = parser->chunks; local 800 ucl_lex_number(struct ucl_parser *parser, struct ucl_chunk *chunk, ucl_object_t *obj) argument 828 ucl_lex_json_string(struct ucl_parser *parser, struct ucl_chunk *chunk, bool *need_unescape, bool *ucl_escape, bool *var_expand) argument 901 ucl_parse_key(struct ucl_parser *parser, struct ucl_chunk *chunk, bool *next_key, bool *end_of_object) argument 1120 ucl_parse_string_value(struct ucl_parser *parser, struct ucl_chunk *chunk, bool *var_expand, bool *need_unescape) argument 1194 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 1265 ucl_parse_value(struct ucl_parser *parser, struct ucl_chunk *chunk) argument 1431 ucl_parse_after_value(struct ucl_parser *parser, struct ucl_chunk *chunk) argument 1516 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 1597 struct ucl_chunk *chunk = parser->chunks; local 1874 struct ucl_chunk *chunk; local [all...] |
/freebsd-9.3-release/crypto/openssl/crypto/md5/ |
H A D | md5_one.c | 82 unsigned long chunk; 85 chunk = (n > sizeof(temp)) ? sizeof(temp) : n; 86 ebcdic2ascii(temp, d, chunk); 87 MD5_Update(&c, temp, chunk); 88 n -= chunk; 89 d += chunk;
|
/freebsd-9.3-release/crypto/openssl/crypto/md4/ |
H A D | md4_one.c | 82 unsigned long chunk; 85 chunk = (n > sizeof(temp)) ? sizeof(temp) : n; 86 ebcdic2ascii(temp, d, chunk); 87 MD4_Update(&c, temp, chunk); 88 n -= chunk; 89 d += chunk;
|
/freebsd-9.3-release/sys/ofed/drivers/infiniband/core/ |
H A D | umem.c | 116 struct ib_umem_chunk *chunk, *tmp; local 119 list_for_each_entry_safe(chunk, tmp, &umem->chunk_list, list) { 120 ib_dma_unmap_sg_attrs(dev, chunk->page_list, 121 chunk->nents, DMA_BIDIRECTIONAL, &chunk->attrs); 122 for (i = 0; i < chunk->nents; ++i) { 123 struct page *page = sg_page(&chunk->page_list[i]); 128 kfree(chunk); 131 struct ib_umem_chunk *chunk, *tmp; 136 list_for_each_entry_safe(chunk, tm 174 struct ib_umem_chunk *chunk; local 518 struct ib_umem_chunk *chunk; local [all...] |
/freebsd-9.3-release/sys/ofed/drivers/net/mlx4/ |
H A D | icm.c | 47 * per chunk. 54 static void mlx4_free_icm_pages(struct mlx4_dev *dev, struct mlx4_icm_chunk *chunk) argument 58 if (chunk->nsg > 0) 59 pci_unmap_sg(dev->pdev, chunk->mem, chunk->npages, 62 for (i = 0; i < chunk->npages; ++i) 63 __free_pages(sg_page(&chunk->mem[i]), 64 get_order(chunk->mem[i].length)); 67 static void mlx4_free_icm_coherent(struct mlx4_dev *dev, struct mlx4_icm_chunk *chunk) argument 71 for (i = 0; i < chunk 79 struct mlx4_icm_chunk *chunk, *tmp; local 126 struct mlx4_icm_chunk *chunk = NULL; local 310 struct mlx4_icm_chunk *chunk; local [all...] |
H A D | icm.h | 64 struct mlx4_icm_chunk *chunk; member in struct:mlx4_icm_iter 90 iter->chunk = list_empty(&icm->chunk_list) ? 98 return !iter->chunk; 103 if (++iter->page_idx >= iter->chunk->nsg) { 104 if (iter->chunk->list.next == &iter->icm->chunk_list) { 105 iter->chunk = NULL; 109 iter->chunk = list_entry(iter->chunk->list.next, 117 return sg_dma_address(&iter->chunk->mem[iter->page_idx]); 122 return sg_dma_len(&iter->chunk [all...] |
/freebsd-9.3-release/lib/libdisk/ |
H A D | libdisk.h | 80 struct chunk *chunks; 86 struct chunk *chunks; 95 struct chunk { struct 96 struct chunk *next; 97 struct chunk *part; 124 * ALIGN - This chunk should be aligned 129 * AUTO_SIZE - This chunk was auto-sized and can fill-out a 130 * following chunk if the following chunk is deleted. 175 Insert_Chunk(struct chunk *, daddr_ [all...] |
H A D | open_ia64_disk.c | 142 struct chunk chunk; local 193 chunk.name = strsep(&p, " "); /* name */ 199 chunk.end = i / disk->sector_size; 211 chunk.type = efi; 213 chunk.type = freebsd; 214 chunk.subtype = 0xa5; 216 chunk.type = part; 217 chunk.subtype = FS_SWAP; 219 chunk [all...] |
H A D | rules.c | 106 Rule_000(__unused const struct disk *d, const struct chunk *c, char *msg) 113 struct chunk *c1; 128 "%d is too many children of the 'whole' chunk." 143 Rule_001(const struct disk *d, const struct chunk *c, char *msg) 145 struct chunk *c1; 160 "chunk '%s' [%jd..%jd] does not start" 163 "chunk '%s' [%jd..%jd] does not start" 172 "chunk '%s' [%jd..%jd] does not end" 183 Rule_002(__unused const struct disk *d, const struct chunk *c, char *msg) 186 struct chunk *c [all...] |
/freebsd-9.3-release/contrib/binutils/libiberty/ |
H A D | objalloc.c | 56 /* 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 D | obstack.c | 133 /* 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-9.3-release/contrib/gcclibs/libiberty/ |
H A D | objalloc.c | 56 /* 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 D | obstack.c | 133 /* 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-9.3-release/contrib/vis/ |
H A D | foldit.c | 45 foldit(const char *chunk, int col, int max, int flags) argument 51 * if this chunk puts us over the limit. 54 cp = chunk;
|
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | zap_leaf.c | 28 * chunk number n means l_chunk[n], even though the header precedes it. 44 #define CHAIN_END 0xffff /* end of the chunk chain */ 182 int chunk; local 186 chunk = l->l_phys->l_hdr.lh_freelist; 187 ASSERT3U(chunk, <, ZAP_LEAF_NUMCHUNKS(l)); 188 ASSERT3U(ZAP_LEAF_CHUNK(l, chunk).l_free.lf_type, ==, ZAP_CHUNK_FREE); 190 l->l_phys->l_hdr.lh_freelist = ZAP_LEAF_CHUNK(l, chunk).l_free.lf_next; 194 return (chunk); 198 zap_leaf_chunk_free(zap_leaf_t *l, uint16_t chunk) argument 200 struct zap_leaf_free *zlf = &ZAP_LEAF_CHUNK(l, chunk) 231 uint16_t chunk = zap_leaf_chunk_alloc(l); local 260 uint16_t chunk = *chunkp; local 275 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 334 zap_leaf_array_match(zap_leaf_t *l, zap_name_t *zn, int chunk, int array_numints) argument 401 uint16_t chunk = *chunkp; local 449 uint16_t chunk; local 577 uint16_t chunk; local 676 uint64_t chunk; local 736 zap_leaf_transfer_array(zap_leaf_t *l, uint16_t chunk, zap_leaf_t *nl) argument 767 uint16_t chunk; local 853 int chunk = l->l_phys->l_hash[i]; local [all...] |
/freebsd-9.3-release/sys/ofed/drivers/infiniband/hw/mthca/ |
H A D | mthca_memfree.h | 76 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 D | mthca_memfree.c | 47 * 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 283 struct mthca_icm_chunk *chunk; local [all...] |
/freebsd-9.3-release/crypto/openssl/crypto/engine/ |
H A D | eng_padlock.c | 912 size_t chunk, allocated = 0; local 917 if ((chunk = ctx->num)) { /* borrow chunk variable */ 922 if (chunk >= AES_BLOCK_SIZE) 926 while (chunk < AES_BLOCK_SIZE && nbytes != 0) { 927 ivp[chunk] = *(out_arg++) = *(in_arg++) ^ ivp[chunk]; 928 chunk++, nbytes--; 930 while (chunk < AES_BLOCK_SIZE && nbytes != 0) { 932 *(out_arg++) = c ^ ivp[chunk]; [all...] |
/freebsd-9.3-release/contrib/gcclibs/libgomp/ |
H A D | iter.c | 115 /* 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-9.3-release/gnu/usr.bin/grep/ |
H A D | obstack.c | 143 /* 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-9.3-release/sys/x86/isa/ |
H A D | orm.c | 87 u_int32_t chunk = IOMEM_START; local 100 while (chunk < IOMEM_END) { 101 bus_set_resource(child, SYS_RES_MEMORY, sc->rnum, chunk, 108 chunk += IOMEM_STEP; 129 chunk += IOMEM_STEP; 133 bus_set_resource(child, SYS_RES_MEMORY, sc->rnum, chunk, 139 chunk += IOMEM_STEP; 145 chunk += rom_size;
|
/freebsd-9.3-release/crypto/openssl/apps/ |
H A D | rand.c | 200 int chunk; local 202 chunk = num; 203 if (chunk > (int)sizeof(buf)) 204 chunk = sizeof buf; 205 r = RAND_bytes(buf, chunk); 209 BIO_write(out, buf, chunk); 211 for (i = 0; i < chunk; i++) 214 num -= chunk;
|
/freebsd-9.3-release/lib/libc/stdlib/ |
H A D | malloc.c | 113 * in the associated arena chunk header maps. 355 * Maximum medium size class. This must not be more than 1/4 of a chunk 585 /* Each element of the chunk map corresponds to one page within the chunk. */ 655 /* Arena chunk header. */ 658 /* Arena that owns the chunk. */ 665 * True if the chunk is currently in the chunks_dirty tree, due to 674 /* Map of pages within chunk that keeps track of free/large/small. */ 764 * In order to avoid rapid chunk allocation/deallocation when an arena 765 * oscillates right on the cusp of needing a new chunk, cach 2106 chunk_dealloc_dss_record(void *chunk, size_t size) argument 2164 chunk_dealloc_dss(void *chunk, size_t size) argument 2215 chunk_dealloc_mmap(void *chunk, size_t size) argument 2222 chunk_dealloc(void *chunk, size_t size) argument 2422 arena_chunk_t *chunk; local 2450 arena_chunk_t *chunk; local 2656 arena_chunk_t *chunk; local 2733 arena_chunk_t *chunk; local 2782 arena_chunk_dealloc(arena_t *arena, arena_chunk_t *chunk) argument 2812 arena_chunk_t *chunk; local 2848 chunks_dirty_iter_cb(arena_chunk_tree_t *tree, arena_chunk_t *chunk, void *arg) argument 2861 arena_chunk_t *chunk; local 2925 arena_chunk_t *chunk; local 3055 arena_run_trim_head(arena_t *arena, arena_chunk_t *chunk, arena_run_t *run, size_t oldsize, size_t newsize) argument 3078 arena_run_trim_tail(arena_t *arena, arena_chunk_t *chunk, arena_run_t *run, size_t oldsize, size_t newsize, bool dirty) argument 3111 arena_chunk_t *chunk; local 3636 arena_chunk_t *chunk; local 3792 arena_chunk_t *chunk; local 3810 arena_chunk_t *chunk; local 3838 arena_chunk_t *chunk; local 3869 arena_dalloc_bin(arena_t *arena, arena_chunk_t *chunk, void *ptr, arena_chunk_map_t *mapelm) argument 3940 arena_dalloc_bin_run(arena_t *arena, arena_chunk_t *chunk, arena_run_t *run, arena_bin_t *bin) argument 4149 arena_chunk_t *chunk; local 4214 arena_chunk_t *chunk; local 4262 arena_dalloc_large(arena_t *arena, arena_chunk_t *chunk, void *ptr) argument 4292 arena_dalloc(arena_t *arena, arena_chunk_t *chunk, void *ptr) argument 4331 arena_dalloc_hard(arena_t *arena, arena_chunk_t *chunk, void *ptr, arena_chunk_map_t *mapelm, tcache_t *tcache) argument 4356 arena_chunk_t *chunk; local 4368 arena_ralloc_large_shrink(arena_t *arena, arena_chunk_t *chunk, void *ptr, size_t size, size_t oldsize) argument 4400 arena_ralloc_large_grow(arena_t *arena, arena_chunk_t *chunk, void *ptr, size_t size, size_t oldsize) argument 4469 arena_chunk_t *chunk; local 4772 arena_chunk_t *chunk; local 4891 arena_chunk_t *chunk = CHUNK_ADDR2BASE(tcache); local [all...] |
/freebsd-9.3-release/sys/ofed/drivers/infiniband/hw/mlx4/ |
H A D | doorbell.c | 48 struct ib_umem_chunk *chunk; local 76 chunk = list_entry(page->umem->chunk_list.next, struct ib_umem_chunk, list); 77 db->dma = sg_dma_address(chunk->page_list) + (virt & ~PAGE_MASK);
|