Searched refs:chunk (Results 1 - 25 of 599) sorted by relevance

1234567891011>>

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/net/sctp/
H A Dinqueue.c66 struct sctp_chunk *chunk, *tmp; local
69 list_for_each_entry_safe(chunk, tmp, &queue->in_chunk_list, list) {
70 list_del_init(&chunk->list);
71 sctp_chunk_free(chunk);
91 void sctp_inq_push(struct sctp_inq *q, struct sctp_chunk *chunk) argument
94 if (chunk->rcvr->dead) {
95 sctp_chunk_free(chunk);
104 list_add_tail(&chunk->list, &q->in_chunk_list);
108 /* Peek at the next chunk on the inqeue. */
111 struct sctp_chunk *chunk; local
134 struct sctp_chunk *chunk; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/net/sctp/
H A Dinqueue.c66 struct sctp_chunk *chunk, *tmp; local
69 list_for_each_entry_safe(chunk, tmp, &queue->in_chunk_list, list) {
70 list_del_init(&chunk->list);
71 sctp_chunk_free(chunk);
91 void sctp_inq_push(struct sctp_inq *q, struct sctp_chunk *chunk) argument
94 if (chunk->rcvr->dead) {
95 sctp_chunk_free(chunk);
104 list_add_tail(&chunk->list, &q->in_chunk_list);
108 /* Peek at the next chunk on the inqeue. */
111 struct sctp_chunk *chunk; local
134 struct sctp_chunk *chunk; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/mips/dec/prom/
H A Dconsole.c22 unsigned int chunk = sizeof(buf) - 1; local
25 if (chunk > c)
26 chunk = c;
27 memcpy(buf, s, chunk);
28 buf[chunk] = '\0';
30 s += chunk;
31 c -= chunk;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/mips/dec/prom/
H A Dconsole.c22 unsigned int chunk = sizeof(buf) - 1; local
25 if (chunk > c)
26 chunk = c;
27 memcpy(buf, s, chunk);
28 buf[chunk] = '\0';
30 s += chunk;
31 c -= chunk;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/mm/
H A Dpercpu-km.c2 * mm/percpu-km.c - kernel memory based chunk allocation
20 * - NUMA is not supported. When setting up the first chunk,
24 * - It's best if the chunk size is power of two multiple of
25 * PAGE_SIZE. Because each chunk is allocated as a contiguous
27 * chunk size is not aligned. percpu-km code will whine about it.
31 #error "contiguous percpu allocation is incompatible with paged first chunk"
36 static int pcpu_populate_chunk(struct pcpu_chunk *chunk, int off, int size) argument
42 static void pcpu_depopulate_chunk(struct pcpu_chunk *chunk, int off, int size) argument
50 struct pcpu_chunk *chunk; local
54 chunk
65 pcpu_set_page_chunk(nth_page(pages, i), chunk); local
72 pcpu_destroy_chunk(struct pcpu_chunk *chunk) argument
[all...]
H A Dpercpu-vm.c2 * mm/percpu-vm.c - vmalloc area based chunk allocation
10 * This is the default chunk allocator.
13 static struct page *pcpu_chunk_page(struct pcpu_chunk *chunk, argument
16 /* must not be used on pre-mapped chunk */
17 WARN_ON(chunk->immutable);
19 return vmalloc_to_page((void *)pcpu_chunk_addr(chunk, cpu, page_idx));
24 * @chunk: chunk of interest
31 * @chunk->populated. Note that there is only one array and bitmap
41 static struct page **pcpu_get_pages_and_bitmap(struct pcpu_chunk *chunk, argument
78 pcpu_free_pages(struct pcpu_chunk *chunk, struct page **pages, unsigned long *populated, int page_start, int page_end) argument
107 pcpu_alloc_pages(struct pcpu_chunk *chunk, struct page **pages, unsigned long *populated, int page_start, int page_end) argument
142 pcpu_pre_unmap_flush(struct pcpu_chunk *chunk, int page_start, int page_end) argument
169 pcpu_unmap_pages(struct pcpu_chunk *chunk, struct page **pages, unsigned long *populated, int page_start, int page_end) argument
205 pcpu_post_unmap_tlb_flush(struct pcpu_chunk *chunk, int page_start, int page_end) argument
236 pcpu_map_pages(struct pcpu_chunk *chunk, struct page **pages, unsigned long *populated, int page_start, int page_end) argument
283 pcpu_post_map_flush(struct pcpu_chunk *chunk, int page_start, int page_end) argument
303 pcpu_populate_chunk(struct pcpu_chunk *chunk, int off, int size) argument
374 pcpu_depopulate_chunk(struct pcpu_chunk *chunk, int off, int size) argument
416 struct pcpu_chunk *chunk; local
435 pcpu_destroy_chunk(struct pcpu_chunk *chunk) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/mm/
H A Dpercpu-km.c2 * mm/percpu-km.c - kernel memory based chunk allocation
20 * - NUMA is not supported. When setting up the first chunk,
24 * - It's best if the chunk size is power of two multiple of
25 * PAGE_SIZE. Because each chunk is allocated as a contiguous
27 * chunk size is not aligned. percpu-km code will whine about it.
31 #error "contiguous percpu allocation is incompatible with paged first chunk"
36 static int pcpu_populate_chunk(struct pcpu_chunk *chunk, int off, int size) argument
42 static void pcpu_depopulate_chunk(struct pcpu_chunk *chunk, int off, int size) argument
50 struct pcpu_chunk *chunk; local
54 chunk
65 pcpu_set_page_chunk(nth_page(pages, i), chunk); local
72 pcpu_destroy_chunk(struct pcpu_chunk *chunk) argument
[all...]
H A Dpercpu-vm.c2 * mm/percpu-vm.c - vmalloc area based chunk allocation
10 * This is the default chunk allocator.
13 static struct page *pcpu_chunk_page(struct pcpu_chunk *chunk, argument
16 /* must not be used on pre-mapped chunk */
17 WARN_ON(chunk->immutable);
19 return vmalloc_to_page((void *)pcpu_chunk_addr(chunk, cpu, page_idx));
24 * @chunk: chunk of interest
31 * @chunk->populated. Note that there is only one array and bitmap
41 static struct page **pcpu_get_pages_and_bitmap(struct pcpu_chunk *chunk, argument
78 pcpu_free_pages(struct pcpu_chunk *chunk, struct page **pages, unsigned long *populated, int page_start, int page_end) argument
107 pcpu_alloc_pages(struct pcpu_chunk *chunk, struct page **pages, unsigned long *populated, int page_start, int page_end) argument
142 pcpu_pre_unmap_flush(struct pcpu_chunk *chunk, int page_start, int page_end) argument
169 pcpu_unmap_pages(struct pcpu_chunk *chunk, struct page **pages, unsigned long *populated, int page_start, int page_end) argument
205 pcpu_post_unmap_tlb_flush(struct pcpu_chunk *chunk, int page_start, int page_end) argument
236 pcpu_map_pages(struct pcpu_chunk *chunk, struct page **pages, unsigned long *populated, int page_start, int page_end) argument
283 pcpu_post_map_flush(struct pcpu_chunk *chunk, int page_start, int page_end) argument
303 pcpu_populate_chunk(struct pcpu_chunk *chunk, int off, int size) argument
374 pcpu_depopulate_chunk(struct pcpu_chunk *chunk, int off, int size) argument
416 struct pcpu_chunk *chunk; local
435 pcpu_destroy_chunk(struct pcpu_chunk *chunk) argument
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/openssl/crypto/md2/
H A Dmd2_one.c82 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;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/openssl-1.0.0q/crypto/md2/
H A Dmd2_one.c79 unsigned long chunk;
83 chunk = (n > sizeof(temp)) ? sizeof(temp) : n;
84 ebcdic2ascii(temp, d, chunk);
85 MD2_Update(&c,temp,chunk);
86 n -= chunk;
87 d += chunk;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/curl-7.21.7/docs/examples/
H A Dhttpcustomheader.c32 struct curl_slist *chunk = NULL; local
34 chunk = curl_slist_append(chunk, "Accept: moo");
35 chunk = curl_slist_append(chunk, "Another: yes");
43 res = curl_easy_setopt(curl, CURLOPT_HTTPHEADER, chunk);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/curl-7.21.7/docs/examples/
H A Dhttpcustomheader.c32 struct curl_slist *chunk = NULL; local
34 chunk = curl_slist_append(chunk, "Accept: moo");
35 chunk = curl_slist_append(chunk, "Another: yes");
43 res = curl_easy_setopt(curl, CURLOPT_HTTPHEADER, chunk);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/curl-7.21.7/docs/examples/
H A Dhttpcustomheader.c32 struct curl_slist *chunk = NULL; local
34 chunk = curl_slist_append(chunk, "Accept: moo");
35 chunk = curl_slist_append(chunk, "Another: yes");
43 res = curl_easy_setopt(curl, CURLOPT_HTTPHEADER, chunk);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/openssl/crypto/md2/
H A Dmd2_one.c82 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;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/openssl-1.0.0q/crypto/md2/
H A Dmd2_one.c79 unsigned long chunk;
83 chunk = (n > sizeof(temp)) ? sizeof(temp) : n;
84 ebcdic2ascii(temp, d, chunk);
85 MD2_Update(&c,temp,chunk);
86 n -= chunk;
87 d += chunk;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/openssl/crypto/md2/
H A Dmd2_one.c82 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;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/openssl-1.0.0q/crypto/md2/
H A Dmd2_one.c79 unsigned long chunk;
83 chunk = (n > sizeof(temp)) ? sizeof(temp) : n;
84 ebcdic2ascii(temp, d, chunk);
85 MD2_Update(&c,temp,chunk);
86 n -= chunk;
87 d += chunk;
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/lib/
H A Dgenalloc.c42 * gen_pool_add - add a new chunk of special memory to the pool
43 * @pool: pool to add new memory chunk to
44 * @addr: starting address of memory chunk to add to pool
45 * @size: size in bytes of the memory chunk to add to pool
46 * @nid: node id of the node the chunk structure and bitmap should be
49 * Add a new chunk of special memory to the specified pool.
54 struct gen_pool_chunk *chunk; local
59 chunk = kmalloc_node(nbytes, GFP_KERNEL | __GFP_ZERO, nid);
60 if (unlikely(chunk == NULL))
63 spin_lock_init(&chunk
85 struct gen_pool_chunk *chunk; local
116 struct gen_pool_chunk *chunk; local
163 struct gen_pool_chunk *chunk; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/lib/
H A Dgenalloc.c42 * gen_pool_add - add a new chunk of special memory to the pool
43 * @pool: pool to add new memory chunk to
44 * @addr: starting address of memory chunk to add to pool
45 * @size: size in bytes of the memory chunk to add to pool
46 * @nid: node id of the node the chunk structure and bitmap should be
49 * Add a new chunk of special memory to the specified pool.
54 struct gen_pool_chunk *chunk; local
59 chunk = kmalloc_node(nbytes, GFP_KERNEL | __GFP_ZERO, nid);
60 if (unlikely(chunk == NULL))
63 spin_lock_init(&chunk
85 struct gen_pool_chunk *chunk; local
116 struct gen_pool_chunk *chunk; local
163 struct gen_pool_chunk *chunk; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt/router/gdb/sim/ppc/
H A Dhw_memory.c108 hw_memory_chunk *chunk = NULL; local
114 chunk = hw_memory->heap;
116 while (chunk != NULL) {
117 if (chunk->available)
119 ASSERT(chunk->next == NULL
120 || chunk->address < chunk->next->address);
121 ASSERT(chunk->next == NULL
122 || chunk->address + chunk
249 hw_memory_chunk *chunk = NULL; local
402 hw_memory_chunk *chunk; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/gdb/sim/ppc/
H A Dhw_memory.c108 hw_memory_chunk *chunk = NULL; local
114 chunk = hw_memory->heap;
116 while (chunk != NULL) {
117 if (chunk->available)
119 ASSERT(chunk->next == NULL
120 || chunk->address < chunk->next->address);
121 ASSERT(chunk->next == NULL
122 || chunk->address + chunk
249 hw_memory_chunk *chunk = NULL; local
402 hw_memory_chunk *chunk; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/gdb/sim/ppc/
H A Dhw_memory.c108 hw_memory_chunk *chunk = NULL; local
114 chunk = hw_memory->heap;
116 while (chunk != NULL) {
117 if (chunk->available)
119 ASSERT(chunk->next == NULL
120 || chunk->address < chunk->next->address);
121 ASSERT(chunk->next == NULL
122 || chunk->address + chunk
249 hw_memory_chunk *chunk = NULL; local
402 hw_memory_chunk *chunk; local
[all...]
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/arch/powerpc/include/asm/
H A Dabs_addr.h37 static inline unsigned long chunk_to_addr(unsigned long chunk) argument
39 return chunk << MSCHUNKS_CHUNK_SHIFT;
49 unsigned long chunk; local
55 chunk = addr_to_chunk(pa);
57 if (chunk < mschunks_map.num_chunks)
58 chunk = mschunks_map.mapping[chunk];
60 return chunk_to_addr(chunk) + (pa & MSCHUNKS_OFFSET_MASK);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/arch/powerpc/include/asm/
H A Dabs_addr.h37 static inline unsigned long chunk_to_addr(unsigned long chunk) argument
39 return chunk << MSCHUNKS_CHUNK_SHIFT;
49 unsigned long chunk; local
55 chunk = addr_to_chunk(pa);
57 if (chunk < mschunks_map.num_chunks)
58 chunk = mschunks_map.mapping[chunk];
60 return chunk_to_addr(chunk) + (pa & MSCHUNKS_OFFSET_MASK);
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src/router/libxml2/python/tests/
H A Dsync.py46 chunk="""<foo><bar2/>"""
48 ctxt.parseChunk(chunk, len(chunk), 0)
58 chunk="""<foo><bar2></bar2>"""
60 ctxt.parseChunk(chunk, len(chunk), 0)
70 chunk="""<foo><bar2>"""
72 ctxt.parseChunk(chunk, len(chunk), 0)
82 chunk
[all...]

Completed in 336 milliseconds

1234567891011>>