Home
last modified time | relevance | path

Searched refs:strncpy (Results 1 – 25 of 458) sorted by relevance

12345678910>>...19

/linux-2.6.39/arch/alpha/lib/
Dstrncpy.S20 .globl strncpy
21 .ent strncpy
22 strncpy: label
81 .end strncpy
/linux-2.6.39/Documentation/networking/
Difenslave.c612 strncpy(ifr.ifr_name, master_ifname, IFNAMSIZ); in get_drv_info()
616 strncpy(info.driver, "ifenslave", 32); in get_drv_info()
657 strncpy(ifr.ifr_name, master_ifname, IFNAMSIZ); in change_active()
658 strncpy(ifr.ifr_slave, slave_ifname, IFNAMSIZ); in change_active()
799 strncpy(ifr.ifr_name, master_ifname, IFNAMSIZ); in enslave()
800 strncpy(ifr.ifr_slave, slave_ifname, IFNAMSIZ); in enslave()
840 strncpy(ifr.ifr_name, master_ifname, IFNAMSIZ); in release()
841 strncpy(ifr.ifr_slave, slave_ifname, IFNAMSIZ); in release()
873 strncpy(ifra[i].req_ifr->ifr_name, ifname, IFNAMSIZ); in get_if_settings()
892 strncpy(slave_flags.ifr_name, slave_ifname, IFNAMSIZ); in get_slave_flags()
[all …]
/linux-2.6.39/drivers/staging/rts_pstor/
Dtrace.h54 strncpy((chip)->trace_msg[(chip)->msg_idx].func, __func__, MSG_FUNC_LEN-1); \
55 strncpy((chip)->trace_msg[(chip)->msg_idx].file, _file, MSG_FILE_LEN-1); \
70 strncpy((chip)->trace_msg[(chip)->msg_idx].func, __func__, MSG_FUNC_LEN-1); \
71 strncpy((chip)->trace_msg[(chip)->msg_idx].file, _file, MSG_FILE_LEN-1); \
/linux-2.6.39/net/dsa/
Dslave.c206 strncpy(drvinfo->driver, "dsa", 32); in dsa_slave_get_drvinfo()
207 strncpy(drvinfo->version, dsa_driver_version, 32); in dsa_slave_get_drvinfo()
208 strncpy(drvinfo->fw_version, "N/A", 32); in dsa_slave_get_drvinfo()
209 strncpy(drvinfo->bus_info, "platform", 32); in dsa_slave_get_drvinfo()
243 strncpy(data, "tx_packets", len); in dsa_slave_get_strings()
244 strncpy(data + len, "tx_bytes", len); in dsa_slave_get_strings()
245 strncpy(data + 2 * len, "rx_packets", len); in dsa_slave_get_strings()
246 strncpy(data + 3 * len, "rx_bytes", len); in dsa_slave_get_strings()
/linux-2.6.39/arch/sh/kernel/cpu/shmobile/
Dcpuidle.c79 strncpy(state->desc, "SuperH Sleep Mode", CPUIDLE_DESC_LEN); in sh_mobile_setup_cpuidle()
92 strncpy(state->desc, "SuperH Sleep Mode [SF]", in sh_mobile_setup_cpuidle()
105 strncpy(state->desc, "SuperH Mobile Standby Mode [SF]", in sh_mobile_setup_cpuidle()
/linux-2.6.39/drivers/staging/go7007/
Dwis-saa7113.c158 strncpy(ctrl->name, "Brightness", sizeof(ctrl->name)); in wis_saa7113_command()
167 strncpy(ctrl->name, "Contrast", sizeof(ctrl->name)); in wis_saa7113_command()
176 strncpy(ctrl->name, "Saturation", sizeof(ctrl->name)); in wis_saa7113_command()
185 strncpy(ctrl->name, "Hue", sizeof(ctrl->name)); in wis_saa7113_command()
Dwis-tw9903.c158 strncpy(ctrl->name, "Brightness", sizeof(ctrl->name)); in wis_tw9903_command()
167 strncpy(ctrl->name, "Contrast", sizeof(ctrl->name)); in wis_tw9903_command()
178 strncpy(ctrl->name, "Saturation", sizeof(ctrl->name)); in wis_tw9903_command()
188 strncpy(ctrl->name, "Hue", sizeof(ctrl->name)); in wis_tw9903_command()
Dwis-tw2804.c188 strncpy(ctrl->name, "Brightness", sizeof(ctrl->name)); in wis_tw2804_command()
197 strncpy(ctrl->name, "Contrast", sizeof(ctrl->name)); in wis_tw2804_command()
206 strncpy(ctrl->name, "Saturation", sizeof(ctrl->name)); in wis_tw2804_command()
215 strncpy(ctrl->name, "Hue", sizeof(ctrl->name)); in wis_tw2804_command()
Dwis-saa7115.c291 strncpy(ctrl->name, "Brightness", sizeof(ctrl->name)); in wis_saa7115_command()
300 strncpy(ctrl->name, "Contrast", sizeof(ctrl->name)); in wis_saa7115_command()
309 strncpy(ctrl->name, "Saturation", sizeof(ctrl->name)); in wis_saa7115_command()
318 strncpy(ctrl->name, "Hue", sizeof(ctrl->name)); in wis_saa7115_command()
Dsnd-go7007.c271 strncpy(gosnd->card->driver, "go7007", sizeof(gosnd->card->driver)); in go7007_snd_init()
272 strncpy(gosnd->card->shortname, go->name, sizeof(gosnd->card->driver)); in go7007_snd_init()
273 strncpy(gosnd->card->longname, gosnd->card->shortname, in go7007_snd_init()
/linux-2.6.39/fs/partitions/
Dibm.c123 strncpy(type, label->vol.vollbl, 4); in ibm_partition()
124 strncpy(name, label->vol.volid, 6); in ibm_partition()
126 strncpy(type, label->lnx.vollbl, 4); in ibm_partition()
127 strncpy(name, label->lnx.volid, 6); in ibm_partition()
/linux-2.6.39/drivers/net/
Dspider_net_ethtool.c76 strncpy(drvinfo->driver, spider_net_driver_name, 32); in spider_net_ethtool_get_drvinfo()
77 strncpy(drvinfo->version, VERSION, 32); in spider_net_ethtool_get_drvinfo()
79 strncpy(drvinfo->bus_info, pci_name(card->pdev), 32); in spider_net_ethtool_get_drvinfo()
Ducc_geth_ethtool.c353 strncpy(drvinfo->driver, DRV_NAME, 32); in uec_get_drvinfo()
354 strncpy(drvinfo->version, DRV_VERSION, 32); in uec_get_drvinfo()
355 strncpy(drvinfo->fw_version, "N/A", 32); in uec_get_drvinfo()
356 strncpy(drvinfo->bus_info, "QUICC ENGINE", 32); in uec_get_drvinfo()
/linux-2.6.39/drivers/staging/tidspbridge/rmgr/
Ddbdcd.c229 strncpy(sz_reg_key, DCD_REGKEY, strlen(DCD_REGKEY) + 1); in dcd_enumerate_object()
261 strncpy(sz_value, &dcd_key->name[len], in dcd_enumerate_object()
417 strncpy(sz_reg_key, DCD_REGKEY, strlen(DCD_REGKEY) + 1); in dcd_get_object_def()
478 strncpy(sz_sect_name, ".", 2); in dcd_get_object_def()
683 strncpy(sz_reg_key, DCD_REGKEY, strlen(DCD_REGKEY) + 1); in dcd_get_library_name()
744 strncpy(sz_reg_key, DCD_REGKEY, strlen(DCD_REGKEY) + 1); in dcd_get_library_name()
855 strncpy(sz_reg_key, DCD_REGKEY, strlen(DCD_REGKEY) + 1); in dcd_register_object()
923 strncpy(dcd_key->name, sz_reg_key, in dcd_register_object()
925 strncpy(dcd_key->path, psz_path_name , in dcd_register_object()
1090 strncpy(gen_obj->obj_data.node_obj.ndb_props.ac_name, in get_attrs_from_buf()
[all …]
/linux-2.6.39/net/wireless/
Dethtool.c17 strncpy(info->fw_version, wdev->wiphy->fw_version, in cfg80211_get_drvinfo()
20 strncpy(info->fw_version, "N/A", sizeof(info->fw_version)); in cfg80211_get_drvinfo()
/linux-2.6.39/include/trace/events/
Dwriteback.h26 strncpy(__entry->name, dev_name(bdi->dev), 32);
72 strncpy(__entry->name, dev_name(bdi->dev), 32);
111 strncpy(__entry->name, dev_name(bdi->dev), 32);
/linux-2.6.39/drivers/s390/char/
Dtape_class.c57 strncpy(tcd->device_name, device_name, TAPECLASS_NAME_LEN); in register_tape_dev()
60 strncpy(tcd->mode_name, mode_name, TAPECLASS_NAME_LEN); in register_tape_dev()
/linux-2.6.39/arch/x86/lib/
Dstring_32.c32 char *strncpy(char *dest, const char *src, size_t count) in strncpy() function
48 EXPORT_SYMBOL(strncpy);
/linux-2.6.39/security/integrity/ima/
Dima_api.c86 strncpy(entry->template.file_name, filename, IMA_EVENT_NAME_LEN_MAX); in ima_add_violation()
177 strncpy(entry->template.file_name, filename, IMA_EVENT_NAME_LEN_MAX); in ima_store_measurement()
/linux-2.6.39/net/ipv4/netfilter/
Dipt_ULOG.c220 strncpy(pm->prefix, prefix, sizeof(pm->prefix)); in ipt_ulog_packet()
222 strncpy(pm->prefix, loginfo->prefix, sizeof(pm->prefix)); in ipt_ulog_packet()
235 strncpy(pm->indev_name, in->name, sizeof(pm->indev_name)); in ipt_ulog_packet()
240 strncpy(pm->outdev_name, out->name, sizeof(pm->outdev_name)); in ipt_ulog_packet()
/linux-2.6.39/net/caif/
Dcaif_config_util.c70 strncpy(l->u.rfm.volume, s->sockaddr.u.rfm.volume, in connect_req_to_link_param()
78 strncpy(l->u.utility.name, s->sockaddr.u.util.service, in connect_req_to_link_param()
/linux-2.6.39/fs/cifs/
Dcifs_dfs_ref.c76 strncpy(UNC+1, node_name, len); in cifs_get_share_name()
80 strncpy(UNC, node_name, len); in cifs_get_share_name()
163 strncpy(mountdata, sb_mountdata, 5); in cifs_compose_mount_options()
/linux-2.6.39/drivers/net/atl1e/
Datl1e_ethtool.c313 strncpy(drvinfo->driver, atl1e_driver_name, 32); in atl1e_get_drvinfo()
314 strncpy(drvinfo->version, atl1e_driver_version, 32); in atl1e_get_drvinfo()
315 strncpy(drvinfo->fw_version, "L1e", 32); in atl1e_get_drvinfo()
316 strncpy(drvinfo->bus_info, pci_name(adapter->pdev), 32); in atl1e_get_drvinfo()
/linux-2.6.39/sound/pci/cs5535audio/
Dcs5535audio_olpc.c164 strncpy(elem.name, "High Pass Filter Enable", sizeof(elem.name)); in olpc_quirks()
170 strncpy(elem.name, "V_REFOUT Enable", sizeof(elem.name)); in olpc_quirks()
/linux-2.6.39/arch/m32r/kernel/
Dsmpboot.c517 strncpy(cpu_model0, (char *)M32R_FPGA_CPU_NAME_ADDR, 16); in show_mp_info()
518 strncpy(cpu_model1, (char *)M32R_FPGA_MODEL_ID_ADDR, 16); in show_mp_info()
519 strncpy(cpu_ver, (char *)M32R_FPGA_VERSION_ADDR, 8); in show_mp_info()

12345678910>>...19