| /OK3568_Linux_fs/kernel/tools/power/x86/intel-speed-select/ |
| H A D | isst-display.c | 15 snprintf(str, str_len, "none"); in printcpulist() 25 index = snprintf(&str[curr_index], in printcpulist() 31 index = snprintf(&str[curr_index], str_len - curr_index, "%d", in printcpulist() 68 index = snprintf(&str[curr_index], str_len - curr_index, "%08x", in printcpumask() 98 j += snprintf(&delimiters[j], sizeof(delimiters) - j, in format_and_print_txt() 133 j += snprintf(&delimiters[j], sizeof(delimiters) - j, in format_and_print() 150 k += snprintf(&delimiters[k], in format_and_print() 174 snprintf(header, sizeof(header), "package-%d:die-%d:cpu-%d", in print_package_info() 180 snprintf(header, sizeof(header), "package-%d", in print_package_info() 183 snprintf(header, sizeof(header), "die-%d", get_physical_die_id(cpu)); in print_package_info() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/hid/ |
| H A D | hid-picolcd_debugfs.c | 406 snprintf(buff, BUFF_SZ, "\nout report %d (size %d) = ", in picolcd_debug_out_report() 417 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report() 420 snprintf(buff, BUFF_SZ, "\tGPO state: 0x%02x\n", raw_data[1]); in picolcd_debug_out_report() 425 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report() 428 snprintf(buff, BUFF_SZ, "\tBrightness: 0x%02x\n", raw_data[1]); in picolcd_debug_out_report() 433 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report() 436 snprintf(buff, BUFF_SZ, "\tContrast: 0x%02x\n", raw_data[1]); in picolcd_debug_out_report() 441 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report() 444 snprintf(buff, BUFF_SZ, "\tDuration: 0x%02x%02x (%dms)\n", in picolcd_debug_out_report() 450 snprintf(buff, BUFF_SZ, "out report %s (%d, size=%d)\n", in picolcd_debug_out_report() [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/util/arm-spe-decoder/ |
| H A D | arm-spe-pkt-decoder.c | 285 return snprintf(buf, buf_len, "%s", name); in arm_spe_pkt_desc() 290 ret = snprintf(buf, buf_len, "EV"); in arm_spe_pkt_desc() 294 ret = snprintf(buf, buf_len, " EXCEPTION-GEN"); in arm_spe_pkt_desc() 299 ret = snprintf(buf, buf_len, " RETIRED"); in arm_spe_pkt_desc() 304 ret = snprintf(buf, buf_len, " L1D-ACCESS"); in arm_spe_pkt_desc() 309 ret = snprintf(buf, buf_len, " L1D-REFILL"); in arm_spe_pkt_desc() 314 ret = snprintf(buf, buf_len, " TLB-ACCESS"); in arm_spe_pkt_desc() 319 ret = snprintf(buf, buf_len, " TLB-REFILL"); in arm_spe_pkt_desc() 324 ret = snprintf(buf, buf_len, " NOT-TAKEN"); in arm_spe_pkt_desc() 329 ret = snprintf(buf, buf_len, " MISPRED"); in arm_spe_pkt_desc() [all …]
|
| /OK3568_Linux_fs/external/xserver/xkb/ |
| H A D | xkbtext.c | 126 snprintf(numBuf, sizeof(numBuf), "%d", ndx); in XkbVModIndexText() 241 snprintf(buf, sizeof(buf), "%sMapIndex", modNames[ndx]); in XkbModIndexText() 243 snprintf(buf, sizeof(buf), "XkbNoModifier"); in XkbModIndexText() 245 snprintf(buf, sizeof(buf), "0x%02x", ndx); in XkbModIndexText() 253 snprintf(buf, sizeof(buf), "ILLEGAL_%02x", ndx); in XkbModIndexText() 361 snprintf(buf, sizeof(buf), "0x%lx", (long) sym); in XkbKeysymText() 418 snprintf(buf, sizeof(buf), "0x%x", type & XkbSI_OpMask); in XkbSIMatchText() 423 snprintf(buf, sizeof(buf), "XkbSI_LevelOneOnly|XkbSI_%s", rtrn); in XkbSIMatchText() 425 snprintf(buf, sizeof(buf), "XkbSI_%s", rtrn); in XkbSIMatchText() 701 snprintf(buf, sizeof(buf), "XkbSA_%s", rtrn); in XkbActionTypeText() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/target/iscsi/ |
| H A D | iscsi_target_stat.c | 54 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_inst_show() 61 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DRAFT20_VERSION); in iscsi_stat_instance_min_ver_show() 67 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DRAFT20_VERSION); in iscsi_stat_instance_max_ver_show() 73 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_portals_show() 80 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_INST_NUM_NODES); in iscsi_stat_instance_nodes_show() 86 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_sessions_show() 103 return snprintf(page, PAGE_SIZE, "%u\n", sess_err_count); in iscsi_stat_instance_fail_sess_show() 112 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_fail_type_show() 122 return snprintf(page, PAGE_SIZE, "%s\n", in iscsi_stat_instance_fail_rem_name_show() 130 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DISCONTINUITY_TIME); in iscsi_stat_instance_disc_time_show() [all …]
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-support/ntopng/files/ |
| H A D | CVE-2021-36082.patch | 37 - ja3_str_len = snprintf(ja3_str, sizeof(ja3_str), "%u,", ja3.tls_handshake_version); 38 + ja3_str_len = snprintf(ja3_str, JA3_STR_LEN, "%u,", ja3.tls_handshake_version); 41 - rc = snprintf(&ja3_str[ja3_str_len], sizeof(ja3_str)-ja3_str_len, "%s%u", (i > 0) ? "-" : "", ja3… 43 + rc = snprintf(&ja3_str[ja3_str_len], JA3_STR_LEN-ja3_str_len, "%s%u", (i > 0) ? "-" : "", ja3.cip… 48 - rc = snprintf(&ja3_str[ja3_str_len], sizeof(ja3_str)-ja3_str_len, ","); 51 + rc = snprintf(&ja3_str[ja3_str_len], JA3_STR_LEN-ja3_str_len, ","); 58 - int rc = snprintf(&ja3_str[ja3_str_len], sizeof(ja3_str)-ja3_str_len, "%s%u", (i > 0) ? "-" : "",… 60 + int rc = snprintf(&ja3_str[ja3_str_len], JA3_STR_LEN-ja3_str_len, "%s%u", (i > 0) ? "-" : "", ja3… 68 - ja3_str_len = snprintf(ja3_str, sizeof(ja3_str), "%u,", ja3.tls_handshake_version); 69 + ja3_str_len = snprintf(ja3_str, JA3_STR_LEN, "%u,", ja3.tls_handshake_version); [all …]
|
| /OK3568_Linux_fs/kernel/drivers/target/ |
| H A D | target_core_stat.c | 55 return snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index); in target_stat_inst_show() 60 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_dev(item)->dev_index); in target_stat_indx_show() 65 return snprintf(page, PAGE_SIZE, "Target\n"); in target_stat_role_show() 70 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_dev(item)->export_count); in target_stat_ports_show() 105 return snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index); in target_stat_tgt_inst_show() 110 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_tgt_dev(item)->dev_index); in target_stat_tgt_indx_show() 116 return snprintf(page, PAGE_SIZE, "%u\n", LU_COUNT); in target_stat_tgt_num_lus_show() 123 return snprintf(page, PAGE_SIZE, "activated"); in target_stat_tgt_status_show() 125 return snprintf(page, PAGE_SIZE, "deactivated"); in target_stat_tgt_status_show() 138 return snprintf(page, PAGE_SIZE, "%u\n", non_accessible_lus); in target_stat_tgt_non_access_lus_show() [all …]
|
| /OK3568_Linux_fs/app/forlinx/quectelCM/ |
| H A D | udhcpc.c | 124 snprintf(raw_ip, sizeof(raw_ip), "/sys/class/net/%s/qmi/raw_ip", ifname); in ql_raw_ip_mode_check() 137 snprintf(shell_cmd, sizeof(shell_cmd), "ifconfig %s down", ifname); in ql_raw_ip_mode_check() 143 snprintf(shell_cmd, sizeof(shell_cmd), "ifconfig %s up", ifname); in ql_raw_ip_mode_check() 188 snprintf(link_file, sizeof(link_file), "/sys/class/net/%s/link_state", profile->usbnet_adapter); in ql_set_driver_link_state() 203 snprintf(link_file, sizeof(link_file), "%d\n", new_state); in ql_set_driver_link_state() 213 snprintf(link_file, sizeof(link_file), "ifconfig %s down", profile->usbnet_adapter); in ql_set_driver_link_state() 225 snprintf(str, sizeof(str), "%d.%d.%d.%d", ip[3], ip[2], ip[1], ip[0]); in ipv4Str() 237 snprintf(str, sizeof(str), "%x:%x:%x:%x:%x:%x:%x:%x", in ipv6Str() 251 snprintf(shell_cmd, sizeof(shell_cmd), "ip -%d address flush dev %s", 4, ifname); in update_ipv4_address() 254 … snprintf(shell_cmd, sizeof(shell_cmd), "ip -%d address add %s/%u dev %s", 4, ip, prefix, ifname); in update_ipv4_address() [all …]
|
| H A D | qmap_bridge_mode.c | 61 snprintf(bridge_mode, sizeof(bridge_mode), "/sys/class/net/%s/bridge_mode", ifname); in ql_bridge_mode_detect() 62 snprintf(bridge_ipv4, sizeof(bridge_ipv4), "/sys/class/net/%s/bridge_ipv4", ifname); in ql_bridge_mode_detect() 70 snprintf(bridge_mode, sizeof(bridge_mode), "/sys/module/%s/parameters/bridge_mode", driver); in ql_bridge_mode_detect() 71 snprintf(bridge_ipv4, sizeof(bridge_ipv4), "/sys/module/%s/parameters/bridge_ipv4", driver); in ql_bridge_mode_detect() 91 snprintf(ipv4, sizeof(ipv4), "0x%x", profile->ipv4.Address); in ql_bridge_mode_detect() 96 snprintf(ipv4, sizeof(ipv4), "0x%x:%d", profile->ipv4.Address, profile->muxid); in ql_bridge_mode_detect() 113 snprintf(filename, sizeof(filename), "/sys/class/net/%s/qmi/rawip", profile->usbnet_adapter); in ql_enable_qmi_wwan_rawip_mode() 157 … snprintf(filename, sizeof(filename), "/sys/class/net/%s/bridge_mode", profile->qmapnet_adapter); in ql_set_driver_bridge_mode() 159 … snprintf(filename, sizeof(filename), "/sys/class/net/%s/bridge_mode", profile->usbnet_adapter); in ql_set_driver_bridge_mode() 160 snprintf(enable, sizeof(enable), "%02d\n", profile->enable_bridge); in ql_set_driver_bridge_mode() [all …]
|
| H A D | device.c | 97 snprintf(buff, bufsize, "%s", entptr->d_name); in dir_get_child() 234 snprintf(devname, bufsize, "/dev/%s", tmp); in detect_path_cdc_wdm_or_qcqmi() 285 snprintf(pl->path, sizeof(pl->path), "%s/%s", rootdir, ent->d_name); in qmidevice_detect() 301 snprintf(pl->path, sizeof(pl->path), "%s/%s:1.%d/net", rootdir, ent->d_name, netIntf); in qmidevice_detect() 311 snprintf(pl->path, sizeof(pl->path), "%s/%s:1.4/net:%s", rootdir, ent->d_name, n); in qmidevice_detect() 313 … snprintf(pl->path, sizeof(pl->path), "%s/%s:1.4/GobiQMI:%s", rootdir, ent->d_name, c); in qmidevice_detect() 315 snprintf(qmichannel, bufsize, "/dev/%s", c); in qmidevice_detect() 316 snprintf(usbnet_adapter, bufsize, "%s", n); in qmidevice_detect() 317 snprintf(pl->path, sizeof(pl->path), "%s/%s:1.4", rootdir, ent->d_name); in qmidevice_detect() 331 snprintf(pl->path, sizeof(pl->path), "%s/%s:1.%d", rootdir, ent->d_name, netIntf); in qmidevice_detect() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/focaltech_touch_ft5436/ |
| H A D | focaltech_ex_fun.c | 172 snprintf(tmp, PROC_BUF_SIZE, "%s", writebuf + 1); in fts_debug_write() 381 snprintf(tmp, PROC_BUF_SIZE, "%s", writebuf + 1); in fts_debug_write() 545 count = snprintf(buf, PAGE_SIZE, "hw reset executed\n"); in fts_hw_reset_show() 565 count = snprintf(buf, PAGE_SIZE, "irq_depth:%d\n", desc->depth); in fts_irq_show() 619 count = snprintf(buf, PAGE_SIZE, "tp is in fw mode\n"); in fts_bootmode_show() 621 count = snprintf(buf, PAGE_SIZE, "tp is in boot mode\n"); in fts_bootmode_show() 648 num_read_chars = snprintf(buf, PAGE_SIZE, "get tp fw version fail!\n"); in fts_tpfwver_show() 650 num_read_chars = snprintf(buf, PAGE_SIZE, "%02x\n", fwver); in fts_tpfwver_show() 674 count = snprintf(buf, PAGE_SIZE, "Invalid cmd line\n"); in fts_tprwreg_show() 678 count = snprintf(buf, PAGE_SIZE, "Read %02X: %02X\n", rw_op.reg, rw_op.val); in fts_tprwreg_show() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/common/ |
| H A D | debug.c | 18 snprintf(str, size, "Get Device Status(Length = %d)", wLength); in usb_decode_get_status() 21 snprintf(str, size, in usb_decode_get_status() 26 snprintf(str, size, "Get Endpoint Status(ep%d%s)", in usb_decode_get_status() 77 snprintf(str, size, "%s Device Feature(%s%s)", in usb_decode_set_clear_feature() 84 snprintf(str, size, "%s Interface Feature(%s)", in usb_decode_set_clear_feature() 90 snprintf(str, size, "%s Endpoint Feature(%s ep%d%s)", in usb_decode_set_clear_feature() 101 snprintf(str, size, "Set Address(Addr = %02x)", wValue); in usb_decode_set_address() 164 snprintf(str, size, "%s %s Descriptor(Index = %d, Length = %d)", in usb_decode_get_set_descriptor() 171 snprintf(str, size, "Get Configuration(Length = %d)", wLength); in usb_decode_get_configuration() 176 snprintf(str, size, "Set Configuration(Config = %d)", wValue); in usb_decode_set_configuration() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/input/touchscreen/focaltech_touch/ |
| H A D | focaltech_ex_fun.c | 164 snprintf(tmp, 25, "%s", writebuf + 1); in fts_debug_write() 373 snprintf(tmp, PAGE_SIZE, "%s", writebuf + 1); in fts_debug_write() 557 count = snprintf(buf, PAGE_SIZE, "hw reset executed\n"); in fts_hw_reset_show() 604 num_read_chars = snprintf(buf, PAGE_SIZE, "I2c transfer error!\n"); in fts_tpfwver_show() 611 num_read_chars = snprintf(buf, PAGE_SIZE, "get tp fw version fail!\n"); in fts_tpfwver_show() 613 num_read_chars = snprintf(buf, PAGE_SIZE, "%02x\n", fwver); in fts_tpfwver_show() 641 count = snprintf(buf, PAGE_SIZE, "Invalid cmd line\n"); in fts_tprwreg_show() 645 count = snprintf(buf, PAGE_SIZE, "Read %02X: %02X\n", rw_op.reg, rw_op.val); in fts_tprwreg_show() 647 … count = snprintf(buf, PAGE_SIZE, "Read %02X failed, ret: %d\n", rw_op.reg, rw_op.res); in fts_tprwreg_show() 651 … count = snprintf(buf, PAGE_SIZE, "Write %02X, %02X success\n", rw_op.reg, rw_op.val); in fts_tprwreg_show() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/hwmon/occ/ |
| H A D | common.c | 256 return snprintf(buf, PAGE_SIZE - 1, "%u\n", val); in occ_show_temp_1() 307 return snprintf(buf, PAGE_SIZE - 1, "%u\n", val); in occ_show_temp_2() 337 return snprintf(buf, PAGE_SIZE - 1, "%u\n", val); in occ_show_freq_1() 367 return snprintf(buf, PAGE_SIZE - 1, "%u\n", val); in occ_show_freq_2() 406 return snprintf(buf, PAGE_SIZE - 1, "%llu\n", val); in occ_show_power_1() 435 return snprintf(buf, PAGE_SIZE - 1, "%u_%u_%u\n", in occ_show_power_2() 453 return snprintf(buf, PAGE_SIZE - 1, "%llu\n", val); in occ_show_power_2() 474 return snprintf(buf, PAGE_SIZE - 1, "%u_system\n", in occ_show_power_a0() 488 return snprintf(buf, PAGE_SIZE - 1, "%u_proc\n", in occ_show_power_a0() 502 return snprintf(buf, PAGE_SIZE - 1, "%u_vdd\n", in occ_show_power_a0() [all …]
|
| /OK3568_Linux_fs/kernel/fs/nilfs2/ |
| H A D | sysfs.c | 111 return snprintf(buf, PAGE_SIZE, "%llu\n", in nilfs_snapshot_inodes_count_show() 119 return snprintf(buf, PAGE_SIZE, "%llu\n", in nilfs_snapshot_blocks_count_show() 132 return snprintf(buf, PAGE_SIZE, snapshot_readme_str); in nilfs_snapshot_README_show() 233 return snprintf(buf, PAGE_SIZE, mounted_snapshots_readme_str); in nilfs_mounted_snapshots_README_show() 271 return snprintf(buf, PAGE_SIZE, "%llu\n", ncheckpoints); in nilfs_checkpoints_checkpoints_number_show() 294 return snprintf(buf, PAGE_SIZE, "%llu\n", nsnapshots); in nilfs_checkpoints_snapshots_number_show() 308 return snprintf(buf, PAGE_SIZE, "%llu\n", last_cno); in nilfs_checkpoints_last_seg_checkpoint_show() 322 return snprintf(buf, PAGE_SIZE, "%llu\n", cno); in nilfs_checkpoints_next_checkpoint_show() 338 return snprintf(buf, PAGE_SIZE, checkpoints_readme_str); in nilfs_checkpoints_README_show() 369 return snprintf(buf, PAGE_SIZE, "%lu\n", nilfs->ns_nsegments); in nilfs_segments_segments_number_show() [all …]
|
| /OK3568_Linux_fs/kernel/tools/lib/api/fs/ |
| H A D | tracing_path.c | 22 snprintf(tracing_mnt, sizeof(tracing_mnt), "%s", mountpoint); in __tracing_path_set() 23 snprintf(tracing_path, sizeof(tracing_path), "%s/%s", in __tracing_path_set() 25 snprintf(tracing_events_path, sizeof(tracing_events_path), "%s/%s%s", in __tracing_path_set() 122 snprintf(filename, PATH_MAX, "%s/%s", sys, name ?: "*"); in tracing_path__strerror_open_tp() 135 snprintf(buf, size, in tracing_path__strerror_open_tp() 141 snprintf(buf, size, in tracing_path__strerror_open_tp() 148 snprintf(buf, size, "%s", in tracing_path__strerror_open_tp() 155 snprintf(buf, size, in tracing_path__strerror_open_tp() 162 snprintf(buf, size, "%s", str_error_r(err, sbuf, sizeof(sbuf))); in tracing_path__strerror_open_tp()
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-networking/recipes-filter/libnftnl/libnftnl/ |
| H A D | 0001-avoid-naming-local-function-as-one-of-printf-family.patch | 83 - int (*snprintf)(char *buf, size_t len, uint32_t flags, const struct nftnl_expr *e); 96 - int (*snprintf)(char *buf, size_t len, uint32_t flags, const struct nftnl_obj *e); 109 - if (!expr->ops->snprintf || type != NFTNL_OUTPUT_DEFAULT) 113 - ret = expr->ops->snprintf(buf + offset, remain, flags, expr); 126 - .snprintf = nftnl_expr_bitwise_snprintf, 137 - .snprintf = nftnl_expr_byteorder_snprintf, 148 - .snprintf = nftnl_expr_cmp_snprintf, 159 - .snprintf = nftnl_expr_connlimit_snprintf, 170 - .snprintf = nftnl_expr_counter_snprintf, 181 - .snprintf = nftnl_expr_ct_snprintf, [all …]
|
| /OK3568_Linux_fs/kernel/drivers/crypto/qat/qat_common/ |
| H A D | qat_crypto.c | 139 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_BANK_NUM, i); in qat_crypto_dev_config() 144 snprintf(key, sizeof(key), ADF_CY "%d" ADF_ETRMGR_CORE_AFFINITY, in qat_crypto_dev_config() 150 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_SIZE, i); in qat_crypto_dev_config() 157 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_SIZE, i); in qat_crypto_dev_config() 163 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_TX, i); in qat_crypto_dev_config() 169 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_TX, i); in qat_crypto_dev_config() 175 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_RX, i); in qat_crypto_dev_config() 181 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_RX, i); in qat_crypto_dev_config() 187 snprintf(key, sizeof(key), ADF_ETRMGR_COALESCE_TIMER_FORMAT, i); in qat_crypto_dev_config() 233 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_BANK_NUM, i); in qat_crypto_create_instances() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/s390/char/ |
| H A D | tape_3590.c | 971 snprintf(exception, BUFSIZE, "Data degraded"); in tape_3590_print_mim_msg_f0() 974 snprintf(exception, BUFSIZE, "Data degraded in partition %i", in tape_3590_print_mim_msg_f0() 978 snprintf(exception, BUFSIZE, "Medium degraded"); in tape_3590_print_mim_msg_f0() 981 snprintf(exception, BUFSIZE, "Medium degraded in partition %i", in tape_3590_print_mim_msg_f0() 985 snprintf(exception, BUFSIZE, "Block 0 Error"); in tape_3590_print_mim_msg_f0() 988 snprintf(exception, BUFSIZE, "Medium Exception 0x%02x", in tape_3590_print_mim_msg_f0() 992 snprintf(exception, BUFSIZE, "0x%02x", in tape_3590_print_mim_msg_f0() 999 snprintf(service, BUFSIZE, "Reference Media maintenance " in tape_3590_print_mim_msg_f0() 1003 snprintf(service, BUFSIZE, "0x%02x", in tape_3590_print_mim_msg_f0() 1035 snprintf(exception, BUFSIZE, "Effect of failure is unknown"); in tape_3590_print_io_sim_msg_f1() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/dp/ |
| H A D | dp_debug.c | 69 rc = snprintf(buf + len, max_size, "\tname = %s\n", DEBUG_NAME); in dp_debug_read_info() 73 rc = snprintf(buf + len, max_size, in dp_debug_read_info() 79 rc = snprintf(buf + len, max_size, in dp_debug_read_info() 85 rc = snprintf(buf + len, max_size, in dp_debug_read_info() 91 rc = snprintf(buf + len, max_size, in dp_debug_read_info() 97 rc = snprintf(buf + len, max_size, in dp_debug_read_info() 104 rc = snprintf(buf + len, max_size, in dp_debug_read_info() 111 rc = snprintf(buf + len, max_size, in dp_debug_read_info() 118 rc = snprintf(buf + len, max_size, in dp_debug_read_info() 125 rc = snprintf(buf + len, max_size, in dp_debug_read_info() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/scsi/qla4xxx/ |
| H A D | ql4_attr.c | 159 return snprintf(buf, PAGE_SIZE, "%d.%02d.%02d (%x)\n", in qla4xxx_fw_version_show() 163 return snprintf(buf, PAGE_SIZE, "%d.%02d.%02d.%02d\n", in qla4xxx_fw_version_show() 173 return snprintf(buf, PAGE_SIZE, "%s\n", ha->serial_number); in qla4xxx_serial_num_show() 181 return snprintf(buf, PAGE_SIZE, "%d.%02d\n", ha->fw_info.iscsi_major, in qla4xxx_iscsi_version_show() 190 return snprintf(buf, PAGE_SIZE, "%d.%02d.%02d.%02d\n", in qla4xxx_optrom_version_show() 200 return snprintf(buf, PAGE_SIZE, "0x%08X\n", ha->board_id); in qla4xxx_board_id_show() 210 return snprintf(buf, PAGE_SIZE, "0x%08X%8X\n", ha->firmware_state, in qla4xxx_fw_state_show() 223 return snprintf(buf, PAGE_SIZE, "0x%04X\n", ha->phy_port_cnt); in qla4xxx_phy_port_cnt_show() 235 return snprintf(buf, PAGE_SIZE, "0x%04X\n", ha->phy_port_num); in qla4xxx_phy_port_num_show() 247 return snprintf(buf, PAGE_SIZE, "0x%04X\n", ha->iscsi_pci_func_cnt); in qla4xxx_iscsi_func_cnt_show() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/usb/dwc3/ |
| H A D | debug.h | 205 snprintf(str, size, "Disconnect: [%s]", in dwc3_gadget_event_string() 209 snprintf(str, size, "Reset [%s]", in dwc3_gadget_event_string() 213 snprintf(str, size, "Connection Done [%s]", in dwc3_gadget_event_string() 217 snprintf(str, size, "Link Change [%s]", in dwc3_gadget_event_string() 221 snprintf(str, size, "WakeUp [%s]", in dwc3_gadget_event_string() 225 snprintf(str, size, "Suspend [%s]", in dwc3_gadget_event_string() 229 snprintf(str, size, "Start-Of-Frame [%s]", in dwc3_gadget_event_string() 233 snprintf(str, size, "Erratic Error [%s]", in dwc3_gadget_event_string() 237 snprintf(str, size, "Command Complete [%s]", in dwc3_gadget_event_string() 241 snprintf(str, size, "Overflow [%s]", in dwc3_gadget_event_string() [all …]
|
| /OK3568_Linux_fs/kernel/tools/perf/util/intel-pt-decoder/ |
| H A D | intel-pt-pkt-decoder.c | 672 return snprintf(buf, buf_len, "%s", name); in intel_pt_pkt_desc() 676 ret = snprintf(buf, blen, "%s ", name); in intel_pt_pkt_desc() 683 ret = snprintf(buf, blen, "T"); in intel_pt_pkt_desc() 685 ret = snprintf(buf, blen, "N"); in intel_pt_pkt_desc() 692 ret = snprintf(buf, blen, " (%d)", packet->count); in intel_pt_pkt_desc() 703 return snprintf(buf, buf_len, "%s no ip", name); in intel_pt_pkt_desc() 711 return snprintf(buf, buf_len, "%s 0x%llx", name, payload); in intel_pt_pkt_desc() 713 return snprintf(buf, buf_len, "%s CTC 0x%x FC 0x%x", name, in intel_pt_pkt_desc() 716 return snprintf(buf, buf_len, "%s %lld", name, payload); in intel_pt_pkt_desc() 718 return snprintf(buf, buf_len, "%s TXAbort:%u InTX:%u", in intel_pt_pkt_desc() [all …]
|
| /OK3568_Linux_fs/buildroot/package/ipmitool/ |
| H A D | 0013-fru-sdr-Fix-id_string-buffer-overflows.patch | 51 - snprintf(desc, (sensor->id_code & 0x1f) + 1, "%s", sensor->id_string); 52 + snprintf(desc, sizeof(desc), "%.*s", (sensor->id_code & 0x1f) + 1, sensor->id_string); 60 - snprintf(desc, (mc->id_code & 0x1f) + 1, "%s", mc->id_string); 61 + snprintf(desc, sizeof(desc), "%.*s", (mc->id_code & 0x1f) + 1, mc->id_string); 69 - snprintf(desc, (dev->id_code & 0x1f) + 1, "%s", dev->id_string); 70 + snprintf(desc, sizeof(desc), "%.*s", (dev->id_code & 0x1f) + 1, dev->id_string); 78 - snprintf(desc, (fru->id_code & 0x1f) + 1, "%s", fru->id_string); 79 + snprintf(desc, sizeof(desc), "%.*s", (fru->id_code & 0x1f) + 1, fru->id_string); 94 - snprintf(desc, (record.full->id_code & 0x1f) +1, "%s", 102 - snprintf(desc, (record.compact->id_code & 0x1f) +1, "%s", [all …]
|
| /OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-kernel/ipmitool/ipmitool/ |
| H A D | 0005-fru-sdr-Fix-id_string-buffer-overflows.patch | 52 - snprintf(desc, (sensor->id_code & 0x1f) + 1, "%s", sensor->id_string); 53 + snprintf(desc, sizeof(desc), "%.*s", (sensor->id_code & 0x1f) + 1, sensor->id_string); 61 - snprintf(desc, (mc->id_code & 0x1f) + 1, "%s", mc->id_string); 62 + snprintf(desc, sizeof(desc), "%.*s", (mc->id_code & 0x1f) + 1, mc->id_string); 70 - snprintf(desc, (dev->id_code & 0x1f) + 1, "%s", dev->id_string); 71 + snprintf(desc, sizeof(desc), "%.*s", (dev->id_code & 0x1f) + 1, dev->id_string); 79 - snprintf(desc, (fru->id_code & 0x1f) + 1, "%s", fru->id_string); 80 + snprintf(desc, sizeof(desc), "%.*s", (fru->id_code & 0x1f) + 1, fru->id_string); 95 - snprintf(desc, (record.full->id_code & 0x1f) +1, "%s", 103 - snprintf(desc, (record.compact->id_code & 0x1f) +1, "%s", [all …]
|