Searched refs:chunks (Results 1 - 25 of 57) sorted by relevance

123

/freebsd-9.3-release/contrib/binutils/libiberty/
H A Dobjalloc.c95 ret->chunks = (PTR) malloc (CHUNK_SIZE);
96 if (ret->chunks == NULL)
102 chunk = (struct objalloc_chunk *) ret->chunks;
141 chunk->next = (struct objalloc_chunk *) o->chunks;
144 o->chunks = (PTR) chunk;
155 chunk->next = (struct objalloc_chunk *) o->chunks;
161 o->chunks = (PTR) chunk;
174 l = (struct objalloc_chunk *) o->chunks;
199 for (p = (struct objalloc_chunk *) o->chunks; p != NULL; p = p->next)
226 any chunks containin
[all...]
/freebsd-9.3-release/contrib/gcclibs/libiberty/
H A Dobjalloc.c95 ret->chunks = (PTR) malloc (CHUNK_SIZE);
96 if (ret->chunks == NULL)
102 chunk = (struct objalloc_chunk *) ret->chunks;
141 chunk->next = (struct objalloc_chunk *) o->chunks;
144 o->chunks = (PTR) chunk;
155 chunk->next = (struct objalloc_chunk *) o->chunks;
161 o->chunks = (PTR) chunk;
174 l = (struct objalloc_chunk *) o->chunks;
199 for (p = (struct objalloc_chunk *) o->chunks; p != NULL; p = p->next)
226 any chunks containin
[all...]
/freebsd-9.3-release/lib/libdisk/
H A Dchange.c52 disk->chunks->size)
61 disk->bios_cyl = disk->chunks->size /
79 disk->bios_cyl = disk->chunks->size /
89 disk->bios_cyl = disk->chunks->size /
97 disk->bios_cyl = disk->chunks->size /
115 for (c = d->chunks->part; c; c = c->next)
120 c = d->chunks;
H A Dchunk.c48 Find_Mother_Chunk(struct chunk *chunks, daddr_t offset, daddr_t end, argument
57 if (Chunk_Inside(chunks, &ct))
58 return chunks;
60 for (c1 = chunks->part; c1; c1 = c1->next) {
68 for (c1 = chunks->part; c1; c1 = c1->next) {
81 for (c1 = chunks->part; c1; c1 = c1->next) {
227 d->chunks = c1 = New_Chunk();
259 c1 = Find_Mother_Chunk(d->chunks, offset, end, whole);
262 c1 = Find_Mother_Chunk(d->chunks, offset, end, freebsd);
276 c1 = Find_Mother_Chunk(d->chunks, offse
[all...]
H A Dopen_disk.c222 d->chunks->part->part == NULL) {
225 o = d->chunks->size / (hd * sc);
233 d->chunks->part->part == NULL) {
234 if (Add_Chunk(d, 0, d->chunks->size, name, freebsd,
297 if (platform == p_sparc64 && d->chunks->part->part == NULL) {
300 o = d->chunks->size / (hd * sc);
H A Dlibdisk.h80 struct chunk *chunks; member in struct:disk
86 struct chunk *chunks;
H A Ddisk.c139 Debug_Chunk(d->chunks);
145 if (d->chunks)
146 Free_Chunk(d->chunks);
176 while (Collapse_Chunk(d, d->chunks))
H A Dwrite_disk.c56 dl->d_secperunit = new->chunks->size;
H A Dwrite_pc98_disk.c77 for (c1 = d1->chunks->part; c1; c1 = c1->next) {
99 for (c1 = d1->chunks->part; c1; c1 = c1->next) {
164 for (c1 = d1->chunks->part; c1; c1 = c1->next)
H A Dcreate_chunk.c126 sprintf(c1->name, "%ss%d", c->disk->chunks->name, j++);
162 c1 = d->chunks;
259 parent = d->chunks;
H A Dwrite_sparc64_disk.c51 c = d1->chunks;
/freebsd-9.3-release/usr.bin/split/
H A Dsplit.c66 static off_t chunks = 0; /* Chunks count to split into. */ variable
149 (chunks = (size_t)strtoul(optarg, &ep, 10)) == 0 ||
151 errx(EX_USAGE, "%s: illegal number of chunks",
182 if (pflag && (numlines != 0 || bytecnt != 0 || chunks != 0))
187 else if (bytecnt != 0 || chunks != 0)
190 if (bytecnt && chunks)
199 } else if (chunks) {
232 if (!chunks || (nfiles < chunks)) {
244 if (!chunks || (nfile
[all...]
/freebsd-9.3-release/sys/dev/drm2/radeon/
H A Dradeon_cs.c49 chunk = &p->chunks[p->chunk_relocs_idx];
173 /* get chunks */
189 chunk_array_ptr = (uint64_t *)(unsigned long)(cs->chunks);
196 p->chunks = malloc(p->nchunks * sizeof(struct radeon_cs_chunk),
198 if (p->chunks == NULL) {
211 p->chunks[i].length_dw = user_chunk.length_dw;
212 p->chunks[i].kdata = NULL;
213 p->chunks[i].chunk_id = user_chunk.chunk_id;
215 if (p->chunks[i].chunk_id == RADEON_CHUNK_ID_RELOCS) {
218 if (p->chunks[
[all...]
/freebsd-9.3-release/sys/dev/drm/
H A Dradeon_cs.c168 chunk_array_ptr = (uint64_t *)(unsigned long)(cs->chunks);
181 parser.chunks = drm_calloc(parser.num_chunks, sizeof(struct drm_radeon_kernel_chunk), DRM_MEM_DRIVER);
182 if (!parser.chunks) {
196 parser.chunks[i].chunk_id = user_chunk.chunk_id;
198 if (parser.chunks[i].chunk_id == RADEON_CHUNK_ID_RELOCS)
201 if (parser.chunks[i].chunk_id == RADEON_CHUNK_ID_IB)
204 if (parser.chunks[i].chunk_id == RADEON_CHUNK_ID_OLD) {
209 parser.chunks[i].length_dw = user_chunk.length_dw;
210 parser.chunks[i].chunk_data = (uint32_t *)(unsigned long)user_chunk.chunk_data;
212 parser.chunks[
[all...]
/freebsd-9.3-release/contrib/binutils/include/
H A Dobjalloc.h48 void *chunks; member in struct:objalloc
/freebsd-9.3-release/contrib/gcclibs/include/
H A Dobjalloc.h48 void *chunks; member in struct:objalloc
/freebsd-9.3-release/sys/dev/cxgb/ulp/iw_cxgb/
H A Diw_cxgb_hal.h223 int chunks; local
226 chunks = (size + (1<<gp->gen_chunk_shift) - 1) >> gp->gen_chunk_shift;
228 blkno = blist_alloc(gp->gen_list, chunks);
240 int chunks; local
243 chunks = (size + (1<<gp->gen_chunk_shift) - 1) >> gp->gen_chunk_shift;
246 blist_free(gp->gen_list, blkno, chunks);
/freebsd-9.3-release/contrib/gdb/include/
H A Dobjalloc.h48 PTR chunks; member in struct:objalloc
/freebsd-9.3-release/sys/dev/adlink/
H A Dadlink.c34 * a given number of chunks in it. The a control structure and the
83 u_int ringsize; /* chunks */
111 struct pgstat *chunks; member in struct:softc
180 pg = sc->chunks;
252 sc->chunks = pg;
263 pg->next = sc->chunks;
268 sc->next = sc->chunks;
272 pg = sc->chunks;
306 pg = sc->next = sc->chunks;
/freebsd-9.3-release/sys/netinet/
H A Dsctp_auth.c102 * add a chunk to the required chunks list
117 if (list->chunks[chunk] == 0) {
118 list->chunks[chunk] = 1;
128 * delete a chunk from the required chunks list
141 if (list->chunks[chunk] == 1) {
142 list->chunks[chunk] = 0;
161 * set the default list of chunks requiring AUTH
171 * return the current number and list of required chunks caller must
183 if (list->chunks[i] != 0) {
202 if (list->chunks[
1428 struct sctp_auth_chunk_list *chunks = NULL; local
1909 struct sctp_auth_chunk_list *chunks = NULL; local
[all...]
/freebsd-9.3-release/contrib/ofed/management/infiniband-diags/src/
H A Dibroute.c106 int n = 0, chunks = ALIGN(nports + 1, 16) / 16; local
107 for (i = 0; i < chunks; i++) {
152 int block, i, j, e, nports, cap, chunks; local
198 chunks = ALIGN(nports + 1, 16) / 16;
203 for (j = 0; j < chunks; j++) {
/freebsd-9.3-release/crypto/openssl/crypto/
H A Dmem_dbg.c558 int chunks; member in struct:mem_leak_st
599 l->chunks++;
655 ml.chunks = 0;
658 if (ml.chunks != 0) {
659 BIO_printf(b, "%ld bytes leaked in %d chunks\n", ml.bytes, ml.chunks);
/freebsd-9.3-release/usr.sbin/sade/
H A Ddisks.c71 /* Where we keep track of MBR chunks */
88 if (!d->chunks)
91 for (c1 = d->chunks->part; c1; c1 = c1->next) {
610 if ((d->chunks->part->type != freebsd) ||
611 (d->chunks->part->offset > 1))
634 if ((d->chunks->part->type != freebsd) ||
635 (d->chunks->part->offset > 1))
681 if ((d->chunks->part->type != freebsd) ||
682 (d->chunks->part->offset > 1)) {
703 if ((d->chunks
[all...]
/freebsd-9.3-release/usr.sbin/sysinstall/
H A Ddisks.c76 /* Where we keep track of MBR chunks */
90 if (!d->chunks)
93 for (c1 = d->chunks->part; c1; c1 = c1->next) {
653 if ((d->chunks->part->type != freebsd) ||
654 (d->chunks->part->offset > 1))
677 if ((d->chunks->part->type != freebsd) ||
678 (d->chunks->part->offset > 1))
724 if ((d->chunks->part->type != freebsd) ||
725 (d->chunks->part->offset > 1)) {
746 if ((d->chunks
[all...]
/freebsd-9.3-release/contrib/llvm/tools/lli/ChildTarget/Unix/
H A DChildTarget.inc112 // FIXME: We have to mark the memory as RWX because multiple code chunks may

Completed in 146 milliseconds

123