Home
last modified time | relevance | path

Searched refs:strlcpy (Results 1 – 25 of 176) sorted by relevance

12345678

/linux-6.1.9/drivers/hwmon/pmbus/
Dmax20730.c151 len = strlcpy(tbuf, "2000\n", DEBUG_FS_DATA_MAX); in max20730_debugfs_read()
153 len = strlcpy(tbuf, "125\n", DEBUG_FS_DATA_MAX); in max20730_debugfs_read()
155 len = strlcpy(tbuf, "62.5\n", DEBUG_FS_DATA_MAX); in max20730_debugfs_read()
157 len = strlcpy(tbuf, "32\n", DEBUG_FS_DATA_MAX); in max20730_debugfs_read()
166 len = strlcpy(tbuf, "0.8\n", DEBUG_FS_DATA_MAX); in max20730_debugfs_read()
168 len = strlcpy(tbuf, "3.2\n", DEBUG_FS_DATA_MAX); in max20730_debugfs_read()
170 len = strlcpy(tbuf, "1.6\n", DEBUG_FS_DATA_MAX); in max20730_debugfs_read()
172 len = strlcpy(tbuf, "6.4\n", DEBUG_FS_DATA_MAX); in max20730_debugfs_read()
176 len = strlcpy(tbuf, "0.9\n", DEBUG_FS_DATA_MAX); in max20730_debugfs_read()
178 len = strlcpy(tbuf, "3.6\n", DEBUG_FS_DATA_MAX); in max20730_debugfs_read()
[all …]
/linux-6.1.9/include/trace/events/
Dkyber.h34 strlcpy(__entry->domain, domain, sizeof(__entry->domain));
35 strlcpy(__entry->type, type, sizeof(__entry->type));
62 strlcpy(__entry->domain, domain, sizeof(__entry->domain));
84 strlcpy(__entry->domain, domain, sizeof(__entry->domain));
Dwbt.h36 strlcpy(__entry->name, bdi_dev_name(bdi),
71 strlcpy(__entry->name, bdi_dev_name(bdi),
108 strlcpy(__entry->name, bdi_dev_name(bdi),
144 strlcpy(__entry->name, bdi_dev_name(bdi),
/linux-6.1.9/arch/hexagon/kernel/
Dsetup.c69 strlcpy(boot_command_line, p, COMMAND_LINE_SIZE); in setup_arch()
71 strlcpy(boot_command_line, default_command_line, in setup_arch()
79 strlcpy(cmd_line, boot_command_line, COMMAND_LINE_SIZE); in setup_arch()
/linux-6.1.9/arch/nios2/kernel/
Dsetup.c124 strlcpy(cmdline_passed, (char *)r7, COMMAND_LINE_SIZE); in nios2_boot_init()
132 strlcpy(boot_command_line, cmdline_passed, COMMAND_LINE_SIZE); in nios2_boot_init()
135 strlcpy(boot_command_line, CONFIG_CMDLINE, COMMAND_LINE_SIZE); in nios2_boot_init()
/linux-6.1.9/kernel/bpf/preload/
Dbpf_preload_kern.c22 strlcpy(obj[0].link_name, "maps.debug", sizeof(obj[0].link_name)); in preload()
24 strlcpy(obj[1].link_name, "progs.debug", sizeof(obj[1].link_name)); in preload()
/linux-6.1.9/arch/um/os-Linux/
Dumid.c43 strlcpy(dir, home, sizeof(dir)); in make_uml_dir()
246 strlcpy(umid, name, sizeof(umid)); in set_umid()
265 strlcpy(tmp, uml_dir, sizeof(tmp)); in make_umid()
/linux-6.1.9/lib/test_fortify/
Dwrite_overflow-strlcpy-src.c3 strlcpy(small, large_src, sizeof(small) + 1)
Dwrite_overflow-strlcpy.c3 strlcpy(instance.buf, large_src, sizeof(instance.buf) + 1)
/linux-6.1.9/arch/microblaze/kernel/
Dprom.c23 strlcpy(boot_command_line, cmd_line, COMMAND_LINE_SIZE); in early_init_devtree()
/linux-6.1.9/tools/lib/subcmd/
Dexec-cmd.c52 strlcpy(cwd, pwd, PATH_MAX); in get_pwd_cwd()
63 if (strlcpy(buf, path, PATH_MAX) >= PATH_MAX) in make_nonrelative_path()
/linux-6.1.9/samples/v4l/
Dv4l2-pci-skeleton.c294 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-6.1.9/init/
Dversion.c27 arglen = strlcpy(init_uts_ns.name.nodename, arg, bufsize); in early_hostname()
/linux-6.1.9/arch/arm/kernel/
Datags_parse.c130 strlcpy(default_command_line, tag->u.cmdline.cmdline, in parse_tag_cmdline()
227 strlcpy(boot_command_line, from, COMMAND_LINE_SIZE); in setup_machine_tags()
/linux-6.1.9/drivers/watchdog/
Ddiag288_wdt.c127 len = strlcpy(ebc_cmd, wdt_cmd, MAX_CMDLEN); in wdt_start()
172 len = strlcpy(ebc_cmd, wdt_cmd, MAX_CMDLEN); in wdt_ping()
/linux-6.1.9/arch/sh/kernel/
Dsetup.c307 strlcpy(command_line, CONFIG_CMDLINE, sizeof(command_line)); in setup_arch()
309 strlcpy(command_line, COMMAND_LINE, sizeof(command_line)); in setup_arch()
/linux-6.1.9/arch/sparc/prom/
Dbootstr_32.c55 strlcpy(barg_buf, *romvec->pv_v2bootargs.bootargs, sizeof(barg_buf)); in prom_getbootargs()
/linux-6.1.9/arch/um/include/shared/
Duser.h53 extern size_t strlcpy(char *, const char *, size_t);
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7921/
Dmt7921_trace.h17 #define DEV_ASSIGN strlcpy(__entry->wiphy_name, \
/linux-6.1.9/tools/perf/ui/tui/
Dhelpline.c27 strlcpy(ui_helpline__current, msg, sz); in tui_helpline__push()
/linux-6.1.9/tools/include/linux/
Dstring.h25 extern size_t strlcpy(char *dest, const char *src, size_t size);
/linux-6.1.9/block/
Dblk-cgroup-fc-appid.c37 strlcpy(blkcg->fc_app_id, app_id, app_id_len); in blkcg_set_fc_appid()
/linux-6.1.9/kernel/trace/
Dtrace_boot.c34 if (strlcpy(buf, p, ARRAY_SIZE(buf)) >= ARRAY_SIZE(buf)) { in trace_boot_set_instance_options()
90 if (strlcpy(buf, p, ARRAY_SIZE(buf)) >= ARRAY_SIZE(buf)) { in trace_boot_enable_events()
489 if (strlcpy(buf, p, ARRAY_SIZE(buf)) >= ARRAY_SIZE(buf)) in trace_boot_init_one_event()
497 if (strlcpy(buf, p, ARRAY_SIZE(buf)) >= ARRAY_SIZE(buf)) in trace_boot_init_one_event()
/linux-6.1.9/fs/kernfs/
Ddir.c57 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()
165 len += strlcpy(buf + len, parent_str, in kernfs_path_from_node_locked()
172 len += strlcpy(buf + len, "/", in kernfs_path_from_node_locked()
174 len += strlcpy(buf + len, kn->name, in kernfs_path_from_node_locked()
847 len = strlcpy(kernfs_pr_cont_buf, path, sizeof(kernfs_pr_cont_buf)); in kernfs_walk_ns()
/linux-6.1.9/tools/perf/jvmti/
DBuild4 # For strlcpy

12345678