| /trueos/sys/dev/drm2/radeon/ |
| HD | radeon_cs.c | 49 chunk = &p->chunks[p->chunk_relocs_idx]; in radeon_cs_parser_relocs() 189 chunk_array_ptr = (uint64_t *)(unsigned long)(cs->chunks); in radeon_cs_parser_init() 196 p->chunks = malloc(p->nchunks * sizeof(struct radeon_cs_chunk), in radeon_cs_parser_init() 198 if (p->chunks == NULL) { in radeon_cs_parser_init() 211 p->chunks[i].length_dw = user_chunk.length_dw; in radeon_cs_parser_init() 212 p->chunks[i].kdata = NULL; in radeon_cs_parser_init() 213 p->chunks[i].chunk_id = user_chunk.chunk_id; in radeon_cs_parser_init() 215 if (p->chunks[i].chunk_id == RADEON_CHUNK_ID_RELOCS) { in radeon_cs_parser_init() 218 if (p->chunks[i].chunk_id == RADEON_CHUNK_ID_IB) { in radeon_cs_parser_init() 221 if (p->chunks[i].length_dw == 0) in radeon_cs_parser_init() [all …]
|
| /trueos/contrib/binutils/libiberty/ |
| HD | objalloc.c | 95 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() 155 chunk->next = (struct objalloc_chunk *) o->chunks; in _objalloc_alloc() 161 o->chunks = (PTR) chunk; in _objalloc_alloc() 174 l = (struct objalloc_chunk *) o->chunks; in objalloc_free() 199 for (p = (struct objalloc_chunk *) o->chunks; p != NULL; p = p->next) in objalloc_free_block() 231 q = (struct objalloc_chunk *) o->chunks; in objalloc_free_block() [all …]
|
| HD | obstacks.texi | 30 * 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 262 Recall that the objects in an obstack are grouped into chunks. When all 328 Because memory in obstack chunks is used sequentially, it is possible to 624 @cindex efficiency of chunks 625 @cindex chunks [all …]
|
| /trueos/contrib/gcclibs/libiberty/ |
| HD | objalloc.c | 95 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() 155 chunk->next = (struct objalloc_chunk *) o->chunks; in _objalloc_alloc() 161 o->chunks = (PTR) chunk; in _objalloc_alloc() 174 l = (struct objalloc_chunk *) o->chunks; in objalloc_free() 199 for (p = (struct objalloc_chunk *) o->chunks; p != NULL; p = p->next) in objalloc_free_block() 231 q = (struct objalloc_chunk *) o->chunks; in objalloc_free_block() [all …]
|
| HD | obstacks.texi | 30 * 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 262 Recall that the objects in an obstack are grouped into chunks. When all 328 Because memory in obstack chunks is used sequentially, it is possible to 624 @cindex efficiency of chunks 625 @cindex chunks [all …]
|
| /trueos/sys/dev/drm/ |
| HD | radeon_cs.c | 168 chunk_array_ptr = (uint64_t *)(unsigned long)(cs->chunks); in radeon_cs_ioctl() 181 …parser.chunks = drm_calloc(parser.num_chunks, sizeof(struct drm_radeon_kernel_chunk), DRM_MEM_DRIV… in radeon_cs_ioctl() 182 if (!parser.chunks) { in radeon_cs_ioctl() 196 parser.chunks[i].chunk_id = user_chunk.chunk_id; in radeon_cs_ioctl() 198 if (parser.chunks[i].chunk_id == RADEON_CHUNK_ID_RELOCS) in radeon_cs_ioctl() 201 if (parser.chunks[i].chunk_id == RADEON_CHUNK_ID_IB) in radeon_cs_ioctl() 204 if (parser.chunks[i].chunk_id == RADEON_CHUNK_ID_OLD) { in radeon_cs_ioctl() 209 parser.chunks[i].length_dw = user_chunk.length_dw; in radeon_cs_ioctl() 210 parser.chunks[i].chunk_data = (uint32_t *)(unsigned long)user_chunk.chunk_data; in radeon_cs_ioctl() 212 parser.chunks[i].kdata = NULL; in radeon_cs_ioctl() [all …]
|
| /trueos/usr.bin/split/ |
| HD | split.c | 66 static off_t chunks = 0; /* Chunks count to split into. */ variable 149 (chunks = (size_t)strtoul(optarg, &ep, 10)) == 0 || in main() 182 if (pflag && (numlines != 0 || bytecnt != 0 || chunks != 0)) in main() 187 else if (bytecnt != 0 || chunks != 0) in main() 190 if (bytecnt && chunks) in main() 199 } else if (chunks) { in main() 232 if (!chunks || (nfiles < chunks)) { in split1() 244 if (!chunks || (nfiles < chunks)) { in split1() 253 if (!chunks || (nfiles < chunks)) { in split1() 336 if (chunks > sb.st_size) { in split3() [all …]
|
| /trueos/contrib/subversion/subversion/libsvn_fs_base/ |
| HD | reps-strings.c | 105 apr_array_header_t *chunks; in delta_string_keys() local 113 chunks = rep->contents.delta.chunks; in delta_string_keys() 116 *keys = apr_array_make(pool, chunks->nelts, sizeof(key)); in delta_string_keys() 117 if (! chunks->nelts) in delta_string_keys() 121 for (i = 0; i < chunks->nelts; i++) in delta_string_keys() 123 rep_delta_chunk_t *chunk = APR_ARRAY_IDX(chunks, i, rep_delta_chunk_t *); 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() 283 first_chunk = APR_ARRAY_IDX(chunks, 0, rep_delta_chunk_t*); in get_one_window() 294 this_chunk = APR_ARRAY_IDX(chunks, cur_chunk, rep_delta_chunk_t*); in get_one_window() [all …]
|
| /trueos/sys/dev/adlink/ |
| HD | adlink.c | 111 struct pgstat *chunks; member 180 pg = sc->chunks; in adlink_mmap() 252 sc->chunks = pg; in adlink_ioctl() 263 pg->next = sc->chunks; in adlink_ioctl() 268 sc->next = sc->chunks; in adlink_ioctl() 272 pg = sc->chunks; in adlink_ioctl() 306 pg = sc->next = sc->chunks; in adlink_ioctl()
|
| /trueos/sys/netinet/ |
| HD | sctp_auth.c | 117 if (list->chunks[chunk] == 0) { in sctp_auth_add_chunk() 118 list->chunks[chunk] = 1; in sctp_auth_add_chunk() 136 if (list->chunks[chunk] == 1) { in sctp_auth_delete_chunk() 137 list->chunks[chunk] = 0; in sctp_auth_delete_chunk() 168 if (list->chunks[i] != 0) { in sctp_serialize_auth_chunks() 187 if (list->chunks[i] != 0) { in sctp_pack_auth_chunks() 197 if (list->chunks[i] != 0) { in sctp_pack_auth_chunks() 1413 struct sctp_auth_chunk_list *chunks = NULL; in sctp_auth_get_cookie_params() local 1472 chunks = (struct sctp_auth_chunk_list *)phdr; in sctp_auth_get_cookie_params() 1473 num_chunks = plen - sizeof(*chunks); in sctp_auth_get_cookie_params() [all …]
|
| HD | sctp_auth.h | 73 uint8_t chunks[256]; member 101 #define sctp_auth_is_required_chunk(chunk, list) ((list == NULL) ? (0) : (list->chunks[chunk] != 0))
|
| /trueos/sys/dev/cxgb/ulp/iw_cxgb/ |
| HD | iw_cxgb_hal.h | 223 int chunks; in gen_pool_alloc() local 226 chunks = (size + (1<<gp->gen_chunk_shift) - 1) >> gp->gen_chunk_shift; in gen_pool_alloc() 228 blkno = blist_alloc(gp->gen_list, chunks); in gen_pool_alloc() 240 int chunks; in gen_pool_free() local 243 chunks = (size + (1<<gp->gen_chunk_shift) - 1) >> gp->gen_chunk_shift; in gen_pool_free() 246 blist_free(gp->gen_list, blkno, chunks); in gen_pool_free()
|
| /trueos/contrib/ofed/management/infiniband-diags/src/ |
| HD | ibroute.c | 106 int n = 0, chunks = ALIGN(nports + 1, 16) / 16; in dump_mlid() local 107 for (i = 0; i < chunks; i++) { in dump_mlid() 152 int block, i, j, e, nports, cap, chunks; in dump_multicast_tables() local 198 chunks = ALIGN(nports + 1, 16) / 16; in dump_multicast_tables() 203 for (j = 0; j < chunks; j++) { in dump_multicast_tables()
|
| /trueos/sys/powerpc/powerpc/ |
| HD | platform_if.m | 115 * @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
|
| /trueos/crypto/openssl/crypto/ |
| HD | mem_dbg.c | 625 int chunks; member 667 l->chunks++; in print_leak_doall_arg() 724 ml.chunks = 0; in IMPLEMENT_LHASH_DOALL_ARG_FN() 727 if (ml.chunks != 0) { in IMPLEMENT_LHASH_DOALL_ARG_FN() 728 BIO_printf(b, "%ld bytes leaked in %d chunks\n", ml.bytes, ml.chunks); in IMPLEMENT_LHASH_DOALL_ARG_FN()
|
| /trueos/contrib/subversion/subversion/libsvn_fs_base/util/ |
| HD | fs_skels.c | 544 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()
|
| /trueos/sys/dev/cxgbe/iw_cxgbe/ |
| HD | iw_cxgbe.h | 960 int chunks; in gen_pool_alloc() local 963 chunks = (size + (1<<gp->gen_chunk_shift) - 1) >> gp->gen_chunk_shift; in gen_pool_alloc() 965 blkno = blist_alloc(gp->gen_list, chunks); in gen_pool_alloc() 977 int chunks; in gen_pool_free() local 980 chunks = (size + (1<<gp->gen_chunk_shift) - 1) >> gp->gen_chunk_shift; in gen_pool_free() 983 blist_free(gp->gen_list, blkno, chunks); in gen_pool_free()
|
| /trueos/contrib/gcclibs/include/ |
| HD | objalloc.h | 48 void *chunks; member
|
| /trueos/cddl/contrib/dtracetoolkit/Snippits/ |
| HD | Readme | 5 When coding in DTrace, I frequently refer to the same chunks of code
|
| /trueos/contrib/binutils/include/ |
| HD | objalloc.h | 48 void *chunks; member
|
| /trueos/contrib/expat/tests/benchmark/ |
| HD | README.txt | 10 the file is parsed in chunks of this size
|
| /trueos/contrib/tcpdump/ |
| HD | README | 144 A summary line is printed showing the number of chunks, 145 the number of packets it took to send that many chunks 147 of packets should equal the number of chunks) and the 166 # 134 chunks. 536 packets sent. 508 acks. 177 This says that 134 chunks were transferred (about 70K
|
| /trueos/contrib/gdb/include/ |
| HD | objalloc.h | 48 PTR chunks; member
|
| /trueos/contrib/tcsh/nls/greek/ |
| HD | set19 | 18 15 Number of non-inuse chunks: %d\n
|
| /trueos/crypto/openssl/doc/ssl/ |
| HD | SSL_CTX_set_mode.pod | 68 either appended to a list of unused RAM chunks on the SSL_CTX, or simply 69 freed if the list of unused chunks would become longer than
|