/u-boot/cmd/ |
H A D | trace.c | 34 size_t buff_size, avail, buff_ptr, needed, used; local 45 used = min(avail, (size_t)needed); 47 (ulong)map_to_sysmem(buff + buff_ptr), used); 50 env_set_hex("profoffset", buff_ptr + used); 57 size_t buff_size, avail, buff_ptr, needed, used; local 68 used = min(avail, (size_t)needed); 70 (ulong)map_to_sysmem(buff + buff_ptr), used); 74 env_set_hex("profoffset", buff_ptr + used);
|
/u-boot/drivers/mtd/ubispl/ |
H A D | ubi-wrapper.h | 72 * @e: PEBs used by the current fastmap 74 * @used_blocks: number of used PEBs 76 * @max_wl_pool_size: maximal size of the pool used by the WL sub-system 89 * @used: number of used PEBs 94 * If all PEBs within the pool are used a new fastmap will be written 100 int used; member in struct:ubi_fm_pool
|
H A D | ubispl.c | 419 u32 vol_id, u32 vol_type, u32 used) 468 * Fastmap code is stolen from Linux kernel and this stub structure is used 560 /* read EC values from used list */ 588 u32 vol_id, vol_type, used, reserved; local 604 used = be32_to_cpu(fmvhdr->used_ebs); 620 ubi_dbg("FA: vol %u used %u res: %u", vol_id, used, reserved); 635 if (j >= used) 639 vol_type, used); 650 if (ret != UBI_IO_FF && j != used 418 assign_aeb_to_av(struct ubi_scan_info *ubi, u32 pnum, u32 lnum, u32 vol_id, u32 vol_type, u32 used) argument [all...] |
/u-boot/test/fuzz/ |
H A D | virtio.c | 42 * which is used by virtio_find_vqs/virtio_del_vqs. 62 memcpy(vq->vring.used, data + desc_size + avail_size, used_size); 64 if (vq->vring.used->idx == 0) 65 vq->vring.used->idx = 1;
|
/u-boot/test/dm/ |
H A D | virtio_rng.c | 23 /* Test the virtio-rng driver validates the used size */ 43 priv->rng_vq->vring.used->idx = 1; 44 priv->rng_vq->vring.used->ring[0].id = 0; 45 priv->rng_vq->vring.used->ring[0].len = U32_MAX;
|
H A D | virtio_device.c | 72 * which is used by virtio_find_vqs/virtio_del_vqs. 149 * which is used by virtio_find_vqs/virtio_del_vqs. 166 vq->vring.used->idx = 1; 167 vq->vring.used->ring[0].id = 0; 168 vq->vring.used->ring[0].len = 0x53355885; 173 /* rejects used descriptors that aren't a chain head */ 176 vq->vring.used->idx = 1; 177 vq->vring.used->ring[0].id = 1; 178 vq->vring.used->ring[0].len = 0x53355885; 189 vq->vring.used [all...] |
H A D | of_extra.c | 29 ut_asserteq(0x884, entry.used);
|
/u-boot/scripts/ |
H A D | Makefile.lib | 51 multi-used-y := $(sort $(foreach m,$(obj-y), $(if $(strip $($(m:.o=-objs)) $($(m:.o=-y))), $(m)))) 52 multi-used-m := $(sort $(foreach m,$(obj-m), $(if $(strip $($(m:.o=-objs)) $($(m:.o=-y))), $(m)))) 53 multi-used := $(multi-used-y) $(multi-used-m) 54 single-used-m := $(sort $(filter-out $(multi-used-m),$(obj-m))) 58 multi-objs-y := $(foreach m, $(multi-used-y), $($(m:.o=-objs)) $($(m:.o=-y))) 59 multi-objs-m := $(foreach m, $(multi-used-m), $($(m:.o=-objs)) $($(m:.o=-y))) 81 single-used [all...] |
H A D | mailmapper | 14 spelled differently. The .mailmap feature can be used to coalesce together 24 the entry for the cananical name will be output. ('MIN_COMMITS' is used 29 options or '.mailmap' at the toplevel of the repository, it is used as 54 # This limitation is used so as not to create a too big mailmap file.
|
H A D | Makefile.build | 24 # Init all relevant variables used in kbuild files so 261 $(single-used-m): $(obj)/%.o: $(src)/%.c $(recordmcount_source) FORCE 369 $(multi-used-y): FORCE 371 $(call multi_depend, $(multi-used-y), .o, -objs -y) 373 $(multi-used-m): FORCE 376 $(call multi_depend, $(multi-used-m), .o, -objs -y) 378 targets += $(multi-used-y) $(multi-used-m)
|
/u-boot/lib/zlib/ |
H A D | inftrees.c | 24 lens shorts, which is used as a work area. type is the type of code 43 unsigned used; /* code entries in table used */ local 95 The length counts are used for other purposes as well, i.e. finding 147 filled is at next and has curr index bits. The code being used is huff 161 counts are used for this, and so count[] is decremented as codes are 164 used keeps track of how many table entries have been allocated from the 180 base = extra = work; /* dummy value--not used */ 202 used = 1U << root; /* use root table entries */ 203 mask = used [all...] |
/u-boot/drivers/mtd/ubi/ |
H A D | fastmap-wl.c | 30 * find_anchor_wl_entry - find wear-leveling entry to used as anchor PEB. 60 for (i = pool->used; i < pool->size; i++) { 82 * @anchor: This PEB will be used as anchor PEB by fastmap 166 wl_pool->used = 0; 167 pool->used = 0; 216 if (pool->used == pool->size || wl_pool->used == wl_pool->size) { 229 if (pool->used == pool->size) { 246 ubi_assert(pool->used < pool->size); 247 ret = pool->pebs[pool->used [all...] |
H A D | wl.c | 14 * eraseblocks are of two types - used and free. Used physical eraseblocks are 26 * The wear-leveling is ensured by means of moving the contents of used 38 * "free" or "used". Free eraseblock are kept in the @wl->free RB-tree, while 39 * used eraseblocks are kept in @wl->used, @wl->erroneous, or @wl->scrub 45 * @wl->used tree. There is a protection queue in between where this 63 * used. The former state corresponds to the @wl->free tree. The latter state 65 * o the WL movement is allowed (@wl->used tree); 71 * Depending on the sub-state, wear-leveling entries of the used physical 107 * exceeded, the WL sub-system starts moving data from used physica [all...] |
/u-boot/include/ |
H A D | virtio_ring.h | 22 * The Host uses this in used->flags to advise the Guest: don't kick me when 38 * The Guest publishes the used index for which it expects an interrupt 42 * at the end of the used ring. Guest should ignore the used->flags field. 75 /* Index of start of used descriptor chain */ 77 /* Total length of the descriptor chain which was used (written to) */ 93 struct vring_used *used; member in struct:vring 108 * @last_used_idx: last used index we've seen 136 * We publish the used event index at the end of the available ring, 140 #define vring_avail_event(vr) (*(__virtio16 *)&(vr)->used [all...] |
/u-boot/fs/cbfs/ |
H A D | cbfs.c | 142 * @param used A pointer to the count of of bytes scanned through, 150 int *used) 154 *used = 0; 163 *used += align; 178 *used += ALIGN(header.len, align); 204 int used; local 211 &used); 222 size -= used; 223 start += used; 441 int used; local 148 file_cbfs_next_file(struct cbfs_priv *priv, void *start, int size, int align, struct cbfs_cachenode *node, int *used) argument [all...] |
/u-boot/include/dm/ |
H A D | of_extra.h | 31 uint32_t used; /* Number of bytes used in region */ member in struct:fmap_entry 76 * The properties used are: 124 * has a fixed link (in that case, in-band autoneg should not be used). 127 * Return: true if in-band autoneg should be used, false otherwise
|
/u-boot/drivers/virtio/ |
H A D | virtio_ring.c | 195 needs_kick = !(vq->vring.used->flags & cpu_to_virtio16(vq->vdev, 235 vq->vring.used->idx); 249 /* Only get used array entries after they have been exposed by host */ 253 i = virtio32_to_cpu(vq->vdev, vq->vring.used->ring[last_used].id); 256 vq->vring.used->ring[last_used].len); 257 debug("(%s.%d): last used idx %u with len %u\n", 425 ((char *)vq->vring.used - (char *)vq->vring.desc); 432 return last_used_idx != virtio16_to_cpu(vq->vdev, vq->vring.used->idx); 465 vq->vring.used->flags, vq->vring.used [all...] |
/u-boot/fs/ubifs/ |
H A D | io.c | 19 * buffer is full or when it is not used for some time (by timer). This is 20 * similar to the mechanism is used by JFFS2. 320 * Padding nodes are also used to fill gaps when the "commit-in-gaps" method is 321 * used. 498 * if the write-buffer is only partially filled with data, only the used part 508 if (!wbuf->used || wbuf->lnum == -1) 513 wbuf->lnum, wbuf->offs, wbuf->used, dbg_jhead(wbuf->jhead)); 530 sync_len = ALIGN(wbuf->used, c->min_io_size); 531 dirt = sync_len - wbuf->used; 533 ubifs_pad(c, wbuf->buf + wbuf->used, dir [all...] |
H A D | gc.c | 80 wbuf->lnum, wbuf->offs + wbuf->used, gc_lnum, 81 c->leb_size - wbuf->offs - wbuf->used); 316 int err, new_lnum = wbuf->lnum, new_offs = wbuf->offs + wbuf->used; 368 avail = c->leb_size - wbuf->offs - wbuf->used; 383 avail = c->leb_size - wbuf->offs - wbuf->used; 468 ubifs_assert(c->gc_lnum != -1 || wbuf->offs + wbuf->used == 0 || 610 * o positive LEB number if the LEB has been freed and may be used; 626 * o GC moved indexing LEBs, but they can be used only after the commit; 660 ubifs_assert(!wbuf->used); 712 space_before = c->leb_size - wbuf->offs - wbuf->used; [all...] |
H A D | replay.c | 84 * set_bud_lprops - set free and dirty space used by a bud. 340 * @used: number of bytes in use in a LEB 353 int deletion, int *used, loff_t old_size, 368 *used += ALIGN(len, 8); 393 * @used: number of bytes in use in a LEB 401 unsigned long long sqnum, int deletion, int *used) 421 *used += ALIGN(len, 8); 475 * information is then used by 'replay_bud()' to decide whether the bud can 491 * images used with older UBIFS. 539 int err = 0, used local 351 insert_node(struct ubifs_info *c, int lnum, int offs, int len, union ubifs_key *key, unsigned long long sqnum, int deletion, int *used, loff_t old_size, loff_t new_size) argument 399 insert_dent(struct ubifs_info *c, int lnum, int offs, int len, union ubifs_key *key, const char *name, int nlen, unsigned long long sqnum, int deletion, int *used) argument [all...] |
/u-boot/lib/ |
H A D | hashtable.c | 57 int used; member in struct:env_entry_node 70 * For the used double hash method the table size has to be a prime. To 92 * The contents of the table is zeroed, especially the field used 136 * After using the hash table it has to be destroyed. The used memory can 137 * be freed and the local static variable can be marked as not used. 150 /* free used memory */ 152 if (htab->table[i].used > 0) { 178 * special. This index will never be used because we store the first hash 179 * index in the field used where zero means not used [all...] |
H A D | trace.c | 24 int funcs_used; /* Total number of functions used */ 229 /* Work out how must of the buffer we used */ 289 /* Work out how must of the buffer we used */ 373 ulong used, count; local 385 used = end - (char *)hdr; 387 used, CONFIG_TRACE_EARLY_ADDR, 396 memcpy(buff, hdr, used);
|
/u-boot/drivers/net/ |
H A D | bcm6368-eth.c | 119 bool used; member in struct:bcm_enetsw_port 231 if (!port->used) 329 if (!priv->used_ports[i].used) 373 if (!port->used) 424 if (!priv->used_ports[i].used) 463 if (!priv->used_ports[i].used) 605 priv->used_ports[p].used = true;
|
/u-boot/tools/dtoc/ |
H A D | src_scan.py | 72 used (bool): True if the driver is used by the structs being output 91 self.used = False 104 self.used == other.used) 107 return ("Driver(name='%s', used=%s, uclass_id='%s', compat=%s, priv=%s)" % 108 (self.name, self.used, self.uclass_id, self.compat, self.priv)) 345 fname (str): Filename being parsed (used for warnings) 426 fname (str): Filename being parsed (used for warnings) 598 used_drivers = [drv.name for drv in self._drivers.values() if drv.used] [all...] |
/u-boot/arch/sandbox/cpu/ |
H A D | state.c | 24 int used, size, free_bytes; local 28 used = fdt_off_dt_strings(blob) + fdt_size_dt_strings(blob); 30 free_bytes = size - used; 34 size = used + extra_size;
|