Home
last modified time | relevance | path

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

12

/linux-2.6.39/fs/jffs2/
Dscan.c324 uint32_t xid, version, totlen, crc; in jffs2_scan_xattr_node() local
331 if ((err = jffs2_scan_dirty_space(c, jeb, je32_to_cpu(rx->totlen)))) in jffs2_scan_xattr_node()
339 totlen = PAD(sizeof(struct jffs2_raw_xattr) in jffs2_scan_xattr_node()
341 if (totlen != je32_to_cpu(rx->totlen)) { in jffs2_scan_xattr_node()
343 ofs, je32_to_cpu(rx->totlen), totlen); in jffs2_scan_xattr_node()
344 if ((err = jffs2_scan_dirty_space(c, jeb, je32_to_cpu(rx->totlen)))) in jffs2_scan_xattr_node()
355 = jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, totlen, NULL); in jffs2_scan_xattr_node()
365 jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, totlen, (void *)xd); in jffs2_scan_xattr_node()
387 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(rr->totlen))))) in jffs2_scan_xref_node()
392 if (PAD(sizeof(struct jffs2_raw_xref)) != je32_to_cpu(rr->totlen)) { in jffs2_scan_xref_node()
[all …]
Dsummary.c125 temp->totlen = ri->totlen; in jffs2_sum_add_inode_mem()
141 temp->totlen = rd->totlen; in jffs2_sum_add_dirent_mem()
168 temp->totlen = rx->totlen; in jffs2_sum_add_xattr_mem()
273 temp->totlen = node->i.totlen; in jffs2_sum_add_kvec()
287 temp->totlen = node->d.totlen; in jffs2_sum_add_kvec()
322 temp->totlen = node->x.totlen; in jffs2_sum_add_kvec()
342 c->summary->sum_padded += je32_to_cpu(node->u.totlen); in jffs2_sum_add_kvec()
414 jeb->offset + je32_to_cpu(spi->offset) + je32_to_cpu(spi->totlen)); in jffs2_sum_process_sum_data()
423 PAD(je32_to_cpu(spi->totlen)), ic); in jffs2_sum_process_sum_data()
439 jeb->offset + je32_to_cpu(spd->offset) + je32_to_cpu(spd->totlen)); in jffs2_sum_process_sum_data()
[all …]
Dxattr.c134 uint32_t crc, offset, totlen; in do_verify_xattr_datum() local
156 totlen = PAD(sizeof(rx) + rx.name_len + 1 + je16_to_cpu(rx.value_len)); in do_verify_xattr_datum()
159 || je32_to_cpu(rx.totlen) != totlen in do_verify_xattr_datum()
166 je32_to_cpu(rx.totlen), totlen, in do_verify_xattr_datum()
181 totlen = PAD(ref_totlen(c, jeb, raw)); in do_verify_xattr_datum()
183 c->unchecked_size -= totlen; c->used_size += totlen; in do_verify_xattr_datum()
184 jeb->unchecked_size -= totlen; jeb->used_size += totlen; in do_verify_xattr_datum()
285 int rc, totlen; in save_xattr_datum() local
295 totlen = vecs[0].iov_len + vecs[1].iov_len; in save_xattr_datum()
301 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
Dwritev.c23 size_t totlen = 0, thislen; in mtd_fake_writev() local
30 totlen += thislen; in mtd_fake_writev()
36 *retlen = totlen; in mtd_fake_writev()
Dwrite.c44 ri->totlen = cpu_to_je32(PAD(sizeof(*ri))); in jffs2_do_new_inode()
80 if (je32_to_cpu(ri->totlen) != sizeof(*ri) + datalen) { in jffs2_write_dnode()
81 …(0x%08x) != sizeof(*ri) (0x%08zx) + datalen (0x%08x)\n", je32_to_cpu(ri->totlen), sizeof(*ri), dat… in jffs2_write_dnode()
189 je32_to_cpu(ri->data_crc), je32_to_cpu(ri->totlen))); in jffs2_write_dnode()
364 ri->totlen = cpu_to_je32(sizeof(*ri) + cdatalen); in jffs2_write_inode_range()
498 rd->totlen = cpu_to_je32(sizeof(*rd) + qstr->len); in jffs2_do_create()
561 rd->totlen = cpu_to_je32(sizeof(*rd) + namelen); in jffs2_do_unlink()
676 rd->totlen = cpu_to_je32(sizeof(*rd) + namelen); in jffs2_do_link()
Ddir.c349 ri->totlen = cpu_to_je32(sizeof(*ri) + inode->i_size); in jffs2_symlink()
414 rd->totlen = cpu_to_je32(sizeof(*rd) + namelen); in jffs2_symlink()
558 rd->totlen = cpu_to_je32(sizeof(*rd) + namelen); in jffs2_mkdir()
679 ri->totlen = cpu_to_je32(sizeof(*ri) + devlen); in jffs2_mknod()
731 rd->totlen = cpu_to_je32(sizeof(*rd) + namelen); in jffs2_mknod()
Ddebug.c313 uint32_t totlen = ref_totlen(c, jeb, ref2); in __jffs2_dbg_acct_paranoia_check_nolock() local
323 my_unchecked_size += totlen; in __jffs2_dbg_acct_paranoia_check_nolock()
325 my_used_size += totlen; in __jffs2_dbg_acct_paranoia_check_nolock()
327 my_dirty_size += totlen; in __jffs2_dbg_acct_paranoia_check_nolock()
786 printk(JFFS2_DBG "totlen:\t%#08x\n", je32_to_cpu(node.u.totlen)); in __jffs2_dbg_dump_node()
Dgc.c765 ri.totlen = cpu_to_je32(sizeof(ri) + mdatalen); in jffs2_garbage_collect_metadata()
811 rd.totlen = cpu_to_je32(sizeof(rd) + rd.nsize); in jffs2_garbage_collect_dirent()
988 if (je32_to_cpu(ri.totlen) != sizeof(ri)) { in jffs2_garbage_collect_hole()
991 je32_to_cpu(ri.totlen), sizeof(ri)); in jffs2_garbage_collect_hole()
1014 ri.totlen = cpu_to_je32(sizeof(ri)); in jffs2_garbage_collect_hole()
1286 ri.totlen = cpu_to_je32(sizeof(ri) + cdatalen); in jffs2_garbage_collect_dnode()
/linux-2.6.39/include/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-2.6.39/include/net/
Dnexthop.h17 int totlen = NLA_ALIGN(rtnh->rtnh_len); in rtnh_next() local
19 *remaining -= totlen; in rtnh_next()
20 return (struct rtnexthop *) ((char *) rtnh + totlen); in rtnh_next()
Dnetlink.h354 int totlen = NLMSG_ALIGN(nlh->nlmsg_len); in nlmsg_next() local
356 *remaining -= totlen; in nlmsg_next()
358 return (struct nlmsghdr *) ((unsigned char *) nlh + totlen); in nlmsg_next()
721 int totlen = NLA_ALIGN(nla->nla_len); in nla_next() local
723 *remaining -= totlen; in nla_next()
724 return (struct nlattr *) ((char *) nla + totlen); in nla_next()
/linux-2.6.39/drivers/net/
Dni52.c951 unsigned short totlen; in ni52_rcv_int() local
962 totlen = readw(&rbd->status); in ni52_rcv_int()
963 if (totlen & RBD_LAST) { in ni52_rcv_int()
965 totlen &= RBD_MASK; /* length of this frame */ in ni52_rcv_int()
967 skb = (struct sk_buff *)dev_alloc_skb(totlen+2); in ni52_rcv_int()
970 skb_put(skb, totlen); in ni52_rcv_int()
971 memcpy_fromio(skb->data, p->base + readl(&rbd->buffer), totlen); in ni52_rcv_int()
975 dev->stats.rx_bytes += totlen; in ni52_rcv_int()
981 totlen = 0; in ni52_rcv_int()
983 totlen += rstat & RBD_MASK; in ni52_rcv_int()
[all …]
Dsun3_82586.c764 unsigned short totlen; in sun3_82586_rcv_int() local
778 if( (totlen = swab16(rbd->status)) & RBD_LAST) /* the first and the last buffer? */ in sun3_82586_rcv_int()
780 totlen &= RBD_MASK; /* length of this frame */ in sun3_82586_rcv_int()
782 skb = (struct sk_buff *) dev_alloc_skb(totlen+2); in sun3_82586_rcv_int()
786 skb_put(skb,totlen); in sun3_82586_rcv_int()
787 skb_copy_to_linear_data(skb,(char *) p->base+swab32((unsigned long) rbd->buffer),totlen); in sun3_82586_rcv_int()
799 totlen = 0; in sun3_82586_rcv_int()
802 totlen += rstat & RBD_MASK; in sun3_82586_rcv_int()
811 totlen += rstat & RBD_MASK; in sun3_82586_rcv_int()
813 printk("%s: received oversized frame! length: %d\n",dev->name,totlen); in sun3_82586_rcv_int()
D3c523.c974 unsigned short totlen; in elmc_rcv_int() local
983 if ((totlen = rbd->status) & RBD_LAST) { /* the first and the last buffer? */ in elmc_rcv_int()
984 totlen &= RBD_MASK; /* length of this frame */ in elmc_rcv_int()
986 skb = (struct sk_buff *) dev_alloc_skb(totlen + 2); in elmc_rcv_int()
989 skb_put(skb,totlen); in elmc_rcv_int()
990 skb_copy_to_linear_data(skb, (char *) p->base+(unsigned long) rbd->buffer,totlen); in elmc_rcv_int()
994 dev->stats.rx_bytes += totlen; in elmc_rcv_int()
/linux-2.6.39/drivers/mtd/devices/
Ddoc2001.c280 this->totlen = this->numchips * (1 << this->chipshift); in DoC_ScanChips()
282 this->numchips ,this->totlen >> 20); in DoC_ScanChips()
364 this->totlen = 0; in DoCMil_init()
372 if (!this->totlen) { in DoCMil_init()
378 mtd->size = this->totlen; in DoCMil_init()
396 if (from >= this->totlen) in doc_read()
507 if (to >= this->totlen) in doc_write()
Ddoc2001plus.c403 this->totlen = this->numchips * (1 << this->chipshift); in DoC_ScanChips()
405 this->numchips ,this->totlen >> 20); in DoC_ScanChips()
486 this->totlen = 0; in DoCMilPlus_init()
494 if (!this->totlen) { in DoCMilPlus_init()
500 mtd->size = this->totlen; in DoCMilPlus_init()
522 if (from >= this->totlen)
595 if (from >= this->totlen) in doc_read()
714 if (to >= this->totlen) in doc_write()
Ddoc2000.c473 this->totlen = this->numchips * (1 << this->chipshift); in DoC_ScanChips()
476 this->numchips, this->totlen >> 20); in DoC_ScanChips()
582 this->totlen = 0; in DoC2k_init()
592 if (!this->totlen) { in DoC2k_init()
598 mtd->size = this->totlen; in DoC2k_init()
618 if (from >= this->totlen) in doc_read()
764 if (to >= this->totlen) in doc_write()
/linux-2.6.39/net/netfilter/
Dxt_osf.c205 u16 window, totlen, mss = 0; in xt_osf_match_packet() local
222 totlen = ntohs(ip->tot_len); in xt_osf_match_packet()
243 if (totlen == f->ss && xt_osf_ttl(skb, info, f->ttl)) { in xt_osf_match_packet()
/linux-2.6.39/drivers/staging/brcm80211/util/
Dbcmutils.c812 int totlen; in bcm_parse_tlvs() local
815 totlen = buflen; in bcm_parse_tlvs()
818 while (totlen >= 2) { in bcm_parse_tlvs()
822 if ((elt->id == key) && (totlen >= (len + 2))) in bcm_parse_tlvs()
826 totlen -= (len + 2); in bcm_parse_tlvs()
/linux-2.6.39/net/sunrpc/
Dsvc_xprt.c1145 int len, totlen; in svc_xprt_names() local
1155 totlen = 0; in svc_xprt_names()
1157 len = svc_one_xprt_name(xprt, pos, buflen - totlen); in svc_xprt_names()
1160 totlen = len; in svc_xprt_names()
1166 totlen += len; in svc_xprt_names()
1170 return totlen; in svc_xprt_names()
/linux-2.6.39/drivers/mtd/
Dmtdcore.c620 size_t totlen = 0, thislen; in default_mtd_writev() local
630 totlen += thislen; in default_mtd_writev()
637 *retlen = totlen; in default_mtd_writev()
/linux-2.6.39/include/linux/mtd/
Ddoc2000.h183 unsigned long totlen; member
/linux-2.6.39/drivers/mtd/nand/
Dnand_bbt.c216 size_t retlen, len, totlen; in read_bbt() local
223 totlen = (num * bits) >> 3; in read_bbt()
227 while (totlen) { in read_bbt()
228 len = min(totlen, (size_t) (1 << this->bbt_erase_shift)); in read_bbt()
273 totlen -= len; in read_bbt()
/linux-2.6.39/drivers/usb/core/
Ddevio.c1052 unsigned int u, totlen, isofrmlen; in proc_do_submiturb() local
1167 for (totlen = u = 0; u < uurb->number_of_packets; u++) { in proc_do_submiturb()
1174 totlen += isopkt[u].length; in proc_do_submiturb()
1177 if (totlen > 196608) { in proc_do_submiturb()
1181 uurb->buffer_length = totlen; in proc_do_submiturb()
1250 for (totlen = u = 0; u < uurb->number_of_packets; u++) { in proc_do_submiturb()
1251 as->urb->iso_frame_desc[u].offset = totlen; in proc_do_submiturb()
1253 totlen += isopkt[u].length; in proc_do_submiturb()

12