/openbmc/linux/fs/gfs2/ |
H A D | dir.c | 449 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()
|
/openbmc/linux/include/linux/mtd/ |
H A D | doc2000.h | 183 unsigned long totlen; member
|
/openbmc/u-boot/include/linux/mtd/ |
H A D | doc2000.h | 172 unsigned long totlen; member
|
/openbmc/qemu/hw/hyperv/ |
H A D | vmbus.c | 953 uint32_t totlen; in vmbus_channel_send() local 960 totlen = vmbus_pkt_hdr_set_offsets(&hdr, desclen, msglen); in vmbus_channel_send() 965 assert(totlen <= ringbuf->reserved); in vmbus_channel_send() 986 ringbuf_seek(&ringbuf->common, ringbuf->wr_idx + totlen); in vmbus_channel_send() 1095 uint32_t totlen = msgoff + msglen; in vmbus_alloc_req() local 1097 req = g_malloc0(totlen); in vmbus_alloc_req() 1134 uint32_t totlen, pktlen, msglen, msgoff, desclen; in vmbus_channel_recv_peek() local 1151 totlen = pktlen + VMBUS_PKT_TRAILER; in vmbus_channel_recv_peek() 1152 if (totlen > avail) { in vmbus_channel_recv_peek() 1188 ringbuf_seek(&ringbuf->common, ringbuf->rd_idx + totlen); in vmbus_channel_recv_peek()
|
/openbmc/linux/fs/jffs2/ |
H A D | gc.c | 815 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()
|
H A 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() 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()
|
H A 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()
|
H A D | file.c | 163 ri.totlen = cpu_to_je32(sizeof(ri)); in jffs2_write_begin()
|
H A D | erase.c | 426 .totlen = cpu_to_je32(c->cleanmarker_size) in jffs2_mark_erased_block()
|
H A 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)
|
/openbmc/u-boot/drivers/mtd/nand/raw/ |
H A D | nand_bbt.c | 174 size_t retlen, len, totlen; in read_bbt() local 181 totlen = (num * bits) >> 3; in read_bbt() 185 while (totlen) { in read_bbt() 186 len = min(totlen, (size_t)(1 << this->bbt_erase_shift)); in read_bbt() 245 totlen -= len; in read_bbt()
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | nand_bbt.c | 171 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()
|
/openbmc/linux/drivers/usb/core/ |
H A D | devio.c | 1624 unsigned int u, totlen, isofrmlen; in proc_do_submiturb() local 1753 for (totlen = u = 0; u < number_of_packets; u++) { in proc_do_submiturb() 1762 totlen += isopkt[u].length; in proc_do_submiturb() 1765 uurb->buffer_length = totlen; in proc_do_submiturb() 1815 totlen = uurb->buffer_length; in proc_do_submiturb() 1817 u = (totlen > USB_SG_SIZE) ? USB_SG_SIZE : totlen; in proc_do_submiturb() 1832 totlen -= u; in proc_do_submiturb() 1910 for (totlen = u = 0; u < number_of_packets; u++) { in proc_do_submiturb() 1911 as->urb->iso_frame_desc[u].offset = totlen; in proc_do_submiturb() 1913 totlen += isopkt[u].length; in proc_do_submiturb()
|
/openbmc/linux/drivers/mtd/chips/ |
H A D | cfi_cmdset_0020.c | 668 size_t totlen = 0, thislen; in cfi_staa_writev() local 697 totlen += thislen; in cfi_staa_writev() 707 totlen += thislen; in cfi_staa_writev() 721 totlen += thislen; in cfi_staa_writev() 727 *retlen = totlen; in cfi_staa_writev()
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | sdio.h | 328 struct sk_buff_head *pktq, uint totlen);
|
H A D | sdio.c | 1515 u16 dlen, totlen; in brcmf_sdio_rxglom() local 1542 for (totlen = num = 0; dlen; num++) { in brcmf_sdio_rxglom() 1558 totlen += sublen; in brcmf_sdio_rxglom() 1564 (roundup(totlen, bus->blocksize) - totlen); in brcmf_sdio_rxglom() 1565 totlen = roundup(totlen, bus->blocksize); in brcmf_sdio_rxglom() 1585 totlen, num); in brcmf_sdio_rxglom() 1587 totlen != bus->cur_read.len) { in brcmf_sdio_rxglom() 1589 bus->cur_read.len, totlen, rxseq); in brcmf_sdio_rxglom()
|
H A D | bcmsdh.c | 560 struct sk_buff_head *pktq, uint totlen) in brcmf_sdiod_recv_chain() argument 581 glom_skb = brcmu_pkt_buf_get_skb(totlen); in brcmf_sdiod_recv_chain()
|
/openbmc/linux/drivers/net/ppp/ |
H A D | bsd_comp.c | 137 int totlen; /* length of this structure */ member 438 db->totlen = sizeof (struct bsd_db) + in bsd_alloc()
|
/openbmc/linux/drivers/net/ethernet/brocade/bna/ |
H A D | bnad.c | 525 u32 ci, pi, totlen = 0; in bnad_cq_setup_skb_frags() local 553 totlen += len; in bnad_cq_setup_skb_frags() 565 skb->len += totlen; in bnad_cq_setup_skb_frags() 566 skb->data_len += totlen; in bnad_cq_setup_skb_frags() 596 u32 packets = 0, len = 0, totlen = 0; in bnad_cq_process() local 641 totlen = len; in bnad_cq_process() 671 totlen += len; in bnad_cq_process() 695 rcb->rxq->rx_bytes += totlen; in bnad_cq_process() 696 ccb->bytes_per_intr += totlen; in bnad_cq_process()
|
/openbmc/linux/drivers/net/wireless/marvell/libertas_tf/ |
H A D | if_usb.c | 768 static int check_fwfile_format(const u8 *data, u32 totlen) in check_fwfile_format() argument 787 if (len >= totlen) in check_fwfile_format()
|
/openbmc/linux/drivers/scsi/csiostor/ |
H A D | csio_wr.h | 343 uint32_t totlen; /* Total length */ member
|
/openbmc/linux/drivers/net/ethernet/alacritech/ |
H A D | slic.h | 491 __le32 totlen; member
|
/openbmc/linux/drivers/net/wireless/marvell/libertas/ |
H A D | if_usb.c | 779 static int check_fwfile_format(const uint8_t *data, uint32_t totlen) in check_fwfile_format() argument 798 if (len >= totlen) in check_fwfile_format()
|
/openbmc/u-boot/drivers/mtd/ |
H A D | mtdcore.c | 1656 size_t totlen = 0, thislen; in default_mtd_writev() local 1664 totlen += thislen; in default_mtd_writev() 1669 *retlen = totlen; in default_mtd_writev()
|
/openbmc/linux/drivers/scsi/qla2xxx/ |
H A D | qla_edif.c | 2539 u16 totlen; in qla24xx_auth_els() local 2563 totlen = (le16_to_cpu(p->frame_size) & 0x0fff) - PURX_ELS_HEADER_SIZE; in qla24xx_auth_els() 2565 totlen = le16_to_cpu(p->trunc_frame_size); in qla24xx_auth_els() 2571 if (totlen > ELS_MAX_PAYLOAD) { in qla24xx_auth_els() 2574 __func__, totlen); in qla24xx_auth_els() 2601 purex->pur_info.pur_bytes_rcvd = totlen; in qla24xx_auth_els()
|