maplen 180 arch/c6x/platforms/megamod-pic.c int i, maplen; maplen 183 arch/c6x/platforms/megamod-pic.c map = of_get_property(np, "ti,c64x+megamod-pic-mux", &maplen); maplen 185 arch/c6x/platforms/megamod-pic.c maplen /= 4; maplen 186 arch/c6x/platforms/megamod-pic.c if (maplen > size) maplen 187 arch/c6x/platforms/megamod-pic.c maplen = size; maplen 189 arch/c6x/platforms/megamod-pic.c for (i = 0; i < maplen; i++) { maplen 396 drivers/net/ethernet/alacritech/slicoss.c unsigned int maplen = SLIC_RX_BUFF_SIZE; maplen 407 drivers/net/ethernet/alacritech/slicoss.c skb = alloc_skb(maplen + ALIGN_MASK, gfp); maplen 411 drivers/net/ethernet/alacritech/slicoss.c paddr = dma_map_single(&sdev->pdev->dev, skb->data, maplen, maplen 441 drivers/net/ethernet/alacritech/slicoss.c dma_unmap_len_set(buff, map_len, maplen); maplen 1416 drivers/net/ethernet/alacritech/slicoss.c u32 maplen; maplen 1424 drivers/net/ethernet/alacritech/slicoss.c maplen = skb_headlen(skb); maplen 1425 drivers/net/ethernet/alacritech/slicoss.c paddr = dma_map_single(&sdev->pdev->dev, skb->data, maplen, maplen 1435 drivers/net/ethernet/alacritech/slicoss.c dma_unmap_len_set(buff, map_len, maplen); maplen 1438 drivers/net/ethernet/alacritech/slicoss.c desc->totlen = cpu_to_le32(maplen); maplen 1441 drivers/net/ethernet/alacritech/slicoss.c desc->len = cpu_to_le32(maplen); maplen 2048 drivers/net/ethernet/alteon/acenic.c if (dma_unmap_len(info, maplen)) { maplen 2050 drivers/net/ethernet/alteon/acenic.c dma_unmap_len(info, maplen), maplen 2052 drivers/net/ethernet/alteon/acenic.c dma_unmap_len_set(info, maplen, 0); maplen 2329 drivers/net/ethernet/alteon/acenic.c if (dma_unmap_len(info, maplen)) { maplen 2341 drivers/net/ethernet/alteon/acenic.c dma_unmap_len(info, maplen), maplen 2343 drivers/net/ethernet/alteon/acenic.c dma_unmap_len_set(info, maplen, 0); maplen 2379 drivers/net/ethernet/alteon/acenic.c dma_unmap_len_set(info, maplen, skb->len); maplen 2491 drivers/net/ethernet/alteon/acenic.c dma_unmap_len_set(info, maplen, skb_frag_size(frag)); maplen 606 drivers/net/ethernet/alteon/acenic.h DEFINE_DMA_UNMAP_LEN(maplen); maplen 1440 drivers/net/ethernet/atheros/alx/main.c int maplen, f, first_idx = txq->write_idx; maplen 1455 drivers/net/ethernet/atheros/alx/main.c maplen = skb_headlen(skb); maplen 1456 drivers/net/ethernet/atheros/alx/main.c dma = dma_map_single(txq->dev, skb->data, maplen, maplen 1461 drivers/net/ethernet/atheros/alx/main.c dma_unmap_len_set(&txq->bufs[txq->write_idx], size, maplen); maplen 1465 drivers/net/ethernet/atheros/alx/main.c tpd->len = cpu_to_le16(maplen); maplen 1476 drivers/net/ethernet/atheros/alx/main.c maplen = skb_frag_size(frag); maplen 1478 drivers/net/ethernet/atheros/alx/main.c maplen, DMA_TO_DEVICE); maplen 1481 drivers/net/ethernet/atheros/alx/main.c dma_unmap_len_set(&txq->bufs[txq->write_idx], size, maplen); maplen 1485 drivers/net/ethernet/atheros/alx/main.c tpd->len = cpu_to_le16(maplen); maplen 959 drivers/net/ethernet/marvell/skge.c dma_unmap_len_set(e, maplen, bufsize); maplen 994 drivers/net/ethernet/marvell/skge.c dma_unmap_len(e, maplen), maplen 2756 drivers/net/ethernet/marvell/skge.c dma_unmap_len_set(e, maplen, len); maplen 2801 drivers/net/ethernet/marvell/skge.c dma_unmap_len_set(e, maplen, skb_frag_size(frag)); maplen 2834 drivers/net/ethernet/marvell/skge.c dma_unmap_len(e, maplen), maplen 2840 drivers/net/ethernet/marvell/skge.c dma_unmap_len(e, maplen), maplen 2859 drivers/net/ethernet/marvell/skge.c dma_unmap_len(e, maplen), maplen 2863 drivers/net/ethernet/marvell/skge.c dma_unmap_len(e, maplen), maplen 3076 drivers/net/ethernet/marvell/skge.c dma_unmap_len(e, maplen), maplen 3081 drivers/net/ethernet/marvell/skge.c dma_unmap_len(e, maplen), maplen 3104 drivers/net/ethernet/marvell/skge.c dma_unmap_len(&ee, maplen), maplen 2399 drivers/net/ethernet/marvell/skge.h DEFINE_DMA_UNMAP_LEN(maplen); maplen 1810 drivers/net/ethernet/marvell/sky2.c dma_unmap_len(re, maplen), maplen 1814 drivers/net/ethernet/marvell/sky2.c dma_unmap_len(re, maplen), maplen 1925 drivers/net/ethernet/marvell/sky2.c dma_unmap_len_set(re, maplen, len); maplen 1954 drivers/net/ethernet/marvell/sky2.c dma_unmap_len_set(re, maplen, skb_frag_size(frag)); maplen 2197 drivers/net/ethernet/marvell/sky2.h DEFINE_DMA_UNMAP_LEN(maplen); maplen 341 drivers/net/ethernet/qlogic/qla3xxx.c dma_unmap_len_set(lrg_buf_cb, maplen, maplen 1828 drivers/net/ethernet/qlogic/qla3xxx.c dma_unmap_len_set(lrg_buf_cb, maplen, maplen 1949 drivers/net/ethernet/qlogic/qla3xxx.c dma_unmap_len(&tx_cb->map[0], maplen), maplen 1957 drivers/net/ethernet/qlogic/qla3xxx.c dma_unmap_len(&tx_cb->map[i], maplen), maplen 2027 drivers/net/ethernet/qlogic/qla3xxx.c dma_unmap_len(lrg_buf_cb2, maplen), maplen 2073 drivers/net/ethernet/qlogic/qla3xxx.c dma_unmap_len(lrg_buf_cb2, maplen), maplen 2338 drivers/net/ethernet/qlogic/qla3xxx.c dma_unmap_len_set(&tx_cb->map[seg], maplen, len); maplen 2378 drivers/net/ethernet/qlogic/qla3xxx.c dma_unmap_len_set(&tx_cb->map[seg], maplen, maplen 2400 drivers/net/ethernet/qlogic/qla3xxx.c dma_unmap_len_set(&tx_cb->map[seg], maplen, skb_frag_size(frag)); maplen 2429 drivers/net/ethernet/qlogic/qla3xxx.c dma_unmap_len(&tx_cb->map[seg], maplen), maplen 2437 drivers/net/ethernet/qlogic/qla3xxx.c dma_unmap_len(&tx_cb->map[seg], maplen), maplen 2443 drivers/net/ethernet/qlogic/qla3xxx.c dma_unmap_addr(&tx_cb->map[0], maplen), maplen 2725 drivers/net/ethernet/qlogic/qla3xxx.c dma_unmap_len(lrg_buf_cb, maplen), maplen 2796 drivers/net/ethernet/qlogic/qla3xxx.c dma_unmap_len_set(lrg_buf_cb, maplen, maplen 3648 drivers/net/ethernet/qlogic/qla3xxx.c dma_unmap_len(&tx_cb->map[0], maplen), maplen 3655 drivers/net/ethernet/qlogic/qla3xxx.c maplen), maplen 1002 drivers/net/ethernet/qlogic/qla3xxx.h DEFINE_DMA_UNMAP_LEN(maplen); maplen 1033 drivers/net/ethernet/qlogic/qla3xxx.h DEFINE_DMA_UNMAP_LEN(maplen); maplen 1226 drivers/net/vmxnet3/vmxnet3_drv.c u32 hlen, maplen; maplen 1237 drivers/net/vmxnet3/vmxnet3_drv.c maplen = skb_headlen(skb); maplen 1238 drivers/net/vmxnet3/vmxnet3_drv.c if (unlikely(sizeof(struct iphdr) + sizeof(struct tcphdr) > maplen)) maplen 1271 drivers/net/vmxnet3/vmxnet3_drv.c if (hlen + sizeof(struct tcphdr) > maplen) maplen 1348 drivers/staging/qlge/qlge.h DEFINE_DMA_UNMAP_LEN(maplen); maplen 1377 drivers/staging/qlge/qlge.h DEFINE_DMA_UNMAP_LEN(maplen); maplen 1163 drivers/staging/qlge/qlge_main.c dma_unmap_len_set(lbq_desc, maplen, maplen 1232 drivers/staging/qlge/qlge_main.c dma_unmap_len_set(sbq_desc, maplen, maplen 1291 drivers/staging/qlge/qlge_main.c maplen), maplen 1300 drivers/staging/qlge/qlge_main.c maplen), PCI_DMA_TODEVICE); maplen 1339 drivers/staging/qlge/qlge_main.c dma_unmap_len_set(&tx_ring_desc->map[map_idx], maplen, len); maplen 1394 drivers/staging/qlge/qlge_main.c dma_unmap_len_set(&tx_ring_desc->map[map_idx], maplen, maplen 1414 drivers/staging/qlge/qlge_main.c dma_unmap_len_set(&tx_ring_desc->map[map_idx], maplen, maplen 1653 drivers/staging/qlge/qlge_main.c dma_unmap_len(sbq_desc, maplen), maplen 1660 drivers/staging/qlge/qlge_main.c dma_unmap_len(sbq_desc, maplen), maplen 1782 drivers/staging/qlge/qlge_main.c dma_unmap_len(sbq_desc, maplen), maplen 1816 drivers/staging/qlge/qlge_main.c (sbq_desc, maplen), maplen 1825 drivers/staging/qlge/qlge_main.c maplen), maplen 1839 drivers/staging/qlge/qlge_main.c maplen), maplen 1879 drivers/staging/qlge/qlge_main.c dma_unmap_len(lbq_desc, maplen), maplen 1913 drivers/staging/qlge/qlge_main.c dma_unmap_len(sbq_desc, maplen), maplen 2870 drivers/staging/qlge/qlge_main.c dma_unmap_len(sbq_desc, maplen), maplen 4541 fs/ceph/mds_client.c u32 maplen; maplen 4553 fs/ceph/mds_client.c maplen = ceph_decode_32(&p); maplen 4554 fs/ceph/mds_client.c dout("handle_map epoch %u len %d\n", epoch, (int)maplen); maplen 3959 net/ceph/osd_client.c u32 nr_maps, maplen; maplen 3989 net/ceph/osd_client.c maplen = ceph_decode_32(&p); maplen 3990 net/ceph/osd_client.c ceph_decode_need(&p, end, maplen, bad); maplen 3994 net/ceph/osd_client.c epoch, maplen); maplen 3995 net/ceph/osd_client.c err = handle_one_map(osdc, p, p + maplen, true, maplen 4002 net/ceph/osd_client.c epoch, maplen); maplen 4004 net/ceph/osd_client.c p += maplen; maplen 4016 net/ceph/osd_client.c maplen = ceph_decode_32(&p); maplen 4017 net/ceph/osd_client.c ceph_decode_need(&p, end, maplen, bad); maplen 4020 net/ceph/osd_client.c epoch, maplen); maplen 4023 net/ceph/osd_client.c "older than our %u\n", epoch, maplen, maplen 4026 net/ceph/osd_client.c dout("taking full map %u len %d\n", epoch, maplen); maplen 4027 net/ceph/osd_client.c err = handle_one_map(osdc, p, p + maplen, false, maplen 4032 net/ceph/osd_client.c p += maplen; maplen 31 tools/perf/util/srccode.c size_t maplen; maplen 47 tools/perf/util/srccode.c static int countlines(char *map, int maplen) maplen 50 tools/perf/util/srccode.c char *end = map + maplen; maplen 53 tools/perf/util/srccode.c if (maplen == 0) maplen 65 tools/perf/util/srccode.c static void fill_lines(char **lines, int maxline, char *map, int maplen) maplen 68 tools/perf/util/srccode.c char *end = map + maplen; maplen 71 tools/perf/util/srccode.c if (maplen == 0 || maxline == 0) maplen 88 tools/perf/util/srccode.c map_total_sz -= sf->maplen; maplen 89 tools/perf/util/srccode.c munmap(sf->map, sf->maplen); maplen 135 tools/perf/util/srccode.c h->maplen = st.st_size; maplen 136 tools/perf/util/srccode.c sz = (h->maplen + page_size - 1) & ~(page_size - 1); maplen 143 tools/perf/util/srccode.c h->numlines = countlines(h->map, h->maplen); maplen 147 tools/perf/util/srccode.c fill_lines(h->lines, h->numlines, h->map, h->maplen); maplen 150 tools/perf/util/srccode.c map_total_sz += h->maplen; maplen 176 tools/perf/util/srccode.c p = memchr(l, '\n', sf->map + sf->maplen - l); maplen 50 tools/testing/selftests/android/ion/ionutils.c unsigned long maplen; maplen 108 tools/testing/selftests/android/ion/ionutils.c maplen = alloc_data.len; maplen 110 tools/testing/selftests/android/ion/ionutils.c if (buffer_fd < 0 || maplen <= 0) { maplen 112 tools/testing/selftests/android/ion/ionutils.c __func__, buffer_fd, maplen); maplen 117 tools/testing/selftests/android/ion/ionutils.c map_buffer = (unsigned char *)mmap(NULL, maplen, PROT_READ|PROT_WRITE, maplen 128 tools/testing/selftests/android/ion/ionutils.c ion_info->buflen = maplen; maplen 132 tools/testing/selftests/android/ion/ionutils.c munmap(map_buffer, maplen);