Home
last modified time | relevance | path

Searched full:query (Results 1 – 25 of 1192) sorted by relevance

12345678910>>...48

/linux/drivers/infiniband/core/
H A Dsa_query.c750 static inline void ib_sa_disable_local_svc(struct ib_sa_query *query) in ib_sa_disable_local_svc() argument
752 query->flags &= ~IB_SA_ENABLE_LOCAL_SERVICE; in ib_sa_disable_local_svc()
755 static inline int ib_sa_query_cancelled(struct ib_sa_query *query) in ib_sa_query_cancelled() argument
757 return (query->flags & IB_SA_CANCEL); in ib_sa_query_cancelled()
761 struct ib_sa_query *query) in ib_nl_set_path_rec_attrs() argument
763 struct sa_path_rec *sa_rec = query->mad_buf->context[1]; in ib_nl_set_path_rec_attrs()
764 struct ib_sa_mad *mad = query->mad_buf->mad; in ib_nl_set_path_rec_attrs()
770 query->mad_buf->context[1] = NULL; in ib_nl_set_path_rec_attrs()
775 dev_name(&query->port->agent->device->dev), in ib_nl_set_path_rec_attrs()
777 header->port_num = query->port->port_num; in ib_nl_set_path_rec_attrs()
[all …]
/linux/tools/testing/selftests/kvm/s390/
H A Dcpumodel_subfuncs_test.c10 * query data reported via the CPU Model, allowing us to directly compare it with the data
24 /* Query available CPU subfunctions */
55 static void test_plo_asm_block(u8 (*query)[32]) in test_plo_asm_block()
59 (*query)[i >> 3] |= 0x80 >> (i & 7); in test_plo_asm_block()
64 static void test_kmac_asm_block(u8 (*query)[16]) in test_kmac_asm_block()
66 asm volatile(" la %%r1,%[query]\n" in test_kmac_asm_block()
69 : [query] "=R" (*query) in test_kmac_asm_block()
75 static void test_kmc_asm_block(u8 (*query)[16]) in test_kmc_asm_block()
77 asm volatile(" la %%r1,%[query]\n" in test_kmc_asm_block()
80 : [query] "=R" (*query) in test_kmc_asm_block()
[all …]
/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()
72 /* check NULL prog array query */ 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()
77 "err %d errno %d query->prog_cnt %u\n", 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()
[all …]
H A Dtc_opts.c2461 const size_t attr_size = offsetofend(union bpf_attr, query); in test_tc_opts_query_target()
2527 /* Test 1: Double query via libbpf API */ in test_tc_opts_query_target()
2553 /* Test 2: Double query via bpf_attr & bpf(2) directly */ in test_tc_opts_query_target()
2555 attr.query.target_ifindex = loopback; in test_tc_opts_query_target()
2556 attr.query.attach_type = target; in test_tc_opts_query_target()
2562 ASSERT_EQ(attr.query.count, 4, "count"); in test_tc_opts_query_target()
2563 ASSERT_EQ(attr.query.revision, 5, "revision"); in test_tc_opts_query_target()
2564 ASSERT_EQ(attr.query.query_flags, 0, "query_flags"); in test_tc_opts_query_target()
2565 ASSERT_EQ(attr.query.attach_flags, 0, "attach_flags"); in test_tc_opts_query_target()
2566 ASSERT_EQ(attr.query.target_ifindex, loopback, "target_ifindex"); in test_tc_opts_query_target()
[all …]
/linux/tools/perf/scripts/python/
H A Dexport-to-postgresql.py
H A Dexport-to-sqlite.py
H A Dexported-sql-viewer.py
/linux/lib/
H A Ddynamic_debug.c131 static void vpr_info_dq(const struct ddebug_query *query, const char *msg) in vpr_info_dq() argument
136 if (query->format) { in vpr_info_dq()
137 fmtlen = strlen(query->format); in vpr_info_dq()
138 while (fmtlen && query->format[fmtlen - 1] == '\n') in vpr_info_dq()
144 query->function ?: "", in vpr_info_dq()
145 query->filename ?: "", in vpr_info_dq()
146 query->module ?: "", in vpr_info_dq()
147 fmtlen, query->format ?: "", in vpr_info_dq()
148 query->first_lineno, query->last_lineno, query->class_string); in vpr_info_dq()
170 * Search the tables for _ddebug's which match the given `query' and
[all …]
/linux/drivers/input/rmi4/
H A Drmi_f11.c36 * The properties for a given sensor are described by its query registers. The
37 * number of query registers and the layout of their contents are described by
38 * the F11 device 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
659 struct f11_2d_sensor_queries *query = &f11->sens_query; f11_2d_construct_data() local
771 f11_write_control_regs(struct rmi_function * fn,struct f11_2d_sensor_queries * query,struct f11_2d_ctrl * ctrl,u16 ctrl_base_addr) f11_write_control_regs() argument
[all...]
H A Drmi_f34.h120 u8 bl_minor_revision; /* query 1 */
122 __le32 bl_fw_id; /* query 2 */
123 u8 minimum_write_size; /* query 3 */
126 __le16 adjustable_partition_area_size; /* query 4 */
127 __le16 flash_config_length; /* query 5 */
128 __le16 payload_length; /* query 6 */
129 u8 partition_support[4]; /* query 7 */
/linux/drivers/gpu/drm/i915/
H A Di915_query.c136 struct drm_i915_query_engine_info query; in query_engine_info() local
150 ret = copy_query_item(&query, sizeof(query), len, query_item); in query_engine_info()
154 if (query.num_engines || query.rsvd[0] || query.rsvd[1] || in query_engine_info()
155 query.rsvd[2]) in query_engine_info()
170 query.num_engines++; in query_engine_info()
174 if (copy_to_user(query_ptr, &query, sizeof(query))) in query_engine_info()
256 "Invalid query config data item size=%u expected=%u\n", in query_perf_config_data()
427 "Invalid query config list item size=%u expected=%zu\n", in query_perf_config_list()
472 struct drm_i915_query_memory_regions query; in query_memregion_info() local
480 total_length = sizeof(query); in query_memregion_info()
[all …]
/linux/include/uapi/drm/
H A Damdgpu_drm.h1102 * Query h/w info: Flag that this is integrated (a.h.a. fusion) GPU
1112 * Query h/w info: Flag identifying VF/PF/PT mode
1125 /* query hw IP info */
1127 /* query hw IP instance count for the specified type */
1131 /* Query the firmware version */
1133 /* Subquery id: Query VCE firmware version */
1135 /* Subquery id: Query UVD firmware version */
1137 /* Subquery id: Query GMC firmware version */
1139 /* Subquery id: Query GFX ME firmware version */
1141 /* Subquery id: Query GF
1307 __u32 query; global() member
[all...]
/linux/Documentation/input/devices/
H A Diforce-protocol.rst218 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 …]
/linux/include/linux/
H A Digmp.h99 * - 4.1.7. QQIC (Querier's Query Interval Code)
176 * - 8.3. Query Response Interval
186 /* Calculate Querier's Query Interval Code from Querier's Query Interval
189 * - 4.1.7. QQIC (Querier's Query Interval Code)
190 * - 8.2. Query Interval
192 * (the [Query Interval] in the last Query received)
194 * QQIC represents the encoded form of Querier's Query Interval (QQI);
232 * - 8.3. Query Respons
[all...]
/linux/lib/crypto/s390/
H A Dsha3.h132 #define QUERY(opcode, func) \ in sha3_mod_init_arch() macro
134 QUERY(CPACF_KIMD, CPACF_KIMD_SHA3_224); in sha3_mod_init_arch()
135 QUERY(CPACF_KIMD, CPACF_KIMD_SHA3_256); in sha3_mod_init_arch()
136 QUERY(CPACF_KIMD, CPACF_KIMD_SHA3_384); in sha3_mod_init_arch()
137 QUERY(CPACF_KIMD, CPACF_KIMD_SHA3_512); in sha3_mod_init_arch()
138 QUERY(CPACF_KLMD, CPACF_KLMD_SHA3_224); in sha3_mod_init_arch()
139 QUERY(CPACF_KLMD, CPACF_KLMD_SHA3_256); in sha3_mod_init_arch()
140 QUERY(CPACF_KLMD, CPACF_KLMD_SHA3_384); in sha3_mod_init_arch()
141 QUERY(CPACF_KLMD, CPACF_KLMD_SHA3_512); in sha3_mod_init_arch()
142 #undef QUERY in sha3_mod_init_arch()
/linux/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_cmd.c554 * vmw_cmd_emit_dummy_legacy_query - emits a dummy query to the fifo using
555 * legacy query commands.
558 * @cid: The hardware context id used for the query.
566 * A query wait without a preceding query end will in vmw_cmd_emit_dummy_legacy_query()
568 * without writing to the query result structure. in vmw_cmd_emit_dummy_legacy_query()
600 * vmw_cmd_emit_dummy_gb_query - emits a dummy query to the fifo using
601 * guest-backed resource query commands.
604 * @cid: The hardware context id used for the query.
612 * A query wait without a preceding query end will in vmw_cmd_emit_dummy_gb_query()
614 * without writing to the query result structure. in vmw_cmd_emit_dummy_gb_query()
[all …]
/linux/drivers/gpu/drm/imagination/
H A Dpvr_drv.c343 * @args: [IN] Device query arguments containing a pointer to a userspace
346 * If the query object pointer is NULL, the size field is updated with the
347 * expected size of the query object.
383 * @args: [IN] Device query arguments containing a pointer to a userspace
386 * If the query object pointer is NULL, the size field is updated with the
387 * expected size of the query object.
433 * @args: [IN] Device query arguments containing a pointer to a userspace
436 * If the query object pointer is NULL, the size field is updated with the
437 * expected size of the query object.
438 * If the userspace pointer in the query object is NULL, or the count is
[all …]
H A Dpvr_vm.c994 struct drm_pvr_dev_query_static_data_areas query = {0}; in pvr_static_data_areas_get() local
1002 err = PVR_UOBJ_GET(query, args->size, args->pointer); in pvr_static_data_areas_get()
1006 if (!query.static_data_areas.array) { in pvr_static_data_areas_get()
1007 query.static_data_areas.count = ARRAY_SIZE(static_data_areas); in pvr_static_data_areas_get()
1008 query.static_data_areas.stride = sizeof(struct drm_pvr_static_data_area); in pvr_static_data_areas_get()
1012 if (query.static_data_areas.count > ARRAY_SIZE(static_data_areas)) in pvr_static_data_areas_get()
1013 query.static_data_areas.count = ARRAY_SIZE(static_data_areas); in pvr_static_data_areas_get()
1015 err = PVR_UOBJ_SET_ARRAY(&query.static_data_areas, static_data_areas); in pvr_static_data_areas_get()
1020 err = PVR_UOBJ_SET(args->pointer, args->size, query); in pvr_static_data_areas_get()
1024 if (args->size > sizeof(query)) in pvr_static_data_areas_get()
[all …]
/linux/drivers/platform/x86/hp/hp-bioscfg/
H A Dbiosattr-interface.c101 * @query: The commandtype (enum hp_wmi_commandtype)
108 * an HP WMI query specific error code (which is positive)
109 * -EINVAL if the query was not successful at all
113 * size. E.g. Battery info query is defined to have 1 byte input
119 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/tools/testing/selftests/mm/
H A Dmerge.c177 ASSERT_EQ(procmap->query.vma_start, (unsigned long)ptr);
178 ASSERT_EQ(procmap->query.vma_end, (unsigned long)ptr + 10 * page_size); in TEST_F()
227 ASSERT_EQ(procmap->query.vma_start, (unsigned long)ptr);
228 ASSERT_EQ(procmap->query.vma_end, (unsigned long)ptr + 10 * page_size); in TEST_F()
278 ASSERT_EQ(procmap->query.vma_start, (unsigned long)ptr);
279 ASSERT_EQ(procmap->query.vma_end, (unsigned long)ptr + 9 * page_size); in TEST_F()
337 ASSERT_EQ(procmap->query.vma_start, (unsigned long)ptr);
338 ASSERT_EQ(procmap->query.vma_end, (unsigned long)ptr + 9 * page_size); in TEST_F()
396 ASSERT_EQ(procmap->query.vma_start, (unsigned long)ptr);
397 ASSERT_EQ(procmap->query
[all...]
/linux/drivers/iommu/generic_pt/
H A Dpt_common.h16 * The routines marked "@pts: Entry to query" operate on the entire contiguous
103 * @pts: Entry to query
113 * @common: Page table to query
119 * @pts: Entry to query
128 * @pts: Entry to query
142 * @pts: Entry to query
154 * @pts: Entry to query
168 * @common: Page table to query
178 * @common: Page table to query
225 * @pts: Item to query
[all …]
/linux/net/dns_resolver/
H A Ddns_query.c13 * The upcall wrapper used to make an arbitrary DNS query.
21 * For example to use this module to query AFSDB RR:
39 * dns_query - Query the DNS
41 * @type: Query type (or NULL for straight host->IP lookup)
53 * the options need to be appropriate for the query type requested. If no
54 * query_type is given, then the query is a straight hostname to IP address
80 /* construct the query key description as "[<type>:]<name>" */ in dns_query()
/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()
114 mlx5_fpga_err(fdev, "Failed to query status: %d\n", err); 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()
/linux/drivers/pinctrl/aspeed/
H A Dpinmux-aspeed.c24 * aspeed_sig_desc_eval() - Query the enabled or disabled state of a signal
28 * @enabled: True to query the enabled state, false to query disabled state
62 * aspeed_sig_expr_eval - Query the enabled or disabled state for a
67 * @enabled: True to query the enabled state, false to query disabled state
/linux/include/net/
H A Dif_inet6.h174 unsigned char mc_qrv; /* Query Robustness Variable */
180 unsigned long mc_qi; /* Query Interval */
181 unsigned long mc_qri; /* Query Response Interval */
184 struct delayed_work mc_gq_work; /* general query work */
187 struct delayed_work mc_query_work; /* mld query work */
190 struct sk_buff_head mc_query_queue; /* mld query queue */
193 spinlock_t mc_query_lock; /* mld query queue lock */
194 spinlock_t mc_report_lock; /* mld query report lock */

12345678910>>...48