| /freebsd-12.1/usr.sbin/rpcbind/ |
| H A D | rpcb_stat.c | 65 switch (rtype + 2) { in rpcbs_procinfo() 82 inf[rtype].info[proc]++; in rpcbs_procinfo() 87 rpcbs_set(rpcvers_t rtype, bool_t success) in rpcbs_set() argument 91 inf[rtype].setinfo++; in rpcbs_set() 100 inf[rtype].unsetinfo++; in rpcbs_unset() 111 if (rtype >= RPCBVERS_STAT) in rpcbs_getaddr() 144 al->next = inf[rtype].addrinfo; in rpcbs_getaddr() 145 inf[rtype].addrinfo = al; in rpcbs_getaddr() 155 if (rtype >= RPCBVERS_STAT) in rpcbs_rmtcall() 196 rl->next = inf[rtype].rmtinfo; in rpcbs_rmtcall() [all …]
|
| /freebsd-12.1/sys/sparc64/sparc64/ |
| H A D | elf_machdep.c | 349 Elf_Size rtype, symidx; in elf_reloc() local 364 if (rtype == R_SPARC_NONE || rtype == R_SPARC_RELATIVE) in elf_reloc() 367 if (rtype == R_SPARC_JMP_SLOT || rtype == R_SPARC_COPY || in elf_reloc() 373 if (RELOC_UNALIGNED(rtype)) { in elf_reloc() 380 if (RELOC_RESOLVE_SYMBOL(rtype)) { in elf_reloc() 385 if (RELOC_BARE_SYMBOL(rtype)) in elf_reloc() 389 if (rtype == R_SPARC_OLO10) in elf_reloc() 392 if (rtype == R_SPARC_HIX22) in elf_reloc() 395 if (RELOC_PC_RELATIVE(rtype)) in elf_reloc() 398 if (RELOC_BASE_RELATIVE(rtype)) in elf_reloc() [all …]
|
| /freebsd-12.1/sys/dev/acpica/ |
| H A D | acpi_timer.c | 126 int rid, rtype; in acpi_timer_identify() local 143 rtype = SYS_RES_MEMORY; in acpi_timer_identify() 146 rtype = SYS_RES_IOPORT; in acpi_timer_identify() 154 if (bus_set_resource(dev, rtype, rid, rstart, rlen)) in acpi_timer_identify() 164 int i, j, rid, rtype; in acpi_timer_probe() local 173 rtype = SYS_RES_MEMORY; in acpi_timer_probe() 176 rtype = SYS_RES_IOPORT; in acpi_timer_probe() 185 (rtype == SYS_RES_IOPORT) ? "port" : "mem", in acpi_timer_probe() 236 int rid, rtype; in acpi_timer_attach() local 242 rtype = SYS_RES_MEMORY; in acpi_timer_attach() [all …]
|
| /freebsd-12.1/stand/common/ |
| H A D | reloc_elf.c | 83 Elf_Size rtype, symidx; in __elfN() 93 rtype = ELF_R_TYPE(rel->r_info); in __elfN() 102 rtype = ELF_R_TYPE(rela->r_info); in __elfN() 120 switch (rtype) { in __elfN() 137 printf("\nunhandled relocation type %u\n", (u_int)rtype); in __elfN() 144 Elf_Size rtype, symidx; in __elfN() 154 rtype = ELF_R_TYPE(rel->r_info); in __elfN() 163 rtype = ELF_R_TYPE(rela->r_info); in __elfN() 182 switch (rtype) { in __elfN() 198 printf("\nunhandled relocation type %u\n", (u_int)rtype); in __elfN()
|
| /freebsd-12.1/sys/riscv/riscv/ |
| H A D | elf_machdep.c | 284 Elf_Size rtype, symidx; in elf_reloc_internal() local 311 switch (rtype) { in elf_reloc_internal() 330 reloctype_to_str(rtype), in elf_reloc_internal() 343 reloctype_to_str(rtype), in elf_reloc_internal() 368 reloctype_to_str(rtype), in elf_reloc_internal() 400 reloctype_to_str(rtype), in elf_reloc_internal() 416 reloctype_to_str(rtype), in elf_reloc_internal() 430 reloctype_to_str(rtype), in elf_reloc_internal() 444 reloctype_to_str(rtype), in elf_reloc_internal() 462 reloctype_to_str(rtype), in elf_reloc_internal() [all …]
|
| /freebsd-12.1/usr.sbin/kldxref/ |
| H A D | ef_amd64.c | 52 Elf_Size rtype, symidx; in ef_reloc() local 61 rtype = ELF_R_TYPE(rel->r_info); in ef_reloc() 68 rtype = ELF_R_TYPE(rela->r_info); in ef_reloc() 80 switch (rtype) { in ef_reloc() 91 switch (rtype) { in ef_reloc() 115 warnx("unhandled relocation type %d", (int)rtype); in ef_reloc()
|
| H A D | ef_i386.c | 50 Elf_Size rtype, symidx; in ef_reloc() local 60 rtype = ELF_R_TYPE(rel->r_info); in ef_reloc() 67 rtype = ELF_R_TYPE(rela->r_info); in ef_reloc() 80 switch (rtype) { in ef_reloc() 95 warnx("unhandled relocation type %d", (int)rtype); in ef_reloc()
|
| H A D | ef_powerpc.c | 51 Elf_Size rtype; in ef_reloc() local 60 rtype = ELF_R_TYPE(rela->r_info); in ef_reloc() 65 switch (rtype) { in ef_reloc() 70 warnx("unhandled relocation type %u", rtype); in ef_reloc()
|
| H A D | ef_aarch64.c | 49 Elf_Size rtype; in ef_reloc() local 58 rtype = ELF_R_TYPE(rela->r_info); in ef_reloc() 63 switch(rtype) { in ef_reloc() 70 warnx("unhandled relocation type %lu", rtype); in ef_reloc()
|
| H A D | ef_riscv.c | 51 Elf_Size rtype; in ef_reloc() local 59 rtype = ELF_R_TYPE(rela->r_info); in ef_reloc() 68 switch (rtype) { in ef_reloc() 75 warnx("unhandled relocation type %d", (int)rtype); in ef_reloc()
|
| /freebsd-12.1/contrib/binutils/gas/config/ |
| H A D | tc-cr16.c | 494 int rtype; in cr16_cons_fix_new() local 497 default: rtype = BFD_RELOC_NONE; break; in cr16_cons_fix_new() 503 rtype = BFD_RELOC_CR16_NUM32a; in cr16_cons_fix_new() 507 rtype = BFD_RELOC_CR16_NUM32; in cr16_cons_fix_new() 864 cr16_ins->rtype = BFD_RELOC_NONE; in process_label_constant() 949 cr16_ins->rtype = BFD_RELOC_CR16_DISP8; in process_label_constant() 951 cr16_ins->rtype = BFD_RELOC_CR16_DISP16; in process_label_constant() 953 cr16_ins->rtype = BFD_RELOC_CR16_DISP24; in process_label_constant() 961 cr16_ins->rtype = BFD_RELOC_CR16_ABS20; in process_label_constant() 963 cr16_ins->rtype = BFD_RELOC_CR16_ABS24; in process_label_constant() [all …]
|
| /freebsd-12.1/contrib/ntp/libntp/ |
| H A D | ntp_worker.c | 162 blocking_work_req rtype, in queue_blocking_request() argument 176 req_hdr.rtype = rtype; in queue_blocking_request() 222 resp->rtype = req->rtype; in queue_blocking_response() 253 (*resp->done_func)(resp->rtype, resp->context, in process_blocking_resp() 314 switch (req->rtype) { in blocking_child_common() 326 msyslog(LOG_ERR, "unknown req %d to blocking worker", req->rtype); in blocking_child_common()
|
| /freebsd-12.1/crypto/openssh/ |
| H A D | serverloop.c | 757 char *rtype; in server_input_global_request() local 766 rtype = packet_get_string(NULL); in server_input_global_request() 771 if (strcmp(rtype, "tcpip-forward") == 0) { in server_input_global_request() 800 } else if (strcmp(rtype, "cancel-tcpip-forward") == 0) { in server_input_global_request() 858 free(rtype); in server_input_global_request() 868 char *rtype; in server_input_channel_req() local 871 rtype = packet_get_string(NULL); in server_input_channel_req() 875 id, rtype, reply); in server_input_channel_req() 880 if (!strcmp(rtype, "[email protected]")) { in server_input_channel_req() 885 success = session_input_channel_req(ssh, c, rtype); in server_input_channel_req() [all …]
|
| /freebsd-12.1/sys/arm64/arm64/ |
| H A D | elf_machdep.c | 144 Elf_Word rtype, symidx; in elf_reloc_internal() local 154 rtype = ELF_R_TYPE(rel->r_info); in elf_reloc_internal() 161 rtype = ELF_R_TYPE(rela->r_info); in elf_reloc_internal() 169 if (rtype == R_AARCH64_RELATIVE) in elf_reloc_internal() 174 switch (rtype) { in elf_reloc_internal() 193 printf("kldload: unexpected relocation type %d\n", rtype); in elf_reloc_internal()
|
| /freebsd-12.1/contrib/binutils/bfd/ |
| H A D | elfxx-ia64.c | 196 PARAMS ((unsigned int rtype)); 483 lookup_howto (rtype) in lookup_howto() argument 484 unsigned int rtype; in lookup_howto() 498 if (rtype > R_IA64_MAX_RELOC_CODE) 500 i = elf_code_to_howto_index[rtype]; 511 unsigned int rtype; local 515 case BFD_RELOC_NONE: rtype = R_IA64_NONE; break; 517 case BFD_RELOC_IA64_IMM14: rtype = R_IA64_IMM14; break; 518 case BFD_RELOC_IA64_IMM22: rtype = R_IA64_IMM22; break; 587 case BFD_RELOC_IA64_COPY: rtype = R_IA64_COPY; break; [all …]
|
| /freebsd-12.1/usr.sbin/moused/ |
| H A D | moused.c | 431 .rtype = MOUSE_PROTO_UNKNOWN, 814 rodent.rtype = MOUSE_PROTO_UNKNOWN; in main() 821 rodent.rtype = i; in main() 861 switch(rodent.rtype) { in main() 865 rodent.rtype = MOUSE_PROTO_BUS; in main() 1544 return (rodent.rtype); in r_identify() 1546 return (rodent.rtype); in r_identify() 1583 return (rodent.rtype); in r_identify() 1662 switch (rodent.rtype) { in r_init() 1994 switch (rodent.rtype) { in r_protocol() [all …]
|
| /freebsd-12.1/sys/i386/i386/ |
| H A D | elf_machdep.c | 178 Elf_Word rtype, symidx; in elf_reloc_internal() local 188 rtype = ELF_R_TYPE(rel->r_info); in elf_reloc_internal() 195 rtype = ELF_R_TYPE(rela->r_info); in elf_reloc_internal() 203 if (rtype == R_386_RELATIVE) { /* A + B */ in elf_reloc_internal() 211 switch (rtype) { in elf_reloc_internal() 262 rtype); in elf_reloc_internal()
|
| /freebsd-12.1/sbin/nvmecontrol/ |
| H A D | resv.c | 72 uint8_t rtype; member 78 .rtype = 0, 88 OPT("rtype", 't', arg_uint8, acquire_opt, rtype, 159 uint8_t rtype; member 164 .rtype = 0, 172 OPT("rtype", 't', arg_uint8, release_opt, rtype, 258 (acquire_opt.rtype << 8)); in resvacquire() 333 (release_opt.rtype << 8)); in resvrelease() 405 printf("Reservation Type: %u\n", s->rtype); in resvreport()
|
| /freebsd-12.1/contrib/binutils/include/elf/ |
| H A D | reloc-macros.h | 72 static const char *name (unsigned long rtype); \ 74 name (unsigned long rtype) \ 76 switch (rtype) \
|
| /freebsd-12.1/sys/sparc64/isa/ |
| H A D | isa.c | 151 int i, ndrq, nintr, nreg, nregidx, rid, rtype; in isa_setup_children() local 200 rtype = ofw_isa_range_map(isab_ranges, isab_nrange, in isa_setup_children() 203 while (resource_list_find(rl, rtype, rid) != NULL) in isa_setup_children() 205 bus_set_resource(cdev, rtype, rid, start, in isa_setup_children() 224 rtype = ofw_isa_range_map(isab_ranges, in isa_setup_children() 227 while (resource_list_find(rl, rtype, in isa_setup_children() 230 bus_set_resource(cdev, rtype, rid, in isa_setup_children()
|
| /freebsd-12.1/sys/arm/arm/ |
| H A D | elf_machdep.c | 195 Elf_Word rtype, symidx; in elf_reloc_internal() local 205 rtype = ELF_R_TYPE(rel->r_info); in elf_reloc_internal() 212 rtype = ELF_R_TYPE(rela->r_info); in elf_reloc_internal() 220 if (rtype == R_ARM_RELATIVE) { /* A + B */ in elf_reloc_internal() 228 switch (rtype) { in elf_reloc_internal() 261 rtype); in elf_reloc_internal()
|
| /freebsd-12.1/sys/amd64/amd64/ |
| H A D | elf_machdep.c | 195 Elf_Size rtype, symidx; in elf_reloc_internal() local 204 rtype = ELF_R_TYPE(rel->r_info); in elf_reloc_internal() 207 switch (rtype) { in elf_reloc_internal() 222 rtype = ELF_R_TYPE(rela->r_info); in elf_reloc_internal() 229 switch (rtype) { in elf_reloc_internal() 298 rtype); in elf_reloc_internal()
|
| /freebsd-12.1/cddl/contrib/opensolaris/common/ctf/ |
| H A D | ctf_types.c | 565 if (ltype < rtype) in ctf_type_cmp() 567 else if (ltype > rtype) in ctf_type_cmp() 578 if (CTF_TYPE_ISPARENT(rtype) && rfp->ctf_parent != NULL) in ctf_type_cmp() 598 ctf_file_t *rfp, ctf_id_t rtype) in ctf_type_compat() argument 605 if (ctf_type_cmp(lfp, ltype, rfp, rtype) == 0) in ctf_type_compat() 611 rtype = ctf_type_resolve(rfp, rtype); in ctf_type_compat() 612 rkind = ctf_type_kind(rfp, rtype); in ctf_type_compat() 616 (rtp = ctf_lookup_by_id(&rfp, rtype)) == NULL || in ctf_type_compat() 625 ctf_type_encoding(rfp, rtype, &re) == 0 && in ctf_type_compat() 629 rfp, ctf_type_reference(rfp, rtype))); in ctf_type_compat() [all …]
|
| /freebsd-12.1/cddl/contrib/opensolaris/lib/libdtrace/common/ |
| H A D | dt_print.c | 377 ctf_id_t rtype; in dt_print_array() local 385 (rtype = ctf_type_resolve(ctfp, car.ctr_contents)) == CTF_ERR || in dt_print_array() 386 (kind = ctf_type_kind(ctfp, rtype)) == CTF_ERR) { in dt_print_array() 394 ctf_type_encoding(ctfp, rtype, &e) != CTF_ERR && CTF_IS_CHAR(e)) { in dt_print_array() 553 ctf_id_t rtype; in dt_print_member() local 564 if ((rtype = ctf_type_resolve(ctfp, id)) == CTF_ERR || in dt_print_member() 565 (kind = ctf_type_kind(ctfp, rtype)) == CTF_ERR || in dt_print_member() 629 dt_printfuncs[kind - 1](rtype, off, pap); in dt_print_member()
|
| /freebsd-12.1/sys/mips/mips/ |
| H A D | elf_machdep.c | 311 Elf_Word rtype = (Elf_Word)0, symidx; in elf_reloc_internal() local 324 rtype = ELF_R_TYPE(rel->r_info); in elf_reloc_internal() 326 switch (rtype) { in elf_reloc_internal() 340 rtype = ELF_R_TYPE(rela->r_info); in elf_reloc_internal() 347 switch (rtype) { in elf_reloc_internal() 509 rtype); in elf_reloc_internal()
|