Home
last modified time | relevance | path

Searched full:chunks (Results 1 – 25 of 888) sorted by relevance

12345678910>>...36

/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/android-tools/android-tools/core/
H A D0016-libsparse-Add-hole-mode-to-sparse_file_read.patch12 safely represented by "don't care" chunks. Using "don't care" chunks
13 instead of fill chunks can result in a substantial reduction of the time
20 are, and then use do_sparse_file_read_normal to create chunks for the
55 + * @SPARSE_READ_MODE_NORMAL: The input is a regular file. Constant chunks of
57 + * fill chunks.
60 + * to "don't care" chunks. Other constant chunks will
61 + * be converted to fill chunks.
80 - * file will be sparsed by looking for block aligned chunks of all zeros or
86 + * by looking for block aligned chunks of all zeros or another 32 bit value. If
89 + * care" chunks. If crc is true, the crc of the sparse file will be verified.
/openbmc/linux/mm/
H A Dzbud.c31 * zbud pages are divided into "chunks". The size of the chunks is fixed at
33 * into chunks allows organizing unbuddied zbud pages into a manageable number
34 * of unbuddied lists according to the number of free chunks available in the
63 * allocation granularity will be in chunks of size PAGE_SIZE/64. As one chunk
65 * 63 which shows the max number of free chunks in zbud page, also there will be
108 * @first_chunks: the size of the first buddy in chunks, 0 if free
109 * @last_chunks: the size of the last buddy in chunks, 0 if free
126 /* Converts an allocation size in bytes to size in zbud chunks */
180 /* Returns the number of free chunks in a zbud page */
249 int chunks, i, freechunks; in zbud_alloc() local
[all …]
H A Dz3fold.c18 * As in zbud, pages are divided into "chunks". The size of the chunks is
48 * allocation granularity will be in chunks of size PAGE_SIZE/64. Some chunks
51 * which shows the max number of free chunks in z3fold page, also there will
92 * struct z3fold_header - z3fold page metadata occupying first chunks of each
102 * @first_chunks: the size of the first buddy in chunks, 0 if free
103 * @middle_chunks: the size of the middle buddy in chunks, 0 if free
104 * @last_chunks: the size of the last buddy in chunks, 0 if free
185 /* Converts an allocation size in bytes to size in z3fold chunks */
514 * Returns the number of free chunks in a z3fold page.
523 * of chunks occupied by the first and the last objects. in num_free_chunks()
[all …]
/openbmc/linux/net/sctp/
H A Dchunk.c43 INIT_LIST_HEAD(&msg->chunks); in sctp_datamsg_init()
65 list_for_each_entry(chunk, &msg->chunks, frag_list) in sctp_datamsg_free()
81 list_for_each_safe(pos, temp, &msg->chunks) { in sctp_datamsg_destroy()
140 * down any such message into smaller chunks. Opportunistically, fragment
141 * the chunks down to the current MTU constraints. We may get refragmented
182 /* If the peer requested that we authenticate DATA chunks in sctp_datamsg_from_user()
183 * we need to account for bundling of the AUTH chunks along with in sctp_datamsg_from_user()
235 /* Create chunks for all DATA chunks. */ in sctp_datamsg_from_user()
280 list_add_tail(&chunk->frag_list, &msg->chunks); in sctp_datamsg_from_user()
289 list_for_each_safe(pos, temp, &msg->chunks) { in sctp_datamsg_from_user()
H A Doutqueue.c11 * bundling and queueing of outgoing SCTP chunks.
204 /* Free the outqueue structure and any related pending chunks.
212 /* Throw away unacknowledged chunks. */ in __sctp_outq_teardown()
224 /* Throw away chunks that have been gap ACKed. */ in __sctp_outq_teardown()
233 /* Throw away any chunks in the retransmit queue. */ in __sctp_outq_teardown()
242 /* Throw away any chunks that are in the abandoned queue. */ in __sctp_outq_teardown()
251 /* Throw away any leftover data chunks. */ in __sctp_outq_teardown()
260 /* Throw away any leftover control chunks. */ in __sctp_outq_teardown()
273 /* Free the outqueue structure and any related pending chunks. */
276 /* Throw away leftover chunks. */ in sctp_outq_free()
[all …]
H A Dauth.c175 * The RANDOM parameter, the CHUNKS parameter and the HMAC-ALGO
186 struct sctp_chunks_param *chunks, in sctp_auth_make_key_vector() argument
197 if (chunks) in sctp_auth_make_key_vector()
198 chunks_len = ntohs(chunks->param_hdr.length); in sctp_auth_make_key_vector()
209 if (chunks) { in sctp_auth_make_key_vector()
210 memcpy(new->data + offset, chunks, chunks_len); in sctp_auth_make_key_vector()
301 * The RANDOM parameter, the CHUNKS parameter and the HMAC-ALGO in sctp_auth_asoc_create_secret()
651 * chunks MUST NOT be listed in the CHUNKS parameter. However, if in __sctp_auth_cid()
652 * a CHUNKS parameter is received then the types for INIT, INIT-ACK, in __sctp_auth_cid()
653 * SHUTDOWN-COMPLETE and AUTH chunks MUST be ignored. in __sctp_auth_cid()
[all …]
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_cs.c284 /* get chunks */ in radeon_cs_parser_init()
296 chunk_array_ptr = (uint64_t *)(unsigned long)(cs->chunks); in radeon_cs_parser_init()
303 p->chunks = kvcalloc(p->nchunks, sizeof(struct radeon_cs_chunk), GFP_KERNEL); in radeon_cs_parser_init()
304 if (p->chunks == NULL) { in radeon_cs_parser_init()
317 p->chunks[i].length_dw = user_chunk.length_dw; in radeon_cs_parser_init()
319 p->chunk_relocs = &p->chunks[i]; in radeon_cs_parser_init()
322 p->chunk_ib = &p->chunks[i]; in radeon_cs_parser_init()
324 if (p->chunks[i].length_dw == 0) in radeon_cs_parser_init()
328 p->chunk_const_ib = &p->chunks[i]; in radeon_cs_parser_init()
330 if (p->chunks[i].length_dw == 0) in radeon_cs_parser_init()
[all …]
/openbmc/linux/arch/mips/ar7/
H A Dprom.c102 Name=Value pair in 2 chunks (len is the number of chunks)
149 struct psp_env_chunk *chunks = (struct psp_env_chunk *)psp_env_data; in parse_psp_env() local
151 memcpy_fromio(chunks, psp_env_base, PSP_ENV_SIZE); in parse_psp_env()
156 if ((chunks[i].num == 0xff) || ((i + chunks[i].len) > n)) in parse_psp_env()
158 value = chunks[i].data; in parse_psp_env()
159 if (chunks[i].num) { in parse_psp_env()
160 name = lookup_psp_var_map(chunks[i].num); in parse_psp_env()
167 i += chunks[i].len; in parse_psp_env()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_nsp.c505 } *chunks; in nfp_nsp_command_buf_dma_sg() local
517 chunks = kcalloc(nseg, sizeof(*chunks), GFP_KERNEL); in nfp_nsp_command_buf_dma_sg()
518 if (!chunks) in nfp_nsp_command_buf_dma_sg()
526 chunks[i].chunk = kmalloc(chunk_size, in nfp_nsp_command_buf_dma_sg()
528 if (!chunks[i].chunk) in nfp_nsp_command_buf_dma_sg()
531 chunks[i].len = min_t(u64, chunk_size, max_size - off); in nfp_nsp_command_buf_dma_sg()
536 memcpy(chunks[i].chunk, arg->in_buf + off, coff); in nfp_nsp_command_buf_dma_sg()
538 memset(chunks[i].chunk + coff, 0, chunk_size - coff); in nfp_nsp_command_buf_dma_sg()
540 off += chunks[i].len; in nfp_nsp_command_buf_dma_sg()
548 addr = dma_map_single(dev, chunks[i].chunk, chunks[i].len, in nfp_nsp_command_buf_dma_sg()
[all …]
/openbmc/linux/drivers/infiniband/ulp/rtrs/
H A DREADME28 session. A session is associated with a set of memory chunks reserved on the
36 chunks reserved for him on the server side. Their number, size and addresses
45 which of the memory chunks has been accessed and at which offset the message
80 the server (number of memory chunks which are going to be allocated for that
122 1. When processing a write request client selects one of the memory chunks
139 1. When processing a write request client selects one of the memory chunks
144 using the IMM field, Server invalidate rkey associated to the memory chunks
162 1. When processing a read request client selects one of the memory chunks
181 1. When processing a read request client selects one of the memory chunks
186 Server invalidate rkey associated to the memory chunks first, when it finishes,
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/spectrum/
H A Ddevlink_lib_spectrum.sh13 KVDL_CHILDREN="singles chunks large_chunks"
90 devlink_resource_size_set 32000 kvd linear chunks
99 devlink_resource_size_set 32000 kvd linear chunks
108 devlink_resource_size_set 49152 kvd linear chunks
/openbmc/linux/include/net/sctp/
H A Dstructs.h372 struct sctp_chunks_param *chunks; member
521 /* Chunks waiting to be submitted to lower layer. */
522 struct list_head chunks; member
565 /* This field is used by chunks that hold fragmented data.
642 * spec violates the principle premis that all chunks are processed
703 /* This structure holds lists of chunks as we are assembling for
712 /* This contains the payload chunks. */
717 /* This is the total size of all chunks INCLUDING padding. */
782 * chunks sent to this address is currently being
955 /* This is the list of transports that have chunks to send. */
[all …]
/openbmc/linux/fs/ocfs2/
H A Dquota.h40 struct list_head rc_list; /* List of chunks */
46 struct list_head r_list[OCFS2_MAXQUOTAS]; /* List of chunks to recover */
53 unsigned int dqi_chunks; /* Number of chunks in local quota file */
56 struct list_head dqi_chunk; /* List of chunks */
78 struct list_head qc_chunk; /* List of quotafile chunks */
/openbmc/linux/net/xdp/
H A Dxdp_umem.c157 u64 chunks, npgs; in xdp_umem_reg() local
192 chunks = div_u64_rem(size, chunk_size, &chunks_rem); in xdp_umem_reg()
193 if (!chunks || chunks > U32_MAX) in xdp_umem_reg()
205 umem->chunks = chunks; in xdp_umem_reg()
/openbmc/linux/drivers/infiniband/hw/usnic/
H A Dusnic_vnic.c44 struct usnic_vnic_res_chunk chunks[USNIC_VNIC_RES_TYPE_MAX]; member
117 for (i = 0; i < ARRAY_SIZE(vnic->chunks); i++) { in usnic_vnic_dump()
118 chunk = &vnic->chunks[i]; in usnic_vnic_dump()
222 return vnic->chunks[type].cnt; in usnic_vnic_res_cnt()
228 return vnic->chunks[type].free_cnt; in usnic_vnic_res_free_cnt()
254 src = &vnic->chunks[type]; in usnic_vnic_get_resources()
286 vnic->chunks[res->type].free_cnt++; in usnic_vnic_put_resources()
382 &vnic->chunks[res_type]); in usnic_vnic_discover_resources()
391 usnic_vnic_free_res_chunk(&vnic->chunks[res_type]); in usnic_vnic_discover_resources()
427 usnic_vnic_free_res_chunk(&vnic->chunks[res_type]); in usnic_vnic_release_resources()
/openbmc/linux/kernel/
H A Daudit_tree.c17 struct list_head chunks; member
68 * tree.chunks anchors chunk.owners[].list hash_lock
101 INIT_LIST_HEAD(&tree->chunks); in alloc_tree()
435 list_add(&chunk->owners[0].list, &tree->chunks); in create_chunk()
507 list_add(&p->list, &tree->chunks); in tag_chunk()
565 * Remove tree from chunks. If 'tagged' is set, remove tree only from tagged
566 * chunks. The function expects tagged chunks are all at the beginning of the
567 * chunks list.
572 while (!list_empty(&victim->chunks)) { in prune_tree_chunks()
577 p = list_first_entry(&victim->chunks, struct audit_node, list); in prune_tree_chunks()
[all …]
/openbmc/linux/drivers/mtd/nand/spi/
H A Dalliancememory.c78 * The free area in this kind of flash is divided into chunks where the in am_ooblayout_free()
79 * first 4 bytes of each chunk are unprotected. The number of chunks in am_ooblayout_free()
81 * have 8 chunks, the others 4 chunks. in am_ooblayout_free()
/openbmc/linux/scripts/gdb/linux/
H A Dtimerlist.py163 chunks = []
169 chunks.append(buf[start:end])
171 chunks.append(',')
175 chunks[0] = chunks[0][0] # Cut off the first 0
177 return "".join(str(chunks))
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/
H A DMemoryDomain.v1_5_1.json118 … to the client which memory, or DIMMs, can be grouped together in memory chunks to represent addre…
163 …escription": "An indication of whether this memory domain supports the creation of memory chunks.",
164 … "This property shall indicate whether this memory domain supports the creation of memory chunks.",
172 …indication of whether this memory domain supports the creation of memory chunks with mirroring ena…
173 …hall indicate whether this memory domain supports the creation of memory chunks with mirroring ena…
182 …indication of whether this memory domain supports the creation of memory chunks with sparing enabl…
183 …hall indicate whether this memory domain supports the creation of memory chunks with sparing enabl…
233 … "description": "The link to the collection of memory chunks associated with this memory domain.",
/openbmc/openbmc/poky/meta/recipes-devtools/bootchart2/bootchart2/
H A D0001-collector-Allocate-space-on-heap-for-chunks.patch4 Subject: [PATCH] collector: Allocate space on heap for chunks
20 log ("reading %d chunks (of %d) ...\n", max_chunk, s->map.max_chunk);
27 size_t addr = (size_t) s->map.chunks[i];
/openbmc/u-boot/common/
H A Ddlmalloc.src183 very small chunks.
266 Because freed chunks may be overwritten with link fields, this
595 int ordblks; /* number of non-inuse chunks */
634 afterward allocate more large chunks) the value should be high
654 program undergoes phases where several large chunks are
657 chunks at all. And in well-behaved long-lived programs,
721 Using mmap segregates relatively large chunks of memory so that
731 other chunks, as can happen with normally allocated chunks, which
737 used to service later requests, as happens with normal chunks.
1150 Chunks of memory are maintained using a `boundary tag' method as
[all …]
H A Ddlmalloc.c235 Chunks of memory are maintained using a `boundary tag' method as
238 survey of such techniques.) Sizes of free chunks are stored both
240 consolidating fragmented chunks into bigger chunks very fast. The
241 size fields also hold bits representing whether chunks are free or
265 Chunks always begin on even word boundries, so the mem portion
269 Free chunks are stored in circular doubly-linked lists, and look like this:
308 2. Chunks allocated via mmap, which have the second-lowest-order
313 Available chunks are kept in any of several places (all declared below):
315 * `av': An array of chunks serving as bin headers for consolidated
316 chunks. Each bin is doubly linked. The bins are approximately
[all …]
/openbmc/linux/drivers/infiniband/hw/efa/
H A Defa_verbs.c110 struct pbl_chunk *chunks; member
1281 /* allocate a chunk list that consists of 4KB chunks */ in pbl_chunk_list_create()
1285 chunk_list->chunks = kcalloc(chunk_list_size, in pbl_chunk_list_create()
1286 sizeof(*chunk_list->chunks), in pbl_chunk_list_create()
1288 if (!chunk_list->chunks) in pbl_chunk_list_create()
1297 chunk_list->chunks[i].buf = kzalloc(EFA_CHUNK_SIZE, GFP_KERNEL); in pbl_chunk_list_create()
1298 if (!chunk_list->chunks[i].buf) in pbl_chunk_list_create()
1301 chunk_list->chunks[i].length = EFA_CHUNK_USED_SIZE; in pbl_chunk_list_create()
1303 chunk_list->chunks[chunk_list_size - 1].length = in pbl_chunk_list_create()
1307 /* fill the dma addresses of sg list pages to chunks: */ in pbl_chunk_list_create()
[all …]
/openbmc/linux/drivers/comedi/drivers/ni_routing/tools/
H A Dconvert_csv_to_c.py228 chunks = [ self.output_file_top,
244 chunks.append('\t&{},'.format(dev_table_name))
273 chunks.append('\tNULL,') # terminate list
274 chunks.append('};')
275 return '\n'.join(chunks)
416 chunks = [ self.output_file_top,
432 chunks.append('\t&{},'.format(fam_table_name))
462 chunks.append('\tNULL,') # terminate list
463 chunks.append('};')
464 return '\n'.join(chunks)
/openbmc/linux/arch/xtensa/lib/
H A Dchecksum.S51 srli a5, a3, 5 /* 32-byte chunks */
81 extui a5, a3, 2, 3 /* remaining 4-byte chunks */
131 srli a5, a3, 2 /* 4-byte chunks */
215 srli a10, a4, 5 /* 32-byte chunks */
254 extui a10, a4, 2, 3 /* remaining 4-byte chunks */
255 extui a4, a4, 0, 2 /* reset len for general-case, 2-byte chunks */
286 srli a10, a4, 1 /* 2-byte chunks */

12345678910>>...36