Home
last modified time | relevance | path

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

123

/openbmc/linux/fs/jffs2/
H A Dscan.c335 uint32_t xid, version, totlen, crc; in jffs2_scan_xattr_node() local
352 if (totlen != je32_to_cpu(rx->totlen)) { in jffs2_scan_xattr_node()
354 ofs, je32_to_cpu(rx->totlen), totlen); in jffs2_scan_xattr_node()
405 ofs, je32_to_cpu(rr->totlen), in jffs2_scan_xref_node()
761 crcnode.totlen = node->totlen; in jffs2_scan_eraseblock()
769 je32_to_cpu(node->totlen), in jffs2_scan_eraseblock()
781 ofs, je32_to_cpu(node->totlen)); in jffs2_scan_eraseblock()
795 ofs += PAD(je32_to_cpu(node->totlen)); in jffs2_scan_eraseblock()
814 ofs += PAD(je32_to_cpu(node->totlen)); in jffs2_scan_eraseblock()
831 ofs += PAD(je32_to_cpu(node->totlen)); in jffs2_scan_eraseblock()
[all …]
H A 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()
588 crcnode.totlen = summary->totlen; in jffs2_sum_scan_sumnode()
711 isum.totlen = cpu_to_je32(infosize); in jffs2_sum_write_data()
729 sino_ptr->totlen = temp->i.totlen; in jffs2_sum_write_data()
740 sdrnt_ptr->totlen = temp->d.totlen; in jffs2_sum_write_data()
[all …]
H A Dxattr.c164 || je32_to_cpu(rx.totlen) != totlen in do_verify_xattr_datum()
171 je32_to_cpu(rx.totlen), totlen, 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
306 rx.totlen = cpu_to_je32(PAD(totlen)); in save_xattr_datum()
494 c->unchecked_size -= totlen; c->used_size += totlen; in verify_xattr_ref()
495 jeb->unchecked_size -= totlen; jeb->used_size += totlen; in verify_xattr_ref()
1301 uint32_t totlen; in jffs2_verify_xattr() local
1316 c->unchecked_size -= totlen; c->used_size += totlen; in jffs2_verify_xattr()
[all …]
H A 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
H A 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()
H A Ddir.c335 ri->totlen = cpu_to_je32(sizeof(*ri) + inode->i_size); in jffs2_symlink()
402 rd->totlen = cpu_to_je32(sizeof(*rd) + namelen); in jffs2_symlink()
547 rd->totlen = cpu_to_je32(sizeof(*rd) + namelen); in jffs2_mkdir()
670 ri->totlen = cpu_to_je32(sizeof(*ri) + devlen); in jffs2_mknod()
722 rd->totlen = cpu_to_je32(sizeof(*rd) + namelen); in jffs2_mknod()
H A 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()
/openbmc/u-boot/fs/jffs2/
H A Dsummary.h42 __u32 totlen; /* record length */ member
48 __u32 totlen; /* record length */ member
64 __u32 totlen; /* node length */ member
97 __u32 totlen; /* record length */ member
104 __u32 totlen; /* record length */ member
121 __u32 totlen; member
H A Djffs2_1pass.c1348 crcnode.totlen = summary->totlen; in jffs2_sum_scan_sumnode()
1357 if (summary->totlen != sumsize) { in jffs2_sum_scan_sumnode()
1673 if (ofs + node->totlen > in jffs2_1pass_build_lists()
1703 if (max_totlen < node->totlen) in jffs2_1pass_build_lists()
1704 max_totlen = node->totlen; in jffs2_1pass_build_lists()
1713 node->totlen, in jffs2_1pass_build_lists()
1739 max_totlen = node->totlen; in jffs2_1pass_build_lists()
1746 node->totlen, in jffs2_1pass_build_lists()
1748 if ((node->totlen == in jffs2_1pass_build_lists()
1763 node->totlen, in jffs2_1pass_build_lists()
[all …]
H A Djffs2_nand_1pass.c716 putLabeledWord("\tbuild_list: totlen = ", jNode->totlen); in dump_fragments()
865 if (node->totlen != sizeof(struct jffs2_unknown_node)) in jffs2_1pass_build_lists()
868 node->totlen, in jffs2_1pass_build_lists()
871 if (node->totlen < sizeof(struct jffs2_unknown_node)) in jffs2_1pass_build_lists()
874 node->totlen, in jffs2_1pass_build_lists()
879 node->totlen, offset); in jffs2_1pass_build_lists()
881 offset += ((node->totlen + 3) & ~3); in jffs2_1pass_build_lists()
882 ofs += ((node->totlen + 3) & ~3); in jffs2_1pass_build_lists()
/openbmc/linux/include/uapi/linux/
H A Djffs2.h107 jint32_t totlen; /* So we can skip over nodes we don't grok */ member
115 jint32_t totlen; member
139 jint32_t totlen; /* Total length of this node (inc data, etc.) */ member
164 jint32_t totlen; member
180 jint32_t totlen; member
192 jint32_t totlen; member
/openbmc/linux/net/ife/
H A Dife.c128 u16 *dlen, u16 *totlen) in ife_tlv_meta_decode() argument
139 if (totlen) in ife_tlv_meta_decode()
140 *totlen = nla_total_size(*dlen); in ife_tlv_meta_decode()
162 u16 totlen = nla_total_size(dlen); /*alignment + hdr */ in ife_tlv_meta_encode() local
167 memset(dptr, 0, totlen - NLA_HDRLEN); in ife_tlv_meta_encode()
170 return totlen; in ife_tlv_meta_encode()
/openbmc/linux/include/net/
H A Drtnh.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()
H A Dife.h15 u16 *dlen, u16 *totlen);
34 u16 *totlen) in ife_tlv_meta_decode() argument
H A Dnetlink.h639 int totlen = NLMSG_ALIGN(nlh->nlmsg_len); in nlmsg_next() local
641 *remaining -= totlen; in nlmsg_next()
643 return (struct nlmsghdr *) ((unsigned char *) nlh + totlen); in nlmsg_next()
1219 unsigned int totlen = NLA_ALIGN(nla->nla_len); in nla_next() local
1221 *remaining -= totlen; in nla_next()
1222 return (struct nlattr *) ((char *) nla + totlen); in nla_next()
/openbmc/u-boot/include/jffs2/
H A Djffs2.h118 __u32 totlen; /* So we can skip over nodes we don't grok */ member
126 __u32 totlen; member
150 __u32 totlen; /* Total length of this node (inc data, etc.) */ member
176 __u32 totlen; member
/openbmc/u-boot/lib/
H A Dhashtable.c601 size_t totlen; in hexport_r() local
617 for (i = 1, n = 0, totlen = 0; i <= htab->size; ++i) { in hexport_r()
631 totlen += strlen(ep->key); in hexport_r()
634 totlen += strlen(ep->data); in hexport_r()
639 ++totlen; in hexport_r()
642 ++totlen; in hexport_r()
646 totlen += 2; /* for '=' and 'sep' char */ in hexport_r()
664 if (size < totlen + 1) { /* provided buffer too small */ in hexport_r()
666 (ulong)size, (ulong)totlen + 1); in hexport_r()
671 size = totlen + 1; in hexport_r()
/openbmc/linux/tools/lib/bpf/
H A Dnlattr.c27 int totlen = NLA_ALIGN(nla->nla_len); in nla_next() local
29 *remaining -= totlen; in nla_next()
30 return (struct nlattr *)((void *)nla + totlen); in nla_next()
/openbmc/linux/fs/notify/fanotify/
H A Dfanotify.h181 unsigned int totlen) in fanotify_info_set_dir_fh() argument
189 info->dir_fh_totlen = totlen; in fanotify_info_set_dir_fh()
193 unsigned int totlen) in fanotify_info_set_dir2_fh() argument
200 info->dir2_fh_totlen = totlen; in fanotify_info_set_dir2_fh()
204 unsigned int totlen) in fanotify_info_set_file_fh() argument
210 info->file_fh_totlen = totlen; in fanotify_info_set_file_fh()
/openbmc/linux/drivers/net/ethernet/rocker/
H A Drocker_tlv.h32 int totlen = ROCKER_TLV_ALIGN(tlv->len); in rocker_tlv_next() local
34 *remaining -= totlen; in rocker_tlv_next()
35 return (struct rocker_tlv *) ((char *) tlv + totlen); in rocker_tlv_next()
/openbmc/qemu/hw/net/rocker/
H A Drocker_tlv.h36 int totlen = ROCKER_TLV_ALIGN(le16_to_cpu(tlv->len)); in rocker_tlv_next() local
38 *remaining -= totlen; in rocker_tlv_next()
39 return (RockerTlv *) ((char *) tlv + totlen); in rocker_tlv_next()
/openbmc/linux/drivers/net/ethernet/i825xx/
H A Dsun3_82586.c760 unsigned short totlen; in sun3_82586_rcv_int() local
774 if( (totlen = swab16(rbd->status)) & RBD_LAST) /* the first and the last buffer? */ in sun3_82586_rcv_int()
776 totlen &= RBD_MASK; /* length of this frame */ in sun3_82586_rcv_int()
778 skb = netdev_alloc_skb(dev, totlen + 2); in sun3_82586_rcv_int()
782 skb_put(skb,totlen); in sun3_82586_rcv_int()
783 skb_copy_to_linear_data(skb,(char *) p->base+swab32((unsigned long) rbd->buffer),totlen); in sun3_82586_rcv_int()
795 totlen = 0; in sun3_82586_rcv_int()
798 totlen += rstat & RBD_MASK; in sun3_82586_rcv_int()
807 totlen += rstat & RBD_MASK; in sun3_82586_rcv_int()
809 printk("%s: received oversized frame! length: %d\n",dev->name,totlen); in sun3_82586_rcv_int()
/openbmc/qemu/net/
H A Dnetmap.c163 ssize_t totlen = 0; in netmap_receive_iov() local
187 totlen += iov_frag_size; in netmap_receive_iov()
225 return totlen; in netmap_receive_iov()
/openbmc/linux/net/netfilter/
H A Dnfnetlink_osf.c59 u16 totlen; member
75 if (ctx->totlen != f->ss || !nf_osf_ttl(skb, ttl_check, f->ttl)) in nf_osf_match_one()
180 ctx->totlen = ntohs(ip->tot_len); in nf_osf_hdr_ctx_init()
/openbmc/linux/net/sunrpc/
H A Dsvc_xprt.c1346 int len, totlen; in svc_xprt_names() local
1356 totlen = 0; in svc_xprt_names()
1358 len = svc_one_xprt_name(xprt, pos, buflen - totlen); in svc_xprt_names()
1361 totlen = len; in svc_xprt_names()
1367 totlen += len; in svc_xprt_names()
1371 return totlen; in svc_xprt_names()

123