/kernel/linux/linux-5.10/arch/alpha/lib/ |
D | strncpy.S | 21 .globl strncpy symbol 22 .ent strncpy 23 strncpy: label 82 .end strncpy 83 EXPORT_SYMBOL(strncpy)
|
/kernel/liteos_m/testsuites/sample/kernel/lms/ |
D | It_los_lms_019.c | 57 (VOID)strncpy(buf, src, 8); /* no trigger overflow */ in TestCase() 59 (VOID)strncpy(buf, src, 9); /* no trigger overflow */ in TestCase() 61 (VOID)strncpy(buf, src, 20); /* no trigger overflow */ in TestCase() 63 (VOID)strncpy(buf, src, 21); /* trigger buf overflow */ in TestCase()
|
/kernel/linux/linux-5.10/fs/hmdfs/ |
D | hmdfs_client.c | 433 strncpy(req->path, path, path_len); in hmdfs_client_start_readdir() 476 strncpy(mkdir_req->path, path, path_len); in hmdfs_client_start_mkdir() 477 strncpy(mkdir_req->path + path_len + 1, name, name_len); in hmdfs_client_start_mkdir() 524 strncpy(create_req->path, path, path_len); in hmdfs_client_start_create() 525 strncpy(create_req->path + path_len + 1, name, name_len); in hmdfs_client_start_create() 567 strncpy(rmdir_req->path, path, path_len); in hmdfs_client_start_rmdir() 568 strncpy(rmdir_req->path + path_len + 1, name, name_len); in hmdfs_client_start_rmdir() 596 strncpy(unlink_req->path, path, path_len); in hmdfs_client_start_unlink() 597 strncpy(unlink_req->path + path_len + 1, name, name_len); in hmdfs_client_start_unlink() 634 strncpy(rename_req->path, old_path, old_path_len); in hmdfs_client_start_rename() [all …]
|
/kernel/linux/linux-5.10/include/scsi/ |
D | fc_encode.h | 171 strncpy(ct->payload.spn.fr_name, in fc_ct_ns_fill() 181 strncpy(ct->payload.snn.fr_name, in fc_ct_ns_fill() 263 strncpy((char *)&entry->value, in fc_ct_ms_fill() 275 strncpy((char *)&entry->value, in fc_ct_ms_fill() 287 strncpy((char *)&entry->value, in fc_ct_ms_fill() 299 strncpy((char *)&entry->value, in fc_ct_ms_fill() 311 strncpy((char *)&entry->value, in fc_ct_ms_fill() 323 strncpy((char *)&entry->value, in fc_ct_ms_fill() 335 strncpy((char *)&entry->value, in fc_ct_ms_fill() 347 strncpy((char *)&entry->value, in fc_ct_ms_fill() [all …]
|
/kernel/linux/linux-5.10/fs/orangefs/ |
D | namei.c | 43 strncpy(new_op->upcall.req.create.d_name, in orangefs_create() 139 strncpy(new_op->upcall.req.lookup.d_name, dentry->d_name.name, in orangefs_lookup() 194 strncpy(new_op->upcall.req.remove.d_name, dentry->d_name.name, in orangefs_unlink() 248 strncpy(new_op->upcall.req.sym.entry_name, in orangefs_symlink() 251 strncpy(new_op->upcall.req.sym.target, symname, ORANGEFS_NAME_MAX - 1); in orangefs_symlink() 324 strncpy(new_op->upcall.req.mkdir.d_name, in orangefs_mkdir() 404 strncpy(new_op->upcall.req.rename.d_old_name, in orangefs_rename() 407 strncpy(new_op->upcall.req.rename.d_new_name, in orangefs_rename()
|
/kernel/linux/linux-5.10/tools/perf/arch/x86/util/ |
D | header.c | 35 strncpy(&vendor[0], (char *)(&b), 4); in __get_cpuid() 36 strncpy(&vendor[4], (char *)(&d), 4); in __get_cpuid() 37 strncpy(&vendor[8], (char *)(&c), 4); in __get_cpuid()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/arch/powerpc/lib/ |
D | string.S | 15 _GLOBAL(strncpy) 33 EXPORT_SYMBOL(strncpy)
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/block/ |
D | cmdline-parser.c | 53 strncpy(new_subpart->name, partdef, length); in parse_subpart() 112 strncpy(newparts->name, bdevdef, length); in parse_parts() 125 strncpy(buf, bdevdef, length); in parse_parts()
|
/kernel/linux/linux-5.10/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()
|
/kernel/liteos_a/kernel/extended/lms/ |
D | lms_libc.c | 109 #undef strncpy 110 char *strncpy(char *dest, const char *src, size_t n) in strncpy() function
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/ |
D | queue_stack_map.c | 24 strncpy(file, "./test_queue_map.o", sizeof(file)); in test_queue_stack_map_by_type() 26 strncpy(file, "./test_stack_map.o", sizeof(file)); in test_queue_stack_map_by_type()
|
/kernel/liteos_m/components/lms/ |
D | lms_libc.c | 109 #undef strncpy 110 char *strncpy(char *dest, const char *src, size_t n) in strncpy() function
|
/kernel/linux/linux-5.10/arch/x86/lib/ |
D | string_32.c | 33 char *strncpy(char *dest, const char *src, size_t count) in strncpy() function 49 EXPORT_SYMBOL(strncpy);
|
/kernel/linux/linux-5.10/block/partitions/ |
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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/drivers/staging/blackbox/ |
D | blackbox_core.c | 191 strncpy(info->event, event, min(strlen(event), in format_error_info() 193 strncpy(info->module, module, min(strlen(module), in format_error_info() 195 strncpy(info->category, get_category(module, event), in format_error_info() 198 strncpy(info->error_desc, error_desc, min(strlen(error_desc), in format_error_info() 406 strncpy(info->category, get_category(info->module, info->event), in do_save_last_log()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/fs/xfs/ |
D | xfs_xattr.c | 118 strncpy(offset, prefix, prefix_len); in __xfs_xattr_put_listent() 120 strncpy(offset, (char *)name, namelen); /* real name */ in __xfs_xattr_put_listent()
|
/kernel/linux/linux-5.10/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()
|