Searched refs:strncpy (Results 26 - 50 of 162) sorted by relevance

1234567

/linux-master/tools/power/cpupower/utils/idle_monitor/
H A Dcpuidle_sysfs.c162 strncpy(cpuidle_cstates[num].name, tmp, CSTATE_NAME_LEN - 1);
168 strncpy(cpuidle_cstates[num].desc, tmp, CSTATE_DESC_LEN - 1);
H A Drapl_monitor.c58 strncpy(rapl_zones[rapl_zone_count].name, zone->name, CSTATE_NAME_LEN - 1);
H A Damd_fam14h_idle.c284 strncpy(amd_fam14h_monitor.name, "Fam_14h",
287 strncpy(amd_fam14h_monitor.name, "Fam_12h",
/linux-master/arch/s390/lib/
H A Dstring.c104 * 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 Dstats.c92 strncpy(ctr.name, names[i], sizeof(ctr.name) - 1);
/linux-master/arch/powerpc/include/asm/
H A Dstring.h21 extern char * strncpy(char *,const char *, __kernel_size_t);
/linux-master/arch/xtensa/include/asm/
H A Dstring.h38 static inline char *strncpy(char *__dest, const char *__src, size_t __n) function
/linux-master/tools/testing/selftests/media_tests/
H A Dvideo_device_test.c133 strncpy(video_dev, optarg, sizeof(video_dev) - 1);
/linux-master/tools/perf/util/
H A Dpath.c33 strncpy(path_buf, "/bad-path/", sz);
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dlwt_helpers.h50 strncpy(ifr.ifr_name, dev_name, IFNAMSIZ - 1);
/linux-master/tools/power/cpupower/bench/
H A Dmain.c105 strncpy(config->governor, optarg, 14);
/linux-master/tools/laptop/freefall/
H A Dfreefall.c33 strncpy(device_path, device, sizeof(device_path) - 1);
/linux-master/samples/bpf/
H A Dxdp_sample_user.h56 strncpy(dst, src, size - 1);
/linux-master/tools/usb/usbip/libsrc/
H A Dusbip_common.c229 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 Din_kernel.c154 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 Dstring_32.h13 extern char *strncpy(char *dest, const char *src, size_t count);
/linux-master/tools/testing/selftests/mm/
H A Dwrite_to_hugetlbfs.c90 strncpy(path, optarg, sizeof(path));
/linux-master/drivers/net/phy/
H A Dnxp-cbtx.c185 strncpy(data, "100btx_rx_err", ETH_GSTRING_LEN);
/linux-master/arch/s390/include/asm/
H A Dstring.h45 char *strncpy(char *dest, const char *src, size_t n);
/linux-master/tools/usb/usbip/src/
H A Dusbip_attach.c138 strncpy(request.busid, busid, SYSFS_BUS_ID_SIZE-1);
/linux-master/net/sched/
H A Dem_text.c111 strncpy(conf.algo, tm->config->ops->name, sizeof(conf.algo) - 1);
/linux-master/arch/powerpc/boot/
H A Dstring.S21 .globl strncpy
22 strncpy: label
/linux-master/kernel/trace/
H A Dtrace_branch.c77 strncpy(entry->func, f->data.func, TRACE_FUNC_SIZE);
78 strncpy(entry->file, p, TRACE_FILE_SIZE);
/linux-master/scripts/dtc/
H A Dutil.c162 strncpy(x, s + *i, 3);
185 strncpy(x, s + *i, 2);
/linux-master/tools/accounting/
H A Dprocacct.c299 strncpy(cpumask, optarg, sizeof(cpumask));
314 strncpy(cpumask, "1", sizeof(cpumask));

Completed in 237 milliseconds

1234567