| /linux/drivers/net/ethernet/microchip/sparx5/ |
| H A D | sparx5_vcap_debugfs.c | 79 struct vcap_output_print *out) in sparx5_vcap_is0_port_keys() argument 84 out->prf(out->dst, " port[%02d] (%s): ", port->portno, in sparx5_vcap_is0_port_keys() 87 out->prf(out->dst, "\n Lookup %d: ", lookup); in sparx5_vcap_is0_port_keys() 92 out->prf(out->dst, "\n state: "); in sparx5_vcap_is0_port_keys() 94 out->prf(out->dst, "on"); in sparx5_vcap_is0_port_keys() 96 out->prf(out->dst, "off"); in sparx5_vcap_is0_port_keys() 98 out->prf(out->dst, "\n etype: %s", in sparx5_vcap_is0_port_keys() 101 out->prf(out->dst, "\n ipv4: %s", in sparx5_vcap_is0_port_keys() 104 out->prf(out->dst, "\n ipv6: %s", in sparx5_vcap_is0_port_keys() 107 out->prf(out->dst, "\n mpls_uc: %s", in sparx5_vcap_is0_port_keys() [all …]
|
| /linux/drivers/net/ethernet/microchip/lan966x/ |
| H A D | lan966x_vcap_debugfs.c | 10 struct vcap_output_print *out) in lan966x_vcap_is1_port_keys() argument 15 out->prf(out->dst, " port[%d] (%s): ", port->chip_port, in lan966x_vcap_is1_port_keys() 19 out->prf(out->dst, "\n state: "); in lan966x_vcap_is1_port_keys() 21 out->prf(out->dst, "on"); in lan966x_vcap_is1_port_keys() 23 out->prf(out->dst, "off"); in lan966x_vcap_is1_port_keys() 26 out->prf(out->dst, "\n Lookup %d: ", l); in lan966x_vcap_is1_port_keys() 30 out->prf(out->dst, "\n other: "); in lan966x_vcap_is1_port_keys() 33 out->prf(out->dst, "normal"); in lan966x_vcap_is1_port_keys() 36 out->prf(out->dst, "7tuple"); in lan966x_vcap_is1_port_keys() 39 out->prf(out->dst, "dbl_vid"); in lan966x_vcap_is1_port_keys() [all …]
|
| /linux/drivers/usb/host/ |
| H A D | uhci-debug.c | 46 char *out = buf; in uhci_show_td() local 51 out += sprintf(out, "%*s[%p] link (%08x) ", space, "", td, in uhci_show_td() 53 out += sprintf(out, "e%d %s%s%s%s%s%s%s%s%s%sLength=%x ", in uhci_show_td() 66 if (out - buf > len) in uhci_show_td() 85 out += sprintf(out, "MaxLen=%x DT%d EndPt=%x Dev=%x, PID=%x(%s) ", in uhci_show_td() 92 out += sprintf(out, "(buf=%08x)\n", hc32_to_cpu(uhci, td->buffer)); in uhci_show_td() 95 if (out - buf > len) in uhci_show_td() 96 out += sprintf(out, " ...\n"); in uhci_show_td() 97 return out - buf; in uhci_show_td() 103 char *out = buf; in uhci_show_urbp() local [all …]
|
| /linux/drivers/gpu/drm/vkms/tests/ |
| H A D | vkms_color_test.c | 162 struct pixel_argb_s32 ref, out; in vkms_color_ctm_3x4_50_desat() local 170 memcpy(&out, &ref, sizeof(out)); in vkms_color_ctm_3x4_50_desat() 171 apply_3x4_matrix(&out, &test_matrix_3x4_50_desat); in vkms_color_ctm_3x4_50_desat() 173 KUNIT_EXPECT_MEMEQ(test, &ref, &out, sizeof(out)); in vkms_color_ctm_3x4_50_desat() 181 memcpy(&out, &ref, sizeof(out)); in vkms_color_ctm_3x4_50_desat() 182 apply_3x4_matrix(&out, &test_matrix_3x4_50_desat); in vkms_color_ctm_3x4_50_desat() 184 KUNIT_EXPECT_MEMEQ(test, &ref, &out, sizeof(out)); in vkms_color_ctm_3x4_50_desat() 192 memcpy(&out, &ref, sizeof(out)); in vkms_color_ctm_3x4_50_desat() 193 apply_3x4_matrix(&out, &test_matrix_3x4_50_desat); in vkms_color_ctm_3x4_50_desat() 195 KUNIT_EXPECT_MEMEQ(test, &ref, &out, sizeof(out)); in vkms_color_ctm_3x4_50_desat() [all …]
|
| /linux/drivers/net/ethernet/microchip/vcap/ |
| H A D | vcap_api_debugfs.c | 23 struct vcap_output_print *out, in vcap_debugfs_show_rule_keyfield() argument 32 out->prf(out->dst, " %s: W%d: ", vcap_keyfield_name(vctrl, key), in vcap_debugfs_show_rule_keyfield() 37 out->prf(out->dst, "%d/%d", data->u1.value, data->u1.mask); in vcap_debugfs_show_rule_keyfield() 44 out->prf(out->dst, "%pI4h/%pI4h", &data->u32.value, in vcap_debugfs_show_rule_keyfield() 55 out->prf(out->dst, "%u/%u", data->u32.value & fmsk, in vcap_debugfs_show_rule_keyfield() 63 out->prf(out->dst, "%pMR/%pMR", data->u48.value, in vcap_debugfs_show_rule_keyfield() 98 out->prf(out->dst, "%pI6/%pI6", nvalue, nmask); in vcap_debugfs_show_rule_keyfield() 106 out->prf(out->dst, "0x"); in vcap_debugfs_show_rule_keyfield() 108 out->prf(out->dst, "%02x", value[bytes - idx - 1]); in vcap_debugfs_show_rule_keyfield() 109 out->prf(out->dst, "/0x"); in vcap_debugfs_show_rule_keyfield() [all …]
|
| /linux/tools/perf/util/ |
| H A D | data-convert-json.c | 37 FILE *out; member 48 static void output_json_string(FILE *out, const char *s) in output_json_string() argument 50 fputc('"', out); in output_json_string() 52 goto out; in output_json_string() 58 case '"': fputs("\\\"", out); break; in output_json_string() 59 case '\\': fputs("\\\\", out); break; in output_json_string() 60 case '\b': fputs("\\b", out); break; in output_json_string() 61 case '\f': fputs("\\f", out); break; in output_json_string() 62 case '\n': fputs("\\n", out); break; in output_json_string() 63 case '\r': fputs("\\r", out); break; in output_json_string() [all …]
|
| /linux/lib/crypto/tests/ |
| H A D | sha3_kunit.c | 87 u8 out[8 + SHA3_224_DIGEST_SIZE + 8]; in test_sha3_224_basic() local 89 BUILD_BUG_ON(sizeof(out) != sizeof(test_sha3_224)); in test_sha3_224_basic() 91 memset(out, 0, sizeof(out)); in test_sha3_224_basic() 92 sha3_224(test_sha3_sample, sizeof(test_sha3_sample) - 1, out + 8); in test_sha3_224_basic() 94 KUNIT_ASSERT_MEMEQ_MSG(test, out, test_sha3_224, sizeof(test_sha3_224), in test_sha3_224_basic() 100 u8 out[8 + SHA3_256_DIGEST_SIZE + 8]; in test_sha3_256_basic() local 102 BUILD_BUG_ON(sizeof(out) != sizeof(test_sha3_256)); in test_sha3_256_basic() 104 memset(out, 0, sizeof(out)); in test_sha3_256_basic() 105 sha3_256(test_sha3_sample, sizeof(test_sha3_sample) - 1, out + 8); in test_sha3_256_basic() 107 KUNIT_ASSERT_MEMEQ_MSG(test, out, test_sha3_256, sizeof(test_sha3_256), in test_sha3_256_basic() [all …]
|
| /linux/tools/testing/selftests/bpf/progs/ |
| H A D | test_core_reloc_type_based.c | 14 char out[256]; member 112 struct core_reloc_type_based_output *out = (void *)&data.out; in test_core_type_based() local 114 out->struct_exists = bpf_core_type_exists(struct a_struct); in test_core_type_based() 115 out->complex_struct_exists = bpf_core_type_exists(struct a_complex_struct); in test_core_type_based() 116 out->union_exists = bpf_core_type_exists(union a_union); in test_core_type_based() 117 out->enum_exists = bpf_core_type_exists(enum an_enum); in test_core_type_based() 118 out->typedef_named_struct_exists = bpf_core_type_exists(named_struct_typedef); in test_core_type_based() 119 out->typedef_anon_struct_exists = bpf_core_type_exists(anon_struct_typedef); in test_core_type_based() 120 out->typedef_struct_ptr_exists = bpf_core_type_exists(struct_ptr_typedef); in test_core_type_based() 121 out->typedef_int_exists = bpf_core_type_exists(int_typedef); in test_core_type_based() [all …]
|
| H A D | test_xdp_meta.c | 74 goto out; in ing_cls() 77 goto out; in ing_cls() 80 out: in ing_cls() 95 goto out; in ing_cls_dynptr_read() 98 out: in ing_cls_dynptr_read() 130 goto out; in ing_cls_dynptr_slice() 133 goto out; in ing_cls_dynptr_slice() 136 out: in ing_cls_dynptr_slice() 190 goto out; in ing_cls_dynptr_offset_rd() 194 goto out; in ing_cls_dynptr_offset_rd() [all …]
|
| H A D | test_core_reloc_type_id.c | 14 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 …]
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | tailcalls.c | 38 goto out; in test_tailcall_1() 42 goto out; in test_tailcall_1() 46 goto out; in test_tailcall_1() 50 goto out; in test_tailcall_1() 57 goto out; in test_tailcall_1() 61 goto out; in test_tailcall_1() 65 goto out; in test_tailcall_1() 75 goto out; in test_tailcall_1() 87 goto out; in test_tailcall_1() 91 goto out; in test_tailcall_1() [all...] |
| H A D | xdp_synproxy.c | 16 goto out; \ 21 static void escape_str(char *out, const char *in, size_t size) in escape_str() argument 28 *out++ = in[i]; in escape_str() 30 *out++ = '\\'; in escape_str() 31 *out++ = 'x'; in escape_str() 32 *out++ = hex[(in[i] >> 4) & 0xf]; in escape_str() 33 *out++ = hex[in[i] & 0xf]; in escape_str() 36 *out++ = '\0'; in escape_str() 67 SYS(out, "ip netns add synproxy"); in test_synproxy() 69 SYS(out, "ip link add tmp0 type veth peer name tmp1"); in test_synproxy() [all …]
|
| H A D | xdp_flowtable.c | 78 SYS(out, "ip netns add " TX_NETNS_NAME); in test_xdp_flowtable() 79 SYS(out, "ip netns add " RX_NETNS_NAME); in test_xdp_flowtable() 83 goto out; in test_xdp_flowtable() 85 SYS(out, "sysctl -qw net.ipv4.conf.all.forwarding=1"); in test_xdp_flowtable() 87 SYS(out, "ip link add " TX_NAME " type veth peer " FORWARD_NAME); in test_xdp_flowtable() 88 SYS(out, "ip link set " TX_NAME " netns " TX_NETNS_NAME); in test_xdp_flowtable() 89 SYS(out, "ip link set dev " FORWARD_NAME " address " FORWARD_MAC); in test_xdp_flowtable() 90 SYS(out, in test_xdp_flowtable() 92 SYS(out, "ip link set dev " FORWARD_NAME " up"); in test_xdp_flowtable() 94 SYS(out, "ip link add " RX_NAME " type dummy"); in test_xdp_flowtable() [all …]
|
| H A D | xdp_bonding.c | 276 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 …]
|
| /linux/tools/testing/selftests/openat2/ |
| H A D | resolve_test.c | 118 } out; member 140 .out.err = -EXDEV, .pass = false }, in test_openat2_opath_tests() 143 .out.err = -EXDEV, .pass = false }, in test_openat2_opath_tests() 146 .out.err = -EXDEV, .pass = false }, in test_openat2_opath_tests() 149 .out.err = -EXDEV, .pass = false }, in test_openat2_opath_tests() 152 .out.err = -EXDEV, .pass = false }, in test_openat2_opath_tests() 155 .out.err = -EXDEV, .pass = false }, in test_openat2_opath_tests() 158 .out.err = -EXDEV, .pass = false }, in test_openat2_opath_tests() 161 .out.err = -EXDEV, .pass = false }, in test_openat2_opath_tests() 164 .out.err = -EXDEV, .pass = false }, in test_openat2_opath_tests() [all …]
|
| /linux/fs/udf/ |
| H A D | udfend.h | 10 struct kernel_lb_addr out; in lelb_to_cpu() local 12 out.logicalBlockNum = le32_to_cpu(in.logicalBlockNum); in lelb_to_cpu() 13 out.partitionReferenceNum = le16_to_cpu(in.partitionReferenceNum); in lelb_to_cpu() 15 return out; in lelb_to_cpu() 20 struct lb_addr out; in cpu_to_lelb() local 22 out.logicalBlockNum = cpu_to_le32(in.logicalBlockNum); in cpu_to_lelb() 23 out.partitionReferenceNum = cpu_to_le16(in.partitionReferenceNum); in cpu_to_lelb() 25 return out; in cpu_to_lelb() 30 struct short_ad out; in lesa_to_cpu() local 32 out.extLength = le32_to_cpu(in.extLength); in lesa_to_cpu() [all …]
|
| /linux/drivers/net/ethernet/mellanox/mlx5/core/ |
| H A D | port.c | 44 u32 *out = NULL; in mlx5_access_reg() local 49 out = kvzalloc(outlen, GFP_KERNEL); in mlx5_access_reg() 50 if (!in || !out) in mlx5_access_reg() 51 goto out; in mlx5_access_reg() 61 err = mlx5_cmd_do(dev, in, inlen, out, outlen); in mlx5_access_reg() 63 err = mlx5_cmd_check(dev, err, in, out); in mlx5_access_reg() 65 goto out; in mlx5_access_reg() 67 data = MLX5_ADDR_OF(access_register_out, out, register_data); in mlx5_access_reg() 70 out: in mlx5_access_reg() 71 kvfree(out); in mlx5_access_reg() [all …]
|
| /linux/arch/powerpc/crypto/ |
| H A D | aesp10-ppc.pl | 120 my ($inp,$bits,$out,$ptr,$cnt,$rounds)=map("r$_",(3..8)); 154 ${UCMP}i $out,0 155 beq- Lenc_key_abort # if ($out==0) return -1; 188 ?lvsr $outperm,0,$out 190 lvx $outhead,0,$out 207 stvx $stage,0,$out 208 addi $out,$out,16 227 stvx $stage,0,$out 228 addi $out,$out,16 244 stvx $stage,0,$out [all …]
|
| /linux/drivers/media/test-drivers/vicodec/ |
| H A D | codec-fwht.c | 255 s16 *out = output_block; in fwht() local 260 for (i = 0; i < 8; i++, tmp += stride, out += 8) { in fwht() 328 out[0] = workspace2[0] + workspace2[4]; in fwht() 329 out[1] = workspace2[0] - workspace2[4]; in fwht() 330 out[2] = workspace2[1] - workspace2[5]; in fwht() 331 out[3] = workspace2[1] + workspace2[5]; in fwht() 332 out[4] = workspace2[2] + workspace2[6]; in fwht() 333 out[5] = workspace2[2] - workspace2[6]; in fwht() 334 out[6] = workspace2[3] - workspace2[7]; in fwht() 335 out[7] = workspace2[3] + workspace2[7]; in fwht() [all …]
|
| /linux/drivers/md/bcache/ |
| H A D | features.c | 35 out += snprintf(out, buf + size - out, \ 38 out += snprintf(out, buf + size - out, \ 42 out += snprintf(out, buf + size - out, " "); \ 45 out += snprintf(out, buf + size - out, "%s", f->string);\ 48 out += snprintf(out, buf + size - out, "]"); \ 53 out += snprintf(out, buf + size - out, "\n"); \ 58 char *out = buf; in bch_print_cache_set_feature_compat() local 60 return out - buf; in bch_print_cache_set_feature_compat() 65 char *out = buf; in bch_print_cache_set_feature_ro_compat() local 67 return out - buf; in bch_print_cache_set_feature_ro_compat() [all …]
|
| /linux/drivers/net/ethernet/intel/igb/ |
| H A D | e1000_phy.c | 66 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 …]
|
| /linux/drivers/pci/hotplug/ |
| H A D | cpqphp_sysfs.c | 30 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 …]
|
| /linux/lib/ |
| H A D | string_helpers.c | 69 goto out; in string_get_size() 129 out: in string_get_size() 326 char *out = dst; in string_unescape() local 337 unescape_space(&src, &out)) in string_unescape() 341 unescape_octal(&src, &out)) in string_unescape() 345 unescape_hex(&src, &out)) in string_unescape() 349 unescape_special(&src, &out)) in string_unescape() 352 *out++ = '\\'; in string_unescape() 354 *out++ = *src++; in string_unescape() 356 *out = '\0'; in string_unescape() [all …]
|
| /linux/fs/btrfs/tests/ |
| H A D | raid-stripe-tree-tests.c | 58 goto out; in test_punch_hole_3extents() 74 goto out; in test_punch_hole_3extents() 83 goto out; in test_punch_hole_3extents() 95 goto out; in test_punch_hole_3extents() 104 goto out; in test_punch_hole_3extents() 116 goto out; in test_punch_hole_3extents() 125 goto out; in test_punch_hole_3extents() 137 goto out; in test_punch_hole_3extents() 146 goto out; in test_punch_hole_3extents() 153 goto out; in test_punch_hole_3extents() [all …]
|
| /linux/tools/testing/selftests/coredump/ |
| H A D | coredump_socket_protocol_test.c | 106 goto out; in TEST_F() 111 goto out; in TEST_F() 119 goto out; in TEST_F() 125 goto out; in TEST_F() 130 goto out; in TEST_F() 135 goto out; in TEST_F() 140 goto out; in TEST_F() 146 goto out; in TEST_F() 151 goto out; in TEST_F() 158 goto out; in TEST_F() [all …]
|