HomeSort by relevance Sort by last modified time
    Searched refs:pnum (Results 1 - 25 of 37) sorted by null

1 2

  /external/u-boot/drivers/mtd/ubi/
io.c 87 static int self_check_not_bad(const struct ubi_device *ubi, int pnum);
88 static int self_check_peb_ec_hdr(const struct ubi_device *ubi, int pnum);
89 static int self_check_ec_hdr(const struct ubi_device *ubi, int pnum,
91 static int self_check_peb_vid_hdr(const struct ubi_device *ubi, int pnum);
92 static int self_check_vid_hdr(const struct ubi_device *ubi, int pnum,
94 static int self_check_write(struct ubi_device *ubi, const void *buf, int pnum,
101 * @pnum: physical eraseblock number to read from
105 * This function reads data from offset @offset of physical eraseblock @pnum
119 int ubi_io_read(const struct ubi_device *ubi, void *buf, int pnum, int offset,
126 dbg_io("read %d bytes from PEB %d:%d", len, pnum, offset)
    [all...]
attach.c 96 * @pnum: physical eraseblock number to add
104 * eraseblock @pnum and adds it to the "free", "erase", or "alien" lists.
114 static int add_to_list(struct ubi_attach_info *ai, int pnum, int vol_id,
120 dbg_bld("add to free: PEB %d, EC %d", pnum, ec);
122 dbg_bld("add to erase: PEB %d, EC %d", pnum, ec);
124 dbg_bld("add to alien: PEB %d, EC %d", pnum, ec);
133 aeb->pnum = pnum;
147 * @pnum: physical eraseblock number to add
151 * physical eraseblock @pnum and adds it to the 'corr' list. The corruptio
1225 int err, pnum; local
1336 int err, pnum, fm_anchor = -1; local
1501 int pnum, err, vols_found = 0; local
    [all...]
wl.c 130 static int self_check_ec(struct ubi_device *ubi, int pnum, int ec);
160 ubi_assert(e->pnum != e1->pnum);
161 if (e->pnum < e1->pnum)
182 ubi->lookuptbl[e->pnum] = NULL;
251 if (e->pnum == e1->pnum) {
261 ubi_assert(e->pnum != e1->pnum);
1064 int pnum = e->pnum; local
    [all...]
fastmap.c 51 * @pnum: The PEB to be makred as seen
54 static inline void set_seen(struct ubi_device *ubi, int pnum, int *seen)
59 seen[pnum] = 1;
69 int pnum, ret = 0; local
74 for (pnum = 0; pnum < ubi->peb_count; pnum++) {
75 if (!seen[pnum] && ubi->lookuptbl[pnum]) {
76 ubi_err(ubi, "self-check failed for PEB %d, fastmap didn't see it", pnum);
466 int i, pnum, err, ret = 0; local
783 int pnum = be32_to_cpu(fm_eba->pnum[j]); local
884 int i, used_blocks, pnum, ret = 0; local
    [all...]
eba.c 319 int err, pnum, vol_id = vol->vol_id; local
328 pnum = vol->eba_tbl[lnum];
329 if (pnum < 0)
333 dbg_eba("erase LEB %d:%d, PEB %d", vol_id, lnum, pnum);
338 err = ubi_wl_put_peb(ubi, vol_id, lnum, pnum, 0);
367 int err, pnum, scrub = 0, vol_id = vol->vol_id; local
375 pnum = vol->eba_tbl[lnum];
376 if (pnum < 0) {
391 len, offset, vol_id, lnum, pnum);
404 err = ubi_io_read_vid_hdr(ubi, pnum, vid_hdr, 1)
657 int err, pnum, tries = 0, vol_id = vol->vol_id; local
790 int err, pnum, tries = 0, data_size = len, vol_id = vol->vol_id; local
907 int err, pnum, old_pnum, tries = 0, vol_id = vol->vol_id; local
    [all...]
fastmap-wl.c 40 if (e->pnum < UBI_FM_MAX_START && e->ec < max_ec) {
73 if (e->pnum < UBI_FM_MAX_START)
142 pool->pebs[pool->size] = e->pnum;
157 wl_pool->pebs[wl_pool->size] = e->pnum;
261 int pnum; local
281 pnum = pool->pebs[pool->used++];
282 return ubi->lookuptbl[pnum];
329 int vol_id, pnum = fm_e->pnum; local
331 dbg_wl("PEB %d", pnum);
    [all...]
ubi.h 166 * @pnum: physical eraseblock number
178 int pnum; member in struct:ubi_wl_entry
632 * @pnum: physical eraseblock number
648 int pnum; member in struct:ubi_ainf_peb
785 int ubi_add_to_av(struct ubi_device *ubi, struct ubi_attach_info *ai, int pnum,
868 int pnum, int torture);
870 int ubi_wl_scrub_peb(struct ubi_device *ubi, int pnum);
882 int ubi_io_read(const struct ubi_device *ubi, void *buf, int pnum, int offset,
884 int ubi_io_write(struct ubi_device *ubi, const void *buf, int pnum, int offset,
886 int ubi_io_sync_erase(struct ubi_device *ubi, int pnum, int torture)
    [all...]
debug.h 11 void ubi_dump_flash(struct ubi_device *ubi, int pnum, int offset, int len);
52 int ubi_self_check_all_ff(struct ubi_device *ubi, int pnum, int offset,
ubi-media.h 462 * @pnum: PEB number
466 __be32 pnum; member in struct:ubi_fm_ec
497 * @pnum: PEB number of LEB (LEB is the index)
502 __be32 pnum[0]; member in struct:ubi_fm_eba
debug.c 20 * @pnum: the physical eraseblock number to dump
24 void ubi_dump_flash(struct ubi_device *ubi, int pnum, int offset, int len)
29 loff_t addr = (loff_t)pnum * ubi->peb_size + offset;
37 err, len, pnum, offset, read);
42 len, pnum, offset);
182 pr_err("\tpnum %d\n", aeb->pnum);
vtbl.c 324 err = ubi_io_write_vid_hdr(ubi, new_aeb->pnum, vid_hdr);
329 err = ubi_io_write_data(ubi, vtbl, new_aeb->pnum, 0, ubi->vtbl_size);
337 err = ubi_add_to_av(ubi, ai, new_aeb->pnum, new_aeb->ec, vid_hdr, 0);
413 err = ubi_io_read_data(ubi, leb[aeb->lnum], aeb->pnum, 0,
  /external/u-boot/drivers/mtd/ubispl/
ubispl.c 37 static int ubi_io_read(struct ubi_scan_info *ubi, void *buf, int pnum,
40 return ubi->read(pnum + ubi->peb_offset, from, len, buf);
48 static int ubi_io_read_vid_hdr(struct ubi_scan_info *ubi, int pnum,
55 if (test_bit(pnum, ubi->corrupt))
60 if (test_and_set_bit(pnum, ubi->scanned))
63 res = ubi_io_read(ubi, vh, pnum, ubi->vid_offset, sizeof(*vh));
69 ubi_dbg("Skipping bad or unreadable block %d", pnum);
71 generic_set_bit(pnum, ubi->corrupt);
78 generic_set_bit(pnum, ubi->corrupt);
81 ubi_msg("Bad magic in block 0%d %08x", pnum, magic)
250 u32 pnum; local
428 int pnum = be32_to_cpu(fm_eba->pnum[j]); local
498 int i, used_blocks, pnum, ret = 0; local
668 unsigned int pnum; local
722 u32 pnum, crc, dlen; local
    [all...]
  /external/vboot_reference/utility/
vbutil_what_keys 109 for pnum in $(cgpt find -n -t kernel "$file" 2>/dev/null); do
111 psize=$(cgpt show -s -i "$pnum" "$file")
114 pstart=$(cgpt show -b -i "$pnum" "$file")
130 echo " part $pnum kernel: $psum ($flags) $match"
136 for pnum in $(cgpt find -n -t rootfs "$file" 2>/dev/null); do
138 psize=$(cgpt show -s -i "$pnum" "$file")
141 pstart=$(cgpt show -b -i "$pnum" "$file")
143 echo " part $pnum shellball:"
  /external/u-boot/include/
ubispl.h 44 typedef int (*ubispl_read_flash)(int pnum, int offset, int len, void *dst);
  /external/u-boot/drivers/mtd/
mtd_uboot.c 16 u8 pnum; local
23 ret = find_dev_and_part(partname, &dev, &pnum, &part);
  /external/libmtp/examples/
sendtr.c 265 char *pnum; local
266 if ( (pnum = prompt("Track number", num, 80, 0)) == NULL )
269 tracknum = strtoul(pnum, 0, 10);
273 char *pnum; local
274 if ( (pnum = prompt("Year", num, 80, 0)) == NULL )
277 year = strtoul(pnum, 0, 10);
281 char *pnum; local
282 if ( (pnum = prompt("Length", num, 80, 0)) == NULL )
285 length = strtoul(pnum, 0, 10);
  /external/iptables/extensions/
libxt_multiport.c 143 check_proto(uint16_t pnum, uint8_t invflags)
151 if ((proto = proto_to_name(pnum)) != NULL)
153 else if (!pnum)
162 static void __multiport_parse(struct xt_option_call *cb, uint16_t pnum,
171 proto = check_proto(pnum, invflags);
177 proto = check_proto(pnum, invflags);
183 proto = check_proto(pnum, invflags);
208 static void __multiport_parse_v1(struct xt_option_call *cb, uint16_t pnum,
217 proto = check_proto(pnum, invflags);
222 proto = check_proto(pnum, invflags)
    [all...]
  /external/u-boot/tools/
kwboot.c 67 uint8_t pnum; member in struct:kwboot_block
350 size_t size, int pnum)
357 block->pnum = pnum;
358 block->_pnum = ~block->pnum;
422 int rc, pnum, N, err; local
424 pnum = 1;
435 pnum++);
  /external/u-boot/cmd/
mtdparts.c 1348 u8 type, dnum, pnum; local
1406 u8 pnum; local
1844 u8 pnum; local
1921 u8 pnum; local
    [all...]
ubi.c 417 u8 pnum; local
420 if (find_dev_and_part(ubidev, &dev, &pnum, &part) != 0)
423 sprintf(buffer, "mtd=%d", pnum);
432 sprintf(ubi_mtd_param_buffer, "mtd=%d,%s", pnum,
487 u8 pnum; local
494 if (find_dev_and_part(part_name, &dev, &pnum, &part)) {
flash.c 308 u8 dev_type, dev_num, pnum; local
339 if (find_dev_and_part(argv[1], &dev, &pnum, &part) == 0) {
442 u8 dev_type, dev_num, pnum; local
517 if (find_dev_and_part(argv[2], &dev, &pnum, &part) == 0) {
  /external/libpcap/
grammar.y 306 %type <i> byteop pname pnum relop irelop
379 | pnum { $$.b = gen_ncode(cstate, NULL, (bpf_u_int32)$1,
447 qid: pnum { $$.b = gen_ncode(cstate, NULL, (bpf_u_int32)$1,
549 | VLAN pnum { $$ = gen_vlan(cstate, $2); }
551 | MPLS pnum { $$ = gen_mpls(cstate, $2); }
554 | PPPOES pnum { $$ = gen_pppoes(cstate, $2); }
556 | GENEVE pnum { $$ = gen_geneve(cstate, $2); }
684 arth: pnum { $$ = gen_loadi(cstate, $1); }
709 pnum: NUM label
710 | paren pnum ')' { $$ = $2;
    [all...]
  /external/u-boot/drivers/fastboot/
fb_nand.c 39 u8 pnum; local
48 ret = find_dev_and_part(partname, &dev, &pnum, part);
  /external/libcups/cups/
ppd-emit.c 777 int pnum; /* Parameter number */ local
792 pnum = *cptr++ - '0';
794 pnum = pnum * 10 + *cptr++ - '0';
799 if (cparam->order == pnum)
  /device/linaro/bootloader/edk2/MdeModulePkg/Universal/RegularExpressionDxe/Oniguruma/
regenc.c 867 hash_table_type **table, const OnigCodePoint*** plist, int *pnum,
874 if (*psize <= *pnum) {
880 (*plist)[*pnum] = prop;
887 *pnum = *pnum + 1;
889 (hash_data_type )(*pnum + ONIGENC_MAX_STD_CTYPE));

Completed in 756 milliseconds

1 2