Searched refs:index (Results 1 – 10 of 10) sorted by relevance
| /samples/vfio-mdev/ |
| A D | mtty.c | 373 if (mdev_state->s[index].dlab) { in handle_bar_write() 383 mdev_state->s[index].rxtx.fifo[ in handle_bar_write() 400 index); in handle_bar_write() 423 if (mdev_state->s[index].dlab) in handle_bar_write() 433 index); in handle_bar_write() 672 int index, pos; in mdev_read_base() local 678 for (index = 0; index <= VFIO_PCI_BAR5_REGION_INDEX; index++) { in mdev_read_base() 710 unsigned int index; in mdev_access() local 721 switch (index) { in mdev_access() 1563 switch (index) { in mtty_set_irqs() [all …]
|
| A D | mbochs.c | 212 return vbe_name_list[index]; in vbe_name() 326 index, cfg_addr); in handle_pci_cfg_write() 340 int index; in handle_mmio_write() local 349 index = (offset - 0x500) / 2; in handle_mmio_write() 352 mdev_state->vbe[index] = reg16; in handle_mmio_write() 354 __func__, index, reg16, vbe_name(index)); in handle_mmio_write() 372 int index; in handle_mmio_read() local 387 index = (offset - 0x500) / 2; in handle_mmio_read() 389 reg16 = mdev_state->vbe[index]; in handle_mmio_read() 391 __func__, index, reg16, vbe_name(index)); in handle_mmio_read() [all …]
|
| A D | mdpy.c | 442 if (region_info->index >= VFIO_PCI_NUM_REGIONS && in mdpy_get_region_info() 443 region_info->index != MDPY_DISPLAY_REGION) in mdpy_get_region_info() 446 switch (region_info->index) { in mdpy_get_region_info() 582 (info.index >= mdev_state->dev_info.num_irqs)) in mdpy_ioctl()
|
| /samples/bpf/ |
| A D | tracex3.bpf.c | 67 u32 index; in bpf_prog2() local 88 index = (l * 64 + (delta - base) * 64 / base) * 3 / 64; in bpf_prog2() 90 if (index >= SLOTS) in bpf_prog2() 91 index = SLOTS - 1; in bpf_prog2() 93 value = bpf_map_lookup_elem(&lat_map, &index); in bpf_prog2()
|
| A D | sockex1_kern.c | 18 int index = load_byte(skb, ETH_HLEN + offsetof(struct iphdr, protocol)); in bpf_prog1() local 24 value = bpf_map_lookup_elem(&my_map, &index); in bpf_prog1()
|
| A D | xdp_sample.bpf.c | 98 const struct bpf_map *map, u32 index) in BPF_PROG() argument 106 const struct bpf_map *map, u32 index) in BPF_PROG() argument 114 const struct bpf_map *map, u32 index) in BPF_PROG() argument 122 const struct bpf_map *map, u32 index) in BPF_PROG() argument
|
| A D | xdp_router_ipv4_user.c | 664 int index = if_nametoindex(ifname_list[i]); in main() local 666 if (!index) { in main() 672 index, generic, force) < 0) in main()
|
| /samples/rust/ |
| A D | rust_driver_pci.rs | 33 index: TestIndex, field 47 fn testdev(index: &TestIndex, bar: &Bar0) -> Result<u32> { in testdev() 49 bar.write8(index.0, Regs::TEST); in testdev() 83 index: *info, in probe() 101 bar.write8(this.index.0, Regs::TEST); in unbind()
|
| /samples/v4l/ |
| A D | v4l2-pci-skeleton.c | 388 if (f->index != 0) in skeleton_enum_fmt_vid_cap() 591 if (i->index > 1) in skeleton_enum_input() 595 if (i->index == 0) { in skeleton_enum_input()
|
| /samples/pktgen/ |
| A D | README.rst | 25 -f : ($F_THREAD) index of first thread (zero indexed CPU number)
|
Completed in 24 milliseconds