Home
last modified time | relevance | path

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

12

/linux/fs/jffs2/
A Dscan.c333 uint32_t xid, version, totlen, crc; in jffs2_scan_xattr_node() local
350 if (totlen != je32_to_cpu(rx->totlen)) { in jffs2_scan_xattr_node()
352 ofs, je32_to_cpu(rx->totlen), totlen); in jffs2_scan_xattr_node()
403 ofs, je32_to_cpu(rr->totlen), in jffs2_scan_xref_node()
759 crcnode.totlen = node->totlen; in jffs2_scan_eraseblock()
767 je32_to_cpu(node->totlen), in jffs2_scan_eraseblock()
779 ofs, je32_to_cpu(node->totlen)); in jffs2_scan_eraseblock()
793 ofs += PAD(je32_to_cpu(node->totlen)); in jffs2_scan_eraseblock()
812 ofs += PAD(je32_to_cpu(node->totlen)); in jffs2_scan_eraseblock()
829 ofs += PAD(je32_to_cpu(node->totlen)); in jffs2_scan_eraseblock()
[all …]
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 …]
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()
1294 uint32_t totlen; in jffs2_verify_xattr() local
1309 c->unchecked_size -= totlen; c->used_size += totlen; in jffs2_verify_xattr()
[all …]
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
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()
A Ddir.c334 ri->totlen = cpu_to_je32(sizeof(*ri) + inode->i_size); in jffs2_symlink()
401 rd->totlen = cpu_to_je32(sizeof(*rd) + namelen); in jffs2_symlink()
545 rd->totlen = cpu_to_je32(sizeof(*rd) + namelen); in jffs2_mkdir()
667 ri->totlen = cpu_to_je32(sizeof(*ri) + devlen); in jffs2_mknod()
719 rd->totlen = cpu_to_je32(sizeof(*rd) + namelen); in jffs2_mknod()
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()
A 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()
1364 ri.totlen = cpu_to_je32(sizeof(ri) + cdatalen); in jffs2_garbage_collect_dnode()
A 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()
/linux/net/ife/
A Dife.c127 u16 *dlen, u16 *totlen) in ife_tlv_meta_decode() argument
138 if (totlen) in ife_tlv_meta_decode()
139 *totlen = nla_total_size(*dlen); in ife_tlv_meta_decode()
161 u16 totlen = nla_total_size(dlen); /*alignment + hdr */ in ife_tlv_meta_encode() local
166 memset(dptr, 0, totlen - NLA_HDRLEN); in ife_tlv_meta_encode()
169 return totlen; in ife_tlv_meta_encode()
/linux/include/uapi/linux/
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
/linux/include/net/
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()
A Dife.h15 u16 *dlen, u16 *totlen);
34 u16 *totlen) in ife_tlv_meta_decode() argument
A Dnetlink.h627 int totlen = NLMSG_ALIGN(nlh->nlmsg_len); in nlmsg_next() local
629 *remaining -= totlen; in nlmsg_next()
631 return (struct nlmsghdr *) ((unsigned char *) nlh + totlen); in nlmsg_next()
1173 unsigned int totlen = NLA_ALIGN(nla->nla_len); in nla_next() local
1175 *remaining -= totlen; in nla_next()
1176 return (struct nlattr *) ((char *) nla + totlen); in nla_next()
/linux/tools/lib/bpf/
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()
/linux/drivers/net/ethernet/rocker/
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()
/linux/drivers/net/ethernet/i825xx/
A Dsun3_82586.c759 unsigned short totlen; in sun3_82586_rcv_int() local
773 if( (totlen = swab16(rbd->status)) & RBD_LAST) /* the first and the last buffer? */ in sun3_82586_rcv_int()
775 totlen &= RBD_MASK; /* length of this frame */ in sun3_82586_rcv_int()
777 skb = netdev_alloc_skb(dev, totlen + 2); in sun3_82586_rcv_int()
781 skb_put(skb,totlen); in sun3_82586_rcv_int()
782 skb_copy_to_linear_data(skb,(char *) p->base+swab32((unsigned long) rbd->buffer),totlen); in sun3_82586_rcv_int()
794 totlen = 0; in sun3_82586_rcv_int()
797 totlen += rstat & RBD_MASK; in sun3_82586_rcv_int()
806 totlen += rstat & RBD_MASK; in sun3_82586_rcv_int()
808 printk("%s: received oversized frame! length: %d\n",dev->name,totlen); in sun3_82586_rcv_int()
/linux/net/netfilter/
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()
/linux/net/sunrpc/
A Dsvc_xprt.c1352 int len, totlen; in svc_xprt_names() local
1362 totlen = 0; in svc_xprt_names()
1364 len = svc_one_xprt_name(xprt, pos, buflen - totlen); in svc_xprt_names()
1367 totlen = len; in svc_xprt_names()
1373 totlen += len; in svc_xprt_names()
1377 return totlen; in svc_xprt_names()
/linux/fs/gfs2/
A Ddir.c449 unsigned totlen = be16_to_cpu(dent->de_rec_len); in gfs2_dirent_find_offset() local
451 if (ptr < (void *)dent || ptr >= (void *)dent + totlen) in gfs2_dirent_find_offset()
457 if ((void *)dent + totlen >= ptr + required) in gfs2_dirent_find_offset()
468 unsigned totlen = be16_to_cpu(dent->de_rec_len); in gfs2_dirent_find_space() local
472 if (totlen - actual >= required) in gfs2_dirent_find_space()
713 unsigned totlen; in do_init_dirent() local
715 totlen = be16_to_cpu(dent->de_rec_len); in do_init_dirent()
716 BUG_ON(offset + name->len > totlen); in do_init_dirent()
720 gfs2_qstr2dirent(name, totlen - offset, ndent); in do_init_dirent()
/linux/drivers/mtd/nand/raw/
A Dnand_bbt.c171 size_t retlen, len, totlen; in read_bbt() local
178 totlen = (num * bits) >> 3; in read_bbt()
182 while (totlen) { in read_bbt()
183 len = min(totlen, (size_t)(1 << this->bbt_erase_shift)); in read_bbt()
242 totlen -= len; in read_bbt()
/linux/include/linux/mtd/
A Ddoc2000.h183 unsigned long totlen; member
/linux/drivers/usb/core/
A Ddevio.c1599 unsigned int u, totlen, isofrmlen; in proc_do_submiturb() local
1728 for (totlen = u = 0; u < number_of_packets; u++) { in proc_do_submiturb()
1737 totlen += isopkt[u].length; in proc_do_submiturb()
1740 uurb->buffer_length = totlen; in proc_do_submiturb()
1790 totlen = uurb->buffer_length; in proc_do_submiturb()
1792 u = (totlen > USB_SG_SIZE) ? USB_SG_SIZE : totlen; in proc_do_submiturb()
1807 totlen -= u; in proc_do_submiturb()
1885 for (totlen = u = 0; u < number_of_packets; u++) { in proc_do_submiturb()
1886 as->urb->iso_frame_desc[u].offset = totlen; in proc_do_submiturb()
1888 totlen += isopkt[u].length; in proc_do_submiturb()
/linux/drivers/mtd/chips/
A Dcfi_cmdset_0020.c667 size_t totlen = 0, thislen; in cfi_staa_writev() local
696 totlen += thislen; in cfi_staa_writev()
706 totlen += thislen; in cfi_staa_writev()
720 totlen += thislen; in cfi_staa_writev()
726 *retlen = totlen; in cfi_staa_writev()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
A Dsdio.h324 struct sk_buff_head *pktq, uint totlen);

Completed in 67 milliseconds

12