Home
last modified time | relevance | path

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

123

/arch/mips/kernel/
Dprom.c32 strlcpy(mips_machine_name, name, sizeof(mips_machine_name)); in mips_set_machine_name()
74 strlcpy(of_ids[0].compatible, bus0, sizeof(of_ids[0].compatible)); in __dt_register_buses()
76 strlcpy(of_ids[1].compatible, bus1, in __dt_register_buses()
/arch/hexagon/kernel/
Dsetup.c82 strlcpy(boot_command_line, p, COMMAND_LINE_SIZE); in setup_arch()
84 strlcpy(boot_command_line, default_command_line, in setup_arch()
92 strlcpy(cmd_line, boot_command_line, COMMAND_LINE_SIZE); in setup_arch()
/arch/mips/xilfpga/
Dinit.c26 strlcpy(arcs_cmdline, boot_command_line, COMMAND_LINE_SIZE); in plat_mem_setup()
/arch/sparc/prom/
Dbootstr_32.c55 strlcpy(barg_buf, *romvec->pv_v2bootargs.bootargs, sizeof(barg_buf)); in prom_getbootargs()
/arch/xtensa/kernel/
Dsetup.c145 strlcpy(command_line, (char *)(tag->data), COMMAND_LINE_SIZE); in parse_tag_cmdline()
238 strlcpy(command_line, boot_command_line, COMMAND_LINE_SIZE); in early_init_devtree()
260 strlcpy(command_line, default_command_line, COMMAND_LINE_SIZE); in init_arch()
323 strlcpy(boot_command_line, *cmdline_p, COMMAND_LINE_SIZE); in setup_arch()
/arch/um/include/shared/
Duser.h51 extern size_t strlcpy(char *, const char *, size_t);
/arch/um/os-Linux/
Dumid.c43 strlcpy(dir, home, sizeof(dir)); in make_uml_dir()
241 strlcpy(umid, name, sizeof(umid)); in set_umid()
260 strlcpy(tmp, uml_dir, sizeof(tmp)); in make_umid()
/arch/m68k/emu/
Dnatfeat.c46 n = strlcpy(name_copy, feature_name, sizeof(name_copy)); in nf_get_id()
/arch/s390/lib/
Dstring.c96 size_t strlcpy(char *dest, const char *src, size_t size) in strlcpy() function
107 EXPORT_SYMBOL(strlcpy);
/arch/powerpc/platforms/pasemi/
Dmisc.c42 if (strlcpy(info->type, i2c_devices[i].i2c_type, in find_i2c_driver()
/arch/ia64/kernel/
Dmachvec.c56 strlcpy(str, start + strlen("machvec="), sizeof(str)); in machvec_init_from_cmdline()
/arch/microblaze/kernel/
Dprom.c107 strlcpy(boot_command_line, cmd_line, COMMAND_LINE_SIZE); in early_init_devtree()
/arch/mn10300/kernel/
Dsetup.c102 strlcpy(boot_command_line, redboot_command_line, COMMAND_LINE_SIZE); in setup_arch()
105 strlcpy(cmd_line, boot_command_line, COMMAND_LINE_SIZE); in setup_arch()
/arch/sh/kernel/
Dsetup.c311 strlcpy(command_line, CONFIG_CMDLINE, sizeof(command_line)); in setup_arch()
313 strlcpy(command_line, COMMAND_LINE, sizeof(command_line)); in setup_arch()
/arch/arm/kernel/
Datags_parse.c134 strlcpy(default_command_line, tag->u.cmdline.cmdline, in parse_tag_cmdline()
234 strlcpy(boot_command_line, from, COMMAND_LINE_SIZE); in setup_machine_tags()
/arch/unicore32/kernel/
Dsetup.c250 strlcpy(boot_command_line, from, COMMAND_LINE_SIZE); in setup_arch()
253 strlcpy(cmd_line, boot_command_line, COMMAND_LINE_SIZE); in setup_arch()
/arch/mips/pic32/pic32mzda/
Dinit.c68 strlcpy(arcs_cmdline, boot_command_line, COMMAND_LINE_SIZE); in plat_mem_setup()
/arch/s390/include/asm/
Dstring.h40 extern size_t strlcpy(char *, const char *, size_t);
/arch/cris/kernel/
Dsetup.c161 strlcpy(cris_command_line, CONFIG_ETRAX_CMDLINE, COMMAND_LINE_SIZE); in setup_arch()
/arch/powerpc/platforms/pseries/
Dhvcserver.c192 strlcpy(&next_partner_info->location_code[0], in hvcs_get_partner_info()
/arch/mips/generic/
Dinit.c114 strlcpy(arcs_cmdline, boot_command_line, COMMAND_LINE_SIZE); in plat_mem_setup()
/arch/nios2/kernel/
Dcpuinfo.c63 strlcpy(cpuinfo.cpu_impl, str, sizeof(cpuinfo.cpu_impl)); in setup_cpuinfo()
/arch/um/os-Linux/drivers/
Dtuntap_user.c149 strlcpy(ifr.ifr_name, pri->dev_name, sizeof(ifr.ifr_name)); in tuntap_open()
/arch/parisc/kernel/
Dsetup.c77 strlcpy(boot_command_line, (char *)__va(boot_args[1]), in setup_cmdline()
/arch/arm/mach-s3c64xx/
Dmach-real6410.c242 strlcpy(real6410_features_str, str, in real6410_features_setup()

123