/samples/qmi/ |
D | qmi_sample_client.c | 52 .offset = offsetof(struct test_name_type_v01, 61 .offset = offsetof(struct test_name_type_v01, 81 .offset = offsetof(struct test_ping_req_msg_v01, 90 .offset = offsetof(struct test_ping_req_msg_v01, 99 .offset = offsetof(struct test_ping_req_msg_v01, 123 .offset = offsetof(struct test_ping_resp_msg_v01, 133 .offset = offsetof(struct test_ping_resp_msg_v01, 142 .offset = offsetof(struct test_ping_resp_msg_v01, 151 .offset = offsetof(struct test_ping_resp_msg_v01, 160 .offset = offsetof(struct test_ping_resp_msg_v01, [all …]
|
/samples/vfio-mdev/ |
D | mdpy-fb.c | 42 .transp.offset = 24, 43 .red.offset = 16, 44 .green.offset = 8, 45 .blue.offset = 0, 70 value = (cr << info->var.red.offset) | in mdpy_fb_setcolreg() 71 (cg << info->var.green.offset) | in mdpy_fb_setcolreg() 72 (cb << info->var.blue.offset); in mdpy_fb_setcolreg() 75 mask <<= info->var.transp.offset; in mdpy_fb_setcolreg()
|
D | mbochs.c | 146 u64 offset; member 278 mode->offset = ((u64)vbe[VBE_DISPI_INDEX_X_OFFSET] * mode->bytepp + in mbochs_check_framebuffer() 286 if (mode->offset + mode->size > mdev_state->memsize) { in mbochs_check_framebuffer() 305 static void handle_pci_cfg_write(struct mdev_state *mdev_state, u16 offset, in handle_pci_cfg_write() argument 309 int index = (offset - PCI_BASE_ADDRESS_0) / 0x04; in handle_pci_cfg_write() 312 switch (offset) { in handle_pci_cfg_write() 326 cfg_addr |= (mdev_state->vconfig[offset] & in handle_pci_cfg_write() 328 STORE_LE32(&mdev_state->vconfig[offset], cfg_addr); in handle_pci_cfg_write() 333 static void handle_mmio_write(struct mdev_state *mdev_state, u16 offset, in handle_mmio_write() argument 340 switch (offset) { in handle_mmio_write() [all …]
|
D | mtty.c | 237 static void handle_pci_cfg_write(struct mdev_state *mdev_state, u16 offset, in handle_pci_cfg_write() argument 242 switch (offset) { in handle_pci_cfg_write() 258 if (offset == 0x10) in handle_pci_cfg_write() 260 else if (offset == 0x14) in handle_pci_cfg_write() 264 STORE_LE32(&mdev_state->vconfig[offset], 0); in handle_pci_cfg_write() 276 cfg_addr |= (mdev_state->vconfig[offset] & 0x3ul); in handle_pci_cfg_write() 277 STORE_LE32(&mdev_state->vconfig[offset], cfg_addr); in handle_pci_cfg_write() 282 STORE_LE32(&mdev_state->vconfig[offset], 0); in handle_pci_cfg_write() 286 offset, count); in handle_pci_cfg_write() 292 u16 offset, u8 *buf, u32 count) in handle_bar_write() argument [all …]
|
D | mdpy.c | 150 static void handle_pci_cfg_write(struct mdev_state *mdev_state, u16 offset, in handle_pci_cfg_write() argument 156 switch (offset) { in handle_pci_cfg_write() 168 cfg_addr |= (mdev_state->vconfig[offset] & in handle_pci_cfg_write() 170 STORE_LE32(&mdev_state->vconfig[offset], cfg_addr); in handle_pci_cfg_write() 441 region_info->offset = 0; in mdpy_get_region_info() 448 region_info->offset = MDPY_MEMORY_BAR_OFFSET; in mdpy_get_region_info() 456 region_info->offset = 0; in mdpy_get_region_info() 551 minsz = offsetofend(struct vfio_region_info, offset); in mdpy_ioctl()
|
/samples/seccomp/ |
D | bpf-helper.c | 31 size_t offset = count - i - 1; in bpf_resolve_jumps() local 32 struct sock_filter *instr = &filter[offset]; in bpf_resolve_jumps() 43 (offset + 1); in bpf_resolve_jumps() 53 labels->labels[instr->k].location = offset; in bpf_resolve_jumps()
|
/samples/bpf/ |
D | task_fd_query_user.c | 121 const char *name, __u64 offset, __u64 addr, bool is_return, in test_nondebug_fs_kuprobe_common() argument 143 attr.config2 = offset; in test_nondebug_fs_kuprobe_common() 163 __u64 offset, __u64 addr, bool is_return, in test_nondebug_fs_probe() argument 173 offset, addr, is_return, in test_nondebug_fs_probe() 180 __func__, name ? name : "", offset, addr, is_return); in test_nondebug_fs_probe() 195 if (probe_offset != offset) { in test_nondebug_fs_probe() 216 static int test_debug_fs_uprobe(char *binary_path, long offset, bool is_return) in test_debug_fs_uprobe() argument 236 binary_path, offset); in test_debug_fs_uprobe() 281 if (probe_offset != offset) { in test_debug_fs_uprobe()
|
D | xdp_redirect_cpu_kern.c | 119 u64 offset; in parse_eth() local 121 offset = sizeof(*eth); in parse_eth() 122 if ((void *)eth + offset > data_end) in parse_eth() 135 vlan_hdr = (void *)eth + offset; in parse_eth() 136 offset += sizeof(*vlan_hdr); in parse_eth() 137 if ((void *)eth + offset > data_end) in parse_eth() 145 vlan_hdr = (void *)eth + offset; in parse_eth() 146 offset += sizeof(*vlan_hdr); in parse_eth() 147 if ((void *)eth + offset > data_end) in parse_eth() 153 *l3_offset = offset; in parse_eth()
|
D | xdp_adjust_tail_kern.c | 125 int offset; in handle_ipv4() local 128 offset = pckt_size - ICMP_TOOBIG_SIZE; in handle_ipv4() 129 if (bpf_xdp_adjust_tail(xdp, 0 - offset)) in handle_ipv4()
|
D | bpf_load.c | 473 size_t offset; in load_elf_maps_section() local 485 offset = sym[i].st_value; in load_elf_maps_section() 486 def = (struct bpf_load_map_def *)(data_maps->d_buf + offset); in load_elf_maps_section() 487 maps[i].elf_offset = offset; in load_elf_maps_section()
|
/samples/vfs/ |
D | test-statx.c | 192 unsigned offset, print_offset = 1, col = 0; in dump_hex() local 197 for (offset = from; offset < to; offset++) { in dump_hex() 199 printf("%04x: ", offset * 8); in dump_hex() 202 printf("%016llx", data[offset]); in dump_hex()
|
/samples/kfifo/ |
D | dma-example.c | 77 i, sg_page(&sg[i]), sg[i].offset, sg[i].length); in example_init() 106 i, sg_page(&sg[i]), sg[i].offset, sg[i].length); in example_init()
|