Lines Matching refs:from
273 * We need to figure out if the object was created from C++ sources
1095 * Modules may already have symbols from kallsyms, but those symbols
1397 static int copy_bytes(int from, off_t from_offs, int to, off_t to_offs, u64 len)
1410 if (lseek(from, from_offs, SEEK_SET) != from_offs)
1418 r = read(from, buf, n);
1511 static int kcore__copy_hdr(struct kcore *from, struct kcore *to, size_t count)
1514 GElf_Ehdr *kehdr = &from->ehdr;
1528 if (from->elfclass == ELFCLASS32) {
1915 static int kcore_copy__compare_fds(int from, int to)
1930 ret = read(from, buf_from, page_size);
1956 int from, to, err = -1;
1958 from = open(from_filename, O_RDONLY);
1959 if (from < 0)
1966 err = kcore_copy__compare_fds(from, to);
1970 close(from);
1987 * kcore_copy - copy kallsyms, modules and kcore from one directory to another.
1988 * @from_dir: from directory
1991 * This function copies kallsyms, modules and kcore files from one directory to
1993 * copied from kcore. It is assumed that two segments suffice: one for the
1995 * from kallsyms and modules files. The kernel map starts at _stext or the
2214 /* Translation from file representation to memory representation */
2370 * @target : file to find SDT notes from