| /linux/drivers/infiniband/core/ |
| A D | sa_query.c | 920 query->callback(query, 0, mad); in ib_nl_process_good_resolve_rsp() 941 query->callback(query, status, mad); in ib_nl_process_good_resolve_rsp() 1278 query->sm_ah = query->port->sm_ah; in alloc_mad() 1302 query->mad_buf->ah = query->sm_ah->ah; in alloc_mad() 1354 query->mad_buf->context[0] = query; in send_mad() 1869 query->callback(query->context); in ib_sa_classport_info_rec_callback() 2000 query->callback(query, -EINTR, NULL); in send_handler() 2003 query->callback(query, -EIO, NULL); in send_handler() 2014 query->release(query); in send_handler() 2029 query->callback(query, in recv_handler() [all …]
|
| /linux/tools/perf/scripts/python/ |
| A D | export-to-postgresql.py | 323 query = QSqlQuery(db) variable 331 query.finish() 332 query.clear() 338 query = QSqlQuery(db) variable 364 do_query(query, 'CREATE TABLE dsos (' 460 do_query(query, 'CREATE TABLE cbr (' 471 do_query(query, 'CREATE TABLE pwre (' 481 do_query(query, 'CREATE TABLE pwrx (' 751 do_query(query, sql) 819 if query.next(): [all …]
|
| A D | export-to-sqlite.py | 160 query = QSqlQuery(db) variable 163 do_query(query, 'BEGIN TRANSACTION') 178 do_query(query, 'CREATE TABLE comms (' 188 do_query(query, 'CREATE TABLE dsos (' 284 do_query(query, 'CREATE TABLE cbr (' 290 do_query(query, 'CREATE TABLE mwait (' 295 do_query(query, 'CREATE TABLE pwre (' 305 do_query(query, 'CREATE TABLE pwrx (' 570 do_query(query, 'END TRANSACTION') 633 if query.next(): [all …]
|
| A D | exported-sql-viewer.py | 1188 if query.value(2) and Decimal(query.value(1)) <= Decimal(time): 1354 if query.next(): 1362 if query.next(): 3040 data.append(tohex(query.value(8)).rjust(16) + " " + query.value(9) + offstr(query.value(10)) + 3042 tohex(query.value(12)) + " " + query.value(13) + offstr(query.value(14)) + 3444 if query.next(): 3455 if query.next(): 4508 if query.next(): 4521 if query.next(): 4837 if query.next(): [all …]
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| A D | tp_attach_query.c | 10 struct perf_event_query_bpf *query; in serial_test_tp_attach_query() local 41 query = malloc(sizeof(*query) + sizeof(__u32) * num_progs); in serial_test_tp_attach_query() 73 query->ids_len = num_progs; in serial_test_tp_attach_query() 78 err, errno, query->prog_cnt)) in serial_test_tp_attach_query() 89 query->ids_len = 0; in serial_test_tp_attach_query() 94 err, errno, query->prog_cnt)) in serial_test_tp_attach_query() 107 query->ids_len = 1; in serial_test_tp_attach_query() 112 err, errno, query->prog_cnt)) in serial_test_tp_attach_query() 116 query->ids_len = num_progs; in serial_test_tp_attach_query() 121 err, errno, query->prog_cnt)) in serial_test_tp_attach_query() [all …]
|
| A D | tc_opts.c | 2558 attr.query.attach_type = target; in test_tc_opts_query_target() 2601 attr.query.attach_type = target; in test_tc_opts_query_target() 2605 attr.query.count = 2; in test_tc_opts_query_target() 2630 attr.query.attach_type = target; in test_tc_opts_query_target() 2634 attr.query.count = 10; in test_tc_opts_query_target() 2659 attr.query.attach_type = target; in test_tc_opts_query_target() 2687 attr.query.attach_type = target; in test_tc_opts_query_target() 2713 attr.query.attach_flags = 0; in test_tc_opts_query_target() 2714 attr.query.query_flags = 1; in test_tc_opts_query_target() 2720 attr.query.attach_flags = 1; in test_tc_opts_query_target() [all …]
|
| /linux/drivers/gpu/drm/xe/ |
| A D | xe_query.c | 122 query->size = size; in query_engine_cycles() 200 query->size = size; in query_engines() 258 query->size = size; in query_mem_regions() 328 query->size = size; in query_config() 370 query->size = size; in query_gt_list() 438 query->size = size; in query_hwconfig() 496 query->size = size; in query_gt_topology() 547 query->size = size; in query_uc_fw_version() 707 XE_IOCTL_DBG(xe, query->reserved[0] || query->reserved[1])) in xe_query_ioctl() 710 if (XE_IOCTL_DBG(xe, query->query >= ARRAY_SIZE(xe_query_funcs))) in xe_query_ioctl() [all …]
|
| /linux/lib/ |
| A D | dynamic_debug.c | 135 if (query->format) { in vpr_info_dq() 145 query->module ?: "", in vpr_info_dq() 147 query->first_lineno, query->last_lineno, query->class_string); in vpr_info_dq() 190 if (query->module && in ddebug_change() 225 if (query->format) { in ddebug_change() 357 if (query->first_lineno || query->last_lineno) { in parse_linerange() 374 if (query->last_lineno < query->first_lineno) { in parse_linerange() 381 query->last_lineno = query->first_lineno; in parse_linerange() 575 for (i = 0; query; query = split) { in ddebug_exec_queries() 580 query = skip_spaces(query); in ddebug_exec_queries() [all …]
|
| /linux/drivers/gpu/drm/i915/ |
| A D | i915_query.c | 148 ret = copy_query_item(&query, sizeof(query), len, query_item); in query_engine_info() 152 if (query.num_engines || query.rsvd[0] || query.rsvd[1] || in query_engine_info() 153 query.rsvd[2]) in query_engine_info() 168 query.num_engines++; in query_engine_info() 172 if (copy_to_user(query_ptr, &query, sizeof(query))) in query_engine_info() 476 total_length = sizeof(query); in query_memregion_info() 484 ret = copy_query_item(&query, sizeof(query), total_length, query_item); in query_memregion_info() 488 if (query.num_regions) in query_memregion_info() 492 if (query.rsvd[i]) in query_memregion_info() 522 query.num_regions++; in query_memregion_info() [all …]
|
| /linux/drivers/input/touchscreen/ |
| A D | wacom_w8001.c | 190 memset(query, 0, sizeof(*query)); in parse_touchquery() 192 query->panel_res = data[1]; in parse_touchquery() 196 query->x = data[3] << 9; in parse_touchquery() 197 query->x |= data[4] << 2; in parse_touchquery() 200 query->y = data[5] << 9; in parse_touchquery() 201 query->y |= data[6] << 2; in parse_touchquery() 205 if (!query->x && !query->y) { in parse_touchquery() 206 query->x = 1024; in parse_touchquery() 207 query->y = 1024; in parse_touchquery() 208 if (query->panel_res) in parse_touchquery() [all …]
|
| /linux/drivers/gpu/drm/imagination/ |
| A D | pvr_vm.c | 918 if (!query.static_data_areas.array) { in pvr_static_data_areas_get() 936 args->size = sizeof(query); in pvr_static_data_areas_get() 944 struct drm_pvr_dev_query_heap_info query = {0}; in pvr_heap_info_get() local 957 if (!query.heaps.array) { in pvr_heap_info_get() 958 query.heaps.count = ARRAY_SIZE(pvr_heaps); in pvr_heap_info_get() 963 if (query.heaps.count > ARRAY_SIZE(pvr_heaps)) in pvr_heap_info_get() 964 query.heaps.count = ARRAY_SIZE(pvr_heaps); in pvr_heap_info_get() 967 dest = query.heaps.array; in pvr_heap_info_get() 968 for (size_t i = 0; i < query.heaps.count; i++) { in pvr_heap_info_get() 978 dest += query.heaps.stride; in pvr_heap_info_get() [all …]
|
| A D | pvr_drv.c | 483 if (query._padding_c) in pvr_dev_query_quirks_get() 498 if (!query.quirks) in pvr_dev_query_quirks_get() 500 if (query.count < out_count) in pvr_dev_query_quirks_get() 511 query.count = out_count; in pvr_dev_query_quirks_get() 516 args->size = sizeof(query); in pvr_dev_query_quirks_get() 571 if (query._padding_a) in pvr_dev_query_enhancements_get() 573 if (query._padding_c) in pvr_dev_query_enhancements_get() 581 if (!query.enhancements) in pvr_dev_query_enhancements_get() 583 if (query.count < out_idx) in pvr_dev_query_enhancements_get() 592 query.count = out_idx; in pvr_dev_query_enhancements_get() [all …]
|
| /linux/drivers/input/rmi4/ |
| A D | rmi_f11.c | 668 if (query->has_abs) { in f11_2d_construct_data() 673 if (query->has_rel) in f11_2d_construct_data() 681 if (query->query7_nonzero || query->query8_nonzero) in f11_2d_construct_data() 684 if (query->has_pinch || query->has_flick || query->has_rotate) { in f11_2d_construct_data() 686 if (!query->has_flick) in f11_2d_construct_data() 688 if (!query->has_rotate) in f11_2d_construct_data() 704 if (query->has_abs) { in f11_2d_construct_data() 709 if (query->has_rel) { in f11_2d_construct_data() 719 if (query->query7_nonzero || query->query8_nonzero) { in f11_2d_construct_data() 724 if (query->has_pinch) { in f11_2d_construct_data() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
| A D | core.c | 109 struct mlx5_fpga_query query; in mlx5_fpga_device_load_check() local 112 err = mlx5_fpga_query(fdev->mdev, &query); in mlx5_fpga_device_load_check() 118 fdev->last_admin_image = query.admin_image; in mlx5_fpga_device_load_check() 119 fdev->last_oper_image = query.oper_image; in mlx5_fpga_device_load_check() 122 query.status, query.admin_image, query.oper_image); in mlx5_fpga_device_load_check() 128 if (query.status != MLX5_FPGA_STATUS_SUCCESS) { in mlx5_fpga_device_load_check() 131 query.status); in mlx5_fpga_device_load_check()
|
| /linux/arch/s390/hypfs/ |
| A D | hypfs_vm.c | 27 static int diag2fc(int size, char* query, void *addr) in diag2fc() argument 33 memcpy(parm_list.userid, query, DIAG2FC_NAME_LEN); in diag2fc() 58 void *diag2fc_store(char *query, unsigned int *count, int offset) in diag2fc_store() argument 64 size = diag2fc(0, query, NULL); in diag2fc_store() 70 if (diag2fc(size, query, data + offset) == 0) in diag2fc_store()
|
| /linux/sound/virtio/ |
| A D | virtio_ctl_msg.c | 265 struct virtio_snd_query_info *query; in virtsnd_ctl_query_info() local 268 msg = virtsnd_ctl_msg_alloc(sizeof(*query), in virtsnd_ctl_query_info() 273 query = virtsnd_ctl_msg_request(msg); in virtsnd_ctl_query_info() 274 query->hdr.code = cpu_to_le32(command); in virtsnd_ctl_query_info() 275 query->start_id = cpu_to_le32(start_id); in virtsnd_ctl_query_info() 276 query->count = cpu_to_le32(count); in virtsnd_ctl_query_info() 277 query->size = cpu_to_le32(size); in virtsnd_ctl_query_info()
|
| /linux/kernel/bpf/ |
| A D | mprog.c | 408 if (attr->query.query_flags || attr->query.attach_flags) in bpf_mprog_query() 414 if (copy_to_user(&uattr->query.attach_flags, &flags, sizeof(flags))) in bpf_mprog_query() 416 if (copy_to_user(&uattr->query.revision, &revision, sizeof(revision))) in bpf_mprog_query() 418 if (copy_to_user(&uattr->query.count, &count, sizeof(count))) in bpf_mprog_query() 420 uprog_id = u64_to_user_ptr(attr->query.prog_ids); in bpf_mprog_query() 421 uprog_flags = u64_to_user_ptr(attr->query.prog_attach_flags); in bpf_mprog_query() 422 ulink_id = u64_to_user_ptr(attr->query.link_ids); in bpf_mprog_query() 423 ulink_flags = u64_to_user_ptr(attr->query.link_attach_flags); in bpf_mprog_query() 424 if (attr->query.count == 0 || !uprog_id || !count) in bpf_mprog_query() 426 if (attr->query.count < count) { in bpf_mprog_query() [all …]
|
| A D | net_namespace.c | 251 __u32 __user *prog_ids = u64_to_user_ptr(attr->query.prog_ids); in __netns_bpf_prog_query() 260 if (copy_to_user(&uattr->query.attach_flags, &flags, sizeof(flags))) in __netns_bpf_prog_query() 262 if (copy_to_user(&uattr->query.prog_cnt, &prog_cnt, sizeof(prog_cnt))) in __netns_bpf_prog_query() 264 if (!attr->query.prog_cnt || !prog_ids || !prog_cnt) in __netns_bpf_prog_query() 268 attr->query.prog_cnt); in __netns_bpf_prog_query() 278 if (attr->query.query_flags) in netns_bpf_prog_query() 281 type = to_netns_bpf_attach_type(attr->query.attach_type); in netns_bpf_prog_query() 285 net = get_net_ns_by_fd(attr->query.target_fd); in netns_bpf_prog_query()
|
| /linux/Documentation/networking/ |
| A D | dns_resolver.rst | 32 (*) Dns query support for AFSDB resource record. 58 To direct a query for query type 'foo', a line of the following should be added 77 This is the basic access function. It looks for a cached DNS query and if 78 it doesn't find it, it upcalls to userspace to make a new DNS query, which 85 and thus the type of query to do, and <name> specifies the string to be 86 looked up. The default query type is a straight hostname to IP address 93 appropriate to the query type. 95 The return value is a string appropriate to the query type. For instance, 96 for the default query type it is just a list of comma-separated IPv4 and
|
| /linux/drivers/media/rc/ |
| A D | bpf-lirc.c | 297 __u32 __user *prog_ids = u64_to_user_ptr(attr->query.prog_ids); in lirc_prog_query() 303 if (attr->query.query_flags) in lirc_prog_query() 306 rcdev = rc_dev_get_from_fd(attr->query.target_fd, false); in lirc_prog_query() 322 if (copy_to_user(&uattr->query.prog_cnt, &cnt, sizeof(cnt))) { in lirc_prog_query() 327 if (copy_to_user(&uattr->query.attach_flags, &flags, sizeof(flags))) { in lirc_prog_query() 332 if (attr->query.prog_cnt != 0 && prog_ids && cnt) in lirc_prog_query() 334 attr->query.prog_cnt); in lirc_prog_query()
|
| /linux/drivers/gpu/drm/amd/display/modules/hdcp/ |
| A D | hdcp.c | 485 uint8_t index, struct mod_hdcp_display_query *query) in mod_hdcp_query_display() argument 498 query->link = &hdcp->connection.link; in mod_hdcp_query_display() 499 query->display = display; in mod_hdcp_query_display() 500 query->trace = &hdcp->connection.trace; in mod_hdcp_query_display() 501 query->encryption_status = MOD_HDCP_ENCRYPTION_STATUS_HDCP_OFF; in mod_hdcp_query_display() 505 query->encryption_status = MOD_HDCP_ENCRYPTION_STATUS_HDCP1_ON; in mod_hdcp_query_display() 507 if (query->link->adjust.hdcp2.force_type == MOD_HDCP_FORCE_TYPE_0) in mod_hdcp_query_display() 508 query->encryption_status = MOD_HDCP_ENCRYPTION_STATUS_HDCP2_TYPE0_ON; in mod_hdcp_query_display() 510 query->encryption_status = MOD_HDCP_ENCRYPTION_STATUS_HDCP2_TYPE1_ON; in mod_hdcp_query_display() 512 query->encryption_status = MOD_HDCP_ENCRYPTION_STATUS_HDCP2_ON; in mod_hdcp_query_display() [all …]
|
| /linux/arch/powerpc/platforms/pseries/ |
| A D | iommu.c | 1221 query->page_size = query_out[2]; in query_ddw() 1228 query->page_size = query_out[3]; in query_ddw() 1236 query->page_size, query->windows_available); in query_ddw() 1405 struct ddw_query_response query; in enable_ddw() local 1473 if (query.windows_available == 0) { in enable_ddw() 1498 if (query.windows_available == 0) { in enable_ddw() 1508 query.page_size); in enable_ddw() 1532 query.largest_available_block, in enable_ddw() 1737 struct ddw_query_response query; in spapr_tce_init_table_group() local 1769 if (query.windows_available == 0) in spapr_tce_init_table_group() [all …]
|
| /linux/drivers/platform/x86/hp/hp-bioscfg/ |
| A D | biosattr-interface.c | 119 int hp_wmi_perform_query(int query, enum hp_wmi_command command, void *buffer, in hp_wmi_perform_query() argument 144 args->commandtype = query; in hp_wmi_perform_query() 160 pr_warn("query 0x%x returned wrong type or too small buffer\n", query); in hp_wmi_perform_query() 169 pr_warn("query 0x%x returned error 0x%x\n", query, ret); in hp_wmi_perform_query()
|
| /linux/tools/testing/selftests/drivers/net/netdevsim/ |
| A D | ethtool-coalesce.sh | 7 local query="${SETTINGS_MAP[$1]}" 10 awk -F':' -v pattern="$query:" '$0 ~ pattern {gsub(/[ \t]/, "", $2); print $2}')
|
| A D | ethtool-ring.sh | 7 local query="${SETTINGS_MAP[$1]}" 11 awk -F':' -v pattern="$query:" '$0 ~ pattern {gsub(/[\t ]/, "", $2); print $2}')
|