Searched refs:strncpy (Results 51 - 75 of 162) sorted by relevance

1234567

/linux-master/lib/kunit/
H A Dexecutor.c96 strncpy(parsed->suite_glob, filter_glob, period - filter_glob);
97 strncpy(parsed->test_glob, period + 1, len - (period - filter_glob));
/linux-master/tools/testing/selftests/net/
H A Dipsec.c380 strncpy(addr_str, inet_ntoa(addr), IPV4_STR_SZ - 1);
787 strncpy(to_str, inet_ntoa(*(struct in_addr *)&to), IPV4_STR_SZ - 1);
788 strncpy(from_str, inet_ntoa(from), IPV4_STR_SZ - 1);
852 strncpy(alg.u.alg.alg_name, desc->a_algo, ALGO_LEN - 1);
863 strncpy(alg.u.alg.alg_name, desc->c_algo, ALGO_LEN - 1);
876 strncpy(alg.u.aead.alg_name, desc->ae_algo, ALGO_LEN - 1);
883 strncpy(alg.u.alg.alg_name, desc->e_algo, ALGO_LEN - 1);
891 strncpy(alg.u.alg.alg_name, desc->a_algo, ALGO_LEN);
2042 strncpy(desc.a_algo, a, ALGO_LEN - 1);
2044 strncpy(des
[all...]
/linux-master/include/linux/
H A Dfortify-string.h31 macro(strncpy), \
88 extern char *__underlying_strncpy(char *p, const char *q, __kernel_size_t size) __RENAME(strncpy); variable
151 * strncpy - Copy a string to memory with non-guaranteed NUL padding
165 * results to @p. Using strncpy() remains ambiguous and fragile.
183 char *strncpy(char * const POS p, const char *q, __kernel_size_t size) function
/linux-master/tools/perf/tests/
H A Ddlfilter-test.c136 strncpy(comm.comm, comm_str, 16);
163 strncpy(mmap->filename, filename, sizeof(mmap->filename));
/linux-master/lib/
H A Dstring.c92 char *strncpy(char *dest, const char *src, size_t count) function
104 EXPORT_SYMBOL(strncpy); variable
/linux-master/net/ipv4/
H A Dtcp_cong.c207 ret = strncpy(buffer, ca->name,
341 strncpy(name, ca->name, TCP_CA_NAME_MAX);
/linux-master/drivers/staging/rtl8192e/
H A Drtllib_softmac_wx.c183 strncpy(b, ieee->current_network.ssid, len);
411 strncpy(ieee->current_network.ssid, extra, len);
/linux-master/tools/hv/
H A Dhv_vss_daemon.c185 strncpy(errdir, ent->mnt_dir, sizeof(errdir)-1);
/linux-master/tools/thermal/tmon/
H A Dtmon.c233 strncpy(ctrl_cdev, optarg, CDEV_NAME_SIZE);
/linux-master/kernel/
H A Dtsacct.c79 strncpy(stats->ac_comm, tsk->comm, sizeof(stats->ac_comm));
/linux-master/tools/perf/util/intel-pt-decoder/
H A Dintel-pt-log.c63 strncpy(log_name, name, MAX_LOG_NAME - 5);
/linux-master/drivers/acpi/acpica/
H A Dexconvrt.c228 strncpy((char *)new_buf, (char *)obj_desc->string.pointer,
/linux-master/net/bridge/netfilter/
H A Dnft_meta_bridge.c66 strncpy((char *)dest, br_dev ? br_dev->name : "", IFNAMSIZ);
/linux-master/fs/pstore/
H A Dblk.c244 strncpy(info->device, blkdev, 80);
/linux-master/tools/perf/ui/tui/
H A Dutil.c163 strncpy(input, buf, len+1);
/linux-master/tools/testing/selftests/mm/
H A Dthp_settings.c322 strncpy(dev_queue_read_ahead_path, path,
/linux-master/arch/um/kernel/skas/
H A Duaccess.c173 strncpy(to, (void *) from, len);
/linux-master/tools/perf/arch/x86/util/
H A Dperf_regs.c192 strncpy(uprobe_reg, sdt_reg, sdt_len);
/linux-master/arch/s390/boot/
H A Dpgm_check_info.c70 strncpy(buf, p, sizeof(buf));
/linux-master/tools/include/nolibc/
H A Dstring.h264 char *strncpy(char *dst, const char *src, size_t size) function
/linux-master/fs/xfs/
H A Dxfs_xattr.c230 strncpy(offset, (char *)name, namelen); /* real name */
/linux-master/net/bluetooth/cmtp/
H A Dcapi.c259 strncpy(ctrl->manu,
287 strncpy(ctrl->serial,
/linux-master/scripts/kconfig/
H A Dnconf.gui.c178 strncpy(tmp, line, min(len, x));
351 strncpy(result, init, *result_len);
/linux-master/tools/perf/util/
H A Dconfig.c430 strncpy(buildid_dir, dir, MAXPATHLEN-1);
904 strncpy(buildid_dir, DEBUG_CACHE_DIR, MAXPATHLEN-1);
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dctx_rewrite.c308 strncpy(type_str, type, type_sz);
309 strncpy(field_str, field, field_sz);

Completed in 429 milliseconds

1234567