Lines Matching refs:cp
687 struct common_symbol *cp;
783 while ((cp = STAILQ_FIRST(&file->common)) != NULL) {
785 free(cp, M_LINKER);
955 struct common_symbol *cp;
957 STAILQ_FOREACH(cp, &file->common, link) {
958 if (strcmp(cp->name, name) == 0) {
960 " old common value=%p\n", cp->address));
961 return (cp->address);
968 cp = malloc(sizeof(struct common_symbol)
971 cp->address = (caddr_t)(cp + 1);
972 cp->name = cp->address + common_size;
973 strcpy(cp->name, name);
974 bzero(cp->address, common_size);
975 STAILQ_INSERT_TAIL(&file->common, cp, link);
978 " value=%p\n", cp->address));
979 return (cp->address);
2000 u_char *cp, *recptr, *bufend, *result, *pathbuf;
2022 best = cp = NULL;
2058 cp = (char *)intp;
2061 clen = *cp++;
2062 if (clen != modnamelen || bcmp(cp, modname, clen) != 0)
2064 cp += clen;
2065 INT_ALIGN(hints, cp);
2066 ival = *(int *)cp;
2067 cp += sizeof(int);
2068 clen = *cp++;
2078 best = cp;
2091 result = linker_lookup_file(path, pathlen, cp, clen, &mattr);
2126 char *cp, *ep, *result;
2131 for (cp = linker_path; *cp; cp = ep + 1) {
2133 for (ep = cp; (*ep != 0) && (*ep != ';'); ep++);
2134 result = linker_hints_lookup(cp, ep - cp, modname,
2150 char *cp, *ep, *result;
2160 cp = ep;
2163 result = linker_lookup_file(cp, ep - cp, name, len, NULL);