/Linux-v6.6/lib/test_fortify/ |
D | write_overflow-strlcpy-src.c | 3 strlcpy(small, large_src, sizeof(small) + 1)
|
D | write_overflow-strlcpy.c | 3 strlcpy(instance.buf, large_src, sizeof(instance.buf) + 1)
|
/Linux-v6.6/tools/lib/subcmd/ |
D | exec-cmd.c | 51 strlcpy(buf, pwd, sz); in get_pwd_cwd() 60 if (strlcpy(buf, path, sz) >= sz) in make_nonrelative_path()
|
/Linux-v6.6/samples/v4l/ |
D | v4l2-pci-skeleton.c | 294 strlcpy(cap->driver, KBUILD_MODNAME, sizeof(cap->driver)); in skeleton_querycap() 295 strlcpy(cap->card, "V4L2 PCI Skeleton", sizeof(cap->card)); in skeleton_querycap() 600 strlcpy(i->name, "S-Video", sizeof(i->name)); in skeleton_enum_input() 604 strlcpy(i->name, "HDMI", sizeof(i->name)); in skeleton_enum_input() 848 strlcpy(vdev->name, KBUILD_MODNAME, sizeof(vdev->name)); in skeleton_probe()
|
/Linux-v6.6/init/ |
D | version.c | 26 arglen = strlcpy(init_uts_ns.name.nodename, arg, bufsize); in early_hostname()
|
/Linux-v6.6/tools/perf/ui/tui/ |
D | helpline.c | 27 strlcpy(ui_helpline__current, msg, sz); in tui_helpline__push()
|
/Linux-v6.6/fs/kernfs/ |
D | dir.c | 57 return strlcpy(buf, "(null)", buflen); in kernfs_name_locked() 59 return strlcpy(buf, kn->parent ? kn->name : "/", buflen); in kernfs_name_locked() 144 return strlcpy(buf, "(null)", buflen); in kernfs_path_from_node_locked() 150 return strlcpy(buf, "/", buflen); in kernfs_path_from_node_locked() 162 len += strlcpy(buf + len, parent_str, in kernfs_path_from_node_locked() 169 len += strlcpy(buf + len, "/", in kernfs_path_from_node_locked() 171 len += strlcpy(buf + len, kn->name, in kernfs_path_from_node_locked() 860 len = strlcpy(kernfs_pr_cont_buf, path, sizeof(kernfs_pr_cont_buf)); in kernfs_walk_ns()
|
/Linux-v6.6/tools/include/linux/ |
D | string.h | 25 extern size_t strlcpy(char *dest, const char *src, size_t size);
|
/Linux-v6.6/tools/perf/jvmti/ |
D | Build | 4 # For strlcpy
|
D | libjvmti.c | 161 strlcpy(result, file_name, max_length); in copy_class_filename()
|
/Linux-v6.6/arch/m68k/emu/ |
D | natfeat.c | 47 n = strlcpy(name_copy, feature_name, sizeof(name_copy)); in nf_get_id()
|
/Linux-v6.6/tools/perf/ |
D | builtin-buildid-cache.c | 39 strlcpy(root_dir, proc_dir, sizeof(root_dir)); in build_id_cache__kcore_buildid() 107 strlcpy(to_dir, to_subdir, to_dir_sz); in build_id_cache__kcore_existing() 124 strlcpy(from_dir, filename, sizeof(from_dir)); in build_id_cache__add_kcore()
|
/Linux-v6.6/tools/perf/arch/x86/util/ |
D | machine.c | 43 strlcpy(mi->maps[mi->cnt].name, name, KMAP_NAME_LEN); in add_extra_kernel_map()
|
D | event.c | 67 strlcpy(event->mmap.filename, kmap->name, PATH_MAX); in perf_event__synthesize_extra_kmaps()
|
/Linux-v6.6/tools/lib/ |
D | string.c | 103 size_t __weak strlcpy(char *dest, const char *src, size_t size) in strlcpy() function
|
/Linux-v6.6/tools/perf/tests/ |
D | symbols.c | 47 strlcpy(filename, dso_to_test, max_sz); in get_test_dso_filename()
|
D | dlfilter-test.c | 241 strlcpy(buf, dirname(path), sz); in get_dlfilters_path()
|
/Linux-v6.6/lib/ |
D | string.c | 107 size_t strlcpy(char *dest, const char *src, size_t size) in strlcpy() function 118 EXPORT_SYMBOL(strlcpy);
|
/Linux-v6.6/samples/trace_events/ |
D | trace-events-sample.h | 308 strlcpy(__entry->foo, foo, 10);
|
/Linux-v6.6/tools/include/nolibc/ |
D | string.h | 220 size_t strlcpy(char *dst, const char *src, size_t size) in strlcpy() function
|
/Linux-v6.6/include/linux/ |
D | fortify-string.h | 222 extern size_t __real_strlcpy(char *, const char *, size_t) __RENAME(strlcpy); 241 __FORTIFY_INLINE size_t strlcpy(char * const POS p, const char * const POS q, size_t size) in strlcpy() function
|
D | string.h | 29 size_t strlcpy(char *, const char *, size_t);
|
/Linux-v6.6/arch/parisc/kernel/ |
D | processor.c | 386 strlcpy(cpu_name, per_cpu(cpu_data, 0).dev->name, sizeof(cpu_name)); in show_cpuinfo()
|
/Linux-v6.6/Documentation/translations/it_IT/process/ |
D | deprecated.rst | 165 strlcpy() 167 La funzione strlcpy(), per prima cosa, legge interamente il buffer di 172 ritorno di strlcpy(), dato che strscpy() ritorna un valore di errno
|
/Linux-v6.6/Documentation/process/ |
D | deprecated.rst | 156 strlcpy() 158 strlcpy() reads the entire source buffer first (since the return value 162 though care must be given to any cases where the return value of strlcpy()
|