Searched refs:copy (Results 1 - 25 of 34) sorted by relevance

12

/u-boot/lib/zlib/
H A Dinflate.c100 unsigned copy, dist; local
119 /* copy state->wsize or less output bytes into the circular window */
120 copy = out - strm->avail_out;
121 if (copy >= state->wsize) {
128 if (dist > copy) dist = copy;
129 zmemcpy(state->window + state->wnext, strm->next_out - copy, dist);
130 copy -= dist;
131 if (copy) {
132 zmemcpy(state->window, strm->next_out - copy, cop
334 unsigned copy; /* number of stored or match bytes to copy */ local
[all...]
/u-boot/arch/x86/lib/
H A Dcrt0_ia32_efi.S18 pushl 12(%ebp) # copy "image" argument
19 pushl 8(%ebp) # copy "systab" argument
/u-boot/env/
H A Dmmc.c48 * eMMC boot partitions, one copy in each.
57 static inline int mmc_offset_try_partition(const char *str, int copy, s64 *val) argument
92 *val = (info.start + info.size - (1 + copy) * len) * info.blksz;
97 static inline s64 mmc_offset(struct mmc *mmc, int copy) argument
126 err = mmc_offset_try_partition(str, copy, &val);
134 err = mmc_offset_try_partition(NULL, copy, &val);
142 if (IS_ENABLED(CONFIG_SYS_REDUNDAND_ENVIRONMENT) && copy) {
150 static inline s64 mmc_offset(struct mmc *mmc, int copy) argument
154 if (IS_ENABLED(CONFIG_SYS_REDUNDAND_ENVIRONMENT) && copy)
161 __weak int mmc_get_env_addr(struct mmc *mmc, int copy, u3 argument
263 int ret, copy = 0; local
332 int ret, copy = 0; local
[all...]
/u-boot/doc/sphinx/
H A Dload_config.py49 config = namespace.copy()
57 config = namespace.copy()
H A Dkernel_feat.py110 shell_env = os.environ.copy()
H A Dkernel_abi.py108 shell_env = os.environ.copy()
H A Dkfigure.py267 # the builder needs not to copy one more time, so pop it if exists.
480 option_spec = Figure.option_spec.copy()
/u-boot/arch/arm/mach-tegra/
H A Ddt-setup.c91 char *copy = NULL; local
111 copy = strndup(name, ptr - name);
112 name = copy;
127 if (copy)
128 free(copy);
152 debug("failed to copy \"%s\" property: %s\n", names,
173 printf("failed to copy carveout for %s: %d\n",
/u-boot/board/ste/stemmy/
H A Dstemmy.c144 struct tag *copy; local
149 /* Calculate necessary size for tags we want to copy */
164 return; /* No tags to copy */
166 copy = malloc(fw_atags_size);
167 if (!copy)
169 fw_atags_copy = copy;
176 memcpy(copy, t, t->hdr.size * sizeof(u32));
177 copy = tag_next(copy);
/u-boot/board/freescale/common/
H A Dsdhc_boot.c20 int mmc_get_env_addr(struct mmc *mmc, int copy, u32 *env_addr) argument
/u-boot/include/linux/
H A Drbtree_augmented.h27 void (*copy)(struct rb_node *old, struct rb_node *new); member in struct:rb_augment_callbacks
160 augment->copy(node, successor);
184 augment->copy(node, successor);
/u-boot/lib/
H A Dmembuff.c176 /* copy it into the buffer */
213 struct membuff copy; local
217 /* make a copy of this buffer's control data */
218 copy = *mb;
222 avail += membuff_getraw(&copy, -1, true, &data);
/u-boot/test/
H A Dunicode_ut.c83 u16 *copy = u16_strdup(c4); local
85 ut_assert(copy != c4);
86 ut_asserteq_mem(copy, c4, sizeof(c4));
87 free(copy);
96 u16 copy[10]; local
98 r = u16_strcpy(copy, c1);
99 ut_assert(r == copy);
100 ut_asserteq_mem(copy, c1, sizeof(c1));
/u-boot/arch/arm/mach-omap2/
H A Dconfig_secure.mk52 # card FAT partition must be MLO, so we make a copy of the output file to a new
69 # an SD card FAT partition this file must be called "MLO", we make a copy with
/u-boot/drivers/mtd/ubi/
H A Dvtbl.c17 * eraseblock stores one volume table copy, i.e. LEB 0 and LEB 1 duplicate each
290 * create_vtbl - create a copy of volume table.
293 * @copy: number of the volume table copy
300 int copy, void *vtbl)
306 dbg_gen("create volume table (copy #%d)", copy + 1);
324 vid_hdr->lnum = cpu_to_be32(copy);
401 * we compare it with LEB 1, and if they are different, we copy LEB
403 * b. if LEB 0 is corrupted, but LEB 1 has to be OK, and we copy LE
299 create_vtbl(struct ubi_device *ubi, struct ubi_attach_info *ai, int copy, void *vtbl) argument
[all...]
/u-boot/arch/arm/cpu/armv7/
H A Dcache_v7_asm.S50 mov r9, r7 @ create working copy of max index
120 mov r9, r7 @ create working copy of max index
/u-boot/scripts/
H A DMakefile.spl329 $(call if_changed,copy)
332 $(call if_changed,copy)
341 $(call if_changed,copy)
/u-boot/tools/dtoc/
H A Dtest_src_scan.py10 import copy namespace
316 drv2 = copy.deepcopy(drv)
H A Ddtb_platdata.py17 import copy namespace
517 fields[name] = copy.deepcopy(prop)
H A Dtest_dtoc.py13 import copy namespace
109 """Get a copy of saved_scan so that each test can start clean"""
110 return copy.deepcopy(saved_scan)
165 # Make a copy of the 'scan' object, since it includes uclasses and
1609 This uses saved_scan but returns a deep copy of it, so it is safe to
1620 # Take a copy before messing with it
1776 # Take a copy before messing with it
/u-boot/drivers/mtd/nand/raw/
H A Dsand_nand.c364 goto copy;
391 copy:
/u-boot/test/py/
H A Dmultiplexed_log.py238 shutil.copy(mod_dir + '/multiplexed_log.css', os.path.dirname(fn))
/u-boot/tools/binman/
H A Dfip_util_test.py269 args = self.args.copy()
/u-boot/include/dm/
H A Dofnode.h143 * @tree: tree to flatten (if livetree) or copy (if not)
1434 * Note that if @copy is false, the value passed to the function is *not*
1443 * @copy: true to allocate memory for the value. This only has any effect with
1450 int len, bool copy);
1673 * ofnode_copy_props() - copy all properties from one node to another
1675 * Makes a copy of all properties from the source node to the destination node.
1696 * @src: Source node to copy
/u-boot/drivers/core/
H A Dofnode.c1607 int len, bool copy)
1613 if (copy) {
1621 if (ret && copy)
1606 ofnode_write_prop(ofnode node, const char *propname, const void *value, int len, bool copy) argument

Completed in 130 milliseconds

12