/Linux-v6.1/drivers/infiniband/core/ |
D | sa_query.c | 693 static inline void ib_sa_disable_local_svc(struct ib_sa_query *query) in ib_sa_disable_local_svc() argument 695 query->flags &= ~IB_SA_ENABLE_LOCAL_SERVICE; in ib_sa_disable_local_svc() 698 static inline int ib_sa_query_cancelled(struct ib_sa_query *query) in ib_sa_query_cancelled() argument 700 return (query->flags & IB_SA_CANCEL); in ib_sa_query_cancelled() 704 struct ib_sa_query *query) in ib_nl_set_path_rec_attrs() argument 706 struct sa_path_rec *sa_rec = query->mad_buf->context[1]; in ib_nl_set_path_rec_attrs() 707 struct ib_sa_mad *mad = query->mad_buf->mad; in ib_nl_set_path_rec_attrs() 713 query->mad_buf->context[1] = NULL; in ib_nl_set_path_rec_attrs() 718 dev_name(&query->port->agent->device->dev), in ib_nl_set_path_rec_attrs() 720 header->port_num = query->port->port_num; in ib_nl_set_path_rec_attrs() [all …]
|
/Linux-v6.1/tools/testing/selftests/bpf/prog_tests/ |
D | tp_attach_query.c | 10 struct perf_event_query_bpf *query; in serial_test_tp_attach_query() local 36 query = malloc(sizeof(*query) + sizeof(__u32) * num_progs); in serial_test_tp_attach_query() 66 /* check NULL prog array query */ in serial_test_tp_attach_query() 67 query->ids_len = num_progs; in serial_test_tp_attach_query() 68 err = ioctl(pmu_fd[i], PERF_EVENT_IOC_QUERY_BPF, query); in serial_test_tp_attach_query() 69 if (CHECK(err || query->prog_cnt != 0, in serial_test_tp_attach_query() 71 "err %d errno %d query->prog_cnt %u\n", in serial_test_tp_attach_query() 72 err, errno, query->prog_cnt)) in serial_test_tp_attach_query() 83 query->ids_len = 0; in serial_test_tp_attach_query() 84 err = ioctl(pmu_fd[i], PERF_EVENT_IOC_QUERY_BPF, query); in serial_test_tp_attach_query() [all …]
|
D | sockmap_basic.c | 329 err = bpf_prog_query(map_fd, attach_type, 0 /* query flags */, in test_sockmap_progs_query() 332 ASSERT_EQ(attach_flags, 0, "wrong attach_flags on query"); in test_sockmap_progs_query() 333 ASSERT_EQ(prog_cnt, 0, "wrong program count on query"); in test_sockmap_progs_query() 340 err = bpf_prog_query(map_fd, attach_type, 0 /* query flags */, in test_sockmap_progs_query() 343 ASSERT_EQ(attach_flags, 0, "wrong attach_flags on query"); in test_sockmap_progs_query() 344 ASSERT_EQ(prog_cnt, 1, "wrong program count on query"); in test_sockmap_progs_query() 346 "wrong prog_ids on query"); in test_sockmap_progs_query() 379 if (test__start_subtest("sockmap msg_verdict progs query")) in test_sockmap_basic() 381 if (test__start_subtest("sockmap stream_parser progs query")) in test_sockmap_basic() 383 if (test__start_subtest("sockmap stream_verdict progs query")) in test_sockmap_basic() [all …]
|
/Linux-v6.1/tools/perf/scripts/python/ |
D | export-to-postgresql.py | 144 # Note that some of the examples are not the most optimal SQL query. 204 # query = QSqlQuery(db) 207 # ret = query.exec_('SELECT * FROM call_paths_view WHERE id = ' + str(call_path_i… 209 # raise Exception("Query failed: " + query.lastError().text()) 210 # if not query.next(): 211 # raise Exception("Query failed") 212 … {3:<30} {4:>6} {5:<30}".format(query.value(0), query.value(1), query.value(2), query.value(3), … 213 # call_path_id = query.value(6) 318 raise Exception("Query failed: " + q.lastError().text()) 323 query = QSqlQuery(db) variable [all …]
|
D | export-to-sqlite.py | 136 raise Exception("Query failed: " + q.lastError().text()) 141 raise Exception("Query failed: " + q.lastError().text()) 160 query = QSqlQuery(db) variable 162 do_query(query, 'PRAGMA journal_mode = OFF') 163 do_query(query, 'BEGIN TRANSACTION') 165 do_query(query, 'CREATE TABLE selected_events (' 168 do_query(query, 'CREATE TABLE machines (' 172 do_query(query, 'CREATE TABLE threads (' 178 do_query(query, 'CREATE TABLE comms (' 184 do_query(query, 'CREATE TABLE comm_threads (' [all …]
|
D | exported-sql-viewer.py | 183 def QueryExec(query, stmt): argument 184 ret = query.exec_(stmt) 186 raise Exception("Query failed: " + query.lastError().text()) 540 query = QSqlQuery(self.glb.db) 545 …QueryExec(query, "SELECT call_path_id, name, short_name, COUNT(calls.id), SUM(return_time - call_t… 555 while query.next(): 557 insn_cnt = int(query.value(5)) 558 cyc_cnt = int(query.value(6)) 559 branch_count = int(query.value(7)) 563 branch_count = int(query.value(5)) [all …]
|
/Linux-v6.1/lib/ |
D | dynamic_debug.c | 129 static void vpr_info_dq(const struct ddebug_query *query, const char *msg) in vpr_info_dq() argument 134 if (query->format) { in vpr_info_dq() 135 fmtlen = strlen(query->format); in vpr_info_dq() 136 while (fmtlen && query->format[fmtlen - 1] == '\n') in vpr_info_dq() 142 query->function ?: "", in vpr_info_dq() 143 query->filename ?: "", in vpr_info_dq() 144 query->module ?: "", in vpr_info_dq() 145 fmtlen, query->format ?: "", in vpr_info_dq() 146 query->first_lineno, query->last_lineno, query->class_string); in vpr_info_dq() 168 * Search the tables for _ddebug's which match the given `query' and [all …]
|
/Linux-v6.1/drivers/input/rmi4/ |
D | rmi_f11.c | 36 * The properties for a given sensor are described by its query registers. The 37 * number of query registers and the layout of their contents are described by 38 * the F11 device queries as well as the sensor query information. 42 * by parsing that sensors query registers. 46 * sensors data registers must be determined by parsing its query registers. 48 * The short story is that we need to read and parse a lot of query 77 /** Defs for Query 1 */ 86 /** Defs for Query 2, 3, and 4. */ 89 /** Defs for Query 5 */ 99 /** Defs for Query 7 */ [all …]
|
D | rmi_f34.h | 120 u8 bl_minor_revision; /* query 1 */ 122 __le32 bl_fw_id; /* query 2 */ 123 u8 minimum_write_size; /* query 3 */ 126 __le16 adjustable_partition_area_size; /* query 4 */ 127 __le16 flash_config_length; /* query 5 */ 128 __le16 payload_length; /* query 6 */ 129 u8 partition_support[4]; /* query 7 */
|
/Linux-v6.1/include/uapi/drm/ |
D | amdgpu_drm.h | 698 * Query h/w info: Flag that this is integrated (a.h.a. fusion) GPU 709 /* query hw IP info */ 711 /* query hw IP instance count for the specified type */ 715 /* Query the firmware version */ 717 /* Subquery id: Query VCE firmware version */ 719 /* Subquery id: Query UVD firmware version */ 721 /* Subquery id: Query GMC firmware version */ 723 /* Subquery id: Query GFX ME firmware version */ 725 /* Subquery id: Query GFX PFP firmware version */ 727 /* Subquery id: Query GFX CE firmware version */ [all …]
|
/Linux-v6.1/drivers/gpu/drm/i915/ |
D | i915_query.c | 134 struct drm_i915_query_engine_info query; in query_engine_info() local 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() 253 DRM_DEBUG("Invalid query config data item size=%u expected=%u\n", in query_perf_config_data() 421 DRM_DEBUG("Invalid query config list item size=%u expected=%zu\n", in query_perf_config_list() 466 struct drm_i915_query_memory_regions query; in query_memregion_info() local 474 total_length = sizeof(query); in query_memregion_info() [all …]
|
/Linux-v6.1/Documentation/input/devices/ |
D | iforce-protocol.rst | 218 Query command. Length varies according to the query type. 220 ff 01 QUERY [INDEX] CHECKSUM 222 FF LEN QUERY VALUE_QUERIED CHECKSUM2 225 Query ram size 230 QUERY = 42 ('B'uffer size) 236 Query number of effects 241 QUERY = 4e ('N'umber of effects) 252 QUERY = 4d ('M'anufacturer) 254 Query the vendors'id (2 bytes) 261 QUERY = 50 ('P'roduct) [all …]
|
/Linux-v6.1/include/rdma/ |
D | ib_cache.h | 37 * @device: The device to query. 38 * @port_num: The port number of the device to query. 39 * @index: The index into the cached PKey table to query. 53 * @device: The device to query. 69 * @device: The device to query. 84 * @device: The device to query. 85 * @port_num: The port number of the device to query. 97 * @device: The device to query. 98 * @port_num: The port number of the device to query.
|
/Linux-v6.1/Documentation/networking/ |
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-v6.1/drivers/input/touchscreen/ |
D | wacom_w8001.c | 71 /* touch query reply packet */ 188 static void parse_touchquery(u8 *data, struct w8001_touch_query *query) in parse_touchquery() argument 190 memset(query, 0, sizeof(*query)); in parse_touchquery() 192 query->panel_res = data[1]; in parse_touchquery() 193 query->sensor_id = data[2] & 0x7; in parse_touchquery() 194 query->capacity_res = data[7]; in parse_touchquery() 196 query->x = data[3] << 9; in parse_touchquery() 197 query->x |= data[4] << 2; in parse_touchquery() 198 query->x |= (data[2] >> 5) & 0x3; in parse_touchquery() 200 query->y = data[5] << 9; in parse_touchquery() [all …]
|
/Linux-v6.1/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_cmd.c | 553 * vmw_cmd_emit_dummy_legacy_query - emits a dummy query to the fifo using 554 * legacy query commands. 557 * @cid: The hardware context id used for the query. 565 * A query wait without a preceding query end will in vmw_cmd_emit_dummy_legacy_query() 567 * without writing to the query result structure. in vmw_cmd_emit_dummy_legacy_query() 599 * vmw_cmd_emit_dummy_gb_query - emits a dummy query to the fifo using 600 * guest-backed resource query commands. 603 * @cid: The hardware context id used for the query. 611 * A query wait without a preceding query end will in vmw_cmd_emit_dummy_gb_query() 613 * without writing to the query result structure. in vmw_cmd_emit_dummy_gb_query() [all …]
|
/Linux-v6.1/drivers/soc/qcom/ |
D | cmd-db.c | 89 * Drivers have a stringified key to a slave/resource. They can query the slave 144 u8 query[sizeof(ent->id)] __nonstring; in cmd_db_get_header() local 151 * Pad out query string to same length as in DB. NOTE: the output in cmd_db_get_header() 152 * query string is not necessarily '\0' terminated if it bumps up in cmd_db_get_header() 155 strncpy(query, id, sizeof(query)); in cmd_db_get_header() 164 if (memcmp(ent->id, query, sizeof(ent->id)) == 0) { in cmd_db_get_header() 178 * cmd_db_read_addr() - Query command db for resource id address. 180 * @id: resource id to query for address 199 * cmd_db_read_aux_data() - Query command db for aux data. 226 * @id: Resource id to query the DB for version
|
/Linux-v6.1/drivers/pinctrl/aspeed/ |
D | pinmux-aspeed.c | 24 * aspeed_sig_desc_eval() - Query the enabled or disabled state of a signal 28 * @enabled: True to query the enabled state, false to query disabled state 62 * aspeed_sig_expr_eval - Query the enabled or disabled state for a 67 * @enabled: True to query the enabled state, false to query disabled state
|
/Linux-v6.1/include/net/ |
D | if_inet6.h | 180 unsigned char mc_qrv; /* Query Robustness Variable */ 186 unsigned long mc_qi; /* Query Interval */ 187 unsigned long mc_qri; /* Query Response Interval */ 190 struct delayed_work mc_gq_work; /* general query work */ 193 struct delayed_work mc_query_work; /* mld query work */ 196 struct sk_buff_head mc_query_queue; /* mld query queue */ 199 spinlock_t mc_query_lock; /* mld query queue lock */ 200 spinlock_t mc_report_lock; /* mld query report lock */
|
/Linux-v6.1/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
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() 114 mlx5_fpga_err(fdev, "Failed to query status: %d\n", err); 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-v6.1/net/dns_resolver/ |
D | dns_query.c | 12 * The upcall wrapper used to make an arbitrary DNS query. 20 * For example to use this module to query AFSDB RR: 51 * dns_query - Query the DNS 53 * @type: Query type (or NULL for straight host->IP lookup) 65 * the options need to be appropriate for the query type requested. If no 66 * query_type is given, then the query is a straight hostname to IP address 92 /* construct the query key description as "[<type>:]<name>" */ in dns_query()
|
/Linux-v6.1/include/uapi/linux/ |
D | cxl_mem.h | 15 * by userspace. Userspace must check the results from the QUERY command in 68 * struct cxl_command_info - Command information returned from a query. 75 * hardware. This is returned as part of an array from the query ioctl. The 97 * struct cxl_mem_query_commands - Query supported commands. 105 * Allow userspace to query the available commands supported by both the driver, 107 * hardware are not returned in the query. 135 * commands returned by the query command.
|
/Linux-v6.1/sound/virtio/ |
D | virtio_ctl_msg.c | 250 * virtsnd_ctl_query_info() - Query the item configuration from the device. 254 * @count: Item count to query. 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-v6.1/include/ufs/ |
D | ufs.h | 109 /* UPIU Query request function */ 115 /* Flag idn for Query Requests*/ 135 /* Attribute idn for Query requests */ 170 /* Descriptor idn for Query requests */ 396 /* UTP QUERY Transaction Specific Fields OpCode */ 418 /* Query response result code */ 529 * @qr: fields structure for query request DW-3 to DW-7 541 * struct ufs_query_req - parameters for building a query request 542 * @query_func: UPIU header query function 543 * @upiu_req: the query request data [all …]
|
/Linux-v6.1/Documentation/admin-guide/ |
D | dynamic-debug-howto.rst | 19 * a Simple query/command language to alter *prdbgs* by selecting on 50 query/commands to the control file. Example:: 66 dyndbg: query parse failed 90 :#> cat query-batch-file > /proc/dynamic_debug/control 92 You can also use wildcards in each query term. The match rule supports 233 ``dyndbg="QUERY"`` or ``module.dyndbg="QUERY"``. QUERY follows 282 In the ``foo.dyndbg="QUERY"`` form, the query must exclude ``module foo``. 283 ``foo`` is extracted from the param-name, and applied to each query in 284 ``QUERY``, and only 1 match-spec of each type is allowed.
|