| /kernel/linux/linux-5.10/drivers/infiniband/core/ |
| D | sa_query.c | 739 static inline void ib_sa_disable_local_svc(struct ib_sa_query *query) in ib_sa_disable_local_svc() argument 741 query->flags &= ~IB_SA_ENABLE_LOCAL_SERVICE; in ib_sa_disable_local_svc() 744 static inline int ib_sa_query_cancelled(struct ib_sa_query *query) in ib_sa_query_cancelled() argument 746 return (query->flags & IB_SA_CANCEL); in ib_sa_query_cancelled() 750 struct ib_sa_query *query) in ib_nl_set_path_rec_attrs() argument 752 struct sa_path_rec *sa_rec = query->mad_buf->context[1]; in ib_nl_set_path_rec_attrs() 753 struct ib_sa_mad *mad = query->mad_buf->mad; in ib_nl_set_path_rec_attrs() 759 query->mad_buf->context[1] = NULL; in ib_nl_set_path_rec_attrs() 764 dev_name(&query->port->agent->device->dev), in ib_nl_set_path_rec_attrs() 766 header->port_num = query->port->port_num; in ib_nl_set_path_rec_attrs() [all …]
|
| /kernel/linux/linux-4.19/drivers/infiniband/core/ |
| D | sa_query.c | 740 static inline void ib_sa_disable_local_svc(struct ib_sa_query *query) in ib_sa_disable_local_svc() argument 742 query->flags &= ~IB_SA_ENABLE_LOCAL_SERVICE; in ib_sa_disable_local_svc() 745 static inline int ib_sa_query_cancelled(struct ib_sa_query *query) in ib_sa_query_cancelled() argument 747 return (query->flags & IB_SA_CANCEL); in ib_sa_query_cancelled() 751 struct ib_sa_query *query) in ib_nl_set_path_rec_attrs() argument 753 struct sa_path_rec *sa_rec = query->mad_buf->context[1]; in ib_nl_set_path_rec_attrs() 754 struct ib_sa_mad *mad = query->mad_buf->mad; in ib_nl_set_path_rec_attrs() 760 query->mad_buf->context[1] = NULL; in ib_nl_set_path_rec_attrs() 764 memcpy(header->device_name, query->port->agent->device->name, in ib_nl_set_path_rec_attrs() 766 header->port_num = query->port->port_num; in ib_nl_set_path_rec_attrs() [all …]
|
| /kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
| D | tp_attach_query.c | 10 struct perf_event_query_bpf *query; in test_tp_attach_query() local 36 query = malloc(sizeof(*query) + sizeof(__u32) * num_progs); in test_tp_attach_query() 66 /* check NULL prog array query */ in test_tp_attach_query() 67 query->ids_len = num_progs; in test_tp_attach_query() 68 err = ioctl(pmu_fd[i], PERF_EVENT_IOC_QUERY_BPF, query); in test_tp_attach_query() 69 if (CHECK(err || query->prog_cnt != 0, in test_tp_attach_query() 71 "err %d errno %d query->prog_cnt %u\n", in test_tp_attach_query() 72 err, errno, query->prog_cnt)) in test_tp_attach_query() 83 query->ids_len = 0; in test_tp_attach_query() 84 err = ioctl(pmu_fd[i], PERF_EVENT_IOC_QUERY_BPF, query); in test_tp_attach_query() [all …]
|
| /kernel/linux/linux-5.10/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 | 182 def QueryExec(query, stmt): argument 183 ret = query.exec_(stmt) 185 raise Exception("Query failed: " + query.lastError().text()) 539 query = QSqlQuery(self.glb.db) 544 …QueryExec(query, "SELECT call_path_id, name, short_name, COUNT(calls.id), SUM(return_time - call_t… 554 while query.next(): 556 insn_cnt = int(query.value(5)) 557 cyc_cnt = int(query.value(6)) 558 branch_count = int(query.value(7)) 562 branch_count = int(query.value(5)) [all …]
|
| /kernel/linux/linux-5.10/lib/ |
| D | dynamic_debug.c | 122 static void vpr_info_dq(const struct ddebug_query *query, const char *msg) in vpr_info_dq() argument 127 if (query->format) { in vpr_info_dq() 128 fmtlen = strlen(query->format); in vpr_info_dq() 129 while (fmtlen && query->format[fmtlen - 1] == '\n') in vpr_info_dq() 135 query->function ?: "", in vpr_info_dq() 136 query->filename ?: "", in vpr_info_dq() 137 query->module ?: "", in vpr_info_dq() 138 fmtlen, query->format ?: "", in vpr_info_dq() 139 query->first_lineno, query->last_lineno); in vpr_info_dq() 143 * Search the tables for _ddebug's which match the given `query' and [all …]
|
| /kernel/linux/linux-4.19/tools/perf/scripts/python/ |
| D | export-to-postgresql.py | 129 # Note that some of the examples are not the most optimal SQL query. 189 # query = QSqlQuery(db) 192 # ret = query.exec_('SELECT * FROM call_paths_view WHERE id = ' + str(call_path_i… 194 # raise Exception("Query failed: " + query.lastError().text()) 195 # if not query.next(): 196 # raise Exception("Query failed") 197 … {3:<30} {4:>6} {5:<30}".format(query.value(0), query.value(1), query.value(2), query.value(3), … 198 # call_path_id = query.value(6) 274 raise Exception("Query failed: " + q.lastError().text()) 279 query = QSqlQuery(db) variable [all …]
|
| D | call-graph-from-sql.py | 83 query = QSqlQuery(self.db) 84 ret = query.exec_('SELECT id, comm FROM comms') 86 raise Exception("Query failed: " + query.lastError().text()) 87 while query.next(): 88 if not query.value(0): 93 child_item.setUpLevel1(query.value(0), query.value(1)) 101 query = QSqlQuery(self.db) 102 …ret = query.exec_('SELECT thread_id, ( SELECT pid FROM threads WHERE id = thread_id ), ( SELECT ti… 104 raise Exception("Query failed: " + query.lastError().text()) 105 while query.next(): [all …]
|
| D | export-to-sqlite.py | 96 raise Exception("Query failed: " + q.lastError().text()) 101 raise Exception("Query failed: " + q.lastError().text()) 120 query = QSqlQuery(db) variable 122 do_query(query, 'PRAGMA journal_mode = OFF') 123 do_query(query, 'BEGIN TRANSACTION') 125 do_query(query, 'CREATE TABLE selected_events (' 128 do_query(query, 'CREATE TABLE machines (' 132 do_query(query, 'CREATE TABLE threads (' 138 do_query(query, 'CREATE TABLE comms (' 141 do_query(query, 'CREATE TABLE comm_threads (' [all …]
|
| /kernel/linux/linux-4.19/lib/ |
| D | dynamic_debug.c | 112 static void vpr_info_dq(const struct ddebug_query *query, const char *msg) in vpr_info_dq() argument 117 if (query->format) { in vpr_info_dq() 118 fmtlen = strlen(query->format); in vpr_info_dq() 119 while (fmtlen && query->format[fmtlen - 1] == '\n') in vpr_info_dq() 125 query->function ? query->function : "", in vpr_info_dq() 126 query->filename ? query->filename : "", in vpr_info_dq() 127 query->module ? query->module : "", in vpr_info_dq() 128 fmtlen, query->format ? query->format : "", in vpr_info_dq() 129 query->first_lineno, query->last_lineno); in vpr_info_dq() 133 * Search the tables for _ddebug's which match the given `query' and [all …]
|
| /kernel/linux/linux-5.10/drivers/input/rmi4/ |
| D | rmi_f11.c | 36 * a given sensor are described by its query registers. The number of query 38 * 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 */ 109 /** Defs for Query 8 */ [all …]
|
| /kernel/linux/linux-4.19/drivers/input/rmi4/ |
| D | rmi_f11.c | 39 * a given sensor are described by its query registers. The number of query 41 * queries as well as the sensor query information. 45 * by parsing that sensors query registers. 49 * sensors data registers must be determined by parsing its query registers. 51 * The short story is that we need to read and parse a lot of query 80 /** Defs for Query 1 */ 89 /** Defs for Query 2, 3, and 4. */ 92 /** Defs for Query 5 */ 102 /** Defs for Query 7 */ 112 /** Defs for Query 8 */ [all …]
|
| /kernel/linux/linux-4.19/include/uapi/drm/ |
| D | amdgpu_drm.h | 618 * Query h/w info: Flag that this is integrated (a.h.a. fusion) GPU 628 /* query hw IP info */ 630 /* query hw IP instance count for the specified type */ 634 /* Query the firmware version */ 636 /* Subquery id: Query VCE firmware version */ 638 /* Subquery id: Query UVD firmware version */ 640 /* Subquery id: Query GMC firmware version */ 642 /* Subquery id: Query GFX ME firmware version */ 644 /* Subquery id: Query GFX PFP firmware version */ 646 /* Subquery id: Query GFX CE firmware version */ [all …]
|
| /kernel/linux/linux-5.10/include/uapi/drm/ |
| D | amdgpu_drm.h | 671 * Query h/w info: Flag that this is integrated (a.h.a. fusion) GPU 682 /* query hw IP info */ 684 /* query hw IP instance count for the specified type */ 688 /* Query the firmware version */ 690 /* Subquery id: Query VCE firmware version */ 692 /* Subquery id: Query UVD firmware version */ 694 /* Subquery id: Query GMC firmware version */ 696 /* Subquery id: Query GFX ME firmware version */ 698 /* Subquery id: Query GFX PFP firmware version */ 700 /* Subquery id: Query GFX CE firmware version */ [all …]
|
| /kernel/linux/linux-4.19/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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.
|
| /kernel/linux/linux-5.10/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
|
| /kernel/linux/linux-4.19/Documentation/networking/ |
| D | dns_resolver.txt | 31 (*) Dns query support for AFSDB resource record. 58 To direct a query for query type 'foo', a line of the following should be added 76 This is the basic access function. It looks for a cached DNS query and if 77 it doesn't find it, it upcalls to userspace to make a new DNS query, which 84 and thus the type of query to do, and <name> specifies the string to be 85 looked up. The default query type is a straight hostname to IP address 92 appropriate to the query type. 94 The return value is a string appropriate to the query type. For instance, 95 for the default query type it is just a list of comma-separated IPv4 and
|
| /kernel/linux/linux-4.19/include/rdma/ |
| D | ib_cache.h | 59 * @device: The device to query. 60 * @port_num: The port number of the device to query. 61 * @index: The index into the cached PKey table to query. 75 * @device: The device to query. 91 * @device: The device to query. 106 * @device: The device to query. 107 * @port_num: The port number of the device to query. 119 * @device: The device to query. 120 * @port_num: The port number of the device to query.
|
| /kernel/linux/linux-4.19/drivers/gpu/drm/vmwgfx/ |
| D | vmwgfx_fifo.c | 583 * vmw_fifo_emit_dummy_legacy_query - emits a dummy query to the fifo using 584 * legacy query commands. 587 * @cid: The hardware context id used for the query. 595 * A query wait without a preceding query end will in vmw_fifo_emit_dummy_legacy_query() 597 * without writing to the query result structure. in vmw_fifo_emit_dummy_legacy_query() 609 DRM_ERROR("Out of fifo space for dummy query.\n"); in vmw_fifo_emit_dummy_legacy_query() 632 * vmw_fifo_emit_dummy_gb_query - emits a dummy query to the fifo using 633 * guest-backed resource query commands. 636 * @cid: The hardware context id used for the query. 644 * A query wait without a preceding query end will in vmw_fifo_emit_dummy_gb_query() [all …]
|
| /kernel/linux/linux-4.19/drivers/input/touchscreen/ |
| D | wacom_w8001.c | 69 /* touch query reply packet */ 186 static void parse_touchquery(u8 *data, struct w8001_touch_query *query) in parse_touchquery() argument 188 memset(query, 0, sizeof(*query)); in parse_touchquery() 190 query->panel_res = data[1]; in parse_touchquery() 191 query->sensor_id = data[2] & 0x7; in parse_touchquery() 192 query->capacity_res = data[7]; in parse_touchquery() 194 query->x = data[3] << 9; in parse_touchquery() 195 query->x |= data[4] << 2; in parse_touchquery() 196 query->x |= (data[2] >> 5) & 0x3; in parse_touchquery() 198 query->y = data[5] << 9; in parse_touchquery() [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
| D | vmwgfx_fifo.c | 579 * vmw_fifo_emit_dummy_legacy_query - emits a dummy query to the fifo using 580 * legacy query commands. 583 * @cid: The hardware context id used for the query. 591 * A query wait without a preceding query end will in vmw_fifo_emit_dummy_legacy_query() 593 * without writing to the query result structure. in vmw_fifo_emit_dummy_legacy_query() 625 * vmw_fifo_emit_dummy_gb_query - emits a dummy query to the fifo using 626 * guest-backed resource query commands. 629 * @cid: The hardware context id used for the query. 637 * A query wait without a preceding query end will in vmw_fifo_emit_dummy_gb_query() 639 * without writing to the query result structure. in vmw_fifo_emit_dummy_gb_query() [all …]
|