Home
last modified time | relevance | path

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

12345678910

/Linux-v4.19/drivers/infiniband/core/
Dsa_query.c740 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 …]
/Linux-v4.19/tools/perf/scripts/python/
Dexport-to-sqlite.py120 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 ('
145 do_query(query, 'CREATE TABLE dsos ('
151 do_query(query, 'CREATE TABLE symbols ('
[all …]
Dexport-to-postgresql.py279 query = QSqlQuery(db) variable
283 do_query(query, 'CREATE DATABASE ' + dbname)
287 query.finish()
288 query.clear()
294 query = QSqlQuery(db) variable
295 do_query(query, 'SET client_min_messages TO WARNING')
297 do_query(query, 'CREATE TABLE selected_events ('
300 do_query(query, 'CREATE TABLE machines ('
304 do_query(query, 'CREATE TABLE threads ('
310 do_query(query, 'CREATE TABLE comms ('
[all …]
Dcall-graph-from-sql.py83 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 …]
/Linux-v4.19/lib/
Ddynamic_debug.c112 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()
138 static int ddebug_change(const struct ddebug_query *query, in ddebug_change() argument
[all …]
/Linux-v4.19/drivers/input/touchscreen/
Dwacom_w8001.c186 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()
199 query->y |= data[6] << 2; in parse_touchquery()
[all …]
/Linux-v4.19/drivers/staging/android/ion/
Dion-ioctl.c15 struct ion_heap_query query; member
22 if (arg->query.reserved0 || in validate_ioctl_arg()
23 arg->query.reserved1 || in validate_ioctl_arg()
24 arg->query.reserved2) in validate_ioctl_arg()
87 ret = ion_query_heaps(&data.query); in ion_ioctl()
Dion.c439 int ion_query_heaps(struct ion_heap_query *query) in ion_query_heaps() argument
442 struct ion_heap_data __user *buffer = u64_to_user_ptr(query->heaps); in ion_query_heaps()
451 query->cnt = dev->heap_cnt; in ion_query_heaps()
456 if (query->cnt <= 0) in ion_query_heaps()
459 max_cnt = query->cnt; in ion_query_heaps()
477 query->cnt = cnt; in ion_query_heaps()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/fpga/
Dcore.c100 struct mlx5_fpga_query query; in mlx5_fpga_device_load_check() local
103 err = mlx5_fpga_query(fdev->mdev, &query); in mlx5_fpga_device_load_check()
109 fdev->last_admin_image = query.admin_image; in mlx5_fpga_device_load_check()
110 fdev->last_oper_image = query.oper_image; in mlx5_fpga_device_load_check()
113 query.status, query.admin_image, query.oper_image); in mlx5_fpga_device_load_check()
115 if (query.status != MLX5_FPGA_STATUS_SUCCESS) { in mlx5_fpga_device_load_check()
118 query.status); in mlx5_fpga_device_load_check()
Dcmd.c126 int mlx5_fpga_query(struct mlx5_core_dev *dev, struct mlx5_fpga_query *query) in mlx5_fpga_query() argument
137 query->status = MLX5_GET(fpga_ctrl, out, status); in mlx5_fpga_query()
138 query->admin_image = MLX5_GET(fpga_ctrl, out, flash_select_admin); in mlx5_fpga_query()
139 query->oper_image = MLX5_GET(fpga_ctrl, out, flash_select_oper); in mlx5_fpga_query()
/Linux-v4.19/drivers/input/rmi4/
Drmi_f11.c637 struct f11_2d_sensor_queries *query = &f11->sens_query; in f11_2d_construct_data() local
641 sensor->nbr_fingers = (query->nr_fingers == 5 ? 10 : in f11_2d_construct_data()
642 query->nr_fingers + 1); in f11_2d_construct_data()
646 if (query->has_abs) { in f11_2d_construct_data()
651 if (query->has_rel) in f11_2d_construct_data()
655 if (query->query7_nonzero) in f11_2d_construct_data()
659 if (query->query7_nonzero || query->query8_nonzero) in f11_2d_construct_data()
662 if (query->has_pinch || query->has_flick || query->has_rotate) { in f11_2d_construct_data()
664 if (!query->has_flick) in f11_2d_construct_data()
666 if (!query->has_rotate) in f11_2d_construct_data()
[all …]
/Linux-v4.19/tools/testing/selftests/android/ion/
Dionutils.c53 struct ion_heap_query query; in ion_export_buffer_fd() local
69 memset(&query, 0, sizeof(query)); in ion_export_buffer_fd()
70 query.cnt = MAX_HEAP_COUNT; in ion_export_buffer_fd()
71 query.heaps = (unsigned long int)&heap_data[0]; in ion_export_buffer_fd()
73 ret = ioctl(ionfd, ION_IOC_HEAP_QUERY, &query); in ion_export_buffer_fd()
81 for (i = 0; i < query.cnt; i++) { in ion_export_buffer_fd()
/Linux-v4.19/Documentation/networking/
Ddns_resolver.txt31 (*) 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
/Linux-v4.19/drivers/media/rc/
Dbpf-lirc.c262 __u32 __user *prog_ids = u64_to_user_ptr(attr->query.prog_ids); in lirc_prog_query()
268 if (attr->query.query_flags) in lirc_prog_query()
271 rcdev = rc_dev_get_from_fd(attr->query.target_fd); in lirc_prog_query()
287 if (copy_to_user(&uattr->query.prog_cnt, &cnt, sizeof(cnt))) { in lirc_prog_query()
292 if (copy_to_user(&uattr->query.attach_flags, &flags, sizeof(flags))) { in lirc_prog_query()
297 if (attr->query.prog_cnt != 0 && prog_ids && cnt) in lirc_prog_query()
/Linux-v4.19/kernel/bpf/
Dcgroup.c409 __u32 __user *prog_ids = u64_to_user_ptr(attr->query.prog_ids); in __cgroup_bpf_query()
410 enum bpf_attach_type type = attr->query.attach_type; in __cgroup_bpf_query()
415 if (attr->query.query_flags & BPF_F_QUERY_EFFECTIVE) in __cgroup_bpf_query()
420 if (copy_to_user(&uattr->query.attach_flags, &flags, sizeof(flags))) in __cgroup_bpf_query()
422 if (copy_to_user(&uattr->query.prog_cnt, &cnt, sizeof(cnt))) in __cgroup_bpf_query()
424 if (attr->query.prog_cnt == 0 || !prog_ids || !cnt) in __cgroup_bpf_query()
427 if (attr->query.prog_cnt < cnt) { in __cgroup_bpf_query()
428 cnt = attr->query.prog_cnt; in __cgroup_bpf_query()
432 if (attr->query.query_flags & BPF_F_QUERY_EFFECTIVE) { in __cgroup_bpf_query()
495 cgrp = cgroup_get_from_fd(attr->query.target_fd); in cgroup_bpf_prog_query()
/Linux-v4.19/arch/s390/hypfs/
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-v4.19/drivers/soc/qcom/
Dcmd-db.c143 u8 query[8]; in cmd_db_get_header() local
153 strncpy(query, id, sizeof(query)); in cmd_db_get_header()
162 if (memcmp(ent->id, query, sizeof(ent->id)) == 0) in cmd_db_get_header()
/Linux-v4.19/tools/testing/selftests/bpf/
Dtest_progs.c758 struct perf_event_query_bpf *query; in test_tp_attach_query() local
781 query = malloc(sizeof(*query) + sizeof(__u32) * num_progs); in test_tp_attach_query()
812 query->ids_len = num_progs; in test_tp_attach_query()
813 err = ioctl(pmu_fd[i], PERF_EVENT_IOC_QUERY_BPF, query); in test_tp_attach_query()
814 if (CHECK(err || query->prog_cnt != 0, in test_tp_attach_query()
817 err, errno, query->prog_cnt)) in test_tp_attach_query()
828 query->ids_len = 0; in test_tp_attach_query()
829 err = ioctl(pmu_fd[i], PERF_EVENT_IOC_QUERY_BPF, query); in test_tp_attach_query()
830 if (CHECK(err || query->prog_cnt != 2, in test_tp_attach_query()
833 err, errno, query->prog_cnt)) in test_tp_attach_query()
[all …]
/Linux-v4.19/Documentation/ABI/testing/
Dsysfs-devices-system-ibm-rtl7 ability to query the current state.
17 Description: The version file provides a means by which to query
/Linux-v4.19/net/bridge/
Dbr_multicast.c41 struct bridge_mcast_own_query *query);
894 struct bridge_mcast_own_query *query) in br_multicast_querier_expired() argument
900 br_multicast_start_querier(br, query); in br_multicast_querier_expired()
999 struct bridge_mcast_own_query *query) in br_multicast_port_query_expired() argument
1008 if (query->startup_sent < br->multicast_startup_query_count) in br_multicast_port_query_expired()
1009 query->startup_sent++; in br_multicast_port_query_expired()
1011 br_multicast_send_query(port->br, port, query); in br_multicast_port_query_expired()
1081 static void br_multicast_enable(struct bridge_mcast_own_query *query) in br_multicast_enable() argument
1083 query->startup_sent = 0; in br_multicast_enable()
1085 if (try_to_del_timer_sync(&query->timer) >= 0 || in br_multicast_enable()
[all …]
/Linux-v4.19/net/dns_resolver/
DKconfig12 DNS Resolver is used to query DNS server for information. Examples
14 performing a DNS query for AFSDB records so that AFS can locate a
/Linux-v4.19/Documentation/laptops/
Dtoshiba_haps.txt51 This device does not report any axes, however, to query the sensor position
53 provided to query such information, handled by the kernel module toshiba_acpi
70 provides a way to let userspace query the current protection
/Linux-v4.19/drivers/platform/x86/
Dhp-wmi.c220 static int hp_wmi_perform_query(int query, enum hp_wmi_command command, in hp_wmi_perform_query() argument
230 .commandtype = query, in hp_wmi_perform_query()
263 pr_warn("query 0x%x returned error 0x%x\n", query, ret); in hp_wmi_perform_query()
280 static int hp_wmi_read_int(int query) in hp_wmi_read_int() argument
284 ret = hp_wmi_perform_query(query, HPWMI_READ, &val, in hp_wmi_read_int()
337 int query = BIT(r + 8) | ((!blocked) << r); in hp_wmi_set_block() local
341 &query, sizeof(query), 0); in hp_wmi_set_block()
/Linux-v4.19/drivers/net/hyperv/
Drndis_filter.c455 struct rndis_query_request *query; in rndis_filter_query_device() local
471 query = &request->request_msg.msg.query_req; in rndis_filter_query_device()
472 query->oid = oid; in rndis_filter_query_device()
473 query->info_buf_offset = sizeof(struct rndis_query_request); in rndis_filter_query_device()
474 query->info_buflen = 0; in rndis_filter_query_device()
475 query->dev_vc_handle = 0; in rndis_filter_query_device()
495 query->info_buflen = size; in rndis_filter_query_device()
497 ((unsigned long)query + query->info_buf_offset); in rndis_filter_query_device()
508 query->info_buflen = sizeof(struct ndis_recv_scale_cap); in rndis_filter_query_device()
509 cap = (struct ndis_recv_scale_cap *)((unsigned long)query + in rndis_filter_query_device()
[all …]
/Linux-v4.19/arch/powerpc/platforms/pseries/
Diommu.c897 struct ddw_query_response *query) in query_ddw() argument
916 ret = rtas_call(ddw_avail[0], 3, 5, (u32 *)query, in query_ddw()
981 struct ddw_query_response query; in enable_ddw() local
1030 ret = query_ddw(dev, ddw_avail, &query); in enable_ddw()
1034 if (query.windows_available == 0) { in enable_ddw()
1043 if (query.page_size & 4) { in enable_ddw()
1045 } else if (query.page_size & 2) { in enable_ddw()
1047 } else if (query.page_size & 1) { in enable_ddw()
1051 query.page_size); in enable_ddw()
1057 if (query.largest_available_block < (max_addr >> page_shift)) { in enable_ddw()
[all …]

12345678910