Searched refs:chunk (Results 76 - 100 of 164) sorted by relevance

1234567

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/md/
H A Ddm-snap.c69 * Number of pending_exceptions processing this chunk.
248 static inline uint32_t exception_hash(struct exception_table *et, chunk_t chunk) argument
250 return chunk & et->hash_mask;
269 chunk_t chunk)
274 slot = &et->table[exception_hash(et, chunk)];
276 if (e->old_chunk == chunk)
401 *error = "Invalid chunk size";
422 /* Validate the chunk size against the device block size */
436 * Construct a snapshot mapping: <origin_dev> <COW-dev> <p/n> <chunk-size>
800 * for this chunk, otherwis
268 lookup_exception(struct exception_table *et, chunk_t chunk) argument
811 chunk_t chunk = sector_to_chunk(s, bio->bi_sector); local
877 chunk_t chunk; local
996 chunk_t chunk; local
[all...]
H A Ddm-stripe.c28 /* stripe chunk size */
70 * <number of stripes> <chunk size (2^^n)> [<dev_path> <offset>]+
104 ti->error = "Invalid chunk size";
110 "chunk size";
183 sector_t chunk = offset >> sc->chunk_shift; local
184 uint32_t stripe = sector_div(chunk, sc->stripes);
188 (chunk << sc->chunk_shift) + (offset & sc->chunk_mask);
H A Ddm-exception-store.c31 * requires that we copy exception chunks to chunk aligned areas
33 * metadata in chunk size blocks.
41 * The first chunk of the COW device just contains the header.
42 * After this there is a chunk filled with exception metadata,
49 * header chunk.
102 * need for large chunk sizes, so it wont hurt to have a
109 * 'chunk' refers to.
114 * The next free chunk for an exception.
160 * Read or write a chunk aligned and sized block of data from a device.
162 static int chunk_io(struct pstore *ps, uint32_t chunk, in argument
187 uint32_t chunk; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/ipath/
H A Dipath_mr.c189 struct ib_umem_chunk *chunk; local
203 list_for_each_entry(chunk, &umem->chunk_list, list)
204 n += chunk->nents;
224 list_for_each_entry(chunk, &umem->chunk_list, list) {
225 for (i = 0; i < chunk->nents; i++) {
228 vaddr = page_address(chunk->page_list[i].page);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/atm/
H A Dfore200e.c148 /* allocate and align a chunk of memory intended to hold the data behing exchanged
152 fore200e_chunk_alloc(struct fore200e* fore200e, struct chunk* chunk, int size, int alignment, int direction) argument
159 chunk->alloc_size = size + alignment;
160 chunk->align_size = size;
161 chunk->direction = direction;
163 chunk->alloc_addr = kzalloc(chunk->alloc_size, GFP_KERNEL | GFP_DMA);
164 if (chunk->alloc_addr == NULL)
168 offset = FORE200E_ALIGN(chunk
181 fore200e_chunk_free(struct fore200e* fore200e, struct chunk* chunk) argument
440 fore200e_pca_dma_chunk_alloc(struct fore200e* fore200e, struct chunk* chunk, int size, int nbr, int alignment) argument
461 fore200e_pca_dma_chunk_free(struct fore200e* fore200e, struct chunk* chunk) argument
688 fore200e_sba_dma_chunk_alloc(struct fore200e* fore200e, struct chunk* chunk, int size, int nbr, int alignment) argument
710 fore200e_sba_dma_chunk_free(struct fore200e* fore200e, struct chunk* chunk) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/core/
H A Ddatagram.c451 int chunk = skb->len - hlen; local
459 if (iov->iov_len < chunk) {
462 if (skb_copy_datagram_iovec(skb, hlen, iov, chunk))
467 chunk, &csum))
473 iov->iov_len -= chunk;
474 iov->iov_base += chunk;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/net/sctp/
H A Dcommand.h54 SCTP_CMD_GEN_INIT_ACK, /* Generate an INIT ACK chunk. */
56 SCTP_CMD_GEN_COOKIE_ECHO, /* Generate a COOKIE ECHO chunk. */
57 SCTP_CMD_CHUNK_ULP, /* Send a chunk to the sockets layer. */
59 SCTP_CMD_REPLY, /* Send a chunk to our peer. */
87 SCTP_CMD_GEN_SHUTDOWN, /* Generate a SHUTDOWN chunk. */
95 SCTP_CMD_PROCESS_OPERR, /* Process an ERROR chunk. */
130 struct sctp_chunk *chunk; member in union:__anon10604
179 SCTP_ARG_CONSTRUCTOR(CHUNK, struct sctp_chunk *, chunk)
H A Dconstants.h134 sctp_cid_t chunk; member in union:__anon10614
145 SCTP_SUBTYPE_CONSTRUCTOR(CHUNK, sctp_cid_t, chunk)
154 /* Calculate the actual data size in a data chunk */
228 const char *sctp_cname(const sctp_subtype_t); /* chunk types */
236 /* Maximum chunk length considering padding requirements. */
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/raid/
H A Dbitmap.h21 * Use 16 bit block counters to track pending writes to each "chunk".
36 * a resync is aborted on a chunk with 'resync active' set
38 * of the chunk.
108 /* how many blocks per chunk? (this is variable) */
124 * Use one bit per "chunk" (block set). We do the disk I/O on the bitmap
129 #define CHUNK_BIT_OFFSET(chunk) ((chunk) + (sizeof(bitmap_super_t) << 3))
156 __le32 chunksize; /* 52 the bitmap chunk size in bytes */
217 /* We hold a count on the chunk currently being synced, and drop
220 * the counted chunk
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/lib/
H A Dbitmap.c327 * Commas group hex digits into chunks. Each chunk defines exactly 32
328 * bits of the resultant bitmask. No chunk may specify a value larger
329 * than 32 bits (%-EOVERFLOW), and if a chunk specifies a smaller value
339 u32 chunk; local
346 chunk = ndigits = 0;
348 /* Get the next chunk of the bitmap */
369 /* A '\0' or a ',' signal the end of the chunk */
377 * Make sure there are at least 4 free bits in 'chunk'.
378 * If not, this hexdigit will overflow 'chunk', so
381 if (chunk
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/pci/
H A Des1968.c1304 /* allocate a new memory chunk with the specified size */
1322 struct esm_memory *chunk = kmalloc(sizeof(*chunk), GFP_KERNEL); local
1323 if (chunk == NULL) {
1327 chunk->buf = buf->buf;
1328 chunk->buf.bytes -= size;
1329 chunk->buf.area += size;
1330 chunk->buf.addr += size;
1331 chunk->empty = 1;
1333 list_add(&chunk
1343 struct esm_memory *chunk; local
1375 struct esm_memory *chunk = list_entry(p, struct esm_memory, list); local
1385 struct esm_memory *chunk; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/mlx4/
H A Ddoorbell.c166 struct ib_umem_chunk *chunk; local
194 chunk = list_entry(page->umem->chunk_list.next, struct ib_umem_chunk, list);
195 db->dma = sg_dma_address(chunk->page_list) + (virt & ~PAGE_MASK);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/init/
H A Ddo_mounts_md.c21 int chunk; member in struct:__anon10814
86 md_setup_args[ent].chunk = 1 << (factor+12);
198 ainfo.chunk_size = md_setup_args[ent].chunk;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/sctp/
H A Dulpqueue.c101 /* Process an incoming DATA chunk. */
102 int sctp_ulpq_tail_data(struct sctp_ulpq *ulpq, struct sctp_chunk *chunk, argument
109 hdr = (sctp_data_chunk_t *) chunk->chunk_hdr;
111 /* Create an event from the incoming chunk. */
112 event = sctp_ulpevent_make_rcvmsg(chunk->asoc, chunk, gfp);
403 /* Helper function to check if an incoming chunk has filled up the last
428 * 'first_frag' and next_tsn are reset when we find a chunk which
663 * ordered by an an incoming chunk.
783 /* Mark that the next chunk ha
914 sctp_ulpq_partial_delivery(struct sctp_ulpq *ulpq, struct sctp_chunk *chunk, gfp_t gfp) argument
949 sctp_ulpq_renege(struct sctp_ulpq *ulpq, struct sctp_chunk *chunk, gfp_t gfp) argument
[all...]
H A Dsocket.c103 struct sctp_chunk *chunk);
133 * the size of the outgoing data chunk.
136 * Since it is always 1-1 between chunk and skb, and also a new skb is always
137 * allocated for chunk bundling in sctp_packet_transmit(), we can use the
138 * destructor in the data chunk skb for the purpose of the sndbuf space
141 static inline void sctp_set_owner_w(struct sctp_chunk *chunk) argument
143 struct sctp_association *asoc = chunk->asoc;
149 skb_set_owner_w(chunk->skb, sk);
151 chunk->skb->destructor = sctp_wfree;
152 /* Save the chunk pointe
399 sctp_send_asconf(struct sctp_association *asoc, struct sctp_chunk *chunk) argument
494 struct sctp_chunk *chunk; local
688 struct sctp_chunk *chunk; local
1248 struct sctp_chunk *chunk; local
1330 struct sctp_chunk *chunk; local
1477 struct sctp_chunk *chunk; local
2681 struct sctp_chunk *chunk; local
5640 struct sctp_chunk *chunk; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/rxrpc/
H A Dar-output.c565 size_t size, chunk, max, space; local
584 chunk = max;
585 if (chunk > len && !more)
586 chunk = len;
588 space = chunk + call->conn->size_align;
593 _debug("SIZE: %zu/%zu/%zu", chunk, space, size);
612 sp->remain = chunk;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/kernel/power/
H A Dsnapshot.c260 int chunk; member in struct:bm_position
277 bm->cur.chunk = 0;
513 /* Find the first set bit in the given chunk, if there is one */
527 /* Find a chunk containing some bits set in given block of bits */
554 int chunk; local
560 chunk = bm->cur.chunk;
563 bit = next_bit_in_chunk(bit, bb->data + chunk);
567 chunk = next_chunk_in_block(chunk, b
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/curl-7.23.1/source/lib/
H A Dimap.c443 size_t chunk = pp->cache_size; local
445 if(chunk > (size_t)filesize)
447 chunk = (size_t)filesize;
449 result = Curl_client_write(conn, CLIENTWRITE_BODY, pp->cache, chunk);
453 filesize -= chunk;
456 if(pp->cache_size > chunk) {
458 memmove(pp->cache, pp->cache+chunk,
459 pp->cache_size - chunk);
460 pp->cache_size -= chunk;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/libxml/
H A DHTMLparser.in.h155 const char *chunk,
161 const char *chunk,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gnulib-local/lib/libxml/
H A DHTMLparser.in.h155 const char *chunk,
161 const char *chunk,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm26/lib/
H A Dmemzero.S40 cmp r1, #16 @ 1 we can skip this chunk if we
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libxml2-2.7.2/include/libxml/
H A DHTMLparser.h155 const char *chunk,
161 const char *chunk,
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/lib/
H A Dmemzero.S40 cmp r1, #16 @ 1 we can skip this chunk if we
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/ehca/
H A Dehca_mrmw.c1688 struct ib_umem_chunk *chunk; local
1745 /* loop over desired chunk entries */
1746 chunk = pginfo->next_chunk;
1748 list_for_each_entry_continue(chunk,
1751 for (i = pginfo->next_nmap; i < chunk->nmap; ) {
1752 pgaddr = ( page_to_pfn(chunk->page_list[i].page)
1759 "chunk->page_list[i]=%lx "
1763 &chunk->
1782 if ((pginfo->next_nmap >= chunk->nmap) &&
1785 prev_chunk = chunk;
1856 struct ib_umem_chunk *chunk; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libxml2-2.7.2/
H A DxmlIO.c3196 int chunk; /* number of byte curreent processed from buf */ local
3203 chunk = len;
3204 if (chunk > 4 * MINLEN)
3205 chunk = 4 * MINLEN;
3217 ret = xmlBufferAdd(out->buffer, (const xmlChar *) buf, chunk);
3221 if ((out->buffer->use < MINLEN) && (chunk == len))
3235 ret = xmlBufferAdd(out->buffer, (const xmlChar *) buf, chunk);
3240 buf += chunk;
3241 len -= chunk;
3361 int chunk; /* numbe local
[all...]

Completed in 159 milliseconds

1234567