Home
last modified time | relevance | path

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

12345678910>>...24

/openbmc/linux/drivers/infiniband/core/
H A 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 …]
/openbmc/bmcweb/test/redfish-core/include/utils/
H A Dquery_param_test.cpp32 Query query{ in TEST() local
38 Query delegated = delegate(capabilities, query); in TEST()
40 EXPECT_FALSE(query.isOnly); in TEST()
45 Query query{ in TEST() local
53 Query delegated = delegate(capabilities, query); in TEST()
57 EXPECT_EQ(query.expandLevel, 5); in TEST()
62 Query query{ in TEST() local
68 Query delegated = delegate(capabilities, query); in TEST()
70 EXPECT_EQ(query.isOnly, true); in TEST()
75 Query query{ in TEST() local
[all …]
/openbmc/linux/tools/perf/scripts/python/
H A 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 …]
H A 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 …]
H A 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 …]
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A 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 …]
/openbmc/bmcweb/redfish-core/include/utils/
H A Dquery_param.hpp208 inline Query delegate(const QueryCapabilities& queryCapabilities, Query& query) in delegate() argument
212 if (query.isOnly && queryCapabilities.canDelegateOnly) in delegate()
215 query.isOnly = false; in delegate()
218 if (query.expandType != ExpandType::None) in delegate()
220 delegated.expandType = query.expandType; in delegate()
221 if (query.expandLevel <= queryCapabilities.canDelegateExpandLevel) in delegate()
223 query.expandType = ExpandType::None; in delegate()
224 delegated.expandLevel = query.expandLevel; in delegate()
225 query.expandLevel = 0; in delegate()
234 if (query.top && queryCapabilities.canDelegateTop) in delegate()
[all …]
/openbmc/qemu/qapi/
H A Dpragma.json31 'query-tpm-models',
32 'query-tpm-types',
82 'ACPISlotType', # query-acpi-ospm-status
86 'BlockDeviceInfo', # query-block
87 'BlockDeviceStats', # query-blockstats
88 'BlockDeviceTimedStats', # query-blockstats
90 'BlockInfo', # query-block
92 'BlockdevDriver', # blockdev-add, query-blockstats, ...
100 'NetdevTapOptions', # netdev_add, query-netdev, -netdev
103 'PciBusInfo', # query-pci
[all …]
H A Dmisc-target.json25 # An enumeration of SEV state information used during @query-sev.
128 # @query-sev:
143 { 'command': 'query-sev', 'returns': 'SevInfo',
159 # @query-sev-launch-measure:
172 { 'command': 'query-sev-launch-measure', 'returns': 'SevLaunchMeasureInfo',
203 # @query-sev-capabilities:
219 { 'command': 'query-sev-capabilities', 'returns': 'SevCapability',
254 # @query-sev-attestation-report:
272 { 'command': 'query-sev-attestation-report',
322 # @query-gic-capabilities:
[all …]
/openbmc/linux/lib/
H A 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 …]
/openbmc/qemu/chardev/
H A Dwctablet.c73 uint8_t query[100]; member
98 memmove(tablet->query, tablet->query + count, tablet->query_index); in wctablet_shift_input()
99 tablet->query[tablet->query_index] = 0; in wctablet_shift_input()
218 for (i = 0; i < len && tablet->query_index < sizeof(tablet->query) - 1; i++) { in wctablet_chr_write()
219 tablet->query[tablet->query_index++] = buf[i]; in wctablet_chr_write()
221 tablet->query[tablet->query_index] = 0; in wctablet_chr_write()
223 while (tablet->query_index > 0 && (tablet->query[0] == '@' || in wctablet_chr_write()
224 tablet->query[0] == '\r' || in wctablet_chr_write()
225 tablet->query[0] == '\n')) { in wctablet_chr_write()
232 if (strncmp((char *)tablet->query, "~#", 2) == 0) { in wctablet_chr_write()
[all …]
/openbmc/openbmc/poky/bitbake/lib/toaster/toastergui/static/js/
H A Dtypeahead.jquery.js451 this.query = this.$input.val();
452 this.queryWhenFocused = this.hasFocus() ? this.query : null;
468 this.queryWhenFocused = this.query;
518 areEquivalent = areQueriesEquivalent(val, this.query);
519 hasDifferentWhitespace = areEquivalent ? this.query.length !== val.length : false;
520 this.query = val;
522 this.trigger("queryChanged", this.query);
524 this.trigger("whitespaceChanged", this.query);
556 return this.query || "";
563 return this.query !== this.queryWhenFocused;
[all …]
/openbmc/linux/drivers/gpu/drm/i915/
H A 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 …]
/openbmc/linux/drivers/input/touchscreen/
H A 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 …]
/openbmc/openbmc/poky/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-base/
H A D0001-ENGR00312515-get-caps-from-src-pad-when-query-caps.patch4 Subject: [PATCH] ENGR00312515: get caps from src pad when query caps
22 @@ -1796,6 +1796,19 @@ gst_tag_demux_pad_query (GstPad * pad, GstObject * parent, GstQuery * query)
29 + /* We can hijack caps query if we typefind already */
31 + gst_query_set_caps_result (query, demux->priv->src_caps);
34 + res = gst_pad_query_default (pad, parent, query);
40 res = gst_pad_query_default (pad, parent, query);
/openbmc/openbmc/poky/meta/classes-recipe/
H A Dgtk-immodules-cache.bbclass27 if [ ! -z `which gtk-query-immodules-2.0` ]; then
28 gtk-query-immodules-2.0 > ${libdir}/gtk-2.0/2.10.0/immodules.cache
30 if [ ! -z `which gtk-query-immodules-3.0` ]; then
32 gtk-query-immodules-3.0 > ${libdir}/gtk-3.0/3.0.0/immodules.cache
47 if [ ! -z `which gtk-query-immodules-2.0` ]; then
48 gtk-query-immodules-2.0 > ${libdir}/gtk-2.0/2.10.0/immodules.cache
50 if [ ! -z `which gtk-query-immodules-3.0` ]; then
51 gtk-query-immodules-3.0 > ${libdir}/gtk-3.0/3.0.0/immodules.cache
/openbmc/linux/drivers/input/rmi4/
H A 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 …]
/openbmc/openbmc/poky/scripts/postinst-intercepts/
H A Dupdate_gtk_immodules_cache8 if [ -x $D${libexecdir}/${binprefix}gtk-query-immodules-2.0 ]; then
9 …PSEUDO_UNLOAD=1 ${binprefix}qemuwrapper -L $D $D${libexecdir}/${binprefix}gtk-query-immodules-2.0 \
14 if [ -x $D${libexecdir}/${binprefix}gtk-query-immodules-3.0 ]; then
15 …PSEUDO_UNLOAD=1 ${binprefix}qemuwrapper -L $D $D${libexecdir}/${binprefix}gtk-query-immodules-3.0 \
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/fpga/
H A 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()
/openbmc/sdbusplus/include/sdbusplus/async/stdexec/__detail/
H A D__env.hpp181 static constexpr auto query(forwarding_query_t) noexcept -> bool in query() function
200 static constexpr auto query(forwarding_query_t) noexcept -> bool in query() function
216 static constexpr auto query(forwarding_query_t) noexcept -> bool in query() function
238 static constexpr auto query(forwarding_query_t) noexcept -> bool in query() function
273 static constexpr auto query(forwarding_query_t) noexcept -> bool in query() function
299 static constexpr auto query(forwarding_query_t) noexcept -> bool in query() function
323 static constexpr auto query(forwarding_query_t) noexcept -> bool in query() function
339 static constexpr auto query(forwarding_query_t) noexcept -> bool in query() function
467 constexpr const _Value& query(_Query) const noexcept in query() function
502 constexpr decltype(auto) query(_Query __q, _Args&&... __args) const in query() function
[all …]
/openbmc/linux/arch/s390/hypfs/
H A 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()
/openbmc/linux/sound/virtio/
H 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()
/openbmc/qemu/docs/devel/
H A Ds390-cpu-topology.rst21 Additions to query-cpus-fast
24 The command query-cpus-fast allows querying the topology tree and
29 { "execute": "query-cpus-fast" }
156 QAPI query command: query-s390x-cpu-polarization
159 The query command query-s390x-cpu-polarization returns the current
165 { "execute": "query-s390x-cpu-polarization" }
/openbmc/linux/drivers/gpu/drm/ci/xfails/
H A 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
/openbmc/linux/kernel/bpf/
H A 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 …]

12345678910>>...24