Home
last modified time | relevance | path

Searched refs:snprintf (Results 126 - 150 of 7110) sorted by relevance

12345678910>>...285

/kernel/linux/linux-5.10/drivers/scsi/bfa/
H A Dbfad_attr.c746 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
749 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
752 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
755 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
758 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
761 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
764 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
767 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
770 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
773 snprintf(model_desc in bfad_im_model_desc_show()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/bfa/
H A Dbfad_attr.c746 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
749 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
752 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
755 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
758 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
761 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
764 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
767 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
770 snprintf(model_descr, BFA_ADAPTER_MODEL_DESCR_LEN, in bfad_im_model_desc_show()
773 snprintf(model_desc in bfad_im_model_desc_show()
[all...]
/kernel/linux/linux-6.6/drivers/scsi/snic/
H A Dsnic_attrs.c16 return snprintf(buf, PAGE_SIZE, "%s\n", snic->name); in snic_show_sym_name()
26 return snprintf(buf, PAGE_SIZE, "%s\n", in snic_show_state()
35 return snprintf(buf, PAGE_SIZE, "%s\n", SNIC_DRV_VERSION); in snic_show_drv_version()
48 return snprintf(buf, PAGE_SIZE, "%s\n", in snic_show_link_state()
H A Dsnic_io.c460 snprintf(line, LINE_BUFSZ, "SNIC_REQ_REPORT_TGTS :"); in snic_dump_desc()
465 snprintf(line, LINE_BUFSZ, "SNIC_REQ_ICMND : 0x%x :", in snic_dump_desc()
471 snprintf(line, LINE_BUFSZ, "SNIC_REQ_ITMF :"); in snic_dump_desc()
476 snprintf(line, LINE_BUFSZ, "SNIC_REQ_HBA_RESET :"); in snic_dump_desc()
481 snprintf(line, LINE_BUFSZ, "SNIC_REQ_EXCH_VER :"); in snic_dump_desc()
490 snprintf(line, LINE_BUFSZ, "SNIC_RSP_REPORT_TGTS_CMPL :"); in snic_dump_desc()
495 snprintf(line, LINE_BUFSZ, "SNIC_RSP_ICMND_CMPL : 0x%x :", in snic_dump_desc()
501 snprintf(line, LINE_BUFSZ, "SNIC_RSP_ITMF_CMPL :"); in snic_dump_desc()
506 snprintf(line, LINE_BUFSZ, "SNIC_RSP_HBA_RESET_CMPL :"); in snic_dump_desc()
511 snprintf(lin in snic_dump_desc()
[all...]
/third_party/elfutils/libebl/
H A Deblsectiontypename.c107 snprintf (buf, len, "SHT_LOOS+%x", section - SHT_LOOS); in ebl_section_type_name()
110 snprintf (buf, len, "SHT_LOPROC+%x", section - SHT_LOPROC); in ebl_section_type_name()
113 snprintf (buf, len, "SHT_LOUSER+%x", section - SHT_LOUSER); in ebl_section_type_name()
115 snprintf (buf, len, "%s: %d", _("<unknown>"), section); in ebl_section_type_name()
H A Deblsymbolbindingname.c59 snprintf (buf, len, "LOPROC+%d", binding - STB_LOPROC); in ebl_symbol_binding_name()
66 snprintf (buf, len, "LOOS+%d", binding - STB_LOOS); in ebl_symbol_binding_name()
68 snprintf (buf, len, _("<unknown>: %d"), binding); in ebl_symbol_binding_name()
H A Deblsymboltypename.c65 snprintf (buf, len, "LOPROC+%d", symbol - STT_LOPROC); in ebl_symbol_type_name()
72 snprintf (buf, len, "LOOS+%d", symbol - STT_LOOS); in ebl_symbol_type_name()
74 snprintf (buf, len, _("<unknown>: %d"), symbol); in ebl_symbol_type_name()
/third_party/libsnd/tests/
H A Dstdio_test.c93 snprintf (buffer, sizeof (buffer), "./tests/stdout_test %s > stdio.%s", filetype, filetype) ; in stdio_test()
100 snprintf (buffer, sizeof (buffer), "stdio.%s", filetype) ; in stdio_test()
106 snprintf (buffer, sizeof (buffer), "./tests/stdin_test %s < stdio.%s", filetype, filetype) ; in stdio_test()
113 snprintf (buffer, sizeof (buffer), "rm stdio.%s", filetype) ; in stdio_test()
/third_party/ltp/lib/
H A Dtst_resource.c52 ret = snprintf(dataroot, PATH_MAX, "%s/testcases/data/%s", in tst_dataroot_init()
64 ret = snprintf(dataroot, PATH_MAX, "%s/datafiles", startdir); in tst_dataroot_init()
68 tst_brkm(TBROK, NULL, "tst_dataroot snprintf: %d", ret); in tst_dataroot_init()
89 snprintf(buf, sizeof(buf), "%s/%s", path, filename); in file_copy()
124 snprintf(buf, sizeof(buf), "%s/testcases/bin", ltproot); in tst_resource_copy()
H A Dtst_status.c16 snprintf(buf, sizeof(buf), "exited with %i", WEXITSTATUS(status)); in exited()
23 snprintf(buf, sizeof(buf), "killed by %s", in signaled()
31 snprintf(buf, sizeof(buf), "invalid status 0x%x", status); in invalid()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns/
H A Dhns_ethtool.c437 snprintf(buff + i % 16 * 2, 3, /* tailing \0*/ in __lb_other_process()
919 snprintf(buff, ETH_GSTRING_LEN, "rx_packets"); in hns_get_strings()
921 snprintf(buff, ETH_GSTRING_LEN, "tx_packets"); in hns_get_strings()
923 snprintf(buff, ETH_GSTRING_LEN, "rx_bytes"); in hns_get_strings()
925 snprintf(buff, ETH_GSTRING_LEN, "tx_bytes"); in hns_get_strings()
927 snprintf(buff, ETH_GSTRING_LEN, "rx_errors"); in hns_get_strings()
929 snprintf(buff, ETH_GSTRING_LEN, "tx_errors"); in hns_get_strings()
931 snprintf(buff, ETH_GSTRING_LEN, "rx_dropped"); in hns_get_strings()
933 snprintf(buff, ETH_GSTRING_LEN, "tx_dropped"); in hns_get_strings()
935 snprintf(buf in hns_get_strings()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ice/
H A Dice_devlink.c16 snprintf(buf, len, "%8phD", dsn); in ice_info_get_dsn()
37 snprintf(buf, len, "%u.%u.%u", hw->fw_maj_ver, hw->fw_min_ver, in ice_info_fw_mgmt()
47 snprintf(buf, len, "%u.%u", hw->api_maj_ver, hw->api_min_ver); in ice_info_fw_api()
56 snprintf(buf, len, "0x%08x", hw->fw_build); in ice_info_fw_build()
65 snprintf(buf, len, "%u.%u.%u", orom->major, orom->build, orom->patch); in ice_info_orom_ver()
74 snprintf(buf, len, "%x.%02x", nvm->major_ver, nvm->minor_ver); in ice_info_nvm_ver()
83 snprintf(buf, len, "0x%08x", nvm->eetrack); in ice_info_eetrack()
92 snprintf(buf, len, "%s", hw->active_pkg_name); in ice_info_ddp_pkg_name()
101 snprintf(buf, len, "%u.%u.%u.%u", pkg->major, pkg->minor, pkg->update, in ice_info_ddp_pkg_version()
109 snprintf(bu in ice_info_ddp_pkg_bundle_id()
[all...]
/kernel/linux/linux-5.10/tools/thermal/tmon/
H A Dsysfs.c39 snprintf(filepath, sizeof(filepath), "%s/%s", path, filename); in sysfs_set_ulong()
63 snprintf(filepath, sizeof(filepath), "%s/%s", path, filename); in sysfs_get_ulong()
82 snprintf(filepath, sizeof(filepath), "%s/%s", path, filename); in sysfs_get_string()
131 snprintf(filename, sizeof(filename), "trip_point_%d_type", tpid); in get_trip_point_data()
217 snprintf(cdev_name, sizeof(cdev_name) - 2, "%s/%s", in find_tzone_cdev()
231 snprintf(cdev_trip_name, sizeof(cdev_trip_name) - 1, in find_tzone_cdev()
292 snprintf(tz_name, 256, "%s/%s%d", THERMAL_SYSFS, TZONE, i); in scan_tzones()
351 snprintf(cdev_name, 256, "%s/%s%d", THERMAL_SYSFS, CDEV, i); in scan_cdevs()
501 snprintf(tz_name, 256, "%s/%s%d", THERMAL_SYSFS, TZONE, in update_thermal_data()
514 snprintf(cdev_nam in update_thermal_data()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/pensando/ionic/
H A Dionic_stats.c253 snprintf(*buf, ETH_GSTRING_LEN, ionic_lif_stats_desc[i].name); in ionic_sw_stats_get_strings()
258 snprintf(*buf, ETH_GSTRING_LEN, in ionic_sw_stats_get_strings()
265 snprintf(*buf, ETH_GSTRING_LEN, "tx_%d_%s", in ionic_sw_stats_get_strings()
273 snprintf(*buf, ETH_GSTRING_LEN, in ionic_sw_stats_get_strings()
280 snprintf(*buf, ETH_GSTRING_LEN, in ionic_sw_stats_get_strings()
287 snprintf(*buf, ETH_GSTRING_LEN, in ionic_sw_stats_get_strings()
294 snprintf(*buf, ETH_GSTRING_LEN, in ionic_sw_stats_get_strings()
303 snprintf(*buf, ETH_GSTRING_LEN, in ionic_sw_stats_get_strings()
312 snprintf(*buf, ETH_GSTRING_LEN, in ionic_sw_stats_get_strings()
319 snprintf(*bu in ionic_sw_stats_get_strings()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/snic/
H A Dsnic_io.c474 snprintf(line, LINE_BUFSZ, "SNIC_REQ_REPORT_TGTS :"); in snic_dump_desc()
479 snprintf(line, LINE_BUFSZ, "SNIC_REQ_ICMND : 0x%x :", in snic_dump_desc()
485 snprintf(line, LINE_BUFSZ, "SNIC_REQ_ITMF :"); in snic_dump_desc()
490 snprintf(line, LINE_BUFSZ, "SNIC_REQ_HBA_RESET :"); in snic_dump_desc()
495 snprintf(line, LINE_BUFSZ, "SNIC_REQ_EXCH_VER :"); in snic_dump_desc()
504 snprintf(line, LINE_BUFSZ, "SNIC_RSP_REPORT_TGTS_CMPL :"); in snic_dump_desc()
509 snprintf(line, LINE_BUFSZ, "SNIC_RSP_ICMND_CMPL : 0x%x :", in snic_dump_desc()
515 snprintf(line, LINE_BUFSZ, "SNIC_RSP_ITMF_CMPL :"); in snic_dump_desc()
520 snprintf(line, LINE_BUFSZ, "SNIC_RSP_HBA_RESET_CMPL :"); in snic_dump_desc()
525 snprintf(lin in snic_dump_desc()
[all...]
/kernel/linux/linux-5.10/fs/xfs/
H A Dxfs_sysfs.c107 return snprintf(buf, PAGE_SIZE, "%d\n", xfs_globals.bug_on_assert ? 1 : 0); in bug_on_assert_show()
137 return snprintf(buf, PAGE_SIZE, "%d\n", xfs_globals.log_recovery_delay); in log_recovery_delay_show()
167 return snprintf(buf, PAGE_SIZE, "%d\n", xfs_globals.mount_delay); in mount_delay_show()
190 return snprintf(buf, PAGE_SIZE, "%d\n", xfs_globals.always_cow); in always_cow_show()
226 return snprintf(buf, PAGE_SIZE, "%d\n", xfs_globals.pwork_threads); in pwork_threads_show()
329 return snprintf(buf, PAGE_SIZE, "%d:%d\n", cycle, block); in log_head_lsn_show()
343 return snprintf(buf, PAGE_SIZE, "%d:%d\n", cycle, block); in log_tail_lsn_show()
358 return snprintf(buf, PAGE_SIZE, "%d:%d\n", cycle, bytes); in reserve_grant_head_show()
372 return snprintf(buf, PAGE_SIZE, "%d:%d\n", cycle, bytes); in write_grant_head_show()
427 return snprintf(bu in max_retries_show()
[all...]
/kernel/linux/linux-6.6/tools/thermal/tmon/
H A Dsysfs.c39 snprintf(filepath, sizeof(filepath), "%s/%s", path, filename); in sysfs_set_ulong()
63 snprintf(filepath, sizeof(filepath), "%s/%s", path, filename); in sysfs_get_ulong()
82 snprintf(filepath, sizeof(filepath), "%s/%s", path, filename); in sysfs_get_string()
131 snprintf(filename, sizeof(filename), "trip_point_%d_type", tpid); in get_trip_point_data()
217 snprintf(cdev_name, sizeof(cdev_name) - 2, "%s/%s", in find_tzone_cdev()
231 snprintf(cdev_trip_name, sizeof(cdev_trip_name) - 1, in find_tzone_cdev()
292 snprintf(tz_name, 256, "%s/%s%d", THERMAL_SYSFS, TZONE, i); in scan_tzones()
351 snprintf(cdev_name, 256, "%s/%s%d", THERMAL_SYSFS, CDEV, i); in scan_cdevs()
501 snprintf(tz_name, 256, "%s/%s%d", THERMAL_SYSFS, TZONE, in update_thermal_data()
514 snprintf(cdev_nam in update_thermal_data()
[all...]
/kernel/linux/linux-6.6/tools/testing/selftests/filesystems/binderfs/
H A Dbinderfs_test.c90 snprintf(device_path, sizeof(device_path), "%s/binder-control", binderfs_mntpt); in __do_binderfs_test()
113 snprintf(device_path, sizeof(device_path), "%s/my-binder", binderfs_mntpt); in __do_binderfs_test()
144 snprintf(device_path, sizeof(device_path), "%s/binder-control", binderfs_mntpt); in __do_binderfs_test()
159 snprintf(device_path, sizeof(device_path), "%s/features/%s", in __do_binderfs_test()
256 snprintf(path, sizeof(path), "/proc/%d/setgroups", pid); in write_id_mapping()
271 ret = snprintf(path, sizeof(path), "/proc/%d/uid_map", pid); in write_id_mapping()
274 ret = snprintf(path, sizeof(path), "/proc/%d/gid_map", pid); in write_id_mapping()
337 snprintf(id_map, sizeof(id_map), "0 %d 1\n", getuid()); in change_idmaps()
343 snprintf(id_map, sizeof(id_map), "0 %d 1\n", getgid()); in change_idmaps()
422 snprintf(device_pat in TEST()
[all...]
/third_party/cups-filters/fontembed/
H A Dembed_pdf.c128 snprintf(ret->fontname, 6, "%s", subset_tag); in emb_pdf_fd_new()
382 len=snprintf(pos,size, in emb_pdf_simple_fontdescr()
393 len=snprintf(pos,size, in emb_pdf_simple_fontdescr()
407 len=snprintf(pos,size," /XHeight %d\n",fdes->xHeight); in emb_pdf_simple_fontdescr()
411 len=snprintf(pos,size," /AvgWidth %d\n",fdes->avgWidth); in emb_pdf_simple_fontdescr()
416 len=snprintf(pos,size," /Style << /Panose <"); in emb_pdf_simple_fontdescr()
424 snprintf(pos+iA*2,size-iA*2,"%02x",fdes->panose[iA]); in emb_pdf_simple_fontdescr()
428 len=snprintf(pos,size,"> >>\n"); in emb_pdf_simple_fontdescr()
432 len=snprintf(pos,size, in emb_pdf_simple_fontdescr()
549 len=snprintf(po in emb_pdf_simple_cidfont()
[all...]
/kernel/linux/linux-5.10/tools/usb/usbip/src/
H A Dutils.c23 snprintf(match_busid_attr_path, sizeof(match_busid_attr_path), in modify_match_busid()
29 cmd_size = snprintf(command, SYSFS_BUS_ID_SIZE + 4, "add %s", in modify_match_busid()
32 cmd_size = snprintf(command, SYSFS_BUS_ID_SIZE + 4, "del %s", in modify_match_busid()
/kernel/linux/linux-6.6/tools/usb/usbip/src/
H A Dutils.c23 snprintf(match_busid_attr_path, sizeof(match_busid_attr_path), in modify_match_busid()
29 cmd_size = snprintf(command, SYSFS_BUS_ID_SIZE + 4, "add %s", in modify_match_busid()
32 cmd_size = snprintf(command, SYSFS_BUS_ID_SIZE + 4, "del %s", in modify_match_busid()
/kernel/linux/linux-5.10/drivers/s390/block/
H A Ddasd_devmap.c726 return snprintf(buf, PAGE_SIZE, ff_flag ? "1\n" : "0\n"); in dasd_ff_show()
768 return snprintf(buf, PAGE_SIZE, ro_flag ? "1\n" : "0\n"); in dasd_ro_show()
829 return snprintf(buf, PAGE_SIZE, erplog ? "1\n" : "0\n"); in dasd_erplog_show()
1028 len = snprintf(buf, PAGE_SIZE, "%s\n", in dasd_discipline_show()
1034 len = snprintf(buf, PAGE_SIZE, "none\n"); in dasd_discipline_show()
1051 len = snprintf(buf, PAGE_SIZE, "new\n"); in dasd_device_status_show()
1054 len = snprintf(buf, PAGE_SIZE, "detected\n"); in dasd_device_status_show()
1057 len = snprintf(buf, PAGE_SIZE, "basic\n"); in dasd_device_status_show()
1060 len = snprintf(buf, PAGE_SIZE, "unformatted\n"); in dasd_device_status_show()
1063 len = snprintf(bu in dasd_device_status_show()
[all...]
/kernel/linux/linux-6.6/mm/
H A Dhugetlb_cgroup.c677 snprintf(buf, size, "%luGB", hsize / SZ_1G); in mem_fmt()
679 snprintf(buf, size, "%luMB", hsize / SZ_1M); in mem_fmt()
681 snprintf(buf, size, "%luKB", hsize / SZ_1K); in mem_fmt()
725 snprintf(cft->name, MAX_CFTYPE_NAME, "%s.max", buf); in __hugetlb_cgroup_file_dfl_init()
733 snprintf(cft->name, MAX_CFTYPE_NAME, "%s.rsvd.max", buf); in __hugetlb_cgroup_file_dfl_init()
741 snprintf(cft->name, MAX_CFTYPE_NAME, "%s.current", buf); in __hugetlb_cgroup_file_dfl_init()
748 snprintf(cft->name, MAX_CFTYPE_NAME, "%s.rsvd.current", buf); in __hugetlb_cgroup_file_dfl_init()
755 snprintf(cft->name, MAX_CFTYPE_NAME, "%s.events", buf); in __hugetlb_cgroup_file_dfl_init()
763 snprintf(cft->name, MAX_CFTYPE_NAME, "%s.events.local", buf); in __hugetlb_cgroup_file_dfl_init()
772 snprintf(cf in __hugetlb_cgroup_file_dfl_init()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/fnic/
H A Dfnic_attrs.c29 return snprintf(buf, PAGE_SIZE, "%s\n", fnic_state_str[fnic->state]); in fnic_show_state()
35 return snprintf(buf, PAGE_SIZE, "%s\n", DRV_VERSION); in fnic_show_drv_version()
43 return snprintf(buf, PAGE_SIZE, "%s\n", (lp->link_up) in fnic_show_link_state()
/kernel/linux/linux-5.10/drivers/scsi/pm8001/
H A Dpm8001_ctl.c63 return snprintf(buf, PAGE_SIZE, "%d\n", in pm8001_ctl_mpi_interface_rev_show()
66 return snprintf(buf, PAGE_SIZE, "%d\n", in pm8001_ctl_mpi_interface_rev_show()
88 return snprintf(buf, PAGE_SIZE, "%d\n", in controller_fatal_error_show()
109 return snprintf(buf, PAGE_SIZE, "%02x.%02x.%02x.%02x\n", in pm8001_ctl_fw_version_show()
115 return snprintf(buf, PAGE_SIZE, "%02x.%02x.%02x.%02x\n", in pm8001_ctl_fw_version_show()
140 return snprintf(buf, PAGE_SIZE, "%02x.%02x.%02x.%02x\n", in pm8001_ctl_ila_version_show()
166 return snprintf(buf, PAGE_SIZE, "%02x.%02x.%02x.%02x\n", in pm8001_ctl_inactive_fw_version_show()
193 return snprintf(buf, PAGE_SIZE, "%d\n", in pm8001_ctl_max_out_io_show()
196 return snprintf(buf, PAGE_SIZE, "%d\n", in pm8001_ctl_max_out_io_show()
217 return snprintf(bu in pm8001_ctl_max_devices_show()
[all...]

Completed in 17 milliseconds

12345678910>>...285