Home
last modified time | relevance | path

Searched refs:maplen (Results 1 – 21 of 21) sorted by relevance

/openbmc/linux/tools/perf/util/
H A Dsrccode.c32 size_t maplen; member
40 static int countlines(char *map, int maplen) in countlines() argument
43 char *end = map + maplen; in countlines()
46 if (maplen == 0) in countlines()
61 char *end = map + maplen; in fill_lines()
64 if (maplen == 0 || maxline == 0) in fill_lines()
81 map_total_sz -= sf->maplen; in free_srcfile()
82 munmap(sf->map, sf->maplen); in free_srcfile()
127 h->maplen = st.st_size; in find_srcfile()
135 h->numlines = countlines(h->map, h->maplen); in find_srcfile()
[all …]
/openbmc/qemu/ui/
H A Dx_keymap.c55 const guint16 *qemu_xkeymap_mapping_table(Display *dpy, size_t *maplen) in qemu_xkeymap_mapping_table() argument
86 *maplen = qemu_input_map_xorgxwin_to_qcode_len; in qemu_xkeymap_mapping_table()
90 *maplen = qemu_input_map_xorgxquartz_to_qcode_len; in qemu_xkeymap_mapping_table()
95 *maplen = qemu_input_map_xorgevdev_to_qcode_len; in qemu_xkeymap_mapping_table()
100 *maplen = qemu_input_map_xorgkbd_to_qcode_len; in qemu_xkeymap_mapping_table()
H A Dx_keymap.h30 const guint16 *qemu_xkeymap_mapping_table(Display *dpy, size_t *maplen);
H A Dgtk.c1119 static const guint16 *gd_get_keymap(size_t *maplen) in gd_get_keymap() argument
1127 gdk_x11_display_get_xdisplay(dpy), maplen); in gd_get_keymap()
1134 *maplen = qemu_input_map_xorgevdev_to_qcode_len; in gd_get_keymap()
1142 *maplen = qemu_input_map_atset1_to_qcode_len; in gd_get_keymap()
1150 *maplen = qemu_input_map_osx_to_qcode_len; in gd_get_keymap()
1161 *maplen = qemu_input_map_x11_to_qcode_len; in gd_get_keymap()
/openbmc/linux/drivers/net/ethernet/alacritech/
H A Dslicoss.c395 unsigned int maplen = SLIC_RX_BUFF_SIZE; in slic_refill_rx_queue() local
406 skb = alloc_skb(maplen + ALIGN_MASK, gfp); in slic_refill_rx_queue()
410 paddr = dma_map_single(&sdev->pdev->dev, skb->data, maplen, in slic_refill_rx_queue()
440 dma_unmap_len_set(buff, map_len, maplen); in slic_refill_rx_queue()
1415 u32 maplen; in slic_xmit() local
1423 maplen = skb_headlen(skb); in slic_xmit()
1424 paddr = dma_map_single(&sdev->pdev->dev, skb->data, maplen, in slic_xmit()
1434 dma_unmap_len_set(buff, map_len, maplen); in slic_xmit()
1437 desc->totlen = cpu_to_le32(maplen); in slic_xmit()
1440 desc->len = cpu_to_le32(maplen); in slic_xmit()
/openbmc/linux/drivers/net/ethernet/qlogic/
H A Dqla3xxx.c339 dma_unmap_len_set(lrg_buf_cb, maplen, in ql_release_to_lrg_buf_free_list()
1827 dma_unmap_len_set(lrg_buf_cb, maplen, in ql_populate_free_queue()
1954 dma_unmap_len(&tx_cb->map[i], maplen), in ql_process_mac_tx_intr()
2333 dma_unmap_len_set(&tx_cb->map[seg], maplen, len); in ql_send_map()
2373 dma_unmap_len_set(&tx_cb->map[seg], maplen, in ql_send_map()
2424 dma_unmap_len(&tx_cb->map[seg], maplen), in ql_send_map()
2432 dma_unmap_len(&tx_cb->map[seg], maplen), in ql_send_map()
2438 dma_unmap_addr(&tx_cb->map[0], maplen), in ql_send_map()
2717 dma_unmap_len(lrg_buf_cb, maplen), in ql_free_large_buffers()
2786 dma_unmap_len_set(lrg_buf_cb, maplen, in ql_alloc_large_buffers()
[all …]
H A Dqla3xxx.h1001 DEFINE_DMA_UNMAP_LEN(maplen);
1032 DEFINE_DMA_UNMAP_LEN(maplen);
/openbmc/linux/drivers/net/ethernet/atheros/alx/
H A Dmain.c1464 int maplen, f, first_idx = txq->write_idx; in alx_map_tx_skb() local
1479 maplen = skb_headlen(skb); in alx_map_tx_skb()
1480 dma = dma_map_single(txq->dev, skb->data, maplen, in alx_map_tx_skb()
1485 dma_unmap_len_set(&txq->bufs[txq->write_idx], size, maplen); in alx_map_tx_skb()
1489 tpd->len = cpu_to_le16(maplen); in alx_map_tx_skb()
1500 maplen = skb_frag_size(frag); in alx_map_tx_skb()
1502 maplen, DMA_TO_DEVICE); in alx_map_tx_skb()
1505 dma_unmap_len_set(&txq->bufs[txq->write_idx], size, maplen); in alx_map_tx_skb()
1509 tpd->len = cpu_to_le16(maplen); in alx_map_tx_skb()
/openbmc/linux/drivers/vdpa/mlx5/core/
H A Dmr.c104 static u64 maplen(struct vhost_iotlb_map *map, struct mlx5_vdpa_direct_mr *mr) in maplen() function
242 size = maplen(map, mr); in map_direct_mr()
258 paend = map->addr + maplen(map, mr); in map_direct_mr()
/openbmc/linux/drivers/net/ethernet/alteon/
H A Dacenic.c2039 if (dma_unmap_len(info, maplen)) { in ace_tx_int()
2042 dma_unmap_len(info, maplen), in ace_tx_int()
2044 dma_unmap_len_set(info, maplen, 0); in ace_tx_int()
2321 if (dma_unmap_len(info, maplen)) { in ace_close()
2334 dma_unmap_len(info, maplen), in ace_close()
2336 dma_unmap_len_set(info, maplen, 0); in ace_close()
2372 dma_unmap_len_set(info, maplen, skb->len); in ace_map_tx_skb()
2483 dma_unmap_len_set(info, maplen, skb_frag_size(frag)); in ace_start_xmit()
H A Dacenic.h606 DEFINE_DMA_UNMAP_LEN(maplen);
/openbmc/qemu/crypto/
H A Dblock-luks.c158 size_t maplen = G_N_ELEMENTS(qcrypto_block_luks_cipher_name_map); in qcrypto_block_luks_cipher_name_lookup() local
165 for (i = 0; i < maplen; i++) { in qcrypto_block_luks_cipher_name_lookup()
187 size_t maplen = G_N_ELEMENTS(qcrypto_block_luks_cipher_name_map); in qcrypto_block_luks_cipher_alg_lookup() local
189 for (i = 0; i < maplen; i++) { in qcrypto_block_luks_cipher_alg_lookup()
/openbmc/linux/drivers/net/ethernet/marvell/
H A Dskge.c967 dma_unmap_len_set(e, maplen, bufsize); in skge_rx_setup()
1002 dma_unmap_len(e, maplen), in skge_rx_clean()
2767 dma_unmap_len_set(e, maplen, len); in skge_xmit_frame()
2812 dma_unmap_len_set(e, maplen, skb_frag_size(frag)); in skge_xmit_frame()
2844 dma_unmap_len(e, maplen), DMA_TO_DEVICE); in skge_xmit_frame()
2848 dma_unmap_len(e, maplen), DMA_TO_DEVICE); in skge_xmit_frame()
2866 dma_unmap_len(e, maplen), DMA_TO_DEVICE); in skge_tx_unmap()
2869 dma_unmap_len(e, maplen), DMA_TO_DEVICE); in skge_tx_unmap()
3082 dma_unmap_len(e, maplen), in skge_rx_get()
3087 dma_unmap_len(e, maplen), in skge_rx_get()
[all …]
H A Dsky2.c1810 dma_unmap_len(re, maplen), DMA_TO_DEVICE); in sky2_tx_unmap()
1813 dma_unmap_len(re, maplen), DMA_TO_DEVICE); in sky2_tx_unmap()
1924 dma_unmap_len_set(re, maplen, len); in sky2_xmit_frame()
1953 dma_unmap_len_set(re, maplen, skb_frag_size(frag)); in sky2_xmit_frame()
H A Dskge.h2393 DEFINE_DMA_UNMAP_LEN(maplen);
H A Dsky2.h2191 DEFINE_DMA_UNMAP_LEN(maplen);
/openbmc/linux/net/ceph/
H A Dosd_client.c4155 u32 nr_maps, maplen; in ceph_osdc_handle_map() local
4185 maplen = ceph_decode_32(&p); in ceph_osdc_handle_map()
4186 ceph_decode_need(&p, end, maplen, bad); in ceph_osdc_handle_map()
4190 epoch, maplen); in ceph_osdc_handle_map()
4198 epoch, maplen); in ceph_osdc_handle_map()
4200 p += maplen; in ceph_osdc_handle_map()
4212 maplen = ceph_decode_32(&p); in ceph_osdc_handle_map()
4213 ceph_decode_need(&p, end, maplen, bad); in ceph_osdc_handle_map()
4216 epoch, maplen); in ceph_osdc_handle_map()
4219 "older than our %u\n", epoch, maplen, in ceph_osdc_handle_map()
[all …]
/openbmc/linux/drivers/staging/qlge/
H A Dqlge_main.c1212 maplen), in qlge_unmap_send()
1221 maplen), DMA_TO_DEVICE); in qlge_unmap_send()
1259 dma_unmap_len_set(&tx_ring_desc->map[map_idx], maplen, len); in qlge_map_send()
1315 dma_unmap_len_set(&tx_ring_desc->map[map_idx], maplen, in qlge_map_send()
1335 dma_unmap_len_set(&tx_ring_desc->map[map_idx], maplen, in qlge_map_send()
H A Dqlge.h1355 DEFINE_DMA_UNMAP_LEN(maplen);
/openbmc/linux/drivers/net/vmxnet3/
H A Dvmxnet3_drv.c1451 u32 hlen, maplen; in vmxnet3_get_hdr_len() local
1462 maplen = skb_headlen(skb); in vmxnet3_get_hdr_len()
1463 if (unlikely(sizeof(struct iphdr) + sizeof(struct tcphdr) > maplen)) in vmxnet3_get_hdr_len()
1496 if (hlen + sizeof(struct tcphdr) > maplen) in vmxnet3_get_hdr_len()
/openbmc/linux/fs/ceph/
H A Dmds_client.c5646 u32 maplen; in ceph_mdsc_handle_mdsmap() local
5658 maplen = ceph_decode_32(&p); in ceph_mdsc_handle_mdsmap()
5659 dout("handle_map epoch %u len %d\n", epoch, (int)maplen); in ceph_mdsc_handle_mdsmap()