/openbmc/linux/fs/jffs2/ |
H A D | scan.c | 335 uint32_t xid, version, totlen, crc; in jffs2_scan_xattr_node() local 342 if ((err = jffs2_scan_dirty_space(c, jeb, je32_to_cpu(rx->totlen)))) in jffs2_scan_xattr_node() 350 totlen = PAD(sizeof(struct jffs2_raw_xattr) in jffs2_scan_xattr_node() 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() 355 if ((err = jffs2_scan_dirty_space(c, jeb, je32_to_cpu(rx->totlen)))) in jffs2_scan_xattr_node() 366 = jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, totlen, NULL); in jffs2_scan_xattr_node() 376 jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, totlen, (void *)xd); in jffs2_scan_xattr_node() 398 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(rr->totlen))))) in jffs2_scan_xref_node() 403 if (PAD(sizeof(struct jffs2_raw_xref)) != je32_to_cpu(rr->totlen)) { in jffs2_scan_xref_node() [all …]
|
H A D | summary.c | 127 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 …]
|
H A D | xattr.c | 139 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 …]
|
H A D | summary.h | 51 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 D | write.c | 46 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 D | dir.c | 335 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 D | debug.c | 319 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 D | summary.h | 42 __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 D | jffs2_1pass.c | 248 JFFS2_MAGIC_BITMASK ? node.totlen : sizeof(node), in get_node_mem_nand() 251 off, node.magic, node.nodetype, node.totlen); in get_node_mem_nand() 347 JFFS2_MAGIC_BITMASK ? node.totlen : sizeof(node), in get_node_mem_onenand() 351 off, node.magic, node.nodetype, node.totlen); in get_node_mem_onenand() 395 pNode->totlen : sizeof(*pNode), ext_buf); in get_node_mem_nor() 723 putLabeledWord("\r\n\r\nread_inode: totlen = ", jNode->totlen); in jffs2_1pass_read_inode() 1348 crcnode.totlen = summary->totlen; in jffs2_sum_scan_sumnode() 1357 if (summary->totlen != sumsize) { in jffs2_sum_scan_sumnode() 1410 putLabeledWord("\tbuild_list: totlen = ", jNode->totlen); in dump_fragments() 1673 if (ofs + node->totlen > in jffs2_1pass_build_lists() [all …]
|
H A D | jffs2_nand_1pass.c | 716 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 D | jffs2.h | 107 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 D | ife.c | 128 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 D | rtnh.h | 18 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 D | ife.h | 15 u16 *dlen, u16 *totlen); 34 u16 *totlen) in ife_tlv_meta_decode() argument
|
H A D | netlink.h | 639 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 D | jffs2.h | 118 __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 D | hashtable.c | 601 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/fs/notify/fanotify/ |
H A D | fanotify.h | 181 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/tools/lib/bpf/ |
H A D | nlattr.c | 27 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/drivers/net/ethernet/rocker/ |
H A D | rocker_tlv.h | 32 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 D | rocker_tlv.h | 36 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 D | sun3_82586.c | 760 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 D | netmap.c | 163 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 D | nfnetlink_osf.c | 59 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 D | svc_xprt.c | 1346 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()
|