/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/gpu/drm/amd/display/dc/dml2/ |
H A D | dml2_translation_helper.c | 34 …id dml2_init_ip_params(struct dml2_context *dml2, const struct dc *in_dc, struct ip_params_st *out) in dml2_init_ip_params() argument 41 out->vblank_nom_default_us = 600; in dml2_init_ip_params() 42 out->rob_buffer_size_kbytes = 128; in dml2_init_ip_params() 43 out->config_return_buffer_size_in_kbytes = 1280; in dml2_init_ip_params() 44 out->config_return_buffer_segment_size_in_kbytes = 64; in dml2_init_ip_params() 45 out->compressed_buffer_segment_size_in_kbytes = 64; in dml2_init_ip_params() 46 out->meta_fifo_size_in_kentries = 22; in dml2_init_ip_params() 47 out->zero_size_buffer_entries = 512; in dml2_init_ip_params() 48 out->dpte_buffer_size_in_pte_reqs_luma = 68; in dml2_init_ip_params() 49 out->dpte_buffer_size_in_pte_reqs_chroma = 36; in dml2_init_ip_params() [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/fs/bcachefs/ |
H A D | printbuf.c | 33 int bch2_printbuf_make_room(struct printbuf *out, unsigned extra) in bch2_printbuf_make_room() argument 38 if (out->pos + extra <= out->size) in bch2_printbuf_make_room() 41 if (!out->heap_allocated) { in bch2_printbuf_make_room() 42 out->overflow = true; in bch2_printbuf_make_room() 46 unsigned new_size = roundup_pow_of_two(out->size + extra); in bch2_printbuf_make_room() 50 out->allocation_failure = true; in bch2_printbuf_make_room() 51 out->overflow = true; in bch2_printbuf_make_room() 59 char *buf = krealloc(out->buf, new_size, !out->atomic ? GFP_KERNEL : GFP_NOWAIT); in bch2_printbuf_make_room() 62 out->allocation_failure = true; in bch2_printbuf_make_room() 63 out->overflow = true; in bch2_printbuf_make_room() [all …]
|
H A D | printbuf.h | 105 __printf(2, 3) void bch2_prt_printf(struct printbuf *out, const char *fmt, ...); 106 __printf(2, 0) void bch2_prt_vprintf(struct printbuf *out, const char *fmt, va_list); 145 static inline unsigned printbuf_remaining_size(struct printbuf *out) in printbuf_remaining_size() argument 147 if (WARN_ON(out->size && out->pos >= out->size)) in printbuf_remaining_size() 148 out->pos = out->size - 1; in printbuf_remaining_size() 149 return out->size - out->pos; in printbuf_remaining_size() 156 static inline unsigned printbuf_remaining(struct printbuf *out) in printbuf_remaining() argument 158 return out->size ? printbuf_remaining_size(out) - 1 : 0; in printbuf_remaining() 161 static inline unsigned printbuf_written(struct printbuf *out) in printbuf_written() argument 163 return out->size ? min(out->pos, out->size - 1) : 0; in printbuf_written() [all …]
|
/linux/fs/ocfs2/dlm/ |
H A D | dlmdebug.c | 184 int out = 0; in stringify_lockname() local 192 out += scnprintf(buf + out, len - out, "%.*s%08x", in stringify_lockname() 196 out += scnprintf(buf + out, len - out, "%.*s", in stringify_lockname() 198 return out; in stringify_lockname() 204 int out = 0; in stringify_nodemap() local 208 out += scnprintf(buf + out, len - out, "%d ", i); in stringify_nodemap() 210 return out; in stringify_nodemap() 215 int out = 0; in dump_mle() local 225 out += stringify_lockname(mle->mname, mle->mnamelen, buf + out, len - out); in dump_mle() 226 out += scnprintf(buf + out, len - out, in dump_mle() [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 | 36 FILE *out; member 42 static void output_json_string(FILE *out, const char *s) in output_json_string() argument 44 fputc('"', out); in output_json_string() 49 case '"': fputs("\\\"", out); break; in output_json_string() 50 case '\\': fputs("\\\\", out); break; in output_json_string() 51 case '\b': fputs("\\b", out); break; in output_json_string() 52 case '\f': fputs("\\f", out); break; in output_json_string() 53 case '\n': fputs("\\n", out); break; in output_json_string() 54 case '\r': fputs("\\r", out); break; in output_json_string() 55 case '\t': fputs("\\t", out); brea in output_json_string() 73 output_json_delimiters(FILE * out,bool comma,int depth) output_json_delimiters() argument 86 output_json_format(FILE * out,bool comma,int depth,const char * format,...) output_json_format() argument 97 output_json_key_string(FILE * out,bool comma,int depth,const char * key,const char * value) output_json_key_string() argument 108 output_json_key_format(FILE * out,bool comma,int depth,const char * key,const char * format,...) output_json_key_format() argument 125 FILE *out = c->out; output_sample_callchain_entry() local 156 FILE *out = c->out; process_sample_event() local 264 FILE *out = c->out; output_headers() local [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_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 | 37 goto out; in test_tailcall_1() 41 goto out; in test_tailcall_1() 45 goto out; in test_tailcall_1() 49 goto out; in test_tailcall_1() 56 goto out; in test_tailcall_1() 60 goto out; in test_tailcall_1() 64 goto out; in test_tailcall_1() 74 goto out; in test_tailcall_1() 86 goto out; in test_tailcall_1() 90 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 …]
|
/linux/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/dml2_pmo/ |
H A D | dml2_pmo_factory.c | 25 bool dml2_pmo_create(enum dml2_project_id project_id, struct dml2_pmo_instance *out) in dml2_pmo_create() argument 29 if (out == 0) in dml2_pmo_create() 32 memset(out, 0, sizeof(struct dml2_pmo_instance)); in dml2_pmo_create() 36 out->initialize = pmo_dcn4_fams2_initialize; in dml2_pmo_create() 37 out->optimize_dcc_mcache = pmo_dcn4_fams2_optimize_dcc_mcache; in dml2_pmo_create() 41 out->initialize = pmo_dcn3_initialize; in dml2_pmo_create() 43 out->optimize_dcc_mcache = pmo_dcn3_optimize_dcc_mcache; in dml2_pmo_create() 45 out->init_for_vmin = pmo_dcn3_init_for_vmin; in dml2_pmo_create() 46 out->test_for_vmin = pmo_dcn3_test_for_vmin; in dml2_pmo_create() 47 out->optimize_for_vmin = pmo_dcn3_optimize_for_vmin; in dml2_pmo_create() [all …]
|
/linux/drivers/media/platform/mediatek/vcodec/encoder/ |
H A D | venc_vpu_if.c | 135 struct venc_ap_ipi_msg_init out; in vpu_enc_init() local 151 memset(&out, 0, sizeof(out)); in vpu_enc_init() 152 out.msg_id = AP_IPIMSG_ENC_INIT; in vpu_enc_init() 153 out.venc_inst = (unsigned long)vpu; in vpu_enc_init() 154 if (vpu_enc_send_msg(vpu, &out, sizeof(out))) { in vpu_enc_init() 194 struct venc_ap_ipi_msg_set_param_ext out; in vpu_enc_set_param() local 198 memset(&out, 0, sizeof(out)); in vpu_enc_set_param() 199 out.base.msg_id = AP_IPIMSG_ENC_SET_PARAM; in vpu_enc_set_param() 200 out.base.vpu_inst_addr = vpu->inst_addr; in vpu_enc_set_param() 201 out.base.param_id = id; in vpu_enc_set_param() [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/lib/ |
H A D | string_helpers_kunit.c | 27 const char *out; member 34 .out = "\f\\ \n\r\t\v", 39 .out = " \001\00387\0064\005 \\8aH?7", 44 .out = "\\xv\n,\ro2", 49 .out = "\\h\\\"\a\e\\", 78 s = strings[i].out; in test_string_unescape() 79 len = strlen(strings[i].out); in test_string_unescape() 104 const char *out; member 118 .out = "\\f\\ \\n\\r\\t\\v", 121 .out = "\\f\\134\\040\\n\\r\\t\\v", [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/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/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/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/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/fs/btrfs/tests/ |
H A D | inode-tests.c | 240 goto out; in test_btrfs_get_extent() 246 goto out; in test_btrfs_get_extent() 252 goto out; in test_btrfs_get_extent() 265 goto out; in test_btrfs_get_extent() 269 goto out; in test_btrfs_get_extent() 284 goto out; in test_btrfs_get_extent() 288 goto out; in test_btrfs_get_extent() 305 goto out; in test_btrfs_get_extent() 309 goto out; in test_btrfs_get_extent() 322 goto out; in test_btrfs_get_extent() [all …]
|
/linux/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | output.c | 20 int omapdss_output_set_device(struct omap_dss_device *out, in omapdss_output_set_device() argument 27 if (out->dst) { in omapdss_output_set_device() 29 out->dst->name); in omapdss_output_set_device() 34 if (out->output_type != dssdev->type) { in omapdss_output_set_device() 40 out->dst = dssdev; in omapdss_output_set_device() 41 dssdev->src = out; in omapdss_output_set_device() 53 int omapdss_output_unset_device(struct omap_dss_device *out) in omapdss_output_unset_device() argument 59 if (!out->dst) { in omapdss_output_unset_device() 65 if (out->dst->state != OMAP_DSS_DISPLAY_DISABLED) { in omapdss_output_unset_device() 67 out->dst->name); in omapdss_output_unset_device() [all …]
|