/linux-6.1.9/tools/power/x86/intel-speed-select/ |
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() 179 snprintf(header, sizeof(header), "package-%d", id->pkg); in print_package_info() 181 snprintf(header, sizeof(header), "die-%d", id->die); in print_package_info() [all …]
|
/linux-6.1.9/drivers/hid/ |
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 …]
|
/linux-6.1.9/drivers/usb/cdns3/ |
D | cdnsp-debug.h | 192 ret = snprintf(str, size, in cdnsp_decode_trb() 205 ret = snprintf(str, size, in cdnsp_decode_trb() 217 ret = snprintf(str, size, "%s: flags %c", in cdnsp_decode_trb() 222 ret = snprintf(str, size, in cdnsp_decode_trb() 244 ret = snprintf(str, size, in cdnsp_decode_trb() 260 ret = snprintf(str, size, in cdnsp_decode_trb() 276 ret = snprintf(str, size, in cdnsp_decode_trb() 296 ret = snprintf(str, size, "%s: flags %c", in cdnsp_decode_trb() 301 ret = snprintf(str, size, "%s: slot %ld flags %c", in cdnsp_decode_trb() 307 ret = snprintf(str, size, in cdnsp_decode_trb() [all …]
|
/linux-6.1.9/drivers/target/iscsi/ |
D | iscsi_target_stat.c | 53 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_inst_show() 60 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DRAFT20_VERSION); in iscsi_stat_instance_min_ver_show() 66 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DRAFT20_VERSION); in iscsi_stat_instance_max_ver_show() 72 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_portals_show() 79 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_INST_NUM_NODES); in iscsi_stat_instance_nodes_show() 85 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_sessions_show() 102 return snprintf(page, PAGE_SIZE, "%u\n", sess_err_count); in iscsi_stat_instance_fail_sess_show() 111 return snprintf(page, PAGE_SIZE, "%u\n", in iscsi_stat_instance_fail_type_show() 121 return snprintf(page, PAGE_SIZE, "%s\n", in iscsi_stat_instance_fail_rem_name_show() 129 return snprintf(page, PAGE_SIZE, "%u\n", ISCSI_DISCONTINUITY_TIME); in iscsi_stat_instance_disc_time_show() [all …]
|
/linux-6.1.9/drivers/target/ |
D | target_core_stat.c | 52 return snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index); in target_stat_inst_show() 57 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_dev(item)->dev_index); in target_stat_indx_show() 62 return snprintf(page, PAGE_SIZE, "Target\n"); in target_stat_role_show() 67 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_dev(item)->export_count); in target_stat_ports_show() 102 return snprintf(page, PAGE_SIZE, "%u\n", hba->hba_index); in target_stat_tgt_inst_show() 107 return snprintf(page, PAGE_SIZE, "%u\n", to_stat_tgt_dev(item)->dev_index); in target_stat_tgt_indx_show() 113 return snprintf(page, PAGE_SIZE, "%u\n", LU_COUNT); in target_stat_tgt_num_lus_show() 120 return snprintf(page, PAGE_SIZE, "activated"); in target_stat_tgt_status_show() 122 return snprintf(page, PAGE_SIZE, "deactivated"); in target_stat_tgt_status_show() 135 return snprintf(page, PAGE_SIZE, "%u\n", non_accessible_lus); in target_stat_tgt_non_access_lus_show() [all …]
|
/linux-6.1.9/drivers/usb/common/ |
D | debug.c | 19 snprintf(str, size, "Get Device Status(Length = %d)", wLength); in usb_decode_get_status() 22 snprintf(str, size, in usb_decode_get_status() 27 snprintf(str, size, "Get Endpoint Status(ep%d%s)", in usb_decode_get_status() 78 snprintf(str, size, "%s Device Feature(%s%s)", in usb_decode_set_clear_feature() 85 snprintf(str, size, "%s Interface Feature(%s)", in usb_decode_set_clear_feature() 91 snprintf(str, size, "%s Endpoint Feature(%s ep%d%s)", in usb_decode_set_clear_feature() 102 snprintf(str, size, "Set Address(Addr = %02x)", wValue); in usb_decode_set_address() 165 snprintf(str, size, "%s %s Descriptor(Index = %d, Length = %d)", in usb_decode_get_set_descriptor() 172 snprintf(str, size, "Get Configuration(Length = %d)", wLength); in usb_decode_get_configuration() 177 snprintf(str, size, "Set Configuration(Config = %d)", wValue); in usb_decode_set_configuration() [all …]
|
/linux-6.1.9/tools/lib/api/fs/ |
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()
|
/linux-6.1.9/drivers/crypto/qat/qat_common/ |
D | qat_crypto.c | 166 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_BANK_NUM, i); in qat_crypto_dev_config() 172 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_BANK_NUM, i); in qat_crypto_dev_config() 178 snprintf(key, sizeof(key), ADF_CY "%d" ADF_ETRMGR_CORE_AFFINITY, in qat_crypto_dev_config() 185 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_SIZE, i); in qat_crypto_dev_config() 193 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_SIZE, i); in qat_crypto_dev_config() 200 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_TX, i); in qat_crypto_dev_config() 207 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_TX, i); in qat_crypto_dev_config() 214 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_RX, i); in qat_crypto_dev_config() 221 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_RX, i); in qat_crypto_dev_config() 228 snprintf(key, sizeof(key), ADF_ETRMGR_COALESCE_TIMER_FORMAT, i); in qat_crypto_dev_config() [all …]
|
/linux-6.1.9/drivers/s390/char/ |
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 …]
|
/linux-6.1.9/drivers/usb/dwc3/ |
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 …]
|
/linux-6.1.9/tools/perf/util/intel-pt-decoder/ |
D | intel-pt-pkt-decoder.c | 701 return snprintf(buf, buf_len, "%s", name); in intel_pt_pkt_desc() 705 ret = snprintf(buf, blen, "%s ", name); in intel_pt_pkt_desc() 712 ret = snprintf(buf, blen, "T"); in intel_pt_pkt_desc() 714 ret = snprintf(buf, blen, "N"); in intel_pt_pkt_desc() 721 ret = snprintf(buf, blen, " (%d)", packet->count); in intel_pt_pkt_desc() 732 return snprintf(buf, buf_len, "%s no ip", name); in intel_pt_pkt_desc() 740 return snprintf(buf, buf_len, "%s 0x%llx", name, payload); in intel_pt_pkt_desc() 742 return snprintf(buf, buf_len, "%s CTC 0x%x FC 0x%x", name, in intel_pt_pkt_desc() 745 return snprintf(buf, buf_len, "%s IF:%d %lld", in intel_pt_pkt_desc() 748 return snprintf(buf, buf_len, "%s TXAbort:%u InTX:%u", in intel_pt_pkt_desc() [all …]
|
/linux-6.1.9/drivers/scsi/qla4xxx/ |
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 …]
|
/linux-6.1.9/drivers/md/bcache/ |
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"); \
|
/linux-6.1.9/tools/testing/selftests/proc/ |
D | fd-001-lookup.c | 60 snprintf(buf, sizeof(buf), "/proc/self/fd/%u", fd); in test_lookup() 67 snprintf(buf, sizeof(buf), "/proc/self/fd/%c%u", c, fd); in test_lookup() 75 snprintf(buf, sizeof(buf), "/proc/self/fd/%u%c", fd, c); in test_lookup() 80 snprintf(buf, sizeof(buf), "/proc/self/fd/%d", i); in test_lookup() 84 snprintf(buf, sizeof(buf), "/proc/self/fd/%d", i); in test_lookup() 88 snprintf(buf, sizeof(buf), "/proc/self/fd/%u", u); in test_lookup() 92 snprintf(buf, sizeof(buf), "/proc/self/fd/%u", u); in test_lookup()
|
/linux-6.1.9/drivers/staging/greybus/tools/ |
D | loopback_test.c | 250 snprintf(path, sizeof(path), "%s%s", sys_pfx, node); in open_sysfs() 313 len = snprintf(buf, sizeof(buf), "%d", val); in write_sysfs_val() 425 len = snprintf(buf, buf_len, "%u-%u-%u %u:%u:%u", in format_output() 430 len += snprintf(&buf[len], buf_len - len, in format_output() 439 len += snprintf(&buf[len], buf_len - len, in format_output() 446 len += snprintf(&buf[len], buf_len - len, in format_output() 452 len += snprintf(&buf[len], buf_len - len, in format_output() 458 len += snprintf(&buf[len], buf_len - len, in format_output() 465 len += snprintf(&buf[len], buf_len - len, in format_output() 473 len += snprintf(&buf[len], buf_len - len, ",%s,%s,%u,%u,%u", in format_output() [all …]
|
/linux-6.1.9/tools/power/cpupower/utils/helpers/ |
D | sysfs.c | 57 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u", cpu); in sysfs_is_cpu_online() 66 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/online", cpu); in sysfs_is_cpu_online() 111 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in sysfs_idlestate_file_exists() 131 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in sysfs_idlestate_read_file() 166 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in sysfs_idlestate_write_file() 312 snprintf(value, SYSFS_PATH_MAX, "%u", disable); in sysfs_idlestate_disable() 361 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpuidle"); in sysfs_get_idlestate_count() 365 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpu%u/cpuidle/state0", cpu); in sysfs_get_idlestate_count() 370 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU in sysfs_get_idlestate_count() 389 snprintf(path, sizeof(path), PATH_TO_CPU "cpuidle/%s", fname); in sysfs_cpuidle_read_file()
|
/linux-6.1.9/drivers/crypto/qat/qat_4xxx/ |
D | adf_drv.c | 82 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_BANK_NUM, i); in adf_crypto_dev_config() 89 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_BANK_NUM, i); in adf_crypto_dev_config() 95 snprintf(key, sizeof(key), ADF_CY "%d" ADF_ETRMGR_CORE_AFFINITY, in adf_crypto_dev_config() 102 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_SIZE, i); in adf_crypto_dev_config() 110 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_SIZE, i); in adf_crypto_dev_config() 117 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_TX, i); in adf_crypto_dev_config() 124 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_TX, i); in adf_crypto_dev_config() 131 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_ASYM_RX, i); in adf_crypto_dev_config() 138 snprintf(key, sizeof(key), ADF_CY "%d" ADF_RING_SYM_RX, i); in adf_crypto_dev_config() 145 snprintf(key, sizeof(key), ADF_ETRMGR_COALESCE_TIMER_FORMAT, i); in adf_crypto_dev_config() [all …]
|
/linux-6.1.9/drivers/hwmon/ |
D | scpi-hwmon.c | 188 snprintf(sensor->input, sizeof(sensor->input), in scpi_hwmon_probe() 190 snprintf(sensor->label, sizeof(sensor->input), in scpi_hwmon_probe() 195 snprintf(sensor->input, sizeof(sensor->input), in scpi_hwmon_probe() 197 snprintf(sensor->label, sizeof(sensor->input), in scpi_hwmon_probe() 202 snprintf(sensor->input, sizeof(sensor->input), in scpi_hwmon_probe() 204 snprintf(sensor->label, sizeof(sensor->input), in scpi_hwmon_probe() 209 snprintf(sensor->input, sizeof(sensor->input), in scpi_hwmon_probe() 211 snprintf(sensor->label, sizeof(sensor->input), in scpi_hwmon_probe() 216 snprintf(sensor->input, sizeof(sensor->input), in scpi_hwmon_probe() 218 snprintf(sensor->label, sizeof(sensor->input), in scpi_hwmon_probe()
|
/linux-6.1.9/drivers/edac/ |
D | octeon_edac-l2c.c | 71 snprintf(buf1, sizeof(buf1), in _octeon_l2c_poll_oct2() 76 snprintf(buf2, sizeof(buf2), in _octeon_l2c_poll_oct2() 82 snprintf(buf2, sizeof(buf2), in _octeon_l2c_poll_oct2() 88 snprintf(buf2, sizeof(buf2), in _octeon_l2c_poll_oct2() 94 snprintf(buf2, sizeof(buf2), in _octeon_l2c_poll_oct2() 106 snprintf(buf1, sizeof(buf1), in _octeon_l2c_poll_oct2() 111 snprintf(buf2, sizeof(buf2), in _octeon_l2c_poll_oct2() 117 snprintf(buf2, sizeof(buf2), in _octeon_l2c_poll_oct2()
|
/linux-6.1.9/tools/power/cpupower/lib/ |
D | cpuidle.c | 37 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in cpuidle_state_file_exists() 60 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in cpuidle_state_read_file() 95 snprintf(path, sizeof(path), PATH_TO_CPU "cpu%u/cpuidle/state%u/%s", in cpuidle_state_write_file() 242 snprintf(value, SYSFS_PATH_MAX, "%u", disable); in cpuidle_state_disable() 291 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpuidle"); in cpuidle_state_count() 295 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU "cpu%u/cpuidle/state0", cpu); in cpuidle_state_count() 300 snprintf(file, SYSFS_PATH_MAX, PATH_TO_CPU in cpuidle_state_count() 319 snprintf(path, sizeof(path), PATH_TO_CPU "cpuidle/%s", fname); in sysfs_cpuidle_read_file()
|
/linux-6.1.9/drivers/gpu/drm/i915/gvt/ |
D | trace.h | 108 snprintf(__entry->buf, MAX_BUF_LEN, 126 snprintf(__entry->buf, MAX_BUF_LEN, 144 snprintf(__entry->buf, MAX_BUF_LEN, 163 snprintf(__entry->buf, MAX_BUF_LEN, 182 snprintf(__entry->buf, MAX_BUF_LEN, 200 snprintf(__entry->buf, MAX_BUF_LEN, 219 snprintf(__entry->buf, MAX_BUF_LEN, 256 snprintf(__entry->cmd_name, GVT_CMD_STR_LEN, "%s", cmd_name); 292 snprintf(__entry->buf, GVT_TEMP_STR_LEN, "%s", reg_name); 317 snprintf(__entry->buf, GVT_TEMP_STR_LEN, "%s", irq_name); [all …]
|
/linux-6.1.9/drivers/w1/slaves/ |
D | w1_ds2423.c | 65 c -= snprintf(out_buf + PAGE_SIZE - c, in w1_slave_show() 74 c -= snprintf(out_buf + PAGE_SIZE - c, in w1_slave_show() 97 c -= snprintf(out_buf + PAGE_SIZE - c, in w1_slave_show() 100 c -= snprintf(out_buf + PAGE_SIZE - c, in w1_slave_show() 106 c -= snprintf(out_buf + PAGE_SIZE - c, c, "Connection error"); in w1_slave_show()
|
/linux-6.1.9/tools/testing/selftests/filesystems/binderfs/ |
D | binderfs_test.c | 90 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_path, sizeof(device_path), in TEST() [all …]
|
/linux-6.1.9/security/tomoyo/ |
D | audit.c | 38 len = snprintf(buffer, tomoyo_buffer_len - 1, "argv[]={ "); in tomoyo_print_bprm() 106 snprintf(buffer, tomoyo_buffer_len - 1, in tomoyo_print_bprm() 165 pos = snprintf(buffer, tomoyo_buffer_len - 1, in tomoyo_print_header() 196 pos += snprintf(buffer + pos, in tomoyo_print_header() 206 pos += snprintf(buffer + pos, tomoyo_buffer_len - 1 - pos, in tomoyo_print_header() 216 pos += snprintf(buffer + pos, in tomoyo_print_header() 221 pos += snprintf(buffer + pos, tomoyo_buffer_len - 1 - pos, in tomoyo_print_header() 279 pos = snprintf(buf, len, "%s", header); in tomoyo_init_log() 283 pos += snprintf(buf + pos, len - pos, in tomoyo_init_log() 287 pos += snprintf(buf + pos, len - pos, " symlink.target=\"%s\"", in tomoyo_init_log() [all …]
|
/linux-6.1.9/drivers/scsi/snic/ |
D | snic_attrs.c | 16 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()
|