/linux-6.1.9/drivers/hwmon/pmbus/ |
D | max20730.c | 151 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/ |
D | kyber.h | 34 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));
|
D | wbt.h | 36 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/ |
D | setup.c | 69 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/ |
D | setup.c | 124 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/ |
D | bpf_preload_kern.c | 22 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/ |
D | umid.c | 43 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/ |
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-6.1.9/arch/microblaze/kernel/ |
D | prom.c | 23 strlcpy(boot_command_line, cmd_line, COMMAND_LINE_SIZE); in early_init_devtree()
|
/linux-6.1.9/tools/lib/subcmd/ |
D | exec-cmd.c | 52 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/ |
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-6.1.9/init/ |
D | version.c | 27 arglen = strlcpy(init_uts_ns.name.nodename, arg, bufsize); in early_hostname()
|
/linux-6.1.9/arch/arm/kernel/ |
D | atags_parse.c | 130 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/ |
D | diag288_wdt.c | 127 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/ |
D | setup.c | 307 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/ |
D | bootstr_32.c | 55 strlcpy(barg_buf, *romvec->pv_v2bootargs.bootargs, sizeof(barg_buf)); in prom_getbootargs()
|
/linux-6.1.9/arch/um/include/shared/ |
D | user.h | 53 extern size_t strlcpy(char *, const char *, size_t);
|
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt7921/ |
D | mt7921_trace.h | 17 #define DEV_ASSIGN strlcpy(__entry->wiphy_name, \
|
/linux-6.1.9/tools/perf/ui/tui/ |
D | helpline.c | 27 strlcpy(ui_helpline__current, msg, sz); in tui_helpline__push()
|
/linux-6.1.9/tools/include/linux/ |
D | string.h | 25 extern size_t strlcpy(char *dest, const char *src, size_t size);
|
/linux-6.1.9/block/ |
D | blk-cgroup-fc-appid.c | 37 strlcpy(blkcg->fc_app_id, app_id, app_id_len); in blkcg_set_fc_appid()
|
/linux-6.1.9/kernel/trace/ |
D | trace_boot.c | 34 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/ |
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() 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/ |
D | Build | 4 # For strlcpy
|