Home
last modified time | relevance | path

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

12345678910>>...12

/linux/drivers/infiniband/core/
A Dsa_query.c910 query->callback(query, status, mad); in ib_nl_process_good_resolve_rsp()
1247 query->sm_ah = query->port->sm_ah; in alloc_mad()
1271 query->mad_buf->ah = query->sm_ah->ah; in alloc_mad()
1323 query->mad_buf->context[0] = query; in send_mad()
1515 query = kzalloc(sizeof(*query), gfp_mask); in ib_sa_path_rec_get()
1842 query->callback(query->context); in ib_sa_classport_info_rec_callback()
1973 query->callback(query, -EINTR, NULL); in send_handler()
1976 query->callback(query, -EIO, NULL); in send_handler()
1987 query->release(query); in send_handler()
2002 query->callback(query, in recv_handler()
[all …]
/linux/tools/perf/scripts/python/
A Dexport-to-postgresql.py323 query = QSqlQuery(db) variable
331 query.finish()
332 query.clear()
338 query = QSqlQuery(db) variable
364 do_query(query, 'CREATE TABLE dsos ('
458 do_query(query, 'CREATE TABLE cbr ('
469 do_query(query, 'CREATE TABLE pwre ('
479 do_query(query, 'CREATE TABLE pwrx ('
748 do_query(query, sql)
816 if query.next():
[all …]
A Dexport-to-sqlite.py160 query = QSqlQuery(db) variable
163 do_query(query, 'BEGIN TRANSACTION')
178 do_query(query, 'CREATE TABLE comms ('
188 do_query(query, 'CREATE TABLE dsos ('
282 do_query(query, 'CREATE TABLE cbr ('
288 do_query(query, 'CREATE TABLE mwait ('
293 do_query(query, 'CREATE TABLE pwre ('
303 do_query(query, 'CREATE TABLE pwrx ('
567 do_query(query, 'END TRANSACTION')
630 if query.next():
[all …]
A Dexported-sql-viewer.py1188 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/lib/
A Ddynamic_debug.c131 if (query->format) { in vpr_info_dq()
141 query->module ?: "", in vpr_info_dq()
143 query->first_lineno, query->last_lineno); in vpr_info_dq()
166 if (query->module && in ddebug_change()
314 if (query->first_lineno || query->last_lineno) { in parse_linerange()
331 if (query->last_lineno < query->first_lineno) { in parse_linerange()
338 query->last_lineno = query->first_lineno; in parse_linerange()
527 for (i = 0; query; query = split) { in ddebug_exec_queries()
532 query = skip_spaces(query); in ddebug_exec_queries()
533 if (!query || !*query || *query == '#') in ddebug_exec_queries()
[all …]
/linux/tools/testing/selftests/bpf/prog_tests/
A Dtp_attach_query.c10 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()
67 query->ids_len = num_progs; 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()
88 err, errno, query->prog_cnt)) in serial_test_tp_attach_query()
101 query->ids_len = 1; in serial_test_tp_attach_query()
106 err, errno, query->prog_cnt)) in serial_test_tp_attach_query()
110 query->ids_len = num_progs; in serial_test_tp_attach_query()
115 err, errno, query->prog_cnt)) in serial_test_tp_attach_query()
[all …]
/linux/drivers/gpu/drm/i915/
A Di915_query.c114 ret = copy_query_item(&query, sizeof(query), len, query_item); in query_engine_info()
118 if (query.num_engines || query.rsvd[0] || query.rsvd[1] || in query_engine_info()
119 query.rsvd[2]) in query_engine_info()
134 query.num_engines++; in query_engine_info()
138 if (copy_to_user(query_ptr, &query, sizeof(query))) in query_engine_info()
440 total_length = sizeof(query); in query_memregion_info()
448 ret = copy_query_item(&query, sizeof(query), total_length, query_item); in query_memregion_info()
452 if (query.num_regions) in query_memregion_info()
456 if (query.rsvd[i]) in query_memregion_info()
472 query.num_regions++; in query_memregion_info()
[all …]
/linux/drivers/input/touchscreen/
A Dwacom_w8001.c190 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/input/rmi4/
A Drmi_f11.c668 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 Dcore.c110 struct mlx5_fpga_query query; in mlx5_fpga_device_load_check() local
113 err = mlx5_fpga_query(fdev->mdev, &query); in mlx5_fpga_device_load_check()
119 fdev->last_admin_image = query.admin_image; in mlx5_fpga_device_load_check()
120 fdev->last_oper_image = query.oper_image; in mlx5_fpga_device_load_check()
123 query.status, query.admin_image, query.oper_image); in mlx5_fpga_device_load_check()
129 if (query.status != MLX5_FPGA_STATUS_SUCCESS) { in mlx5_fpga_device_load_check()
132 query.status); in mlx5_fpga_device_load_check()
A 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/sound/virtio/
A 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/drivers/gpu/drm/amd/display/modules/hdcp/
A Dhdcp.c449 uint8_t index, struct mod_hdcp_display_query *query) in mod_hdcp_query_display() argument
462 query->link = &hdcp->connection.link; in mod_hdcp_query_display()
463 query->display = display; in mod_hdcp_query_display()
464 query->trace = &hdcp->connection.trace; in mod_hdcp_query_display()
465 query->encryption_status = MOD_HDCP_ENCRYPTION_STATUS_HDCP_OFF; in mod_hdcp_query_display()
469 query->encryption_status = MOD_HDCP_ENCRYPTION_STATUS_HDCP1_ON; in mod_hdcp_query_display()
471 if (query->link->adjust.hdcp2.force_type == MOD_HDCP_FORCE_TYPE_0) in mod_hdcp_query_display()
472 query->encryption_status = MOD_HDCP_ENCRYPTION_STATUS_HDCP2_TYPE0_ON; in mod_hdcp_query_display()
474 query->encryption_status = MOD_HDCP_ENCRYPTION_STATUS_HDCP2_TYPE1_ON; in mod_hdcp_query_display()
476 query->encryption_status = MOD_HDCP_ENCRYPTION_STATUS_HDCP2_ON; in mod_hdcp_query_display()
[all …]
/linux/Documentation/networking/
A 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/drivers/media/rc/
A Dbpf-lirc.c293 __u32 __user *prog_ids = u64_to_user_ptr(attr->query.prog_ids); in lirc_prog_query()
299 if (attr->query.query_flags) in lirc_prog_query()
302 rcdev = rc_dev_get_from_fd(attr->query.target_fd); in lirc_prog_query()
318 if (copy_to_user(&uattr->query.prog_cnt, &cnt, sizeof(cnt))) { in lirc_prog_query()
323 if (copy_to_user(&uattr->query.attach_flags, &flags, sizeof(flags))) { in lirc_prog_query()
328 if (attr->query.prog_cnt != 0 && prog_ids && cnt) in lirc_prog_query()
330 attr->query.prog_cnt); in lirc_prog_query()
/linux/arch/powerpc/platforms/pseries/
A Diommu.c992 struct ddw_query_response *query, in query_ddw() argument
1031 query->windows_available = query_out[0]; in query_ddw()
1033 query->page_size = query_out[2]; in query_ddw()
1034 query->migration_capable = query_out[3]; in query_ddw()
1040 query->page_size = query_out[3]; in query_ddw()
1223 struct ddw_query_response query; in enable_ddw() local
1292 if (query.windows_available == 0) { in enable_ddw()
1318 if (query.windows_available == 0) { in enable_ddw()
1328 query.page_size); in enable_ddw()
1341 if (query.largest_available_block >= in enable_ddw()
[all …]
/linux/kernel/bpf/
A Dnet_namespace.c250 __u32 __user *prog_ids = u64_to_user_ptr(attr->query.prog_ids); in __netns_bpf_prog_query()
259 if (copy_to_user(&uattr->query.attach_flags, &flags, sizeof(flags))) in __netns_bpf_prog_query()
261 if (copy_to_user(&uattr->query.prog_cnt, &prog_cnt, sizeof(prog_cnt))) in __netns_bpf_prog_query()
263 if (!attr->query.prog_cnt || !prog_ids || !prog_cnt) in __netns_bpf_prog_query()
267 attr->query.prog_cnt); in __netns_bpf_prog_query()
277 if (attr->query.query_flags) in netns_bpf_prog_query()
280 type = to_netns_bpf_attach_type(attr->query.attach_type); in netns_bpf_prog_query()
284 net = get_net_ns_by_fd(attr->query.target_fd); in netns_bpf_prog_query()
/linux/arch/s390/hypfs/
A Dhypfs_vm.c57 static int diag2fc(int size, char* query, void *addr) in diag2fc() argument
63 memcpy(parm_list.userid, query, NAME_LEN); in diag2fc()
87 static void *diag2fc_store(char *query, unsigned int *count, int offset) in diag2fc_store() argument
93 size = diag2fc(0, query, NULL); in diag2fc_store()
99 if (diag2fc(size, query, data + offset) == 0) in diag2fc_store()
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
A Damdgpu_dm_hdcp.c172 struct mod_hdcp_display_query query; in hdcp_update_display() local
177 query.display = NULL; in hdcp_update_display()
178 mod_hdcp_query_display(&hdcp_w->hdcp, aconnector->base.index, &query); in hdcp_update_display()
180 if (query.display != NULL) { in hdcp_update_display()
181 memcpy(display, query.display, sizeof(struct mod_hdcp_display)); in hdcp_update_display()
334 struct mod_hdcp_display_query query; in event_property_validate() local
342 query.encryption_status = MOD_HDCP_ENCRYPTION_STATUS_HDCP_OFF; in event_property_validate()
343 mod_hdcp_query_display(&hdcp_work->hdcp, aconnector->base.index, &query); in event_property_validate()
345 if (query.encryption_status != hdcp_work->encryption_status) { in event_property_validate()
346 hdcp_work->encryption_status = query.encryption_status; in event_property_validate()
/linux/drivers/soc/qcom/
A Dcmd-db.c144 u8 query[8]; in cmd_db_get_header() local
151 strncpy(query, id, sizeof(query)); in cmd_db_get_header()
160 if (memcmp(ent->id, query, sizeof(ent->id)) == 0) { in cmd_db_get_header()
/linux/tools/testing/selftests/drivers/net/netdevsim/
A Dethtool-coalesce.sh7 local query="${SETTINGS_MAP[$1]}"
10 awk -F':' -v pattern="$query:" '$0 ~ pattern {gsub(/[ \t]/, "", $2); print $2}')
A Dethtool-ring.sh7 local query="${SETTINGS_MAP[$1]}"
11 awk -F':' -v pattern="$query:" '$0 ~ pattern {gsub(/[\t ]/, "", $2); print $2}')
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Dport.c395 struct mlx5_module_eeprom_query_params query = {0}; in mlx5_query_module_eeprom() local
399 err = mlx5_query_module_num(dev, &query.module_number); in mlx5_query_module_eeprom()
403 err = mlx5_query_module_id(dev, query.module_number, &module_id); in mlx5_query_module_eeprom()
409 mlx5_sfp_eeprom_params_set(&query.i2c_address, &query.page, &query.offset); in mlx5_query_module_eeprom()
414 mlx5_qsfp_eeprom_params_set(&query.i2c_address, &query.page, &query.offset); in mlx5_query_module_eeprom()
421 if (query.offset + size > MLX5_EEPROM_PAGE_LENGTH) in mlx5_query_module_eeprom()
425 query.size = size; in mlx5_query_module_eeprom()
427 return mlx5_query_mcia(dev, &query, data); in mlx5_query_module_eeprom()
/linux/Documentation/ABI/testing/
A Dsysfs-devices-system-ibm-rtl7 ability to query the current state.
19 Description: The version file provides a means by which to query
/linux/Documentation/admin-guide/laptops/
A Dtoshiba_haps.rst55 This device does not report any axes, however, to query the sensor position
57 provided to query such information, handled by the kernel module toshiba_acpi
76 provides a way to let userspace query the current protection

Completed in 67 milliseconds

12345678910>>...12