Home
last modified time | relevance | path

Searched refs:totlen (Results 1 – 22 of 22) sorted by relevance

/linux-4.19.296/fs/jffs2/
Dscan.c334 uint32_t xid, version, totlen, crc; in jffs2_scan_xattr_node() local
341 if ((err = jffs2_scan_dirty_space(c, jeb, je32_to_cpu(rx->totlen)))) in jffs2_scan_xattr_node()
349 totlen = PAD(sizeof(struct jffs2_raw_xattr) in jffs2_scan_xattr_node()
351 if (totlen != je32_to_cpu(rx->totlen)) { in jffs2_scan_xattr_node()
353 ofs, je32_to_cpu(rx->totlen), totlen); in jffs2_scan_xattr_node()
354 if ((err = jffs2_scan_dirty_space(c, jeb, je32_to_cpu(rx->totlen)))) in jffs2_scan_xattr_node()
365 = jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, totlen, NULL); in jffs2_scan_xattr_node()
375 jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, totlen, (void *)xd); in jffs2_scan_xattr_node()
397 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(rr->totlen))))) in jffs2_scan_xref_node()
402 if (PAD(sizeof(struct jffs2_raw_xref)) != je32_to_cpu(rr->totlen)) { in jffs2_scan_xref_node()
[all …]
Dsummary.c127 temp->totlen = ri->totlen; in jffs2_sum_add_inode_mem()
143 temp->totlen = rd->totlen; in jffs2_sum_add_dirent_mem()
170 temp->totlen = rx->totlen; in jffs2_sum_add_xattr_mem()
275 temp->totlen = node->i.totlen; in jffs2_sum_add_kvec()
289 temp->totlen = node->d.totlen; in jffs2_sum_add_kvec()
324 temp->totlen = node->x.totlen; in jffs2_sum_add_kvec()
344 c->summary->sum_padded += je32_to_cpu(node->u.totlen); in jffs2_sum_add_kvec()
416 jeb->offset + je32_to_cpu(spi->offset) + je32_to_cpu(spi->totlen)); in jffs2_sum_process_sum_data()
425 PAD(je32_to_cpu(spi->totlen)), ic); in jffs2_sum_process_sum_data()
441 jeb->offset + je32_to_cpu(spd->offset) + je32_to_cpu(spd->totlen)); in jffs2_sum_process_sum_data()
[all …]
Dxattr.c139 uint32_t crc, offset, totlen; in do_verify_xattr_datum() local
161 totlen = PAD(sizeof(rx) + rx.name_len + 1 + je16_to_cpu(rx.value_len)); in do_verify_xattr_datum()
164 || je32_to_cpu(rx.totlen) != totlen in do_verify_xattr_datum()
171 je32_to_cpu(rx.totlen), totlen, in do_verify_xattr_datum()
186 totlen = PAD(ref_totlen(c, jeb, raw)); in do_verify_xattr_datum()
188 c->unchecked_size -= totlen; c->used_size += totlen; in do_verify_xattr_datum()
189 jeb->unchecked_size -= totlen; jeb->used_size += totlen; in do_verify_xattr_datum()
290 int rc, totlen; in save_xattr_datum() local
300 totlen = vecs[0].iov_len + vecs[1].iov_len; in save_xattr_datum()
306 rx.totlen = cpu_to_je32(PAD(totlen)); in save_xattr_datum()
[all …]
Dsummary.h51 jint32_t totlen; /* record length */ member
57 jint32_t totlen; /* record length */ member
73 jint32_t totlen; /* node length */ member
106 jint32_t totlen; /* record length */ member
113 jint32_t totlen; /* record length */ member
130 jint32_t totlen; member
Dwrite.c46 ri->totlen = cpu_to_je32(PAD(sizeof(*ri))); in jffs2_do_new_inode()
82 if (je32_to_cpu(ri->totlen) != sizeof(*ri) + datalen) { in jffs2_write_dnode()
84 __func__, je32_to_cpu(ri->totlen), in jffs2_write_dnode()
196 je32_to_cpu(ri->data_crc), je32_to_cpu(ri->totlen)); in jffs2_write_dnode()
377 ri->totlen = cpu_to_je32(sizeof(*ri) + cdatalen); in jffs2_write_inode_range()
512 rd->totlen = cpu_to_je32(sizeof(*rd) + qstr->len); in jffs2_do_create()
575 rd->totlen = cpu_to_je32(sizeof(*rd) + namelen); in jffs2_do_unlink()
692 rd->totlen = cpu_to_je32(sizeof(*rd) + namelen); in jffs2_do_link()
Ddir.c330 ri->totlen = cpu_to_je32(sizeof(*ri) + inode->i_size); in jffs2_symlink()
397 rd->totlen = cpu_to_je32(sizeof(*rd) + namelen); in jffs2_symlink()
540 rd->totlen = cpu_to_je32(sizeof(*rd) + namelen); in jffs2_mkdir()
661 ri->totlen = cpu_to_je32(sizeof(*ri) + devlen); in jffs2_mknod()
713 rd->totlen = cpu_to_je32(sizeof(*rd) + namelen); in jffs2_mknod()
Ddebug.c319 uint32_t totlen = ref_totlen(c, jeb, ref2); in __jffs2_dbg_acct_paranoia_check_nolock() local
329 my_unchecked_size += totlen; in __jffs2_dbg_acct_paranoia_check_nolock()
331 my_used_size += totlen; in __jffs2_dbg_acct_paranoia_check_nolock()
333 my_dirty_size += totlen; in __jffs2_dbg_acct_paranoia_check_nolock()
792 printk(JFFS2_DBG "totlen:\t%#08x\n", je32_to_cpu(node.u.totlen)); in __jffs2_dbg_dump_node()
Dgc.c815 ri.totlen = cpu_to_je32(sizeof(ri) + mdatalen); in jffs2_garbage_collect_metadata()
861 rd.totlen = cpu_to_je32(sizeof(rd) + rd.nsize); in jffs2_garbage_collect_dirent()
1045 if (je32_to_cpu(ri.totlen) != sizeof(ri)) { in jffs2_garbage_collect_hole()
1048 je32_to_cpu(ri.totlen), sizeof(ri)); in jffs2_garbage_collect_hole()
1072 ri.totlen = cpu_to_je32(sizeof(ri)); in jffs2_garbage_collect_hole()
1360 ri.totlen = cpu_to_je32(sizeof(ri) + cdatalen); in jffs2_garbage_collect_dnode()
Dreadinode.c610 if (unlikely(PAD((rd->nsize + sizeof(*rd))) != PAD(je32_to_cpu(rd->totlen)))) { in read_direntry()
612 ref_offset(ref), rd->nsize, je32_to_cpu(rd->totlen)); in read_direntry()
747 unlikely(PAD(je32_to_cpu(rd->csize) + sizeof(*rd)) != PAD(je32_to_cpu(rd->totlen)))) { in read_dnode()
896 je32_to_cpu(un->totlen), je32_to_cpu(un->hdr_crc)); in read_unknown()
1064 je32_to_cpu(node->u.totlen), in jffs2_get_inode_nodes()
Dnodemgmt.c769 if (PAD(je32_to_cpu(n.totlen)) != PAD(freed_len)) { in jffs2_mark_node_obsolete()
771 je32_to_cpu(n.totlen), freed_len); in jffs2_mark_node_obsolete()
Dfile.c163 ri.totlen = cpu_to_je32(sizeof(ri)); in jffs2_write_begin()
Derase.c428 .totlen = cpu_to_je32(c->cleanmarker_size) in jffs2_mark_erased_block()
Dwbuf.c620 padnode->totlen = cpu_to_je32(c->wbuf_pagesize - c->wbuf_len); in __jffs2_flush_wbuf()
1026 .totlen = constant_cpu_to_je32(8)
Dfs.c97 ri->totlen = cpu_to_je32(sizeof(*ri) + mdatalen); in jffs2_do_setattr()
/linux-4.19.296/include/uapi/linux/
Djffs2.h112 jint32_t totlen; /* So we can skip over nodes we don't grok */ member
120 jint32_t totlen; member
144 jint32_t totlen; /* Total length of this node (inc data, etc.) */ member
169 jint32_t totlen; member
185 jint32_t totlen; member
197 jint32_t totlen; member
/linux-4.19.296/include/net/
Dnexthop.h18 int totlen = NLA_ALIGN(rtnh->rtnh_len); in rtnh_next() local
20 *remaining -= totlen; in rtnh_next()
21 return (struct rtnexthop *) ((char *) rtnh + totlen); in rtnh_next()
Dife.h16 u16 *dlen, u16 *totlen);
35 u16 *totlen) in ife_tlv_meta_decode() argument
Dnetlink.h372 int totlen = NLMSG_ALIGN(nlh->nlmsg_len); in nlmsg_next() local
374 *remaining -= totlen; in nlmsg_next()
376 return (struct nlmsghdr *) ((unsigned char *) nlh + totlen); in nlmsg_next()
731 unsigned int totlen = NLA_ALIGN(nla->nla_len); in nla_next() local
733 *remaining -= totlen; in nla_next()
734 return (struct nlattr *) ((char *) nla + totlen); in nla_next()
/linux-4.19.296/include/linux/mtd/
Ddoc2000.h197 unsigned long totlen; member
/linux-4.19.296/fs/gfs2/
Ddir.c456 unsigned totlen = be16_to_cpu(dent->de_rec_len); in gfs2_dirent_find_offset() local
458 if (ptr < (void *)dent || ptr >= (void *)dent + totlen) in gfs2_dirent_find_offset()
464 if ((void *)dent + totlen >= ptr + required) in gfs2_dirent_find_offset()
475 unsigned totlen = be16_to_cpu(dent->de_rec_len); in gfs2_dirent_find_space() local
479 if (totlen - actual >= required) in gfs2_dirent_find_space()
717 unsigned totlen; in do_init_dirent() local
719 totlen = be16_to_cpu(dent->de_rec_len); in do_init_dirent()
720 BUG_ON(offset + name->len > totlen); in do_init_dirent()
724 gfs2_qstr2dirent(name, totlen - offset, ndent); in do_init_dirent()
/linux-4.19.296/drivers/isdn/i4l/
Disdn_bsdcomp.c116 int totlen; /* length of this structure */ member
367 db->totlen = sizeof(struct bsd_db) + (sizeof(struct bsd_dict) * hsize); in bsd_alloc()
/linux-4.19.296/drivers/media/usb/usbvision/
Dusbvision-core.c1194 int i, totlen = 0; in usbvision_compress_isochronous() local
1251 totlen += packet_len; in usbvision_compress_isochronous()
1256 if (totlen > 0) { in usbvision_compress_isochronous()
1261 usbvision_hexdump(data0, (totlen > 64) ? 64 : totlen); in usbvision_compress_isochronous()
1266 return totlen; in usbvision_compress_isochronous()