/linux-master/tools/power/cpupower/utils/idle_monitor/ |
H A D | cpuidle_sysfs.c | 162 strncpy(cpuidle_cstates[num].name, tmp, CSTATE_NAME_LEN - 1); 168 strncpy(cpuidle_cstates[num].desc, tmp, CSTATE_DESC_LEN - 1);
|
H A D | rapl_monitor.c | 58 strncpy(rapl_zones[rapl_zone_count].name, zone->name, CSTATE_NAME_LEN - 1);
|
H A D | amd_fam14h_idle.c | 284 strncpy(amd_fam14h_monitor.name, "Fam_14h", 287 strncpy(amd_fam14h_monitor.name, "Fam_12h",
|
/linux-master/arch/s390/lib/ |
H A D | string.c | 104 * strncpy - Copy a length-limited, %NUL-terminated string 113 char *strncpy(char *dest, const char *src, size_t n) function 120 EXPORT_SYMBOL(strncpy); variable 184 * Note that in contrast to strncpy, strncat ensures the result is
|
/linux-master/net/rds/ |
H A D | stats.c | 92 strncpy(ctr.name, names[i], sizeof(ctr.name) - 1);
|
/linux-master/arch/powerpc/include/asm/ |
H A D | string.h | 21 extern char * strncpy(char *,const char *, __kernel_size_t);
|
/linux-master/arch/xtensa/include/asm/ |
H A D | string.h | 38 static inline char *strncpy(char *__dest, const char *__src, size_t __n) function
|
/linux-master/tools/testing/selftests/media_tests/ |
H A D | video_device_test.c | 133 strncpy(video_dev, optarg, sizeof(video_dev) - 1);
|
/linux-master/tools/perf/util/ |
H A D | path.c | 33 strncpy(path_buf, "/bad-path/", sz);
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | lwt_helpers.h | 50 strncpy(ifr.ifr_name, dev_name, IFNAMSIZ - 1);
|
/linux-master/tools/power/cpupower/bench/ |
H A D | main.c | 105 strncpy(config->governor, optarg, 14);
|
/linux-master/tools/laptop/freefall/ |
H A D | freefall.c | 33 strncpy(device_path, device, sizeof(device_path) - 1);
|
/linux-master/samples/bpf/ |
H A D | xdp_sample_user.h | 56 strncpy(dst, src, size - 1);
|
/linux-master/tools/usb/usbip/libsrc/ |
H A D | usbip_common.c | 229 strncpy(udev->path, path, SYSFS_PATH_MAX - 1); 231 strncpy(udev->busid, name, SYSFS_BUS_ID_SIZE - 1);
|
/linux-master/tools/verification/rv/src/ |
H A D | in_kernel.c | 154 strncpy(ikm->name, name, MAX_DA_NAME_LEN); 156 strncpy(ikm->desc, desc, MAX_DESCRIPTION); 236 strncpy(curr_reactor, start, strlen(start));
|
/linux-master/arch/x86/include/asm/ |
H A D | string_32.h | 13 extern char *strncpy(char *dest, const char *src, size_t count);
|
/linux-master/tools/testing/selftests/mm/ |
H A D | write_to_hugetlbfs.c | 90 strncpy(path, optarg, sizeof(path));
|
/linux-master/drivers/net/phy/ |
H A D | nxp-cbtx.c | 185 strncpy(data, "100btx_rx_err", ETH_GSTRING_LEN);
|
/linux-master/arch/s390/include/asm/ |
H A D | string.h | 45 char *strncpy(char *dest, const char *src, size_t n);
|
/linux-master/tools/usb/usbip/src/ |
H A D | usbip_attach.c | 138 strncpy(request.busid, busid, SYSFS_BUS_ID_SIZE-1);
|
/linux-master/net/sched/ |
H A D | em_text.c | 111 strncpy(conf.algo, tm->config->ops->name, sizeof(conf.algo) - 1);
|
/linux-master/arch/powerpc/boot/ |
H A D | string.S | 21 .globl strncpy 22 strncpy: label
|
/linux-master/kernel/trace/ |
H A D | trace_branch.c | 77 strncpy(entry->func, f->data.func, TRACE_FUNC_SIZE); 78 strncpy(entry->file, p, TRACE_FILE_SIZE);
|
/linux-master/scripts/dtc/ |
H A D | util.c | 162 strncpy(x, s + *i, 3); 185 strncpy(x, s + *i, 2);
|
/linux-master/tools/accounting/ |
H A D | procacct.c | 299 strncpy(cpumask, optarg, sizeof(cpumask)); 314 strncpy(cpumask, "1", sizeof(cpumask));
|