Searched refs:totlen (Results 1 - 15 of 15) sorted by relevance

/fs/jffs2/
H A Dsummary.h51 jint32_t totlen; /* record length */ member in struct:jffs2_sum_inode_flash
57 jint32_t totlen; /* record length */ member in struct:jffs2_sum_dirent_flash
73 jint32_t totlen; /* node length */ member in struct:jffs2_sum_xattr_flash
106 jint32_t totlen; /* record length */ member in struct:jffs2_sum_inode_mem
113 jint32_t totlen; /* record length */ member in struct:jffs2_sum_dirent_mem
130 jint32_t totlen; member in struct:jffs2_sum_xattr_mem
H A Dscan.c332 uint32_t xid, version, totlen, crc; local
339 if ((err = jffs2_scan_dirty_space(c, jeb, je32_to_cpu(rx->totlen))))
347 totlen = PAD(sizeof(struct jffs2_raw_xattr)
349 if (totlen != je32_to_cpu(rx->totlen)) {
351 ofs, je32_to_cpu(rx->totlen), totlen);
352 if ((err = jffs2_scan_dirty_space(c, jeb, je32_to_cpu(rx->totlen))))
363 = jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, totlen, NULL);
373 jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, totlen, (voi
[all...]
H A Dsummary.c127 temp->totlen = ri->totlen;
143 temp->totlen = rd->totlen;
170 temp->totlen = rx->totlen;
275 temp->totlen = node->i.totlen;
289 temp->totlen = node->d.totlen;
[all...]
H A Dxattr.c139 uint32_t crc, offset, totlen; local
161 totlen = PAD(sizeof(rx) + rx.name_len + 1 + je16_to_cpu(rx.value_len));
164 || je32_to_cpu(rx.totlen) != totlen
168 "nodetype=%#04x/%#04x, totlen=%u/%u, xid=%u/%u, version=%u/%u\n",
171 je32_to_cpu(rx.totlen), totlen,
186 totlen = PAD(ref_totlen(c, jeb, raw));
188 c->unchecked_size -= totlen; c->used_size += totlen;
290 int rc, totlen; local
450 uint32_t crc, offset, totlen; local
1215 uint32_t totlen, length, old_ofs; local
1251 uint32_t totlen, length, old_ofs; local
1288 uint32_t totlen; local
[all...]
H A Dwrite.c46 ri->totlen = cpu_to_je32(PAD(sizeof(*ri)));
82 if (je32_to_cpu(ri->totlen) != sizeof(*ri) + datalen) {
83 pr_warn("%s(): ri->totlen (0x%08x) != sizeof(*ri) (0x%08zx) + datalen (0x%08x)\n",
84 __func__, je32_to_cpu(ri->totlen),
193 jffs2_dbg(1, "jffs2_write_dnode wrote node at 0x%08x(%d) with dsize 0x%x, csize 0x%x, node_crc 0x%08x, data_crc 0x%08x, totlen 0x%08x\n",
196 je32_to_cpu(ri->data_crc), je32_to_cpu(ri->totlen));
376 ri->totlen = cpu_to_je32(sizeof(*ri) + cdatalen);
511 rd->totlen = cpu_to_je32(sizeof(*rd) + qstr->len);
574 rd->totlen = cpu_to_je32(sizeof(*rd) + namelen);
691 rd->totlen
[all...]
H A Ddebug.c319 uint32_t totlen = ref_totlen(c, jeb, ref2); local
329 my_unchecked_size += totlen;
331 my_used_size += totlen;
333 my_dirty_size += totlen;
792 printk(JFFS2_DBG "totlen:\t%#08x\n", je32_to_cpu(node.u.totlen));
H A Ddir.c329 ri->totlen = cpu_to_je32(sizeof(*ri) + inode->i_size);
395 rd->totlen = cpu_to_je32(sizeof(*rd) + namelen);
539 rd->totlen = cpu_to_je32(sizeof(*rd) + namelen);
660 ri->totlen = cpu_to_je32(sizeof(*ri) + devlen);
712 rd->totlen = cpu_to_je32(sizeof(*rd) + namelen);
H A Dgc.c587 /* Ask for a small amount of space (or the totlen if smaller) because we
795 ri.totlen = cpu_to_je32(sizeof(ri) + mdatalen);
841 rd.totlen = cpu_to_je32(sizeof(rd) + rd.nsize);
1025 if (je32_to_cpu(ri.totlen) != sizeof(ri)) {
1026 pr_warn("%s(): Node at 0x%08x had totlen 0x%x instead of expected 0x%zx\n",
1028 je32_to_cpu(ri.totlen), sizeof(ri));
1052 ri.totlen = cpu_to_je32(sizeof(ri));
1337 ri.totlen = cpu_to_je32(sizeof(ri) + cdatalen);
H A Dreadinode.c610 if (unlikely(PAD((rd->nsize + sizeof(*rd))) != PAD(je32_to_cpu(rd->totlen)))) {
611 JFFS2_ERROR("illegal nsize in node at %#08x: nsize %#02x, totlen %#04x\n",
612 ref_offset(ref), rd->nsize, je32_to_cpu(rd->totlen));
727 unlikely(PAD(je32_to_cpu(rd->csize) + sizeof(*rd)) != PAD(je32_to_cpu(rd->totlen)))) {
876 je32_to_cpu(un->totlen), je32_to_cpu(un->hdr_crc));
1044 je32_to_cpu(node->u.totlen),
H A Dfile.c179 ri.totlen = cpu_to_je32(sizeof(ri));
H A Dnodemgmt.c769 if (PAD(je32_to_cpu(n.totlen)) != PAD(freed_len)) {
770 pr_warn("Node totlen on flash (0x%08x) != totlen from node ref (0x%08x)\n",
771 je32_to_cpu(n.totlen), freed_len);
H A Derase.c455 .totlen = cpu_to_je32(c->cleanmarker_size)
H A Dwbuf.c620 padnode->totlen = cpu_to_je32(c->wbuf_pagesize - c->wbuf_len);
1026 .totlen = constant_cpu_to_je32(8)
H A Dfs.c96 ri->totlen = cpu_to_je32(sizeof(*ri) + mdatalen);
/fs/gfs2/
H A Ddir.c456 unsigned totlen = be16_to_cpu(dent->de_rec_len); local
460 if (totlen - actual >= required)
700 unsigned offset = 0, totlen; local
704 totlen = be16_to_cpu(dent->de_rec_len);
705 BUG_ON(offset + name->len > totlen);
709 gfs2_qstr2dirent(name, totlen - offset, ndent);

Completed in 70 milliseconds