Searched refs:strncpy (Results 1 - 25 of 211) sorted by relevance

123456789

/linux-master/lib/test_fortify/
H A Dwrite_overflow-strncpy-src.c3 strncpy(small, large_src, sizeof(small) + 1)
H A Dwrite_overflow-strncpy.c3 strncpy(instance.buf, large_src, sizeof(instance.buf) + 1)
/linux-master/arch/alpha/lib/
H A Dstrncpy.S3 * arch/alpha/lib/strncpy.S
21 .globl strncpy
22 .ent strncpy
23 strncpy: label
82 .end strncpy
83 EXPORT_SYMBOL(strncpy)
/linux-master/arch/powerpc/lib/
H A Dstring.S15 _GLOBAL(strncpy)
33 EXPORT_SYMBOL(strncpy)
/linux-master/drivers/acpi/acpica/
H A Dtbfind.c60 strncpy(header.oem_id, oem_id, ACPI_OEM_ID_SIZE);
61 strncpy(header.oem_table_id, oem_table_id, ACPI_OEM_TABLE_ID_SIZE);
H A Dutnonansi.c171 strncpy(dest, source, dest_size);
/linux-master/tools/perf/arch/x86/util/
H A Dheader.c19 strncpy(&vendor[0], (char *)(&b), 4);
20 strncpy(&vendor[4], (char *)(&d), 4);
21 strncpy(&vendor[8], (char *)(&c), 4);
/linux-master/arch/powerpc/boot/
H A Dstring.h7 extern char *strncpy(char *dest, const char *src, size_t n);
/linux-master/include/trace/events/
H A Dmdio.h28 strncpy(__entry->busid, bus->id, MII_BUS_ID_SIZE);
/linux-master/tools/leds/
H A Duledmon.c34 strncpy(uleds_dev.name, argv[1], LED_MAX_NAME_SIZE);
/linux-master/tools/testing/selftests/media_tests/
H A Dmedia_device_open.c57 strncpy(media_device, optarg, sizeof(media_device) - 1);
H A Dmedia_device_test.c62 strncpy(media_device, optarg, sizeof(media_device) - 1);
/linux-master/arch/mips/loongson2ef/common/
H A Dmachtype.c51 strncpy(str, p, MACHTYPE_LEN);
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dskc_to_unix_sock.c37 strncpy(sockaddr.sun_path, sock_path, strlen(sock_path));
H A Dqueue_stack_map.c31 strncpy(file, "./test_queue_map.bpf.o", sizeof(file));
33 strncpy(file, "./test_stack_map.bpf.o", sizeof(file));
/linux-master/arch/m68k/include/asm/
H A Dstring.h25 static inline char *strncpy(char *dest, const char *src, size_t n) function
/linux-master/drivers/staging/greybus/Documentation/firmware/
H A Dfirmware.c66 strncpy((char *)&intf_load.firmware_tag, firmware_tag,
104 strncpy((char *)&backend_fw_info.firmware_tag, firmware_tag,
132 strncpy((char *)&backend_update.firmware_tag, firmware_tag,
/linux-master/arch/x86/lib/
H A Dstring_32.c34 char *strncpy(char *dest, const char *src, size_t count) function
50 EXPORT_SYMBOL(strncpy); variable
/linux-master/drivers/misc/lkdtm/
H A Dfortify.c28 strncpy(target[0].a, target[1].a, size);
33 pr_err("FAIL: fortify did not block a strncpy() object write overflow!\n");
50 pr_info("trying to strncpy() past the end of a struct member...\n");
53 * strncpy(target.a, src, 20); will hit a compile error because the
57 strncpy(target.a, src, size);
62 pr_err("FAIL: fortify did not block a strncpy() struct member write overflow!\n");
118 * strncpy(target.a, src, 20); will hit a compile error because the
/linux-master/fs/orangefs/
H A Dnamei.c44 strncpy(new_op->upcall.req.create.d_name,
140 strncpy(new_op->upcall.req.lookup.d_name, dentry->d_name.name,
195 strncpy(new_op->upcall.req.remove.d_name, dentry->d_name.name,
250 strncpy(new_op->upcall.req.sym.entry_name,
253 strncpy(new_op->upcall.req.sym.target, symname, ORANGEFS_NAME_MAX - 1);
327 strncpy(new_op->upcall.req.mkdir.d_name,
408 strncpy(new_op->upcall.req.rename.d_old_name,
411 strncpy(new_op->upcall.req.rename.d_new_name,
/linux-master/arch/alpha/include/asm/
H A Dstring.h51 extern char * strncpy(char *, const char *, size_t);
/linux-master/security/keys/encrypted-keys/
H A Decryptfs_format.c57 strncpy((char *)auth_tok->token.password.signature, key_desc,
/linux-master/tools/lib/api/fs/
H A Dcgroup.c98 strncpy(cached->subsys, subsys, sizeof(cached->subsys) - 1);
/linux-master/arch/m68k/kernel/
H A Duboot.c77 strncpy(commandp, (const char *)uboot_cmd_start, size);
/linux-master/tools/power/cpupower/bench/
H A Dparse.c135 strncpy(config->governor, "ondemand", sizeof(config->governor));
211 strncpy(config->governor, val,

Completed in 202 milliseconds

123456789