Home
last modified time | relevance | path

Searched refs:out (Results 26 – 50 of 8539) sorted by relevance

12345678910>>...342

/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dtest_core_reloc_type_id.c14 char out[256]; member
86 struct core_reloc_type_id_output *out = (void *)&data.out; in test_core_type_id() local
88 out->local_anon_struct = bpf_core_type_id_local(struct { int marker_field; }); in test_core_type_id()
89 out->local_anon_union = bpf_core_type_id_local(union { int marker_field; }); in test_core_type_id()
90 out->local_anon_enum = bpf_core_type_id_local(enum { MARKER_ENUM_VAL = 123 }); in test_core_type_id()
91 out->local_anon_func_proto_ptr = bpf_core_type_id_local(_Bool(*)(int)); in test_core_type_id()
92 out->local_anon_void_ptr = bpf_core_type_id_local(void *); in test_core_type_id()
93 out->local_anon_arr = bpf_core_type_id_local(_Bool[47]); in test_core_type_id()
95 out->local_struct = bpf_core_type_id_local(struct a_struct); in test_core_type_id()
96 out->local_union = bpf_core_type_id_local(union a_union); in test_core_type_id()
[all …]
H A Dtest_core_reloc_module.c20 char out[256]; member
44 struct core_reloc_module_output *out = (void *)&data.out; in BPF_PROG() local
55 out->len = BPF_CORE_READ(read_ctx, len); in BPF_PROG()
56 out->off = BPF_CORE_READ(read_ctx, off); in BPF_PROG()
58 out->read_ctx_sz = bpf_core_type_size(struct bpf_testmod_test_read_ctx); in BPF_PROG()
59 out->read_ctx_exists = bpf_core_type_exists(struct bpf_testmod_test_read_ctx); in BPF_PROG()
60 out->buf_exists = bpf_core_field_exists(read_ctx->buf); in BPF_PROG()
61 out->off_exists = bpf_core_field_exists(read_ctx->off); in BPF_PROG()
62 out->len_exists = bpf_core_field_exists(read_ctx->len); in BPF_PROG()
64 out->comm_len = BPF_CORE_READ_STR_INTO(&out->comm, task, comm); in BPF_PROG()
[all …]
H A Dtest_core_reloc_size.c13 char out[256]; member
49 struct core_reloc_size_output *out = (void *)&data.out; in test_core_size() local
51 out->int_sz = bpf_core_field_size(in->int_field); in test_core_size()
52 out->int_off = bpf_core_field_offset(in->int_field); in test_core_size()
54 out->struct_sz = bpf_core_field_size(in->struct_field); in test_core_size()
55 out->struct_off = bpf_core_field_offset(in->struct_field); in test_core_size()
57 out->union_sz = bpf_core_field_size(in->union_field); in test_core_size()
58 out->union_off = bpf_core_field_offset(in->union_field); in test_core_size()
60 out->arr_sz = bpf_core_field_size(in->arr_field); in test_core_size()
61 out->arr_off = bpf_core_field_offset(in->arr_field); in test_core_size()
[all …]
H A Dtest_core_reloc_existence.c13 char out[256]; member
45 struct core_reloc_existence_output *out = (void *)&data.out; in test_core_existence() local
47 out->a_exists = bpf_core_field_exists(in->a); in test_core_existence()
49 out->a_value = BPF_CORE_READ(in, a); in test_core_existence()
51 out->a_value = 0xff000001u; in test_core_existence()
53 out->b_exists = bpf_core_field_exists(in->b); in test_core_existence()
55 out->b_value = BPF_CORE_READ(in, b); in test_core_existence()
57 out->b_value = 0xff000002u; in test_core_existence()
59 out->c_exists = bpf_core_field_exists(in->c); in test_core_existence()
61 out->c_value = BPF_CORE_READ(in, c); in test_core_existence()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dport.c38 u32 out[MLX5_ST_SZ_DW(ptys_reg)]; in mlx5_port_query_eth_autoneg() local
44 if (mlx5_query_port_ptys(dev, out, sizeof(out), MLX5_PTYS_EN, 1)) in mlx5_port_query_eth_autoneg()
47 *an_status = MLX5_GET(ptys_reg, out, an_status); in mlx5_port_query_eth_autoneg()
48 *an_disable_cap = MLX5_GET(ptys_reg, out, an_disable_cap); in mlx5_port_query_eth_autoneg()
49 *an_disable_admin = MLX5_GET(ptys_reg, out, an_disable_admin); in mlx5_port_query_eth_autoneg()
55 u32 out[MLX5_ST_SZ_DW(ptys_reg)]; in mlx5_port_set_eth_ptys() local
76 return mlx5_core_access_reg(dev, in, sizeof(in), out, in mlx5_port_set_eth_ptys()
77 sizeof(out), MLX5_REG_PTYS, 0, 1); in mlx5_port_set_eth_ptys()
90 goto out; in mlx5e_port_linkspeed()
95 goto out; in mlx5e_port_linkspeed()
[all …]
/openbmc/linux/drivers/pci/hotplug/
H A Dcpqphp_sysfs.c30 char *out = buf; in show_ctrl() local
34 out += sprintf(buf, "Free resources: memory\n"); in show_ctrl()
38 out += sprintf(out, "start = %8.8x, length = %8.8x\n", res->base, res->length); in show_ctrl()
41 out += sprintf(out, "Free resources: prefetchable memory\n"); in show_ctrl()
45 out += sprintf(out, "start = %8.8x, length = %8.8x\n", res->base, res->length); in show_ctrl()
48 out += sprintf(out, "Free resources: IO\n"); in show_ctrl()
52 out += sprintf(out, "start = %8.8x, length = %8.8x\n", res->base, res->length); in show_ctrl()
55 out += sprintf(out, "Free resources: bus numbers\n"); in show_ctrl()
59 out += sprintf(out, "start = %8.8x, length = %8.8x\n", res->base, res->length); in show_ctrl()
63 return out - buf; in show_ctrl()
[all …]
/openbmc/linux/drivers/gpu/drm/omapdrm/dss/
H A Doutput.c20 int omapdss_device_init_output(struct omap_dss_device *out, in omapdss_device_init_output() argument
26 remote_node = of_graph_get_remote_node(out->dev->of_node, in omapdss_device_init_output()
27 out->of_port, 0); in omapdss_device_init_output()
29 dev_dbg(out->dev, "failed to find video sink\n"); in omapdss_device_init_output()
33 out->bridge = of_drm_find_bridge(remote_node); in omapdss_device_init_output()
34 out->panel = of_drm_find_panel(remote_node); in omapdss_device_init_output()
35 if (IS_ERR(out->panel)) in omapdss_device_init_output()
36 out->panel = NULL; in omapdss_device_init_output()
40 if (out->panel) { in omapdss_device_init_output()
43 bridge = drm_panel_bridge_add(out->panel); in omapdss_device_init_output()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/modules/hdcp/
H A Dhdcp2_execution.c111 goto out; in check_h_prime_available()
124 out: in check_h_prime_available()
135 goto out; in check_pairing_info_available()
148 out: in check_pairing_info_available()
191 goto out; in check_stream_ready_available()
198 out: in check_stream_ready_available()
232 goto out; in process_rxstatus()
236 goto out; in process_rxstatus()
241 goto out; in process_rxstatus()
256 out: in process_rxstatus()
[all …]
H A Dhdcp1_execution.c156 goto out; in wait_for_active_rx()
162 goto out; in wait_for_active_rx()
166 goto out; in wait_for_active_rx()
167 out: in wait_for_active_rx()
179 goto out; in exchange_ksvs()
185 goto out; in exchange_ksvs()
189 goto out; in exchange_ksvs()
193 goto out; in exchange_ksvs()
197 goto out; in exchange_ksvs()
201 goto out; in exchange_ksvs()
[all …]
/openbmc/linux/lib/
H A Dstring_helpers.c63 goto out; in string_get_size()
123 out: in string_get_size()
315 char *out = dst; in string_unescape() local
323 unescape_space(&src, &out)) in string_unescape()
327 unescape_octal(&src, &out)) in string_unescape()
331 unescape_hex(&src, &out)) in string_unescape()
335 unescape_special(&src, &out)) in string_unescape()
338 *out++ = '\\'; in string_unescape()
340 *out++ = *src++; in string_unescape()
342 *out = '\0'; in string_unescape()
[all …]
/openbmc/linux/fs/nls/
H A Dnls_euc-jp.c410 unsigned char *out, int boundlen) in uni2char() argument
416 if ((n = p_nls->uni2char(uni, out, boundlen)) < 0) in uni2char()
421 if (IS_SJIS_JISX0201KANA(out[0])) { in uni2char()
426 out[1] = out[0]; in uni2char()
427 out[0] = SS2; in uni2char()
432 sjisnec2sjisibm(out, out[0], out[1]); in uni2char()
434 if (IS_SJIS_UDC_LOW(out[0], out[1])) { in uni2char()
436 MAP_SJIS2EUC(out[0], out[1], 0xF0, out[0], out[1], 0xF5); in uni2char()
437 } else if (IS_SJIS_UDC_HI(out[0], out[1])) { in uni2char()
444 n = 3; ch = out[0]; cl = out[1]; in uni2char()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/igb/
H A De1000_phy.c66 goto out; in igb_get_phy_id()
72 goto out; in igb_get_phy_id()
77 out: in igb_get_phy_id()
92 goto out; in igb_phy_reset_dsp()
96 goto out; in igb_phy_reset_dsp()
100 out: in igb_phy_reset_dsp()
122 goto out; in igb_read_phy_reg_mdic()
148 goto out; in igb_read_phy_reg_mdic()
153 goto out; in igb_read_phy_reg_mdic()
157 out: in igb_read_phy_reg_mdic()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtest_bpffs.c40 goto out; in fn()
44 goto out; in fn()
48 goto out; in fn()
52 goto out; in fn()
56 goto out; in fn()
59 goto out; in fn()
63 goto out; in fn()
66 goto out; in fn()
70 goto out; in fn()
73 goto out; in fn()
[all …]
H A Dxdp_bonding.c276 goto out; in test_xdp_bonding_with_mode()
279 goto out; in test_xdp_bonding_with_mode()
323 out: in test_xdp_bonding_with_mode()
339 goto out; in test_xdp_bonding_redirect_multi()
343 goto out; in test_xdp_bonding_redirect_multi()
351 goto out; in test_xdp_bonding_redirect_multi()
355 goto out; in test_xdp_bonding_redirect_multi()
361 goto out; in test_xdp_bonding_redirect_multi()
366 goto out; in test_xdp_bonding_redirect_multi()
374 out: in test_xdp_bonding_redirect_multi()
[all …]
H A Dpinning.c50 goto out; in test_pinning()
58 goto out; in test_pinning()
63 goto out; in test_pinning()
68 goto out; in test_pinning()
74 goto out; in test_pinning()
80 goto out; in test_pinning()
84 goto out; in test_pinning()
91 goto out; in test_pinning()
96 goto out; in test_pinning()
102 goto out; in test_pinning()
[all …]
H A Dcore_autosize.c49 } out; variable
170 err = bpf_map__lookup_elem(bss_map, &zero, sizeof(zero), &out, sizeof(out), 0); in test_core_autosize()
174 ASSERT_EQ(out.ptr_samesized, 0x01020304, "ptr_samesized"); in test_core_autosize()
175 ASSERT_EQ(out.val1_samesized, 0x1020304050607080, "val1_samesized"); in test_core_autosize()
176 ASSERT_EQ(out.val2_samesized, 0x0a0b0c0d, "val2_samesized"); in test_core_autosize()
177 ASSERT_EQ(out.val3_samesized, 0xfeed, "val3_samesized"); in test_core_autosize()
178 ASSERT_EQ(out.val4_samesized, 0xb9, "val4_samesized"); in test_core_autosize()
179 ASSERT_EQ(out.output_samesized.ptr, 0x01020304, "ptr_samesized"); in test_core_autosize()
180 ASSERT_EQ(out.output_samesized.val1, 0x1020304050607080, "val1_samesized"); in test_core_autosize()
181 ASSERT_EQ(out.output_samesized.val2, 0x0a0b0c0d, "val2_samesized"); in test_core_autosize()
[all …]
/openbmc/linux/tools/perf/util/
H A Ddemangle-rust.c51 static bool unescape(const char **in, char **out, const char *seq, char value);
185 char *out; in rust_demangle_sym() local
192 out = sym; in rust_demangle_sym()
198 if (!(unescape(&in, &out, "$C$", ',') in rust_demangle_sym()
199 || unescape(&in, &out, "$SP$", '@') in rust_demangle_sym()
200 || unescape(&in, &out, "$BP$", '*') in rust_demangle_sym()
201 || unescape(&in, &out, "$RF$", '&') in rust_demangle_sym()
202 || unescape(&in, &out, "$LT$", '<') in rust_demangle_sym()
203 || unescape(&in, &out, "$GT$", '>') in rust_demangle_sym()
204 || unescape(&in, &out, "$LP$", '(') in rust_demangle_sym()
[all …]
/openbmc/linux/drivers/usb/usbip/
H A Dvhci_sysfs.c38 static void port_show_vhci(char **out, int hub, int port, struct vhci_device *vdev) in port_show_vhci() argument
41 *out += sprintf(*out, "hs %04u %03u ", in port_show_vhci()
44 *out += sprintf(*out, "ss %04u %03u ", in port_show_vhci()
48 *out += sprintf(*out, "%03u %08x ", in port_show_vhci()
50 *out += sprintf(*out, "%06u %s", in port_show_vhci()
55 *out += sprintf(*out, "000 00000000 "); in port_show_vhci()
56 *out += sprintf(*out, "000000 0-0"); in port_show_vhci()
59 *out += sprintf(*out, "\n"); in port_show_vhci()
63 static ssize_t status_show_vhci(int pdev_nr, char *out) in status_show_vhci() argument
69 char *s = out; in status_show_vhci()
[all …]
/openbmc/linux/tools/perf/tests/shell/
H A Dtest_task_analyzer.sh71 out="$tmpdir/perf.out"
72 perf script report task-analyzer > "$out"
74 find_str_or_fail "Comm" "$out" "${FUNCNAME[0]}"
78 out="$tmpdir/perf.out"
79 perf script report task-analyzer --ns --rename-comms-by-tids 0:random > "$out"
81 find_str_or_fail "Comm" "$out" "${FUNCNAME[0]}"
85 out="$tmpdir/perf.out"
87 > "$out"
89 find_str_or_fail "Comm" "$out" "${FUNCNAME[0]}"
93 out="$tmpdir/perf.out"
[all …]
/openbmc/linux/drivers/net/wireless/ti/wlcore/
H A Dacx.c34 goto out; in wl1271_acx_wake_up_conditions()
45 goto out; in wl1271_acx_wake_up_conditions()
48 out: in wl1271_acx_wake_up_conditions()
63 goto out; in wl1271_acx_sleep_auth()
72 goto out; in wl1271_acx_sleep_auth()
76 out: in wl1271_acx_sleep_auth()
96 goto out; in wl1271_acx_tx_power()
105 goto out; in wl1271_acx_tx_power()
108 out: in wl1271_acx_tx_power()
123 goto out; in wl1271_acx_feature_cfg()
[all …]
/openbmc/linux/drivers/target/iscsi/
H A Discsi_target_auth.c55 goto out; in chap_gen_challenge()
68 out: in chap_gen_challenge()
100 goto out; in chap_check_algorithm()
104 goto out; in chap_check_algorithm()
109 goto out; in chap_check_algorithm()
123 goto out; in chap_check_algorithm()
126 out: in chap_check_algorithm()
266 goto out; in chap_server_compute_hash()
272 goto out; in chap_server_compute_hash()
278 goto out; in chap_server_compute_hash()
[all …]
/openbmc/linux/lib/zlib_inflate/
H A Dinffast.c72 unsigned char *out; /* local strm->next_out */ in inflate_fast() local
99 out = strm->next_out; in inflate_fast()
100 beg = out - (start - strm->avail_out); in inflate_fast()
101 end = out + (strm->avail_out - 257); in inflate_fast()
132 *out++ = (unsigned char)(this.val); in inflate_fast()
179 op = (unsigned)(out - beg); /* max distance in output */ in inflate_fast()
193 *out++ = *from++; in inflate_fast()
195 from = out - dist; /* rest from output */ in inflate_fast()
204 *out++ = *from++; in inflate_fast()
211 *out++ = *from++; in inflate_fast()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dvport.c46 u32 out[MLX5_ST_SZ_DW(query_vport_state_out)] = {}; in mlx5_query_vport_state() local
57 err = mlx5_cmd_exec_inout(mdev, query_vport_state, in, out); in mlx5_query_vport_state()
61 return MLX5_GET(query_vport_state_out, out, state); in mlx5_query_vport_state()
80 u32 *out) in mlx5_query_nic_vport_context() argument
90 return mlx5_cmd_exec_inout(mdev, query_nic_vport_context, in, out); in mlx5_query_nic_vport_context()
96 u32 out[MLX5_ST_SZ_DW(query_nic_vport_context_out)] = {}; in mlx5_query_nic_vport_min_inline() local
99 err = mlx5_query_nic_vport_context(mdev, vport, out); in mlx5_query_nic_vport_min_inline()
101 *min_inline = MLX5_GET(query_nic_vport_context_out, out, in mlx5_query_nic_vport_min_inline()
149 u32 out[MLX5_ST_SZ_DW(query_nic_vport_context_out)] = {}; in mlx5_query_nic_vport_mac_address() local
154 out_addr = MLX5_ADDR_OF(query_nic_vport_context_out, out, in mlx5_query_nic_vport_mac_address()
[all …]
/openbmc/bmcweb/scripts/
H A Dparse_registries.py305 out = ""
319 out += f"nlohmann::json {function_name}({arg})"
322 out += ";\n\n"
324 out += "\n{\n"
332out += f"std::string arg{index}Str = arg{index}.dump(-1, ' ', true, nlohmann::json::error_handler_…
334 out += f"std::string arg{index}Str = std::to_string(arg{index});\n"
351out += f" return getLog(redfish::registries::{namespace_name}::Index::{function_name}, {arg_par…
352 out += "\n}\n\n"
363 out += f"void {function_name}({arg})"
365 out += ";\n"
[all …]
/openbmc/linux/drivers/media/pci/solo6x10/
H A Dsolo6x10-core.c244 char *out = buf; in input_map_show() local
247 out += sprintf(out, "Channel 0 => Input %d\n", val & 0x1f); in input_map_show()
248 out += sprintf(out, "Channel 1 => Input %d\n", (val >> 5) & 0x1f); in input_map_show()
249 out += sprintf(out, "Channel 2 => Input %d\n", (val >> 10) & 0x1f); in input_map_show()
250 out += sprintf(out, "Channel 3 => Input %d\n", (val >> 15) & 0x1f); in input_map_show()
251 out += sprintf(out, "Channel 4 => Input %d\n", (val >> 20) & 0x1f); in input_map_show()
252 out += sprintf(out, "Channel 5 => Input %d\n", (val >> 25) & 0x1f); in input_map_show()
255 out += sprintf(out, "Channel 6 => Input %d\n", val & 0x1f); in input_map_show()
256 out += sprintf(out, "Channel 7 => Input %d\n", (val >> 5) & 0x1f); in input_map_show()
257 out += sprintf(out, "Channel 8 => Input %d\n", (val >> 10) & 0x1f); in input_map_show()
[all …]

12345678910>>...342