| /freebsd/usr.sbin/rpcbind/ |
| H A D | rpcb_stat.c | 63 rpcbs_procinfo(rpcvers_t rtype, rpcproc_t proc) in rpcbs_procinfo() argument 65 switch (rtype + 2) { in rpcbs_procinfo() 82 inf[rtype].info[proc]++; in rpcbs_procinfo() 86 rpcbs_set(rpcvers_t rtype, bool_t success) in rpcbs_set() argument 88 if ((rtype >= RPCBVERS_STAT) || (success == FALSE)) in rpcbs_set() 90 inf[rtype].setinfo++; in rpcbs_set() 94 rpcbs_unset(rpcvers_t rtype, bool_t success) in rpcbs_unset() argument 96 if ((rtype >= RPCBVERS_STAT) || (success == FALSE)) in rpcbs_unset() 98 inf[rtype].unsetinfo++; in rpcbs_unset() 102 rpcbs_getaddr(rpcvers_t rtype, rpcprog_t prog, rpcvers_t vers, in rpcbs_getaddr() argument [all …]
|
| /freebsd/sys/dev/acpica/ |
| H A D | acpi_timer.c | 123 int rid, rtype; in acpi_timer_identify() local 140 rtype = SYS_RES_MEMORY; in acpi_timer_identify() 143 rtype = SYS_RES_IOPORT; in acpi_timer_identify() 151 if (bus_set_resource(dev, rtype, rid, rstart, rlen)) in acpi_timer_identify() 153 (rtype == SYS_RES_IOPORT) ? "port" : "mem", rstart, rlen); in acpi_timer_identify() 160 int rid, rtype; in acpi_timer_probe() local 169 rtype = SYS_RES_MEMORY; in acpi_timer_probe() 172 rtype = SYS_RES_IOPORT; in acpi_timer_probe() 178 acpi_timer_reg = bus_alloc_resource_any(dev, rtype, &rid, RF_ACTIVE); in acpi_timer_probe() 181 (rtype == SYS_RES_IOPORT) ? "port" : "mem", in acpi_timer_probe() [all …]
|
| /freebsd/include/ssp/ |
| H A D | ssp.h | 73 #define __ssp_redirect_raw_impl(rtype, fun, symbol, args) \ argument 74 rtype __ssp_real_(fun) args __RENAME(symbol); \ 75 __ssp_inline rtype fun args __RENAME(__ssp_protected_ ## fun); \ 76 __ssp_inline rtype fun args 78 #define __ssp_redirect_raw(rtype, fun, symbol, args, call, cond, bos, len) \ argument 79 __ssp_redirect_raw_impl(rtype, fun, symbol, args) { \ 85 #define __ssp_redirect(rtype, fun, args, call) \ argument 86 __ssp_redirect_raw(rtype, fun, fun, args, call, 1, __ssp_bos, __len) 87 #define __ssp_redirect0(rtype, fun, args, call) \ argument 88 __ssp_redirect_raw(rtype, fun, fun, args, call, 1, __ssp_bos0, __len)
|
| /freebsd/stand/common/ |
| H A D | reloc_elf.c | 55 Elf_Size rtype; in __elfN() local 68 rtype = ELF_R_TYPE(rel->r_info); in __elfN() 79 rtype = ELF_R_TYPE(rela->r_info); in __elfN() 107 switch (rtype) { in __elfN() 126 printf("\nunhandled relocation type %u\n", (u_int)rtype); in __elfN() 133 Elf_Size rtype, symidx; in __elfN() 143 rtype = ELF_R_TYPE(rel->r_info); in __elfN() 152 rtype = ELF_R_TYPE(rela->r_info); in __elfN() 171 switch (rtype) { in __elfN() 187 printf("\nunhandled relocation type %u\n", (u_int)rtype); in __elfN()
|
| /freebsd/sys/riscv/riscv/ |
| H A D | elf_machdep.c | 293 Elf_Size rtype, symidx; in elf_reloc_internal() local 311 rtype = ELF_R_TYPE(rela->r_info); in elf_reloc_internal() 320 switch (rtype) { in elf_reloc_internal() 333 (local ? 'l' : 'g'), reloctype_to_str(rtype), in elf_reloc_internal() 346 (local ? 'l' : 'g'), reloctype_to_str(rtype), in elf_reloc_internal() 355 (local ? 'l' : 'g'), reloctype_to_str(rtype), in elf_reloc_internal() 377 (local ? 'l' : 'g'), reloctype_to_str(rtype), in elf_reloc_internal() 407 (local ? 'l' : 'g'), reloctype_to_str(rtype), in elf_reloc_internal() 423 (local ? 'l' : 'g'), reloctype_to_str(rtype), in elf_reloc_internal() 438 (local ? 'l' : 'g'), reloctype_to_str(rtype), in elf_reloc_internal() [all …]
|
| /freebsd/lib/libkldelf/ |
| H A D | ef_amd64.c | 49 GElf_Size rtype, symidx; in ef_amd64_reloc() local 58 rtype = GELF_R_TYPE(rel->r_info); in ef_amd64_reloc() 65 rtype = GELF_R_TYPE(rela->r_info); in ef_amd64_reloc() 77 switch (rtype) { in ef_amd64_reloc() 88 switch (rtype) { in ef_amd64_reloc() 108 warnx("unhandled relocation type %d", (int)rtype); in ef_amd64_reloc()
|
| H A D | ef_arm.c | 50 GElf_Size rtype, symidx; in ef_arm_reloc() local 59 rtype = GELF_R_TYPE(rel->r_info); in ef_arm_reloc() 66 rtype = GELF_R_TYPE(rela->r_info); in ef_arm_reloc() 79 switch (rtype) { in ef_arm_reloc() 89 warnx("unhandled relocation type %d", (int)rtype); in ef_arm_reloc()
|
| H A D | ef_i386.c | 49 GElf_Size rtype, symidx; in ef_i386_reloc() local 58 rtype = GELF_R_TYPE(rel->r_info); in ef_i386_reloc() 65 rtype = GELF_R_TYPE(rela->r_info); in ef_i386_reloc() 78 switch (rtype) { in ef_i386_reloc() 92 warnx("unhandled relocation type %d", (int)rtype); in ef_i386_reloc()
|
| H A D | ef_riscv.c | 52 GElf_Size rtype, symidx; in ef_riscv_reloc() local 60 rtype = GELF_R_TYPE(rela->r_info); in ef_riscv_reloc() 70 switch (rtype) { in ef_riscv_reloc() 80 warnx("unhandled relocation type %d", (int)rtype); in ef_riscv_reloc()
|
| H A D | ef_aarch64.c | 47 GElf_Size rtype, symidx; in ef_aarch64_reloc() local 55 rtype = GELF_R_TYPE(rela->r_info); in ef_aarch64_reloc() 65 switch (rtype) { in ef_aarch64_reloc() 75 warnx("unhandled relocation type %d", (int)rtype); in ef_aarch64_reloc()
|
| H A D | ef_powerpc.c | 49 GElf_Size rtype, symidx; in ef_ppc_reloc() local 57 rtype = GELF_R_TYPE(rela->r_info); in ef_ppc_reloc() 67 switch (rtype) { in ef_ppc_reloc() 90 warnx("unhandled relocation type %d", (int)rtype); in ef_ppc_reloc()
|
| /freebsd/usr.sbin/moused/msconvd/ |
| H A D | msconvd.c | 358 int rtype; /* MOUSE_PROTO_XXX */ member 373 .rtype = MOUSE_PROTO_UNKNOWN, 534 rodent.rtype = MOUSE_PROTO_UNKNOWN; in main() 541 rodent.rtype = i; in main() 559 switch(rodent.rtype) { in main() 598 r_name(rodent.rtype), r_model(rodent.hw.model)); in main() 604 printf("%s\n", r_name(rodent.rtype)); in main() 611 r_name(rodent.rtype), r_model(rodent.hw.model)); in main() 732 if (rodent.rtype == MOUSE_PROTO_X10MOUSEREM) in cleanup() 974 if (rodent.rtype != MOUSE_PROTO_UNKNOWN) in r_identify() [all …]
|
| /freebsd/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/lib/libc/gen/ |
| H A D | gen-compat.h | 63 #define COMPAT_SYSCALL(rtype, fun, args, sym, ver) \ argument 64 rtype fun args; __sym_compat(sym, fun, ver); 66 #define COMPAT_SYSCALL(rtype, fun, args, sym, ver) \ argument 67 rtype fun args;
|
| /freebsd/crypto/openssh/ |
| H A D | serverloop.c | 732 char *rtype = NULL; in server_input_global_request() local 744 if ((r = sshpkt_get_cstring(ssh, &rtype, NULL)) != 0 || in server_input_global_request() 747 debug_f("rtype %s want_reply %d", rtype, want_reply); in server_input_global_request() 750 if (strcmp(rtype, "tcpip-forward") == 0) { in server_input_global_request() 776 } else if (strcmp(rtype, "cancel-tcpip-forward") == 0) { in server_input_global_request() 787 } else if (strcmp(rtype, "streamlocal-forward@openssh.com") == 0) { in server_input_global_request() 805 } else if (strcmp(rtype, "cancel-streamlocal-forward@openssh.com") == 0) { in server_input_global_request() 812 } else if (strcmp(rtype, "no-more-sessions@openssh.com") == 0) { in server_input_global_request() 815 } else if (strcmp(rtype, "hostkeys-prove-00@openssh.com") == 0) { in server_input_global_request() 829 free(rtype); in server_input_global_request() [all …]
|
| H A D | ssh-sk-client.c | 143 u_int rtype, rerr; in client_converse() local 184 if ((r = sshbuf_get_u32(resp, &rtype)) != 0) { in client_converse() 188 if (rtype == SSH_SK_HELPER_ERROR) { in client_converse() 200 } else if (rtype != type) { in client_converse() 202 "expecting %u", rtype, type); in client_converse()
|
| /freebsd/sys/i386/i386/ |
| H A D | elf_machdep.c | 179 Elf_Word rtype, symidx; in elf_reloc_internal() local 189 rtype = ELF_R_TYPE(rel->r_info); in elf_reloc_internal() 196 rtype = ELF_R_TYPE(rela->r_info); in elf_reloc_internal() 204 if (rtype == R_386_RELATIVE) { /* A + B */ in elf_reloc_internal() 212 switch (rtype) { in elf_reloc_internal() 265 "symbol index %d\n", rtype, symidx); in elf_reloc_internal()
|
| /freebsd/sys/arm/arm/ |
| H A D | elf_machdep.c | 192 Elf_Word rtype, symidx; in elf_reloc_internal() local 202 rtype = ELF_R_TYPE(rel->r_info); in elf_reloc_internal() 209 rtype = ELF_R_TYPE(rela->r_info); in elf_reloc_internal() 217 if (rtype == R_ARM_RELATIVE) { /* A + B */ in elf_reloc_internal() 225 switch (rtype) { in elf_reloc_internal() 264 "symbol index %d\n", rtype, symidx);
|
| /freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/ |
| H A D | dt_print.c | 390 ctf_id_t rtype; in dt_print_array() local 399 (rtype = ctf_type_resolve(ctfp, car.ctr_contents)) == CTF_ERR || in dt_print_array() 400 (kind = ctf_type_kind(ctfp, rtype)) == CTF_ERR) { in dt_print_array() 409 ctf_type_encoding(ctfp, rtype, &e) != CTF_ERR && CTF_IS_CHAR(e)) { in dt_print_array() 607 ctf_id_t rtype; in dt_format_member() local 609 if ((rtype = ctf_type_resolve(ctfp, id)) == CTF_ERR || in dt_format_member() 610 (kind = ctf_type_kind(ctfp, rtype)) == CTF_ERR || in dt_format_member() 629 dt_printfuncs[kind - 1](rtype, off, pap); in dt_format_member() 651 ctf_id_t rtype; in dt_print_member() local 662 if ((rtype = ctf_type_resolve(ctfp, id)) == CTF_ERR || in dt_print_member() [all …]
|
| /freebsd/sbin/nvmecontrol/ |
| H A D | resv.c | 70 uint8_t rtype; member 76 .rtype = 0, 86 OPT("rtype", 't', arg_uint8, acquire_opt, rtype, 157 uint8_t rtype; member 162 .rtype = 0, 170 OPT("rtype", 't', arg_uint8, release_opt, rtype, 257 (acquire_opt.rtype << 8)); in resvacquire() 334 (release_opt.rtype << 8)); in resvrelease() 407 printf("Reservation Type: %u\n", s->rtype); in resvreport()
|
| /freebsd/sys/arm64/arm64/ |
| H A D | elf_machdep.c | 202 Elf_Word rtype, symidx; in elf_reloc_internal() local 212 rtype = ELF_R_TYPE(rel->r_info); in elf_reloc_internal() 219 rtype = ELF_R_TYPE(rela->r_info); in elf_reloc_internal() 229 if (rtype != R_AARCH64_IRELATIVE) in elf_reloc_internal() 234 if (rtype == R_AARCH64_RELATIVE) in elf_reloc_internal() 240 switch (rtype) { in elf_reloc_internal() 282 "symbol index %d\n", rtype, symidx); in elf_reloc_internal()
|
| /freebsd/sys/amd64/amd64/ |
| H A D | elf_machdep.c | 283 Elf_Size rtype, symidx; in elf_reloc_internal() local 292 rtype = ELF_R_TYPE(rel->r_info); in elf_reloc_internal() 295 switch (rtype) { in elf_reloc_internal() 310 rtype = ELF_R_TYPE(rela->r_info); in elf_reloc_internal() 320 if (rtype != R_X86_64_IRELATIVE) in elf_reloc_internal() 324 switch (rtype) { in elf_reloc_internal() 393 "symbol index %ld\n", rtype, symidx); in elf_reloc_internal()
|
| /freebsd/cddl/contrib/opensolaris/common/ctf/ |
| H A D | ctf_types.c | 706 ctf_type_cmp(ctf_file_t *lfp, ctf_id_t ltype, ctf_file_t *rfp, ctf_id_t rtype) in ctf_type_cmp() argument 710 if (ltype < rtype) in ctf_type_cmp() 712 else if (ltype > rtype) in ctf_type_cmp() 723 if (LCTF_TYPE_ISPARENT(rfp, rtype) && rfp->ctf_parent != NULL) in ctf_type_cmp() 743 ctf_file_t *rfp, ctf_id_t rtype) in ctf_type_compat() argument 750 if (ctf_type_cmp(lfp, ltype, rfp, rtype) == 0) in ctf_type_compat() 756 rtype = ctf_type_resolve(rfp, rtype); in ctf_type_compat() 757 rkind = ctf_type_kind(rfp, rtype); in ctf_type_compat() 761 (rtp = ctf_lookup_by_id(&rfp, rtype)) == NULL || in ctf_type_compat() 769 ctf_type_encoding(rfp, rtype, &re) == 0 && in ctf_type_compat() [all …]
|
| /freebsd/sys/cddl/contrib/opensolaris/uts/common/sys/ |
| H A D | procset.h | 137 #define setprocset(psp, op, ltype, lid, rtype, rid) \ argument 141 (psp)->p_ridtype = (rtype); \
|
| /freebsd/stand/libsa/ |
| H A D | tftp.c | 129 unsigned short rtype; /* Received type */ member 217 extra->rtype = ntohs(t->th_opcode); in recvtftp() 220 __func__, d->myport, d->xid, block, extra->rtype)); in recvtftp() 221 switch (extra->rtype) { in recvtftp() 300 DEBUG_PRINTF(0, ("tftp type %hu not handled\n", extra->rtype)); in recvtftp() 382 if (recv_extra.rtype == OACK) in tftp_makereq() 388 switch (recv_extra.rtype) { in tftp_makereq()
|