/linux-6.1.9/arch/alpha/lib/ |
D | strncpy.S | 21 .globl strncpy 22 .ent strncpy 23 strncpy: label 82 .end strncpy 83 EXPORT_SYMBOL(strncpy)
|
/linux-6.1.9/arch/riscv/kernel/ |
D | cpu.c | 199 strncpy(sv_type, "sv32", 5); in print_mmu() 202 strncpy(sv_type, "sv57", 5); in print_mmu() 204 strncpy(sv_type, "sv48", 5); in print_mmu() 206 strncpy(sv_type, "sv39", 5); in print_mmu() 209 strncpy(sv_type, "none", 5); in print_mmu()
|
/linux-6.1.9/fs/orangefs/ |
D | namei.c | 44 strncpy(new_op->upcall.req.create.d_name, in orangefs_create() 140 strncpy(new_op->upcall.req.lookup.d_name, dentry->d_name.name, in orangefs_lookup() 195 strncpy(new_op->upcall.req.remove.d_name, dentry->d_name.name, in orangefs_unlink() 250 strncpy(new_op->upcall.req.sym.entry_name, in orangefs_symlink() 253 strncpy(new_op->upcall.req.sym.target, symname, ORANGEFS_NAME_MAX - 1); in orangefs_symlink() 327 strncpy(new_op->upcall.req.mkdir.d_name, in orangefs_mkdir() 408 strncpy(new_op->upcall.req.rename.d_old_name, in orangefs_rename() 411 strncpy(new_op->upcall.req.rename.d_new_name, in orangefs_rename()
|
/linux-6.1.9/tools/perf/arch/x86/util/ |
D | header.c | 19 strncpy(&vendor[0], (char *)(&b), 4); in get_cpuid_0() 20 strncpy(&vendor[4], (char *)(&d), 4); in get_cpuid_0() 21 strncpy(&vendor[8], (char *)(&c), 4); in get_cpuid_0()
|
/linux-6.1.9/drivers/staging/greybus/Documentation/firmware/ |
D | firmware.c | 66 strncpy((char *)&intf_load.firmware_tag, firmware_tag, in update_intf_firmware() 104 strncpy((char *)&backend_fw_info.firmware_tag, firmware_tag, in update_backend_firmware() 132 strncpy((char *)&backend_update.firmware_tag, firmware_tag, in update_backend_firmware()
|
/linux-6.1.9/drivers/scsi/elx/libefc/ |
D | efc_node.h | 29 strncpy(node->current_state_name, handler, in efc_node_evt_set() 32 strncpy(node->prev_state_name, node->current_state_name, in efc_node_evt_set() 34 strncpy(node->current_state_name, "invalid", in efc_node_evt_set()
|
/linux-6.1.9/arch/powerpc/lib/ |
D | string.S | 15 _GLOBAL(strncpy) 33 EXPORT_SYMBOL(strncpy)
|
/linux-6.1.9/drivers/acpi/acpica/ |
D | tbfind.c | 60 strncpy(header.oem_id, oem_id, ACPI_OEM_ID_SIZE); in acpi_tb_find_table() 61 strncpy(header.oem_table_id, oem_table_id, ACPI_OEM_TABLE_ID_SIZE); in acpi_tb_find_table()
|
/linux-6.1.9/drivers/misc/habanalabs/common/ |
D | habanalabs_drv.c | 405 strncpy(hdev->status[HL_DEVICE_STATUS_OPERATIONAL], "operational", HL_STR_MAX); in create_hdev() 406 strncpy(hdev->status[HL_DEVICE_STATUS_IN_RESET], "in reset", HL_STR_MAX); in create_hdev() 407 strncpy(hdev->status[HL_DEVICE_STATUS_MALFUNCTION], "disabled", HL_STR_MAX); in create_hdev() 408 strncpy(hdev->status[HL_DEVICE_STATUS_NEEDS_RESET], "needs reset", HL_STR_MAX); in create_hdev() 409 strncpy(hdev->status[HL_DEVICE_STATUS_IN_DEVICE_CREATION], in create_hdev() 411 strncpy(hdev->status[HL_DEVICE_STATUS_IN_RESET_AFTER_DEVICE_RELEASE], in create_hdev()
|
/linux-6.1.9/drivers/power/supply/ |
D | max1721x_battery.c | 387 strncpy(info->ManufacturerName, DEF_MFG_NAME, in devm_w1_max1721x_add_device() 406 strncpy(info->DeviceName, DEF_DEV_NAME_MAX17211, in devm_w1_max1721x_add_device() 410 strncpy(info->DeviceName, DEF_DEV_NAME_MAX17215, in devm_w1_max1721x_add_device() 414 strncpy(info->DeviceName, DEF_DEV_NAME_UNKNOWN, in devm_w1_max1721x_add_device()
|
/linux-6.1.9/block/partitions/ |
D | cmdline.c | 84 strncpy(new_subpart->name, partdef, length); in parse_subpart() 143 strncpy(newparts->name, bdevdef, length); in parse_parts() 156 strncpy(buf, bdevdef, length); in parse_parts() 270 strncpy(info->volname, subpart->name, label_min); in add_part()
|
D | ibm.c | 114 strncpy(type, label->vol.vollbl, 4); in find_label() 115 strncpy(name, label->vol.volid, 6); in find_label() 117 strncpy(type, label->lnx.vollbl, 4); in find_label() 118 strncpy(name, label->lnx.volid, 6); in find_label()
|
/linux-6.1.9/arch/x86/lib/ |
D | string_32.c | 34 char *strncpy(char *dest, const char *src, size_t count) in strncpy() function 50 EXPORT_SYMBOL(strncpy);
|
/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/ |
D | queue_stack_map.c | 31 strncpy(file, "./test_queue_map.bpf.o", sizeof(file)); in test_queue_stack_map_by_type() 33 strncpy(file, "./test_stack_map.bpf.o", sizeof(file)); in test_queue_stack_map_by_type()
|
/linux-6.1.9/drivers/cpuidle/ |
D | dt_idle_states.c | 88 strncpy(idle_state->name, state_node->name, CPUIDLE_NAME_LEN - 1); in init_state_node() 89 strncpy(idle_state->desc, desc, CPUIDLE_DESC_LEN - 1); in init_state_node()
|
/linux-6.1.9/drivers/misc/lkdtm/ |
D | fortify.c | 28 strncpy(target[0].a, target[1].a, size); in lkdtm_FORTIFY_STR_OBJECT() 57 strncpy(target.a, src, size); in lkdtm_FORTIFY_STR_MEMBER()
|
/linux-6.1.9/tools/usb/usbip/libsrc/ |
D | usbip_device_driver.c | 96 strncpy(dev->path, path, SYSFS_PATH_MAX - 1); in read_usb_vudc_device() 116 strncpy(dev->busid, name, SYSFS_BUS_ID_SIZE - 1); in read_usb_vudc_device()
|
/linux-6.1.9/tools/testing/selftests/sync/ |
D | sync.c | 74 strncpy(data.name, name, sizeof(data.name) - 1); in sync_merge() 201 strncpy(data.name, name, sizeof(data.name) - 1); in sw_sync_fence_create()
|
/linux-6.1.9/lib/test_fortify/ |
D | write_overflow-strncpy-src.c | 3 strncpy(small, large_src, sizeof(small) + 1)
|
D | write_overflow-strncpy.c | 3 strncpy(instance.buf, large_src, sizeof(instance.buf) + 1)
|
/linux-6.1.9/tools/power/cpupower/bench/ |
D | parse.c | 135 strncpy(config->governor, "ondemand", sizeof(config->governor)); in prepare_default_config() 211 strncpy(config->governor, val, in prepare_config()
|
/linux-6.1.9/tools/power/cpupower/utils/idle_monitor/ |
D | cpuidle_sysfs.c | 162 strncpy(cpuidle_cstates[num].name, tmp, CSTATE_NAME_LEN - 1); in cpuidle_register() 168 strncpy(cpuidle_cstates[num].desc, tmp, CSTATE_DESC_LEN - 1); in cpuidle_register()
|
/linux-6.1.9/arch/s390/lib/ |
D | string.c | 113 char *strncpy(char *dest, const char *src, size_t n) in strncpy() function 120 EXPORT_SYMBOL(strncpy);
|
/linux-6.1.9/net/netfilter/ |
D | nft_osf.c | 48 strncpy((char *)dest, "unknown", NFT_OSF_MAXGENRELEN); in nft_osf_eval() 56 strncpy((char *)dest, os_match, NFT_OSF_MAXGENRELEN); in nft_osf_eval()
|
/linux-6.1.9/drivers/bus/fsl-mc/ |
D | dprc.c | 453 strncpy(obj_desc->type, rsp_params->type, 16); in dprc_get_obj() 455 strncpy(obj_desc->label, rsp_params->label, 16); in dprc_get_obj() 494 strncpy(cmd_params->obj_type, obj_type, 16); in dprc_set_obj_irq() 567 strncpy(cmd_params->obj_type, obj_type, 16); in dprc_get_obj_region()
|