Home
last modified time | relevance | path

Searched refs:rtype (Results 1 – 25 of 72) sorted by relevance

123

/freebsd/usr.sbin/rpcbind/
H A Drpcb_stat.c60 rpcbs_procinfo(rpcvers_t rtype, rpcproc_t proc) in rpcbs_procinfo() argument
62 switch (rtype + 2) { in rpcbs_procinfo()
79 inf[rtype].info[proc]++; in rpcbs_procinfo()
83 rpcbs_set(rpcvers_t rtype, bool_t success) in rpcbs_set() argument
85 if ((rtype >= RPCBVERS_STAT) || (success == FALSE)) in rpcbs_set()
87 inf[rtype].setinfo++; in rpcbs_set()
91 rpcbs_unset(rpcvers_t rtype, bool_t success) in rpcbs_unset() argument
93 if ((rtype >= RPCBVERS_STAT) || (success == FALSE)) in rpcbs_unset()
95 inf[rtype].unsetinfo++; in rpcbs_unset()
99 rpcbs_getaddr(rpcvers_t rtype, rpcprog_t prog, rpcvers_t vers, char *netid, in rpcbs_getaddr() argument
[all …]
/freebsd/sys/dev/acpica/
H A Dacpi_timer.c120 int rid, rtype; in acpi_timer_identify() local
137 rtype = SYS_RES_MEMORY; in acpi_timer_identify()
140 rtype = SYS_RES_IOPORT; in acpi_timer_identify()
148 if (bus_set_resource(dev, rtype, rid, rstart, rlen)) in acpi_timer_identify()
150 (rtype == SYS_RES_IOPORT) ? "port" : "mem", rstart, rlen); in acpi_timer_identify()
157 int rid, rtype; in acpi_timer_probe() local
166 rtype = SYS_RES_MEMORY; in acpi_timer_probe()
169 rtype = SYS_RES_IOPORT; in acpi_timer_probe()
175 acpi_timer_reg = bus_alloc_resource_any(dev, rtype, &rid, RF_ACTIVE); in acpi_timer_probe()
178 (rtype == SYS_RES_IOPORT) ? "port" : "mem", in acpi_timer_probe()
[all …]
/freebsd/include/ssp/
H A Dssp.h73 #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 Dreloc_elf.c55 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 Delf_machdep.c293 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 Def_amd64.c49 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 Def_arm.c50 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 Def_i386.c49 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 Def_mips.c52 GElf_Size rtype, symidx; in ef_mips_reloc() local
61 rtype = GELF_R_TYPE(rel->r_info); in ef_mips_reloc()
68 rtype = GELF_R_TYPE(rela->r_info); in ef_mips_reloc()
92 switch (rtype) { in ef_mips_reloc()
108 warnx("unhandled relocation type %d", (int)rtype); in ef_mips_reloc()
H A Def_riscv.c52 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 Def_aarch64.c47 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 Def_powerpc.c49 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/contrib/ntp/libntp/
H A Dntp_worker.c162 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/crypto/openssh/
H A Dserverloop.c731 char *rtype = NULL; in server_input_global_request() local
743 if ((r = sshpkt_get_cstring(ssh, &rtype, NULL)) != 0 || in server_input_global_request()
746 debug_f("rtype %s want_reply %d", rtype, want_reply); in server_input_global_request()
749 if (strcmp(rtype, "tcpip-forward") == 0) { in server_input_global_request()
775 } else if (strcmp(rtype, "cancel-tcpip-forward") == 0) { in server_input_global_request()
786 } else if (strcmp(rtype, "streamlocal-forward@openssh.com") == 0) { in server_input_global_request()
804 } else if (strcmp(rtype, "cancel-streamlocal-forward@openssh.com") == 0) { in server_input_global_request()
811 } else if (strcmp(rtype, "no-more-sessions@openssh.com") == 0) { in server_input_global_request()
814 } else if (strcmp(rtype, "hostkeys-prove-00@openssh.com") == 0) { in server_input_global_request()
828 free(rtype); in server_input_global_request()
[all …]
H A Dssh-sk-client.c143 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/usr.sbin/moused/
H A Dmoused.c387 int rtype; /* MOUSE_PROTO_XXX */ member
414 .rtype = MOUSE_PROTO_UNKNOWN,
797 rodent.rtype = MOUSE_PROTO_UNKNOWN; in main()
804 rodent.rtype = i; in main()
844 switch(rodent.rtype) { in main()
883 r_name(rodent.rtype), r_model(rodent.hw.model)); in main()
889 printf("%s\n", r_name(rodent.rtype)); in main()
896 r_name(rodent.rtype), r_model(rodent.hw.model)); in main()
1331 if (rodent.rtype == MOUSE_PROTO_X10MOUSEREM) in cleanup()
1483 if (rodent.rtype ! in r_identify()
[all...]
/freebsd/sys/i386/i386/
H A Delf_machdep.c179 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 Delf_machdep.c190 Elf_Word rtype, symidx; in elf_reloc_internal() local
200 rtype = ELF_R_TYPE(rel->r_info); in elf_reloc_internal()
207 rtype = ELF_R_TYPE(rela->r_info); in elf_reloc_internal()
215 if (rtype == R_ARM_RELATIVE) { /* A + B */ in elf_reloc_internal()
223 switch (rtype) { in elf_reloc_internal()
256 "symbol index %d\n", rtype, symidx); in elf_reloc_internal()
/freebsd/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_print.c390 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 Dresv.c70 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 Delf_machdep.c184 Elf_Word rtype, symidx; in elf_reloc_internal() local
194 rtype = ELF_R_TYPE(rel->r_info); in elf_reloc_internal()
201 rtype = ELF_R_TYPE(rela->r_info); in elf_reloc_internal()
211 if (rtype != R_AARCH64_IRELATIVE) in elf_reloc_internal()
216 if (rtype == R_AARCH64_RELATIVE) in elf_reloc_internal()
222 switch (rtype) { in elf_reloc_internal()
264 "symbol index %d\n", rtype, symidx); in elf_reloc_internal()
/freebsd/sys/amd64/amd64/
H A Delf_machdep.c283 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 Dctf_types.c706 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 Dprocset.h137 #define setprocset(psp, op, ltype, lid, rtype, rid) \ argument
141 (psp)->p_ridtype = (rtype); \
/freebsd/tests/sys/netinet/
H A Digmp.py56 if r.rtype != 4:
59 if r.rtype != 3:

123