Home
last modified time | relevance | path

Searched refs:offs (Results 1 – 25 of 193) sorted by relevance

12345678

/external/u-boot/arch/arm/mach-omap2/
Dfdt-common.c26 int offs; in ft_hs_disable_rng() local
31 offs = fdt_path_offset(fdt, path); in ft_hs_disable_rng()
32 if (offs < 0) { in ft_hs_disable_rng()
36 ret = fdt_setprop_string(fdt, offs, in ft_hs_disable_rng()
74 int offs, len; in ft_hs_fixup_dram() local
83 offs = fdt_path_offset(fdt, path); in ft_hs_fixup_dram()
84 if (offs >= 0) in ft_hs_fixup_dram()
85 fdt_del_node(fdt, offs); in ft_hs_fixup_dram()
89 offs = fdt_path_offset(fdt, path); in ft_hs_fixup_dram()
90 if (offs < 0) { in ft_hs_fixup_dram()
[all …]
/external/u-boot/fs/ubifs/
Dscan.c62 int offs, int quiet) in ubifs_scan_a_node() argument
70 dbg_scan("hit empty space at LEB %d:%d", lnum, offs); in ubifs_scan_a_node()
81 dbg_ntype(ch->node_type), lnum, offs); in ubifs_scan_a_node()
83 if (ubifs_check_node(c, buf, lnum, offs, quiet, 1)) in ubifs_scan_a_node()
93 offs + node_len + pad_len > c->leb_size) { in ubifs_scan_a_node()
96 lnum, offs); in ubifs_scan_a_node()
106 offs, offs + node_len + pad_len); in ubifs_scan_a_node()
111 lnum, offs, ALIGN(offs + node_len + pad_len, 8)); in ubifs_scan_a_node()
130 int offs, void *sbuf) in ubifs_start_scan() argument
135 dbg_scan("scan LEB %d:%d", lnum, offs); in ubifs_start_scan()
[all …]
Dio.c92 int ubifs_leb_read(const struct ubifs_info *c, int lnum, void *buf, int offs, in ubifs_leb_read() argument
97 err = ubi_read(c->ubi, lnum, buf, offs, len); in ubifs_leb_read()
104 len, lnum, offs, err); in ubifs_leb_read()
110 int ubifs_leb_write(struct ubifs_info *c, int lnum, const void *buf, int offs, in ubifs_leb_write() argument
119 err = ubi_leb_write(c->ubi, lnum, buf, offs, len); in ubifs_leb_write()
122 err = dbg_leb_write(c, lnum, buf, offs, len); in ubifs_leb_write()
126 len, lnum, offs, err); in ubifs_leb_write()
239 int offs, int quiet, int must_chk_crc) in ubifs_check_node() argument
245 ubifs_assert(lnum >= 0 && lnum < c->leb_cnt && offs >= 0); in ubifs_check_node()
246 ubifs_assert(!(offs & 7) && offs < c->leb_size); in ubifs_check_node()
[all …]
Drecovery.c105 int err, offs, len; in get_master_node() local
117 offs = 0; in get_master_node()
120 while (offs + UBIFS_MST_NODE_SZ <= c->leb_size) { in get_master_node()
125 offs += sz; in get_master_node()
130 if (offs) { in get_master_node()
133 offs -= sz; in get_master_node()
136 ret = ubifs_scan_a_node(c, buf, len, lnum, offs, 1); in get_master_node()
137 if (ret != SCANNED_A_NODE && offs) { in get_master_node()
139 offs -= sz; in get_master_node()
142 ret = ubifs_scan_a_node(c, buf, len, lnum, offs, 1); in get_master_node()
[all …]
Dlpt_commit.c191 int lnum, offs, len, alen, done_lsave, done_ltab, err; in layout_cnodes() local
201 offs = c->nhead_offs; in layout_cnodes()
205 if (!done_lsave && offs + c->lsave_sz <= c->leb_size) { in layout_cnodes()
208 c->lsave_offs = offs; in layout_cnodes()
209 offs += c->lsave_sz; in layout_cnodes()
213 if (offs + c->ltab_sz <= c->leb_size) { in layout_cnodes()
216 c->ltab_offs = offs; in layout_cnodes()
217 offs += c->ltab_sz; in layout_cnodes()
229 while (offs + len > c->leb_size) { in layout_cnodes()
230 alen = ALIGN(offs, c->min_io_size); in layout_cnodes()
[all …]
Dreplay.c50 int offs; member
217 r->lnum, r->offs, r->len, r->deletion, r->sqnum); in apply_replay_entry()
226 err = ubifs_tnc_add_nm(c, &r->key, r->lnum, r->offs, in apply_replay_entry()
246 err = ubifs_tnc_add(c, &r->key, r->lnum, r->offs, in apply_replay_entry()
349 static int insert_node(struct ubifs_info *c, int lnum, int offs, int len, in insert_node() argument
356 dbg_mntk(key, "add LEB %d:%d, key ", lnum, offs); in insert_node()
368 r->offs = offs; in insert_node()
397 static int insert_dent(struct ubifs_info *c, int lnum, int offs, int len, in insert_dent() argument
404 dbg_mntk(key, "add LEB %d:%d, key ", lnum, offs); in insert_dent()
421 r->offs = offs; in insert_dent()
[all …]
Dtnc.c71 static int insert_old_idx(struct ubifs_info *c, int lnum, int offs) in insert_old_idx() argument
80 old_idx->offs = offs; in insert_old_idx()
90 else if (offs < o->offs) in insert_old_idx()
92 else if (offs > o->offs) in insert_old_idx()
119 return insert_old_idx(c, zbr->lnum, zbr->offs); in insert_old_idx_znode()
123 c->zroot.offs); in insert_old_idx_znode()
144 err = insert_old_idx(c, zbr->lnum, zbr->offs); in ins_clr_old_idx_znode()
148 zbr->offs = 0; in ins_clr_old_idx_znode()
153 err = insert_old_idx(c, c->zroot.lnum, c->zroot.offs); in ins_clr_old_idx_znode()
157 c->zroot.offs = 0; in ins_clr_old_idx_znode()
[all …]
Dlog.c167 int ubifs_add_bud_to_log(struct ubifs_info *c, int jhead, int lnum, int offs) in ubifs_add_bud_to_log() argument
207 if (c->bud_bytes + c->leb_size - offs > c->max_bud_bytes) { in ubifs_add_bud_to_log()
228 bud->start = offs; in ubifs_add_bud_to_log()
233 ref->offs = cpu_to_le32(bud->start); in ubifs_add_bud_to_log()
313 c->cmt_bud_bytes += wbuf->offs - bud->start; in remove_buds()
316 wbuf->offs - bud->start, c->cmt_bud_bytes); in remove_buds()
317 bud->start = wbuf->offs; in remove_buds()
381 int offs = c->jheads[i].wbuf.offs; in ubifs_log_start_commit() local
383 if (lnum == -1 || offs == c->leb_size) in ubifs_log_start_commit()
387 lnum, offs, dbg_jhead(i)); in ubifs_log_start_commit()
[all …]
Dmaster.c33 int lnum, offs = 0, nodes_cnt; in scan_for_master() local
47 offs = snod->offs; in scan_for_master()
63 if (snod->offs != offs) in scan_for_master()
69 c->mst_offs = offs; in scan_for_master()
79 snod->type, lnum, snod->offs); in scan_for_master()
120 c->zroot.offs >= c->leb_size || c->zroot.offs & 7) { in validate_master()
276 c->zroot.offs = le32_to_cpu(c->mst_node->root_offs); in ubifs_read_master()
357 int err, lnum, offs, len; in ubifs_write_master() local
364 offs = c->mst_offs + c->mst_node_alsz; in ubifs_write_master()
367 if (offs + UBIFS_MST_NODE_SZ > c->leb_size) { in ubifs_write_master()
[all …]
Dtnc_misc.c264 static int read_znode(struct ubifs_info *c, int lnum, int offs, int len, in read_znode() argument
274 err = ubifs_read_node(c, idx, UBIFS_IDX_NODE, len, lnum, offs); in read_znode()
284 lnum, offs, znode->level, znode->child_cnt); in read_znode()
301 zbr->offs = le32_to_cpu(br->offs); in read_znode()
308 zbr->lnum >= c->leb_cnt || zbr->offs < 0 || in read_znode()
309 zbr->offs + zbr->len > c->leb_size || zbr->offs & 7) { in read_znode()
380 ubifs_err(c, "bad indexing node at LEB %d:%d, error %d", lnum, offs, err); in read_znode()
413 err = read_znode(c, zbr->lnum, zbr->offs, zbr->len, znode); in ubifs_load_znode()
463 zbr->lnum, zbr->offs); in ubifs_tnc_read_node()
466 zbr->offs); in ubifs_tnc_read_node()
[all …]
Dubifs.h877 int offs; member
903 int offs; member
1185 int offs; member
1285 int offs; member
1347 int offs; member
1379 int offs; member
2085 int ubifs_leb_read(const struct ubifs_info *c, int lnum, void *buf, int offs,
2087 int ubifs_leb_write(struct ubifs_info *c, int lnum, const void *buf, int offs,
2094 int ubifs_wbuf_seek_nolock(struct ubifs_wbuf *wbuf, int lnum, int offs);
2097 int lnum, int offs);
[all …]
/external/libaom/libaom/aom_dsp/
Dentenc.c74 uint32_t offs; in od_ec_enc_normalize() local
78 offs = enc->offs; in od_ec_enc_normalize()
79 if (offs + 2 > storage) { in od_ec_enc_normalize()
84 enc->offs = 0; in od_ec_enc_normalize()
93 assert(offs < storage); in od_ec_enc_normalize()
94 buf[offs++] = (uint16_t)(low >> c); in od_ec_enc_normalize()
99 assert(offs < storage); in od_ec_enc_normalize()
100 buf[offs++] = (uint16_t)(low >> c); in od_ec_enc_normalize()
103 enc->offs = offs; in od_ec_enc_normalize()
130 enc->offs = 0; in od_ec_enc_reset()
[all …]
/external/lzma/CPP/7zip/Common/
DRegisterArc.h42 #define REGISTER_ARC_V(n, e, ae, id, sigSize, sig, offs, flags, crIn, crOut, isArc) \ argument
43 …static const CArcInfo g_ArcInfo = { flags, id, sigSize, offs, sig, n, e, ae, crIn, crOut, isArc } …
45 #define REGISTER_ARC_R(n, e, ae, id, sigSize, sig, offs, flags, crIn, crOut, isArc) \ argument
46 REGISTER_ARC_V(n, e, ae, id, sigSize, sig, offs, flags, crIn, crOut, isArc) \
51 #define REGISTER_ARC_I_CLS(cls, n, e, ae, id, sig, offs, flags, isArc) \ argument
53 REGISTER_ARC_R(n, e, ae, id, ARRAY_SIZE(sig), sig, offs, flags, CreateArc, NULL, isArc)
55 #define REGISTER_ARC_I_CLS_NO_SIG(cls, n, e, ae, id, offs, flags, isArc) \ argument
57 REGISTER_ARC_R(n, e, ae, id, 0, NULL, offs, flags, CreateArc, NULL, isArc)
59 #define REGISTER_ARC_I(n, e, ae, id, sig, offs, flags, isArc) \ argument
60 REGISTER_ARC_I_CLS(CHandler(), n, e, ae, id, sig, offs, flags, isArc)
[all …]
/external/u-boot/arch/arm/mach-omap2/omap5/
Dfdt.c33 int offs; in ft_hs_fixup_crossbar() local
52 offs = fdt_path_offset(fdt, path); in ft_hs_fixup_crossbar()
53 if (offs < 0) { in ft_hs_fixup_crossbar()
59 p_data = fdt_getprop(fdt, offs, "ti,irqs-skip", &len); in ft_hs_fixup_crossbar()
76 fdt_delprop(fdt, offs, "ti,irqs-skip"); in ft_hs_fixup_crossbar()
77 ret = fdt_setprop(fdt, offs, "ti,irqs-skip", in ft_hs_fixup_crossbar()
97 int offs; in ft_hs_fixup_sram() local
107 offs = fdt_path_offset(fdt, path); in ft_hs_fixup_sram()
108 if (offs < 0) { in ft_hs_fixup_sram()
118 fdt_delprop(fdt, offs, "reg"); in ft_hs_fixup_sram()
[all …]
/external/strace/tests-mx32/
Ds390_sthyi.c51 print_0x8(const char *prefix, unsigned char *buf, unsigned int offs, bool zero) in print_0x8() argument
53 if (!zero && !buf[offs]) in print_0x8()
56 printf("%s=%#02hhx", prefix, buf[offs]); in print_0x8()
62 print_u8(const char *prefix, unsigned char *buf, unsigned int offs, bool zero) in print_u8() argument
64 if (!zero && !buf[offs]) in print_u8()
67 printf("%s=%hhu", prefix, buf[offs]); in print_u8()
73 print_u16(const char *prefix, unsigned char *buf, unsigned int offs, bool zero) in print_u16() argument
75 uint16_t val = *(uint16_t *) (buf + offs); in print_u16()
86 print_x32(const char *prefix, unsigned char *buf, unsigned int offs, bool zero) in print_x32() argument
88 uint32_t val = *(uint32_t *) (buf + offs); in print_x32()
[all …]
/external/strace/tests-m32/
Ds390_sthyi.c51 print_0x8(const char *prefix, unsigned char *buf, unsigned int offs, bool zero) in print_0x8() argument
53 if (!zero && !buf[offs]) in print_0x8()
56 printf("%s=%#02hhx", prefix, buf[offs]); in print_0x8()
62 print_u8(const char *prefix, unsigned char *buf, unsigned int offs, bool zero) in print_u8() argument
64 if (!zero && !buf[offs]) in print_u8()
67 printf("%s=%hhu", prefix, buf[offs]); in print_u8()
73 print_u16(const char *prefix, unsigned char *buf, unsigned int offs, bool zero) in print_u16() argument
75 uint16_t val = *(uint16_t *) (buf + offs); in print_u16()
86 print_x32(const char *prefix, unsigned char *buf, unsigned int offs, bool zero) in print_x32() argument
88 uint32_t val = *(uint32_t *) (buf + offs); in print_x32()
[all …]
/external/strace/tests/
Ds390_sthyi.c51 print_0x8(const char *prefix, unsigned char *buf, unsigned int offs, bool zero) in print_0x8() argument
53 if (!zero && !buf[offs]) in print_0x8()
56 printf("%s=%#02hhx", prefix, buf[offs]); in print_0x8()
62 print_u8(const char *prefix, unsigned char *buf, unsigned int offs, bool zero) in print_u8() argument
64 if (!zero && !buf[offs]) in print_u8()
67 printf("%s=%hhu", prefix, buf[offs]); in print_u8()
73 print_u16(const char *prefix, unsigned char *buf, unsigned int offs, bool zero) in print_u16() argument
75 uint16_t val = *(uint16_t *) (buf + offs); in print_u16()
86 print_x32(const char *prefix, unsigned char *buf, unsigned int offs, bool zero) in print_x32() argument
88 uint32_t val = *(uint32_t *) (buf + offs); in print_x32()
[all …]
/external/u-boot/drivers/mtd/nand/
Dsunxi_nand_spl.c214 static int nand_load_page(const struct nfc_config *conf, u32 offs) in nand_load_page() argument
216 int page = offs / conf->page_size; in nand_load_page()
254 static int nand_read_page(const struct nfc_config *conf, u32 offs, in nand_read_page() argument
260 int page = offs / conf->page_size; in nand_read_page()
264 if (offs % conf->page_size || len % conf->ecc_size || in nand_read_page()
367 static int nand_detect_ecc_config(struct nfc_config *conf, u32 offs, in nand_detect_ecc_config() argument
372 int page = offs / conf->page_size; in nand_detect_ecc_config()
400 ret = nand_read_page(conf, offs, dest, conf->ecc_size); in nand_detect_ecc_config()
417 if (!nand_read_page(conf, offs, dest, in nand_detect_ecc_config()
440 static int nand_detect_config(struct nfc_config *conf, u32 offs, void *dest) in nand_detect_config() argument
[all …]
Dfsl_elbc_spl.c37 int nand_spl_load_image(uint32_t offs, unsigned int uboot_size, void *vdst) in nand_spl_load_image() argument
39 static int nand_load_image(uint32_t offs, unsigned int uboot_size, void *vdst) in nand_spl_load_image()
53 if (offs & (block_size - 1)) { in nand_spl_load_image()
82 out_be32(&regs->fbar, offs >> block_shift); in nand_spl_load_image()
86 unsigned int page_offs = (offs & (block_size - 1)) << 1; in nand_spl_load_image()
103 offs = (offs + block_size) & ~(block_size - 1); in nand_spl_load_image()
112 offs += page_size; in nand_spl_load_image()
113 } while ((offs & (block_size - 1)) && (pos < uboot_size)); in nand_spl_load_image()
124 #define nand_spl_load_image(offs, uboot_size, vdst) \ argument
125 nand_load_image(offs, uboot_size, vdst)
Dnand_bbt.c77 static int nand_update_bbt(struct mtd_info *mtd, loff_t offs);
116 if (memcmp(buf + paglen + td->offs, td->pattern, td->len)) in check_pattern()
134 if (memcmp(buf + td->offs, td->pattern, td->len)) in check_short_pattern()
170 struct nand_bbt_descr *td, int offs) in read_bbt() argument
221 (loff_t)(offs + act) << in read_bbt()
223 bbt_mark_entry(this, offs + act, in read_bbt()
233 (loff_t)(offs + act) << in read_bbt()
237 bbt_mark_entry(this, offs + act, in read_bbt()
240 bbt_mark_entry(this, offs + act, in read_bbt()
268 int offs = 0; in read_abs_bbt() local
[all …]
Dnand_spl_loaders.c1 int nand_spl_load_image(uint32_t offs, unsigned int size, void *dst) in nand_spl_load_image() argument
7 block = offs / CONFIG_SYS_NAND_BLOCK_SIZE; in nand_spl_load_image()
8 lastblock = (offs + size - 1) / CONFIG_SYS_NAND_BLOCK_SIZE; in nand_spl_load_image()
9 page = (offs % CONFIG_SYS_NAND_BLOCK_SIZE) / CONFIG_SYS_NAND_PAGE_SIZE; in nand_spl_load_image()
10 page_offset = offs % CONFIG_SYS_NAND_PAGE_SIZE; in nand_spl_load_image()
Dmxs_nand_spl.c161 static int is_badblock(struct mtd_info *mtd, loff_t offs, int allowbbt) in is_badblock() argument
164 unsigned int block = offs >> chip->phys_erase_shift; in is_badblock()
165 unsigned int page = offs >> chip->page_shift; in is_badblock()
167 debug("%s offs=0x%08x block:%d page:%d\n", __func__, (int)offs, block, in is_badblock()
207 int nand_spl_load_image(uint32_t offs, unsigned int size, void *buf) in nand_spl_load_image() argument
217 page = offs >> chip->page_shift; in nand_spl_load_image()
220 debug("%s offset:0x%08x len:%d page:%d\n", __func__, offs, size, page); in nand_spl_load_image()
227 offs += mtd->writesize; in nand_spl_load_image()
240 while (is_badblock(mtd, offs, 1)) { in nand_spl_load_image()
/external/deqp/framework/delibs/decpp/
DdePoolArray.hpp143 const T& operator[] (deUintptr offs) const throw() { return (*m_array)[this->m_ndx+offs]; } in operator []()
154 …PoolArrayConstIterator<T, Alignment>& operator+= (deIntptr offs) { this->m_ndx += offs; return *th… in operator +=() argument
155 …PoolArrayConstIterator<T, Alignment>& operator-= (deIntptr offs) { this->m_ndx -= offs; return *th… in operator -=() argument
179 T& operator[] (deUintptr offs) const throw() { return (*m_array)[this->m_ndx+offs]; } in operator []()
190 PoolArrayIterator<T, Alignment>& operator+= (deIntptr offs) { this->m_ndx += offs; return *this; } in operator +=() argument
191 PoolArrayIterator<T, Alignment>& operator-= (deIntptr offs) { this->m_ndx -= offs; return *this; } in operator -=() argument
456 …tIterator<T, Alignment> operator+ (const PoolArrayConstIterator<T, Alignment>& iter, deIntptr offs) in operator +() argument
458 return PoolArrayConstIterator<T, Alignment>(iter->getArray(), iter->getNdx()+offs); in operator +()
462 inline PoolArrayConstIterator<T, Alignment> operator+ (deUintptr offs, const PoolArrayConstIterator… in operator +() argument
464 return PoolArrayConstIterator<T, Alignment>(iter->getArray(), iter->getNdx()+offs); in operator +()
[all …]
/external/vboot_reference/firmware/2lib/
D2common.c36 uintptr_t offs = p & (align - 1); in vb2_align() local
38 if (offs) { in vb2_align()
39 offs = align - offs; in vb2_align()
41 if (*size < offs) in vb2_align()
44 *ptr += offs; in vb2_align()
45 *size -= offs; in vb2_align()
/external/iw/
Dwowlan.c112 char *len, *offs, *start; in wowlan_parse_tcp_file() local
115 offs = strchr(len, ','); in wowlan_parse_tcp_file()
116 if (!offs) in wowlan_parse_tcp_file()
118 *offs = 0; in wowlan_parse_tcp_file()
119 offs++; in wowlan_parse_tcp_file()
120 start = strchr(offs, ','); in wowlan_parse_tcp_file()
127 seq.offset = atoi(offs); in wowlan_parse_tcp_file()
134 char *len, *offs, *toks; in wowlan_parse_tcp_file() local
138 offs = strchr(len, ','); in wowlan_parse_tcp_file()
139 if (!offs) in wowlan_parse_tcp_file()
[all …]

12345678