/linux-4.4.14/fs/jffs2/ |
D | scan.c | 332 uint32_t xid, version, totlen, crc; in jffs2_scan_xattr_node() local 339 if ((err = jffs2_scan_dirty_space(c, jeb, je32_to_cpu(rx->totlen)))) in jffs2_scan_xattr_node() 347 totlen = PAD(sizeof(struct jffs2_raw_xattr) in jffs2_scan_xattr_node() 349 if (totlen != je32_to_cpu(rx->totlen)) { in jffs2_scan_xattr_node() 351 ofs, je32_to_cpu(rx->totlen), totlen); in jffs2_scan_xattr_node() 352 if ((err = jffs2_scan_dirty_space(c, jeb, je32_to_cpu(rx->totlen)))) in jffs2_scan_xattr_node() 363 = jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, totlen, NULL); in jffs2_scan_xattr_node() 373 jffs2_link_node_ref(c, jeb, ofs | REF_PRISTINE, totlen, (void *)xd); in jffs2_scan_xattr_node() 395 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(rr->totlen))))) in jffs2_scan_xref_node() 400 if (PAD(sizeof(struct jffs2_raw_xref)) != je32_to_cpu(rr->totlen)) { in jffs2_scan_xref_node() [all …]
|
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 …]
|
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 …]
|
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
|
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() 376 ri->totlen = cpu_to_je32(sizeof(*ri) + cdatalen); in jffs2_write_inode_range() 511 rd->totlen = cpu_to_je32(sizeof(*rd) + qstr->len); in jffs2_do_create() 574 rd->totlen = cpu_to_je32(sizeof(*rd) + namelen); in jffs2_do_unlink() 691 rd->totlen = cpu_to_je32(sizeof(*rd) + namelen); in jffs2_do_link()
|
D | dir.c | 329 ri->totlen = cpu_to_je32(sizeof(*ri) + inode->i_size); in jffs2_symlink() 396 rd->totlen = cpu_to_je32(sizeof(*rd) + namelen); in jffs2_symlink() 540 rd->totlen = cpu_to_je32(sizeof(*rd) + namelen); in jffs2_mkdir() 658 ri->totlen = cpu_to_je32(sizeof(*ri) + devlen); in jffs2_mknod() 710 rd->totlen = cpu_to_je32(sizeof(*rd) + namelen); in jffs2_mknod()
|
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()
|
D | gc.c | 795 ri.totlen = cpu_to_je32(sizeof(ri) + mdatalen); in jffs2_garbage_collect_metadata() 841 rd.totlen = cpu_to_je32(sizeof(rd) + rd.nsize); in jffs2_garbage_collect_dirent() 1025 if (je32_to_cpu(ri.totlen) != sizeof(ri)) { in jffs2_garbage_collect_hole() 1028 je32_to_cpu(ri.totlen), sizeof(ri)); in jffs2_garbage_collect_hole() 1052 ri.totlen = cpu_to_je32(sizeof(ri)); in jffs2_garbage_collect_hole() 1340 ri.totlen = cpu_to_je32(sizeof(ri) + cdatalen); in jffs2_garbage_collect_dnode()
|
D | readinode.c | 610 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() 731 unlikely(PAD(je32_to_cpu(rd->csize) + sizeof(*rd)) != PAD(je32_to_cpu(rd->totlen)))) { in read_dnode() 880 je32_to_cpu(un->totlen), je32_to_cpu(un->hdr_crc)); in read_unknown() 1048 je32_to_cpu(node->u.totlen), in jffs2_get_inode_nodes()
|
D | nodemgmt.c | 769 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()
|
D | file.c | 171 ri.totlen = cpu_to_je32(sizeof(ri)); in jffs2_write_begin()
|
D | erase.c | 455 .totlen = cpu_to_je32(c->cleanmarker_size) in jffs2_mark_erased_block()
|
D | wbuf.c | 620 padnode->totlen = cpu_to_je32(c->wbuf_pagesize - c->wbuf_len); in __jffs2_flush_wbuf() 1026 .totlen = constant_cpu_to_je32(8)
|
D | fs.c | 96 ri->totlen = cpu_to_je32(sizeof(*ri) + mdatalen); in jffs2_do_setattr()
|
/linux-4.4.14/include/uapi/linux/ |
D | jffs2.h | 112 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.4.14/include/net/ |
D | nexthop.h | 17 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()
|
D | netlink.h | 351 int totlen = NLMSG_ALIGN(nlh->nlmsg_len); in nlmsg_next() local 353 *remaining -= totlen; in nlmsg_next() 355 return (struct nlmsghdr *) ((unsigned char *) nlh + totlen); in nlmsg_next() 705 int totlen = NLA_ALIGN(nla->nla_len); in nla_next() local 707 *remaining -= totlen; in nla_next() 708 return (struct nlattr *) ((char *) nla + totlen); in nla_next()
|
/linux-4.4.14/drivers/net/ethernet/i825xx/ |
D | sun3_82586.c | 763 unsigned short totlen; in sun3_82586_rcv_int() local 777 if( (totlen = swab16(rbd->status)) & RBD_LAST) /* the first and the last buffer? */ in sun3_82586_rcv_int() 779 totlen &= RBD_MASK; /* length of this frame */ in sun3_82586_rcv_int() 781 skb = netdev_alloc_skb(dev, totlen + 2); in sun3_82586_rcv_int() 785 skb_put(skb,totlen); in sun3_82586_rcv_int() 786 skb_copy_to_linear_data(skb,(char *) p->base+swab32((unsigned long) rbd->buffer),totlen); in sun3_82586_rcv_int() 798 totlen = 0; in sun3_82586_rcv_int() 801 totlen += rstat & RBD_MASK; in sun3_82586_rcv_int() 810 totlen += rstat & RBD_MASK; in sun3_82586_rcv_int() 812 printk("%s: received oversized frame! length: %d\n",dev->name,totlen); in sun3_82586_rcv_int()
|
/linux-4.4.14/net/netfilter/ |
D | xt_osf.c | 197 u16 window, totlen, mss = 0; in xt_osf_match_packet() local 215 totlen = ntohs(ip->tot_len); in xt_osf_match_packet() 238 if (totlen != f->ss || !xt_osf_ttl(skb, info, f->ttl)) in xt_osf_match_packet()
|
/linux-4.4.14/net/sunrpc/ |
D | svc_xprt.c | 1266 int len, totlen; in svc_xprt_names() local 1276 totlen = 0; in svc_xprt_names() 1278 len = svc_one_xprt_name(xprt, pos, buflen - totlen); in svc_xprt_names() 1281 totlen = len; in svc_xprt_names() 1287 totlen += len; in svc_xprt_names() 1291 return totlen; in svc_xprt_names()
|
/linux-4.4.14/drivers/usb/core/ |
D | devio.c | 1294 unsigned int u, totlen, isofrmlen; in proc_do_submiturb() local 1405 for (totlen = u = 0; u < number_of_packets; u++) { in proc_do_submiturb() 1416 totlen += isopkt[u].length; in proc_do_submiturb() 1419 uurb->buffer_length = totlen; in proc_do_submiturb() 1459 totlen = uurb->buffer_length; in proc_do_submiturb() 1461 u = (totlen > USB_SG_SIZE) ? USB_SG_SIZE : totlen; in proc_do_submiturb() 1476 totlen -= u; in proc_do_submiturb() 1539 for (totlen = u = 0; u < number_of_packets; u++) { in proc_do_submiturb() 1540 as->urb->iso_frame_desc[u].offset = totlen; in proc_do_submiturb() 1542 totlen += isopkt[u].length; in proc_do_submiturb()
|
/linux-4.4.14/include/linux/mtd/ |
D | doc2000.h | 197 unsigned long totlen; member
|
/linux-4.4.14/drivers/mtd/nand/ |
D | nand_bbt.c | 176 size_t retlen, len, totlen; in read_bbt() local 183 totlen = (num * bits) >> 3; in read_bbt() 187 while (totlen) { in read_bbt() 188 len = min(totlen, (size_t)(1 << this->bbt_erase_shift)); in read_bbt() 247 totlen -= len; in read_bbt()
|
/linux-4.4.14/drivers/mtd/chips/ |
D | cfi_cmdset_0020.c | 666 size_t totlen = 0, thislen; in cfi_staa_writev() local 695 totlen += thislen; in cfi_staa_writev() 705 totlen += thislen; in cfi_staa_writev() 719 totlen += thislen; in cfi_staa_writev() 725 *retlen = totlen; in cfi_staa_writev()
|
/linux-4.4.14/fs/gfs2/ |
D | dir.c | 452 unsigned totlen = be16_to_cpu(dent->de_rec_len); in gfs2_dirent_find_space() local 456 if (totlen - actual >= required) in gfs2_dirent_find_space() 696 unsigned offset = 0, totlen; in gfs2_init_dirent() local 700 totlen = be16_to_cpu(dent->de_rec_len); in gfs2_init_dirent() 701 BUG_ON(offset + name->len > totlen); in gfs2_init_dirent() 705 gfs2_qstr2dirent(name, totlen - offset, ndent); in gfs2_init_dirent()
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/ |
D | sdio.h | 324 struct sk_buff_head *pktq, uint totlen);
|
D | sdio.c | 1544 u16 dlen, totlen; in brcmf_sdio_rxglom() local 1571 for (totlen = num = 0; dlen; num++) { in brcmf_sdio_rxglom() 1587 totlen += sublen; in brcmf_sdio_rxglom() 1593 (roundup(totlen, bus->blocksize) - totlen); in brcmf_sdio_rxglom() 1594 totlen = roundup(totlen, bus->blocksize); in brcmf_sdio_rxglom() 1614 totlen, num); in brcmf_sdio_rxglom() 1616 totlen != bus->cur_read.len) { in brcmf_sdio_rxglom() 1618 bus->cur_read.len, totlen, rxseq); in brcmf_sdio_rxglom()
|
D | bcmsdh.c | 706 struct sk_buff_head *pktq, uint totlen) in brcmf_sdiod_recv_chain() argument 724 glom_skb = brcmu_pkt_buf_get_skb(totlen); in brcmf_sdiod_recv_chain()
|
D | cfg80211.c | 320 int totlen = buflen; in brcmf_parse_tlvs() local 323 while (totlen >= TLV_HDR_LEN) { in brcmf_parse_tlvs() 327 if ((elt->id == key) && (totlen >= (len + TLV_HDR_LEN))) in brcmf_parse_tlvs() 331 totlen -= (len + TLV_HDR_LEN); in brcmf_parse_tlvs()
|
/linux-4.4.14/drivers/isdn/i4l/ |
D | isdn_bsdcomp.c | 116 int totlen; /* length of this structure */ member 366 db->totlen = sizeof(struct bsd_db) + (sizeof(struct bsd_dict) * hsize); in bsd_alloc()
|
/linux-4.4.14/drivers/media/usb/usbvision/ |
D | usbvision-core.c | 1203 int i, totlen = 0; in usbvision_compress_isochronous() local 1260 totlen += packet_len; in usbvision_compress_isochronous() 1265 if (totlen > 0) { in usbvision_compress_isochronous() 1270 usbvision_hexdump(data0, (totlen > 64) ? 64 : totlen); in usbvision_compress_isochronous() 1275 return totlen; in usbvision_compress_isochronous()
|
/linux-4.4.14/drivers/mtd/ |
D | mtdcore.c | 1161 size_t totlen = 0, thislen; in default_mtd_writev() local 1169 totlen += thislen; in default_mtd_writev() 1174 *retlen = totlen; in default_mtd_writev()
|
/linux-4.4.14/drivers/net/ppp/ |
D | bsd_comp.c | 137 int totlen; /* length of this structure */ member 438 db->totlen = sizeof (struct bsd_db) + in bsd_alloc()
|
D | ppp_generic.c | 1417 int len, totlen; in ppp_mp_explode() local 1481 totlen = len; in ppp_mp_explode() 1530 totlen = len; in ppp_mp_explode() 1553 flen = (((totfree - nzero)*(totlen + hdrlen*totfree)) / in ppp_mp_explode()
|
/linux-4.4.14/drivers/net/wireless/libertas_tf/ |
D | if_usb.c | 775 static int check_fwfile_format(const u8 *data, u32 totlen) in check_fwfile_format() argument 794 if (len >= totlen) in check_fwfile_format()
|
/linux-4.4.14/drivers/net/ethernet/brocade/bna/ |
D | bnad.c | 549 u32 ci, vec, len, totlen = 0; in bnad_cq_setup_skb_frags() local 571 totlen += len; in bnad_cq_setup_skb_frags() 580 skb->len += totlen; in bnad_cq_setup_skb_frags() 581 skb->data_len += totlen; in bnad_cq_setup_skb_frags() 611 u32 packets = 0, len = 0, totlen = 0; in bnad_cq_process() local 656 totlen = len; in bnad_cq_process() 686 totlen += len; in bnad_cq_process() 710 rcb->rxq->rx_bytes += totlen; in bnad_cq_process() 711 ccb->bytes_per_intr += totlen; in bnad_cq_process()
|
/linux-4.4.14/drivers/scsi/csiostor/ |
D | csio_wr.h | 343 uint32_t totlen; /* Total length */ member
|
D | csio_hw.c | 3479 if (!flb || !flb->totlen) { in csio_process_fwevtq_entry() 3485 msg_len = flb->totlen; in csio_process_fwevtq_entry()
|
D | csio_wr.c | 1065 flb.totlen = len; in csio_wr_process_fl()
|
/linux-4.4.14/drivers/net/wireless/libertas/ |
D | if_usb.c | 789 static int check_fwfile_format(const uint8_t *data, uint32_t totlen) in check_fwfile_format() argument 808 if (len >= totlen) in check_fwfile_format()
|
/linux-4.4.14/drivers/staging/slicoss/ |
D | slichw.h | 278 u32 totlen; member
|
D | slicoss.c | 1874 ihcmd->u.slic_buffers.totlen = skb->len; in slic_xmit_build_request()
|
/linux-4.4.14/tools/lguest/ |
D | lguest.c | 3083 unsigned int head, in_num, out_num, totlen = 0; in rng_input() local 3101 totlen += len; in rng_input() 3105 add_used(vq, head, totlen); in rng_input()
|
/linux-4.4.14/net/openvswitch/ |
D | flow_netlink.c | 2191 int totlen = NLA_ALIGN(from->nla_len); in copy_action() local 2198 memcpy(to, from, totlen); in copy_action()
|
/linux-4.4.14/drivers/net/ethernet/rocker/ |
D | rocker.c | 688 int totlen = ROCKER_TLV_ALIGN(tlv->len); in rocker_tlv_next() local 690 *remaining -= totlen; in rocker_tlv_next() 691 return (struct rocker_tlv *) ((char *) tlv + totlen); in rocker_tlv_next()
|
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmsmac/ |
D | main.c | 842 uint totlen, supr_status; in brcms_c_dotxstatus() local 991 totlen = p->len; in brcms_c_dotxstatus()
|