/linux/tools/include/uapi/linux/ |
H A D | bpf.h | 1664 } query; member
|
/linux/tools/lib/bpf/ |
H A D | bpf.c | 933 const size_t attr_sz = offsetofend(union bpf_attr, query); in bpf_prog_query_opts() 941 attr.query.target_fd = target; in bpf_prog_query_opts() 942 attr.query.attach_type = type; in bpf_prog_query_opts() 943 attr.query.query_flags = OPTS_GET(opts, query_flags, 0); in bpf_prog_query_opts() 944 attr.query.count = OPTS_GET(opts, count, 0); in bpf_prog_query_opts() 945 attr.query.prog_ids = ptr_to_u64(OPTS_GET(opts, prog_ids, NULL)); in bpf_prog_query_opts() 946 attr.query.link_ids = ptr_to_u64(OPTS_GET(opts, link_ids, NULL)); in bpf_prog_query_opts() 947 attr.query.prog_attach_flags = ptr_to_u64(OPTS_GET(opts, prog_attach_flags, NULL)); in bpf_prog_query_opts() 952 OPTS_SET(opts, attach_flags, attr.query.attach_flags); in bpf_prog_query_opts() 953 OPTS_SET(opts, revision, attr.query.revision); in bpf_prog_query_opts() [all …]
|
/linux/net/core/ |
H A D | sock_map.c | 1558 __u32 __user *prog_ids = u64_to_user_ptr(attr->query.prog_ids); in sock_map_bpf_prog_query() 1567 if (attr->query.query_flags) in sock_map_bpf_prog_query() 1577 ret = sock_map_prog_link_lookup(map, &pprog, NULL, attr->query.attach_type); in sock_map_bpf_prog_query() 1584 if (!attr->query.prog_cnt || !prog_ids || !prog_cnt) in sock_map_bpf_prog_query() 1597 if (copy_to_user(&uattr->query.attach_flags, &flags, sizeof(flags)) || in sock_map_bpf_prog_query() 1599 copy_to_user(&uattr->query.prog_cnt, &prog_cnt, sizeof(prog_cnt))) in sock_map_bpf_prog_query()
|
/linux/kernel/trace/ |
H A D | bpf_trace.c | 2323 struct perf_event_query_bpf query = {}; in perf_event_query_prog_array() local 2332 if (copy_from_user(&query, uquery, sizeof(query))) in perf_event_query_prog_array() 2335 ids_len = query.ids_len; in perf_event_query_prog_array()
|
/linux/include/ufs/ |
H A D | ufshcd.h | 249 struct ufs_query query; member
|
/linux/kernel/bpf/ |
H A D | cgroup.c | 1023 __u32 __user *prog_attach_flags = u64_to_user_ptr(attr->query.prog_attach_flags); in __cgroup_bpf_query() 1024 bool effective_query = attr->query.query_flags & BPF_F_QUERY_EFFECTIVE; in __cgroup_bpf_query() 1025 __u32 __user *prog_ids = u64_to_user_ptr(attr->query.prog_ids); in __cgroup_bpf_query() 1026 enum bpf_attach_type type = attr->query.attach_type; in __cgroup_bpf_query() 1038 if (!effective_query && attr->query.prog_cnt && in __cgroup_bpf_query() 1065 if (copy_to_user(&uattr->query.attach_flags, &flags, sizeof(flags))) in __cgroup_bpf_query() 1067 if (copy_to_user(&uattr->query.prog_cnt, &total_cnt, sizeof(total_cnt))) in __cgroup_bpf_query() 1069 if (attr->query.prog_cnt == 0 || !prog_ids || !total_cnt) in __cgroup_bpf_query() 1073 if (attr->query.prog_cnt < total_cnt) { in __cgroup_bpf_query() 1074 total_cnt = attr->query.prog_cnt; in __cgroup_bpf_query() [all …]
|
H A D | syscall.c | 4203 #define BPF_PROG_QUERY_LAST_FIELD query.revision 4212 if (attr->query.query_flags & ~BPF_F_QUERY_EFFECTIVE) in bpf_prog_query() 4215 switch (attr->query.attach_type) { in bpf_prog_query()
|
/linux/include/uapi/linux/ |
H A D | bpf.h | 1664 } query; member
|
/linux/include/linux/mlx5/ |
H A D | mlx5_ifc.h | 6433 struct mlx5_ifc_general_obj_query_param_bits query; member
|
/linux/drivers/ufs/core/ |
H A D | ufshcd.c | 2363 if (hba->dev_cmd.query.descriptor && in ufshcd_copy_query_response() 2374 hba->dev_cmd.query.request.upiu_req.length); in ufshcd_copy_query_response() 2763 struct ufs_query *query = &hba->dev_cmd.query; in ufshcd_prepare_utp_query_req_upiu() local 2772 .query_function = query->request.query_func, in ufshcd_prepare_utp_query_req_upiu() 2775 query->request.upiu_req.opcode == in ufshcd_prepare_utp_query_req_upiu() 2782 memcpy(&ucd_req_ptr->qr, &query->request.upiu_req, in ufshcd_prepare_utp_query_req_upiu() 2787 memcpy(ucd_req_ptr + 1, query->descriptor, len); in ufshcd_prepare_utp_query_req_upiu() 3304 *request = &hba->dev_cmd.query.request; in ufshcd_init_query() 3305 *response = &hba->dev_cmd.query.response; in ufshcd_init_query() 3528 hba->dev_cmd.query.descriptor = desc_buf; in __ufshcd_query_descriptor() [all …]
|
/linux/drivers/platform/x86/ |
H A D | classmate-laptop.c | 917 .query = cmpc_rfkill_query,
|
/linux/drivers/platform/x86/dell/ |
H A D | dell-rbtn.c | 108 .query = rbtn_rfkill_query,
|
/linux/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | d3.c | 2782 struct iwl_scan_offload_match_info *query; in iwl_mvm_netdetect_query_results() local 2815 query = (void *)cmd.resp_pkt->data; in iwl_mvm_netdetect_query_results() 2817 results->matched_profiles = le32_to_cpu(query->matched_profiles); in iwl_mvm_netdetect_query_results() 2818 memcpy(results->matches, query->matches, matches_len); in iwl_mvm_netdetect_query_results() 2821 mvm->last_netdetect_scans = le32_to_cpu(query->n_scans_done); in iwl_mvm_netdetect_query_results()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | en_ethtool.c | 1987 struct mlx5_module_eeprom_query_params query; in mlx5e_get_module_eeprom_by_page() local 1998 query.offset = page_data->offset; in mlx5e_get_module_eeprom_by_page() 1999 query.i2c_address = page_data->i2c_address; in mlx5e_get_module_eeprom_by_page() 2000 query.bank = page_data->bank; in mlx5e_get_module_eeprom_by_page() 2001 query.page = page_data->page; in mlx5e_get_module_eeprom_by_page() 2003 query.size = page_data->length - i; in mlx5e_get_module_eeprom_by_page() 2004 size_read = mlx5_query_module_eeprom_by_page(mdev, &query, data + i); in mlx5e_get_module_eeprom_by_page() 2019 query.offset += size_read; in mlx5e_get_module_eeprom_by_page()
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_devlink.c | 801 struct hwrm_fw_livepatch_query_input *query; in bnxt_dl_livepatch_info_put() local 809 rc = hwrm_req_init(bp, query, HWRM_FW_LIVEPATCH_QUERY); in bnxt_dl_livepatch_info_put() 814 query->fw_target = FW_LIVEPATCH_QUERY_REQ_FW_TARGET_SECURE_FW; in bnxt_dl_livepatch_info_put() 816 query->fw_target = FW_LIVEPATCH_QUERY_REQ_FW_TARGET_COMMON_FW; in bnxt_dl_livepatch_info_put() 820 resp = hwrm_req_hold(bp, query); in bnxt_dl_livepatch_info_put() 821 rc = hwrm_req_send(bp, query); in bnxt_dl_livepatch_info_put() 841 hwrm_req_drop(bp, query); in bnxt_dl_livepatch_info_put()
|
/linux/drivers/infiniband/ulp/ipoib/ |
H A D | ipoib_main.c | 729 if (path->query) in ipoib_flush_paths() 730 ib_sa_cancel_query(path->query_id, path->query); in ipoib_flush_paths() 840 path->query = NULL; in path_rec_completion() 919 path, &path->query); in path_rec_start() 922 path->query = NULL; in path_rec_start() 942 if (!path->query) in neigh_refresh_path() 1015 if (!path->query && path_rec_start(dev, path)) in neigh_add_path() 1069 if (!path->query && path_rec_start(dev, path)) { in unicast_arp_send()
|
/linux/drivers/hid/intel-ish-hid/ishtp/ |
H A D | loader.c | 209 struct loader_xfer_query query = { in ishtp_loader_work() local 245 query.image_size = ish_fw->size; in ishtp_loader_work() 246 rv = loader_xfer_cmd(dev, &query, sizeof(query), recv_msg.raw_data, in ishtp_loader_work()
|
/linux/arch/x86/ |
H A D | Kconfig | 684 and power. Drivers may query the availability of this device to
|
/linux/Documentation/networking/ |
H A D | dns_resolver.rst | 32 (*) 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
|
H A D | ethtool-netlink.rst | 66 dump requests without device identification to query the same information for 282 request with ``NLM_F_DUMP`` and no device identification can be used to query
|
/linux/Documentation/netlink/specs/ |
H A D | rt_link.yaml | 849 name: ifla-vf-rss-query-en 1178 name: rss-query-en 1180 struct: ifla-vf-rss-query-en 1507 name: mcast-query-use-ifaddr 1522 name: mcast-startup-query-cnt 1534 name: mcast-query-intvl 1537 name: mcast-query-response-intvl 1540 name: mcast-startup-query-intvl
|
/linux/Documentation/admin-guide/sysctl/ |
H A D | net.rst | 460 The number of times we will retransmit a query before giving up.
|
/linux/mm/ |
H A D | Kconfig | 974 # Architectures which implement cpu_dcache_is_aliasing() to query
|
/linux/drivers/soc/qcom/ |
H A D | cmd-db.c | 150 u8 query[sizeof(ent->id)] __nonstring; in cmd_db_get_header() local 156 strtomem_pad(query, id, 0); in cmd_db_get_header() 165 if (memcmp(ent->id, query, sizeof(ent->id)) == 0) { in cmd_db_get_header()
|
/linux/drivers/platform/chrome/wilco_ec/ |
H A D | Kconfig | 38 If you say Y here, you get support to query EC telemetry data from
|