Searched refs:strncpy (Results 101 - 125 of 162) sorted by relevance

1234567

/linux-master/tools/testing/selftests/resctrl/
H A Dresctrlfs.c43 strncpy(buffer, mntpoint, 256);
/linux-master/tools/perf/util/
H A Dutil.c398 strncpy(str, utsname.release, str_size);
H A Ds390-cpumsf.c893 strncpy(msg, "Lost Auxiliary Trace Buffer", sizeof(msg) - 1);
H A Dsynthetic-events.c574 strncpy(event->cgroup.path, path + mount_len, path_len);
1226 strncpy((char *) &entry->comm, comm, sizeof(entry->comm));
H A Ddata-convert-bt.c279 strncpy(buffer, string, i);
/linux-master/kernel/trace/
H A Dtrace_sched_switch.c190 strncpy(get_saved_cmdlines(idx), cmdline, TASK_COMM_LEN);
/linux-master/scripts/kconfig/lxdialog/
H A Dmenubox.c59 strncpy(menu_item, item, menu_width - item_x);
/linux-master/tools/bpf/bpftool/
H A Dgen.c77 strncpy(file_copy, file, PATH_MAX - 1)[PATH_MAX - 1] = '\0';
78 strncpy(name, basename(file_copy), MAX_OBJ_NAME_LEN - 1)[MAX_OBJ_NAME_LEN - 1] = '\0';
1174 strncpy(obj_name, *argv, MAX_OBJ_NAME_LEN - 1);
1558 strncpy(obj_name, *argv, MAX_OBJ_NAME_LEN - 1);
/linux-master/include/linux/
H A Dstring.h70 extern char * strncpy(char *,const char *, __kernel_size_t);
100 * Preferred to strncpy() since it always returns a valid string, and
391 * This is a replacement for strncpy() uses where the destination is not
414 * This is a replacement for strncpy() uses where the destination is not
435 * This is a replacement for strncpy() uses where the source is not
460 * This is a replacement for strncpy() uses where the source is not
/linux-master/tools/testing/selftests/cgroup/
H A Dcgroup_util.c219 strncpy(root, mount, len);
/linux-master/net/rds/
H A Dconnection.c752 strncpy(cinfo->transport, conn->c_trans->t_name,
778 strncpy(cinfo6->transport, conn->c_trans->t_name,
/linux-master/net/smc/
H A Dsmc_pnet.c373 strncpy(new_pe->eth_name, eth_name, IFNAMSIZ);
453 strncpy(new_pe->ib_name, ib_name, IB_DEVICE_NAME_MAX);
/linux-master/scripts/kconfig/
H A Dconfdata.c101 strncpy(tmp, path, sizeof(tmp));
1003 strncpy(depfile_path, name, depfile_prefix_len);
H A Dnconf.c591 strncpy(k_menu_items[index].str,
/linux-master/tools/power/cpupower/lib/
H A Dcpufreq.c570 strncpy(new_gov, passed_gov, 20);
/linux-master/include/acpi/
H A Dactypes.h525 #define ACPI_COPY_NAMESEG(dest,src) (strncpy (ACPI_CAST_PTR (char, (dest)), ACPI_CAST_PTR (char, (src)), ACPI_NAMESEG_SIZE))
/linux-master/drivers/target/
H A Dtarget_core_transport.c1115 strncpy(p_buf, buf, p_buf_len);
1165 strncpy(p_buf, buf, p_buf_len);
1225 strncpy(p_buf, buf, p_buf_len);
1279 strncpy(p_buf, buf, p_buf_len);
/linux-master/tools/testing/selftests/net/tcp_ao/lib/
H A Dsock.c160 strncpy(ao->alg_name, alg, 64);
/linux-master/drivers/net/wireless/ti/wl1251/
H A Dacx.c153 strncpy(buf, rev->fw_version, min(len, sizeof(rev->fw_version)));
/linux-master/drivers/mtd/
H A Dsm_ftl.c47 strncpy(buf, sm_attr->data, sm_attr->len);
/linux-master/tools/net/ynl/lib/
H A Dynl.c582 strncpy(ys->mcast_groups[i].name,
/linux-master/tools/lib/subcmd/
H A Dparse-options.c138 strncpy(reason, opt->flags & PARSE_OPT_CANSKIP ?
/linux-master/tools/perf/arch/x86/util/
H A Dintel-pt.c398 strncpy((char *)info, filter, len);
/linux-master/drivers/usb/gadget/udc/
H A Dmv_udc_core.c1246 strncpy(ep->name, "ep0", sizeof(ep->name));
1274 strncpy(ep->name, name, sizeof(ep->name));
/linux-master/net/ipv4/
H A Dipconfig.c1693 strncpy(dhcp_client_identifier + 1, v + 1, 251);

Completed in 526 milliseconds

1234567