/freebsd-11.0-release/contrib/ntp/sntp/scripts/ |
H A D | genLocInfo | 31 lf=loc/$locfile 32 if test -f $lf 34 LF=$lf 56 lf=loc/$CVO_OSNAME$x 57 ${V}echo "Looking for <$lf>" >&2 58 if test -f $lf 60 LF=$lf 70 lf=loc/$CVO_OSNAME 71 ${V}echo "Looking for <$lf>" >&2 72 if test -f $lf [all...] |
/freebsd-11.0-release/sys/kern/ |
H A D | kern_linker.c | 193 linker_file_sysinit(linker_file_t lf) argument 198 lf->filename)); 202 if (linker_file_lookup_set(lf, "sysinit_set", &start, &stop, NULL) != 0) 241 linker_file_sysuninit(linker_file_t lf) argument 246 lf->filename)); 250 if (linker_file_lookup_set(lf, "sysuninit_set", &start, &stop, 291 linker_file_register_sysctls(linker_file_t lf) argument 297 lf->filename)); 301 if (linker_file_lookup_set(lf, "sysctl_set", &start, &stop, NULL) != 0) 313 linker_file_unregister_sysctls(linker_file_t lf) argument 334 linker_file_register_modules(linker_file_t lf) argument 392 linker_file_t lf; local 500 linker_release_module(const char *modname, struct mod_depend *verinfo, linker_file_t lf) argument 527 linker_file_t lf; local 547 linker_file_t lf; local 559 linker_file_t lf; local 575 linker_file_t lf; local 768 linker_file_function_listall(linker_file_t lf, linker_function_nameval_callback_t callback_func, void *arg) argument 878 linker_file_t lf; local 891 linker_file_t lf; local 922 linker_file_t lf; local 1012 linker_file_t lf; local 1078 linker_file_t lf; local 1136 linker_file_t lf; local 1167 linker_file_t lf; local 1228 linker_file_t lf; local 1268 linker_file_t lf; local 1285 linker_file_t lf; local 1317 linker_file_t lf; local 1423 linker_addmodules(linker_file_t lf, struct mod_metadata **start, struct mod_metadata **stop, int preload) argument 1451 linker_file_t lf, nlf; local 1945 linker_file_t lf; local 2052 linker_load_dependencies(linker_file_t lf) argument 2146 linker_file_t lf; local [all...] |
H A D | link_elf.c | 77 struct linker_file lf; /* Common fields */ member in struct:elf_file 355 link_elf_link_common_finish(linker_file_t lf) argument 358 elf_file_t ef = (elf_file_t)lf; 364 error = elf_cpu_load_file(lf); 370 ef->gdb.l_addr = lf->address; 371 newfilename = malloc(strlen(lf->filename) + 1, M_LINKER, M_WAITOK); 372 strcpy(newfilename, lf->filename); 380 link_elf_invoke_ctors(lf->ctors_addr, lf->ctors_size); 614 error = link_elf_lookup_set(&ef->lf, "pcp 677 linker_file_t lf; local 740 link_elf_link_preload_finish(linker_file_t lf) argument 778 linker_file_t lf; local 1101 elf_relocaddr(linker_file_t lf, Elf_Addr x) argument 1285 link_elf_lookup_symbol(linker_file_t lf, const char* name, c_linker_sym_t* sym) argument 1353 link_elf_symbol_values(linker_file_t lf, c_linker_sym_t sym, linker_symval_t *symval) argument 1377 link_elf_search_symbol(linker_file_t lf, caddr_t value, c_linker_sym_t *sym, long *diffp) argument 1416 link_elf_lookup_set(linker_file_t lf, const char *name, void ***startp, void ***stopp, int *countp) argument 1514 elf_get_sym(linker_file_t lf, Elf_Size symidx) argument 1524 elf_get_symname(linker_file_t lf, Elf_Size symidx) argument 1543 elf_lookup(linker_file_t lf, Elf_Size symidx, int deps, Elf_Addr *res) argument 1604 link_elf_reloc_local(linker_file_t lf) argument 1635 link_elf_symtab_get(linker_file_t lf, const Elf_Sym **symtab) argument 1648 link_elf_strtab_get(linker_file_t lf, caddr_t *strtab) argument [all...] |
H A D | kern_lockf.c | 332 struct lockf_entry *lf; local 334 lf = malloc(sizeof(struct lockf_entry), M_LOCKF, M_WAITOK|M_ZERO); 338 printf("Allocated lock %p\n", lf); 344 lf->lf_owner = lo; 347 return (lf); 698 struct lockf_entry *lf; local 703 LIST_FOREACH(lf, &state->ls_active, lf_link) { 704 if (lock == lf) 706 KASSERT(!lf_blocks(lock, lf), 708 if (lock->lf_owner == lf 1095 struct lockf_entry *lf, *lfprev; local 1215 struct lockf_entry *overlap, *lf; local 1704 struct lockf_entry *lf; local 1875 struct lockf_entry *lf; local 1937 struct lockf_entry *lf; local 2523 struct lockf_entry *lf, *blk; local [all...] |
H A D | link_elf_obj.c | 90 struct linker_file lf; /* Common fields */ member in struct:elf_file 147 static int elf_obj_lookup(linker_file_t lf, Elf_Size symidx, int deps, 207 linker_file_t lf; local 232 lf = linker_make_file(filename, &link_elf_class); 233 if (lf == NULL) 236 ef = (elf_file_t)lf; 239 lf->address = *(caddr_t *)baseptr; 240 lf->size = *(size_t *)sizeptr; 380 lf->ctors_addr = ef->progtab[pb].addr; 381 lf 455 link_elf_link_preload_finish(linker_file_t lf) argument 491 linker_file_t lf; local 1141 link_elf_lookup_symbol(linker_file_t lf, const char *name, c_linker_sym_t *sym) argument 1159 link_elf_symbol_values(linker_file_t lf, c_linker_sym_t sym, linker_symval_t *symval) argument 1175 link_elf_search_symbol(linker_file_t lf, caddr_t value, c_linker_sym_t *sym, long *diffp) argument 1214 link_elf_lookup_set(linker_file_t lf, const char *name, void ***startp, void ***stopp, int *countp) argument 1308 elf_obj_lookup(linker_file_t lf, Elf_Size symidx, int deps, Elf_Addr *res) argument 1421 link_elf_reloc_local(linker_file_t lf) argument 1490 link_elf_symtab_get(linker_file_t lf, const Elf_Sym **symtab) argument 1503 link_elf_strtab_get(linker_file_t lf, caddr_t *strtab) argument [all...] |
/freebsd-11.0-release/usr.sbin/asf/ |
H A D | asf_kvm.c | 61 struct linker_file lf; local 102 for (kp = linker_files.tqh_first; kp; kp = lf.link.tqe_next) { 104 n = kvm_read(kd, (u_long)kp, &lf, sizeof(lf)); 107 if (n != sizeof(lf)) { 113 n = kvm_read(kd, (u_long)lf.filename, name, sizeof(name) - 1); 119 kfile_add(name, lf.address);
|
/freebsd-11.0-release/sys/arm/arm/ |
H A D | elf_machdep.c | 163 elf_reloc_internal(linker_file_t lf, Elf_Addr relocbase, const void *data, argument 195 addr = elf_relocaddr(lf, relocbase + addend); 208 error = lookup(lf, symidx, 1, &addr); 224 error = lookup(lf, symidx, 1, &addr); 242 elf_reloc(linker_file_t lf, Elf_Addr relocbase, const void *data, int type, argument 246 return (elf_reloc_internal(lf, relocbase, data, type, 0, lookup)); 250 elf_reloc_local(linker_file_t lf, Elf_Addr relocbase, const void *data, argument 254 return (elf_reloc_internal(lf, relocbase, data, type, 1, lookup)); 258 elf_cpu_load_file(linker_file_t lf) argument 270 * don't worry about the kernel itself (lf [all...] |
H A D | unwind.c | 117 module_search(linker_file_t lf, void *context) argument 123 if (lf->address <= (caddr_t)sc->addr && 124 (lf->address + lf->size) >= (caddr_t)sc->addr) { 125 if ((LINKER_LOOKUP_SYMBOL(lf, "__exidx_start", &sym) == 0 || 126 LINKER_LOOKUP_SYMBOL(lf, "exidx_start", &sym) == 0) && 127 LINKER_SYMBOL_VALUES(lf, sym, &symval) == 0) 130 if ((LINKER_LOOKUP_SYMBOL(lf, "__exidx_end", &sym) == 0 || 131 LINKER_LOOKUP_SYMBOL(lf, "exidx_end", &sym) == 0) && 132 LINKER_SYMBOL_VALUES(lf, sy [all...] |
/freebsd-11.0-release/sys/arm64/arm64/ |
H A D | elf_machdep.c | 133 elf_reloc_internal(linker_file_t lf, Elf_Addr relocbase, const void *data, argument 163 *where = elf_relocaddr(lf, relocbase + addend); 174 error = lookup(lf, symidx, 1, &addr); 187 elf_reloc_local(linker_file_t lf, Elf_Addr relocbase, const void *data, argument 191 return (elf_reloc_internal(lf, relocbase, data, type, 1, lookup)); 196 elf_reloc(linker_file_t lf, Elf_Addr relocbase, const void *data, int type, argument 200 return (elf_reloc_internal(lf, relocbase, data, type, 0, lookup)); 204 elf_cpu_load_file(linker_file_t lf) argument 207 if (lf->id != 1) 208 cpu_icache_sync_range((vm_offset_t)lf [all...] |
/freebsd-11.0-release/sys/net/ |
H A D | firewire.h | 41 uint32_t lf :2; member in struct:fw_encap::__anon12243 47 uint32_t lf :2; 52 uint32_t lf :2; member in struct:fw_encap::__anon12244 62 uint32_t lf :2; 69 uint32_t lf :2; member in struct:fw_encap::__anon12245 81 uint32_t lf :2;
|
/freebsd-11.0-release/contrib/elftoolchain/libdwarf/ |
H A D | dwarf_lineno.c | 98 Dwarf_LineFile lf; local 145 for (i = 0, lf = STAILQ_FIRST(&li->li_lflist); 146 i < *srccount && lf != NULL; i++, lf = STAILQ_NEXT(lf, lf_next)) { 147 if (lf->lf_fullpath) 148 li->li_lfnarray[i] = lf->lf_fullpath; 150 li->li_lfnarray[i] = lf->lf_fname; 251 Dwarf_LineFile lf; local 262 for (i = 1, lf [all...] |
H A D | libdwarf_lineno.c | 35 Dwarf_LineFile lf; local 42 if ((lf = malloc(sizeof(struct _Dwarf_LineFile))) == NULL) { 47 lf->lf_fullpath = NULL; 48 lf->lf_fname = (char *) src; 49 src += strlen(lf->lf_fname) + 1; 50 lf->lf_dirndx = _dwarf_decode_uleb128(&src); 51 if (lf->lf_dirndx > li->li_inclen) { 52 free(lf); 58 if (*lf->lf_fname != '/') { 60 if (lf 258 Dwarf_LineFile lf, tlf; local 441 Dwarf_LineFile lf, tlf; local 640 Dwarf_LineFile lf; local 750 Dwarf_LineFile lf, tlf; local [all...] |
H A D | dwarf_pro_lineno.c | 162 Dwarf_LineFile lf; local 171 if ((lf = malloc(sizeof(struct _Dwarf_LineFile))) == NULL) { 176 if ((lf->lf_fname = strdup(name)) == NULL) { 177 free(lf); 181 lf->lf_dirndx = dirndx; 182 lf->lf_mtime = mtime; 183 lf->lf_size = size; 184 STAILQ_INSERT_TAIL(&li->li_lflist, lf, lf_next);
|
/freebsd-11.0-release/sys/powerpc/powerpc/ |
H A D | elf32_machdep.c | 175 elf_reloc_internal(linker_file_t lf, Elf_Addr relocbase, const void *data, argument 208 error = lookup(lf, symidx, 1, &addr); 211 *where = elf_relocaddr(lf, addr + addend); 215 error = lookup(lf, symidx, 1, &addr); 225 addr = elf_relocaddr(lf, addr + addend); 230 error = lookup(lf, symidx, 1, &addr); 240 addr = elf_relocaddr(lf, addr + addend); 246 *where = elf_relocaddr(lf, relocbase + addend); 291 elf_reloc(linker_file_t lf, Elf_Addr relocbase, const void *data, int type, argument 295 return (elf_reloc_internal(lf, relocbas 299 elf_reloc_local(linker_file_t lf, Elf_Addr relocbase, const void *data, int type, elf_lookup_fn lookup) argument 307 elf_cpu_load_file(linker_file_t lf) argument [all...] |
H A D | elf64_machdep.c | 252 elf_reloc_internal(linker_file_t lf, Elf_Addr relocbase, const void *data, argument 283 error = lookup(lf, symidx, 1, &addr); 291 *where = elf_relocaddr(lf, relocbase + addend); 295 lookup(lf, symidx, 1, &addr); 346 elf_reloc(linker_file_t lf, Elf_Addr relocbase, const void *data, int type, argument 350 return (elf_reloc_internal(lf, relocbase, data, type, 0, lookup)); 354 elf_reloc_local(linker_file_t lf, Elf_Addr relocbase, const void *data, argument 358 return (elf_reloc_internal(lf, relocbase, data, type, 1, lookup)); 362 elf_cpu_load_file(linker_file_t lf) argument 365 if (lf [all...] |
/freebsd-11.0-release/sys/mips/mips/ |
H A D | elf_machdep.c | 166 elf_reloc_internal(linker_file_t lf, Elf_Addr relocbase, const void *data, argument 215 error = lookup(lf, symidx, 1, &addr); 224 error = lookup(lf, symidx, 1, &addr); 243 error = lookup(lf, symidx, 1, &addr); 253 error = lookup(lf, symidx, 1, &addr); 268 error = lookup(lf, symidx, 1, &addr); 277 error = lookup(lf, symidx, 1, &addr); 294 error = lookup(lf, symidx, 1, &addr); 303 error = lookup(lf, symidx, 1, &addr); 321 elf_reloc(linker_file_t lf, Elf_Add argument 329 elf_reloc_local(linker_file_t lf, Elf_Addr relocbase, const void *data, int type, elf_lookup_fn lookup) argument [all...] |
/freebsd-11.0-release/sys/i386/i386/ |
H A D | elf_machdep.c | 171 elf_reloc_internal(linker_file_t lf, Elf_Addr relocbase, const void *data, argument 203 addr = elf_relocaddr(lf, relocbase + addend); 216 error = lookup(lf, symidx, 1, &addr); 225 error = lookup(lf, symidx, 1, &addr); 243 error = lookup(lf, symidx, 1, &addr); 262 elf_reloc(linker_file_t lf, Elf_Addr relocbase, const void *data, int type, argument 266 return (elf_reloc_internal(lf, relocbase, data, type, 0, lookup)); 270 elf_reloc_local(linker_file_t lf, Elf_Addr relocbase, const void *data, argument 274 return (elf_reloc_internal(lf, relocbase, data, type, 1, lookup)); 278 elf_cpu_load_file(linker_file_t lf __unuse [all...] |
/freebsd-11.0-release/sys/amd64/amd64/ |
H A D | elf_machdep.c | 159 elf_reloc_internal(linker_file_t lf, Elf_Addr relocbase, const void *data, argument 205 error = lookup(lf, symidx, 1, &addr); 214 error = lookup(lf, symidx, 1, &addr); 224 error = lookup(lf, symidx, 1, &addr); 244 error = lookup(lf, symidx, 1, &addr); 267 elf_reloc(linker_file_t lf, Elf_Addr relocbase, const void *data, int type, argument 271 return (elf_reloc_internal(lf, relocbase, data, type, 0, lookup)); 275 elf_reloc_local(linker_file_t lf, Elf_Addr relocbase, const void *data, argument 279 return (elf_reloc_internal(lf, relocbase, data, type, 1, lookup)); 283 elf_cpu_load_file(linker_file_t lf __unuse [all...] |
/freebsd-11.0-release/sys/cddl/dev/fbt/aarch64/ |
H A D | fbt_isa.c | 82 fbt_provide_module_function(linker_file_t lf, int symindx, argument 116 fbt->fbtp_ctl = lf; 117 fbt->fbtp_loadcnt = lf->loadcnt; 126 lf->fbt_nentries++; 161 fbt->fbtp_ctl = lf; 162 fbt->fbtp_loadcnt = lf->loadcnt; 173 lf->fbt_nentries++;
|
/freebsd-11.0-release/sys/cddl/dev/fbt/arm/ |
H A D | fbt_isa.c | 89 fbt_provide_module_function(linker_file_t lf, int symindx, argument 134 fbt->fbtp_ctl = lf; 135 fbt->fbtp_loadcnt = lf->loadcnt; 144 lf->fbt_nentries++; 185 fbt->fbtp_ctl = lf; 186 fbt->fbtp_loadcnt = lf->loadcnt; 197 lf->fbt_nentries++;
|
/freebsd-11.0-release/sys/cddl/dev/fbt/mips/ |
H A D | fbt_isa.c | 81 fbt_provide_module_function(linker_file_t lf, int symindx, argument 114 fbt->fbtp_ctl = lf; 115 fbt->fbtp_loadcnt = lf->loadcnt; 124 lf->fbt_nentries++; 152 fbt->fbtp_ctl = lf; 153 fbt->fbtp_loadcnt = lf->loadcnt; 161 lf->fbt_nentries++;
|
/freebsd-11.0-release/sys/cddl/dev/fbt/riscv/ |
H A D | fbt_isa.c | 81 fbt_provide_module_function(linker_file_t lf, int symindx, argument 115 fbt->fbtp_ctl = lf; 116 fbt->fbtp_loadcnt = lf->loadcnt; 125 lf->fbt_nentries++; 152 fbt->fbtp_ctl = lf; 153 fbt->fbtp_loadcnt = lf->loadcnt; 161 lf->fbt_nentries++;
|
/freebsd-11.0-release/contrib/bmake/ |
H A D | parse.c | 169 struct loadedfile *lf; /* loadedfile object, if any */ member in struct:IFile 396 struct loadedfile *lf; local 398 lf = bmake_malloc(sizeof(*lf)); 399 lf->path = (path == NULL ? "(stdin)" : path); 400 lf->buf = NULL; 401 lf->len = 0; 402 lf->maplen = 0; 403 lf->used = FALSE; 404 return lf; 408 loadedfile_destroy(struct loadedfile *lf) argument 429 struct loadedfile *lf = x; local 485 struct loadedfile *lf; local 2161 struct loadedfile *lf; local 2966 struct loadedfile *lf; local [all...] |
/freebsd-11.0-release/usr.sbin/lpr/lpc/ |
H A D | cmds.c | 82 static int kill_qtask(const char *lf); 286 kill_qtask(const char *lf) argument 293 fp = fopen(lf, "r"); 408 char lf[MAXPATHLEN]; local 410 lock_file_name(pp, lf, sizeof lf); 416 setres = set_qstate(SQS_STOPP, lf); 431 killres = kill_qtask(lf); 879 char lf[MAXPATHLEN]; local 881 lock_file_name(pp, lf, sizeo 894 char lf[MAXPATHLEN]; local 946 char lf[MAXPATHLEN]; local 972 char lf[MAXPATHLEN]; local 1015 char lf[MAXPATHLEN]; local 1046 char lf[MAXPATHLEN]; local 1133 char lf[MAXPATHLEN]; local 1316 char lf[MAXPATHLEN]; local [all...] |
/freebsd-11.0-release/contrib/diff/src/ |
H A D | sdiff.c | 359 lf_init (struct line_filter *lf, FILE *infile) 361 lf->infile = infile; 362 lf->bufpos = lf->buffer = lf->buflim = xmalloc (SDIFF_BUFSIZE + 1); 363 lf->buflim[0] = '\n'; 368 lf_refill (struct line_filter *lf) 370 size_t s = ck_fread (lf->buffer, SDIFF_BUFSIZE, lf->infile); 371 lf 358 lf_init(struct line_filter *lf, FILE *infile) argument 367 lf_refill(struct line_filter *lf) argument 379 lf_copy(struct line_filter *lf, lin lines, FILE *outfile) argument 405 lf_skip(struct line_filter *lf, lin lines) argument 425 lf_snarf(struct line_filter *lf, char *buffer, size_t bufsize) argument [all...] |