Home
last modified time | relevance | path

Searched refs:query (Results 1 – 25 of 317) sorted by relevance

12345678910>>...13

/Linux-v6.6/drivers/infiniband/core/
Dsa_query.c689 static inline void ib_sa_disable_local_svc(struct ib_sa_query *query) in ib_sa_disable_local_svc() argument
691 query->flags &= ~IB_SA_ENABLE_LOCAL_SERVICE; in ib_sa_disable_local_svc()
694 static inline int ib_sa_query_cancelled(struct ib_sa_query *query) in ib_sa_query_cancelled() argument
696 return (query->flags & IB_SA_CANCEL); in ib_sa_query_cancelled()
700 struct ib_sa_query *query) in ib_nl_set_path_rec_attrs() argument
702 struct sa_path_rec *sa_rec = query->mad_buf->context[1]; in ib_nl_set_path_rec_attrs()
703 struct ib_sa_mad *mad = query->mad_buf->mad; in ib_nl_set_path_rec_attrs()
709 query->mad_buf->context[1] = NULL; in ib_nl_set_path_rec_attrs()
714 dev_name(&query->port->agent->device->dev), in ib_nl_set_path_rec_attrs()
716 header->port_num = query->port->port_num; in ib_nl_set_path_rec_attrs()
[all …]
/Linux-v6.6/tools/perf/scripts/python/
Dexport-to-postgresql.py323 query = QSqlQuery(db) variable
327 do_query(query, 'CREATE DATABASE ' + dbname)
331 query.finish()
332 query.clear()
338 query = QSqlQuery(db) variable
339 do_query(query, 'SET client_min_messages TO WARNING')
341 do_query(query, 'CREATE TABLE selected_events ('
344 do_query(query, 'CREATE TABLE machines ('
348 do_query(query, 'CREATE TABLE threads ('
354 do_query(query, 'CREATE TABLE comms ('
[all …]
Dexport-to-sqlite.py160 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 ('
188 do_query(query, 'CREATE TABLE dsos ('
194 do_query(query, 'CREATE TABLE symbols ('
[all …]
Dexported-sql-viewer.py183 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.6/tools/testing/selftests/bpf/prog_tests/
Dtp_attach_query.c10 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()
74 err = ioctl(pmu_fd[i], PERF_EVENT_IOC_QUERY_BPF, query); in serial_test_tp_attach_query()
75 if (CHECK(err || query->prog_cnt != 0, 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()
90 err = ioctl(pmu_fd[i], PERF_EVENT_IOC_QUERY_BPF, query); in serial_test_tp_attach_query()
91 if (CHECK(err || query->prog_cnt != 2, in serial_test_tp_attach_query()
94 err, errno, query->prog_cnt)) in serial_test_tp_attach_query()
[all …]
/Linux-v6.6/lib/
Ddynamic_debug.c130 static void vpr_info_dq(const struct ddebug_query *query, const char *msg) in vpr_info_dq() argument
135 if (query->format) { in vpr_info_dq()
136 fmtlen = strlen(query->format); in vpr_info_dq()
137 while (fmtlen && query->format[fmtlen - 1] == '\n') in vpr_info_dq()
143 query->function ?: "", in vpr_info_dq()
144 query->filename ?: "", in vpr_info_dq()
145 query->module ?: "", in vpr_info_dq()
146 fmtlen, query->format ?: "", in vpr_info_dq()
147 query->first_lineno, query->last_lineno, query->class_string); in vpr_info_dq()
174 static int ddebug_change(const struct ddebug_query *query, in ddebug_change() argument
[all …]
/Linux-v6.6/drivers/gpu/drm/i915/
Di915_query.c134 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()
468 struct drm_i915_query_memory_regions query; in query_memregion_info() local
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()
[all …]
/Linux-v6.6/drivers/input/touchscreen/
Dwacom_w8001.c188 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()
201 query->y |= data[6] << 2; in parse_touchquery()
[all …]
/Linux-v6.6/drivers/input/rmi4/
Drmi_f11.c659 struct f11_2d_sensor_queries *query = &f11->sens_query; in f11_2d_construct_data() local
663 sensor->nbr_fingers = (query->nr_fingers == 5 ? 10 : in f11_2d_construct_data()
664 query->nr_fingers + 1); in f11_2d_construct_data()
668 if (query->has_abs) { in f11_2d_construct_data()
673 if (query->has_rel) in f11_2d_construct_data()
677 if (query->query7_nonzero) 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()
[all …]
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dcore.c109 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()
Dcmd.c125 int mlx5_fpga_query(struct mlx5_core_dev *dev, struct mlx5_fpga_query *query) in mlx5_fpga_query() argument
136 query->status = MLX5_GET(fpga_ctrl, out, status); in mlx5_fpga_query()
137 query->admin_image = MLX5_GET(fpga_ctrl, out, flash_select_admin); in mlx5_fpga_query()
138 query->oper_image = MLX5_GET(fpga_ctrl, out, flash_select_oper); in mlx5_fpga_query()
/Linux-v6.6/arch/s390/hypfs/
Dhypfs_vm.c27 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-v6.6/sound/virtio/
Dvirtio_ctl_msg.c265 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.6/drivers/gpu/drm/ci/xfails/
Drockchip-rk3399-flakes.txt17 kms_vblank@pipe-A-query-busy
18 kms_vblank@pipe-A-query-forked-busy
21 kms_vblank@pipe-B-query-busy
22 kms_vblank@pipe-B-query-forked-busy
Dvirtio_gpu-none-fails.txt28 kms_vblank@pipe-A-query-busy,Fail
29 kms_vblank@pipe-A-query-forked,Fail
30 kms_vblank@pipe-A-query-forked-busy,Fail
31 kms_vblank@pipe-A-query-idle,Fail
/Linux-v6.6/kernel/bpf/
Dmprog.c408 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 …]
Dnet_namespace.c251 __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-v6.6/Documentation/networking/
Ddns_resolver.rst32 (*) 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.6/drivers/media/rc/
Dbpf-lirc.c297 __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); 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-v6.6/drivers/gpu/drm/amd/display/modules/hdcp/
Dhdcp.c485 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()
509 else if (query->link->adjust.hdcp2.force_type == MOD_HDCP_FORCE_TYPE_1) in mod_hdcp_query_display()
510 query->encryption_status = MOD_HDCP_ENCRYPTION_STATUS_HDCP2_TYPE1_ON; in mod_hdcp_query_display()
[all …]
/Linux-v6.6/arch/powerpc/platforms/pseries/
Diommu.c1030 struct ddw_query_response *query, in query_ddw() argument
1066 query->windows_available = query_out[0]; in query_ddw()
1067 query->largest_available_block = query_out[1]; in query_ddw()
1068 query->page_size = query_out[2]; in query_ddw()
1069 query->migration_capable = query_out[3]; in query_ddw()
1072 query->windows_available = query_out[0]; in query_ddw()
1073 query->largest_available_block = ((u64)query_out[1] << 32) | in query_ddw()
1075 query->page_size = query_out[3]; in query_ddw()
1076 query->migration_capable = query_out[4]; in query_ddw()
1082 BUID_LO(buid), ret, query->largest_available_block, in query_ddw()
[all …]
/Linux-v6.6/drivers/platform/x86/hp/hp-bioscfg/
Dbiosattr-interface.c119 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-v6.6/drivers/soc/qcom/
Dcmd-db.c144 u8 query[sizeof(ent->id)] __nonstring; in cmd_db_get_header() local
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()
/Linux-v6.6/tools/testing/selftests/drivers/net/netdevsim/
Dethtool-coalesce.sh7 local query="${SETTINGS_MAP[$1]}"
10 awk -F':' -v pattern="$query:" '$0 ~ pattern {gsub(/[ \t]/, "", $2); print $2}')
Dethtool-ring.sh7 local query="${SETTINGS_MAP[$1]}"
11 awk -F':' -v pattern="$query:" '$0 ~ pattern {gsub(/[\t ]/, "", $2); print $2}')

12345678910>>...13