Home
last modified time | relevance | path

Searched +full:rpc +full:- +full:if (Results 1 – 25 of 684) sorted by relevance

12345678910>>...28

/freebsd/sys/contrib/device-tree/Bindings/memory-controllers/
H A Drenesas,rpc-if.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/memory-controller
[all...]
/freebsd/share/doc/psd/23.rpc/
H A Drpc.prog.ms2 .\" Must use -- tbl and pic -- with this one
17 .IX "RPC Programming Guide"
22 the RPC mechanisms usually hidden by the
33 existing non-network application to run over the network, you may want to
39 section of that chapter contains the complete source for a working RPC
45 What are remote procedure calls? Simply put, they are the high-level
48 low-level networking mechanisms (such as TCP/IP and UDP/IP), and upon them
50 specifically for the support of network applications. With RPC, the client
56 \&Layers of RPC
57 .IX "layers of RPC"
[all …]
/freebsd/contrib/ofed/libibmad/
H A Dserv.c2 * Copyright (c) 2004-2009 Voltaire Inc. All rights reserved.
14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
34 #if HAVE_CONFIG_H
49 #define DEBUG if (ibdebug) IBWARN
51 int mad_send(ib_rpc_t * rpc, ib_portid_t * dport, ib_rmpp_hdr_t * rmpp, in mad_send() argument
54 return mad_send_via(rpc, dport, rmpp, data, ibmp); in mad_send()
57 int mad_send_via(ib_rpc_t * rpc, ib_portid_t * dport, ib_rmpp_hdr_t * rmpp, in mad_send_via() argument
67 if (mad_build_pkt(umad, rpc, dport, rmpp, data) < 0) in mad_send_via()
68 return -1; in mad_send_via()
[all …]
H A Dcc.c14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
34 #if HAVE_CONFIG_H
47 #define DEBUG if (ibdebug) IBWARN
54 ib_rpc_cc_t rpc = { 0 }; in cc_query_status_via() local
58 rpc.method = IB_MAD_METHOD_GET; in cc_query_status_via()
59 rpc.attr.id = attrid; in cc_query_status_via()
60 rpc.attr.mod = mod; in cc_query_status_via()
61 rpc.timeout = timeout; in cc_query_status_via()
62 if (attrid == IB_CC_ATTR_CONGESTION_LOG) { in cc_query_status_via()
[all …]
H A Dmad.c2 * Copyright (c) 2004-2009 Voltaire Inc. All rights reserved.
16 * - Redistributions of source code must retain the above
20 * - Redistributions in binary form must reproduce the above
36 #if HAVE_CONFIG_H
52 #define DEBUG if (ibdebug) IBWARN
66 if (!trid) { in mad_trid()
78 srcport->timeout ? srcport->timeout : madrpc_timeout); in mad_get_timeout()
83 return (srcport->retries ? srcport->retries : madrpc_retries); in mad_get_retries()
86 void *mad_encode(void *buf, ib_rpc_t * rpc, ib_dr_path_t * drpath, void *data) in mad_encode() argument
88 int is_resp = rpc->method & IB_MAD_RESPONSE; in mad_encode()
[all …]
H A Dgs.c2 * Copyright (c) 2004-2009 Voltaire Inc. All rights reserved.
15 * - Redistributions of source code must retain the above
19 * - Redistributions in binary form must reproduce the above
35 #if HAVE_CONFIG_H
48 #define DEBUG if (ibdebug) IBWARN
54 ib_rpc_v1_t rpc = { 0 }; in pma_query_via() local
55 ib_rpc_t *rpcold = (ib_rpc_t *)(void *)&rpc; in pma_query_via()
56 int lid = dest->lid; in pma_query_via()
61 if (lid == -1) { in pma_query_via()
66 rpc.mgtclass = IB_PERFORMANCE_CLASS | IB_MAD_RPC_VERSION1; in pma_query_via()
[all …]
H A Dsmp.c2 * Copyright (c) 2004-2009 Voltaire Inc. All rights reserved.
15 * - Redistributions of source code must retain the above
19 * - Redistributions in binary form must reproduce the above
35 #if HAVE_CONFIG_H
48 #define DEBUG if (ibdebug) IBWARN
52 srcport->smp_mkey = mkey; in smp_mkey_set()
57 return srcport->smp_mkey; in smp_mkey_get()
64 ib_rpc_t rpc = { 0 }; in smp_set_status_via() local
68 if ((portid->lid <= 0) || in smp_set_status_via()
69 (portid->drpath.drslid == 0xffff) || in smp_set_status_via()
[all …]
H A Drpc.c2 * Copyright (c) 2004-2009 Voltaire Inc. All rights reserved.
16 * - Redistributions of source code must retain the above
20 * - Redistributions in binary form must reproduce the above
36 #if HAVE_CONFIG_H
64 #define DEBUG if (ibdebug) IBWARN
66 if (iberrs || ibdebug) \
85 if (retries > 0) in madrpc_set_retries()
98 port->retries = retries; in mad_rpc_set_retries()
103 port->timeout = timeout; in mad_rpc_set_timeout()
113 return ibmp->port_id; in madrpc_portid()
[all …]
H A Dvendor.c2 * Copyright (c) 2004-2009 Voltaire Inc. All rights reserved.
15 * - Redistributions of source code must retain the above
19 * - Redistributions in binary form must reproduce the above
35 #if HAVE_CONFIG_H
49 #define DEBUG if (ibdebug) IBWARN
67 ib_rpc_v1_t rpc = { 0 }; in ib_vendor_call_via() local
68 ib_rpc_t *rpcold = (ib_rpc_t *)(void *)&rpc; in ib_vendor_call_via()
73 if (portid->lid <= 0) in ib_vendor_call_via()
76 if (!(range1 = mad_is_vendor_range1(call->mgmt_class)) && in ib_vendor_call_via()
77 !(mad_is_vendor_range2(call->mgmt_class))) in ib_vendor_call_via()
[all …]
H A Dbm.c2 * Copyright (c) 2004-2009 Voltaire Inc. All rights reserved.
14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
34 #if HAVE_CONFIG_H
43 #define DEBUG if (ibdebug) IBWARN
54 ib_rpc_t rpc = { 0 }; in bm_call_via() local
63 if (portid->lid <= 0) { in bm_call_via()
68 resp_expected = response_expected(call->method); in bm_call_via()
70 rpc.mgtclass = IB_BOARD_MGMT_CLASS; in bm_call_via()
72 rpc.method = call->method; in bm_call_via()
[all …]
/freebsd/lib/libc/tests/nss/
H A Dgetrpc_test.c1 /*-
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29 #include <rpc/rpc.h>
37 #include <atf-c.h>
86 if (src->r_name != NULL) { in IMPLEMENT_TEST_FILE_SNAPSHOT()
87 dest->r_name = strdup(src->r_name); in IMPLEMENT_TEST_FILE_SNAPSHOT()
88 ATF_REQUIRE(dest->r_name != NULL); in IMPLEMENT_TEST_FILE_SNAPSHOT()
91 dest->r_number = src->r_number; in IMPLEMENT_TEST_FILE_SNAPSHOT()
93 if (src->r_aliases != NULL) { in IMPLEMENT_TEST_FILE_SNAPSHOT()
95 for (cp = src->r_aliases; *cp; ++cp) in IMPLEMENT_TEST_FILE_SNAPSHOT()
[all …]
/freebsd/lib/libc/rpc/
H A Drpc_soc.382 .Bf -symbolic
87 functions described in this page are the old, TS-RPC
88 interface to the XDR and RPC library, and exist for backward compatibility.
91 .Xr rpc 3 .
104 .Tn RPC ( DES
108 .Tn RPC
109 can be used only if
113 .Bl -tag -width indent -compact
138 .Tn RPC
143 .Tn RPC .
[all …]
H A Dgetrpcent.c3 /*-
4 * SPDX-License-Identifier: BSD-3-Clause
11 * - Redistributions of source code must retain the above copyright notice,
13 * - Redistributions in binary form must reproduce the above copyright notice,
16 * - Neither the name of Sun Microsystems, Inc. nor the names of its
29 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
48 #include <rpc/rpc.h>
56 #include "un-namespace.h"
63 #define RPCDB "/etc/rpc"
113 struct rpcent rpc; member
[all …]
H A Dclnt_perror.c4 /*-
5 * SPDX-License-Identifier: BSD-3-Clause
12 * - Redistributions of source code must retain the above copyright notice,
14 * - Redistributions in binary form must reproduce the above copyright notice,
17 * - Neither the name of Sun Microsystems, Inc. nor the names of its
30 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
46 #include <rpc/rpc.h>
47 #include <rpc/types.h>
48 #include <rpc/auth.h>
49 #include <rpc/clnt.h>
[all …]
H A Drpc_svc_reg.32 .\" Copyright (c) 1988 Sun Microsystems, Inc. - All Rights Reserved.
33 These routines are a part of the RPC
34 library which allows the RPC
40 When the RPC server receives a RPC request, the library invokes the
44 .Xr rpc 3
48 .Bl -tag -width XXXXX
56 with the RPC
75 .Xr rpc 3 .
76 This routine returns 0 if the registration succeeded,
77 \-1 otherwise.
[all …]
H A Dgetrpcent.312 .Nd get RPC entry
36 containing the broken-out
37 fields of a line in the rpc program number data base,
38 .Pa /etc/rpc :
39 .Bd -literal
41 char *r_name; /* name of server for this rpc program */
43 long r_number; /* rpc program number */
48 .Bl -tag -width r_aliases -offset indent
50 The name of the server for this rpc program.
52 A zero terminated list of alternate names for the rpc program.
[all …]
/freebsd/sys/nlm/
H A Dnlm_prot_server.c1 /*-
2 * SPDX-License-Identifier: BSD-2-Clause
26 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
51 dst->caller_name = src->caller_name; in nlm_convert_to_nlm4_lock()
52 dst->fh = src->fh; in nlm_convert_to_nlm4_lock()
53 dst->oh = src->oh; in nlm_convert_to_nlm4_lock()
54 dst->svid = src->svid; in nlm_convert_to_nlm4_lock()
55 dst->l_offset = src->l_offset; in nlm_convert_to_nlm4_lock()
56 dst->l_len = src->l_len; in nlm_convert_to_nlm4_lock()
63 dst->caller_name = src->caller_name; in nlm_convert_to_nlm4_share()
[all …]
/freebsd/contrib/ntp/sntp/libevent/
H A Devrpc.c2 * Copyright (c) 2000-2007 Niels Provos <provos@citi.umich.edu>
3 * Copyright (c) 2007-2012 Niels Provos and Nick Mathewson
25 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 #include "event2/event-config.h"
28 #include "evconfig-private.h"
58 #include "event2/rpc.h"
60 #include "evrpc-internal.h"
67 #include "util-internal.h"
68 #include "log-internal.h"
69 #include "mm-internal.h"
[all …]
/freebsd/contrib/libevent/
H A Devrpc.c2 * Copyright (c) 2000-2007 Niels Provos <provos@citi.umich.edu>
3 * Copyright (c) 2007-2012 Niels Provos and Nick Mathewson
25 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 #include "event2/event-config.h"
28 #include "evconfig-private.h"
58 #include "event2/rpc.h"
60 #include "evrpc-internal.h"
67 #include "util-internal.h"
68 #include "log-internal.h"
69 #include "mm-internal.h"
[all …]
/freebsd/contrib/ntp/sntp/libevent/include/event2/
H A Drpc.h2 * Copyright (c) 2006-2007 Niels Provos <provos@citi.umich.edu>
3 * Copyright (c) 2007-2012 Niels Provos and Nick Mathewson
25 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38 /** @file rpc.h
40 * This header files provides basic support for an RPC server and client.
42 * To support RPCs in a server, every supported RPC command needs to be
47 * SendCommand is the name of the RPC command.
49 * It contains all parameters relating to the SendCommand RPC. The
52 * contains the answer to the RPC.
54 * To register an RPC with an HTTP server, you need to first create an RPC
[all …]
/freebsd/contrib/libevent/include/event2/
H A Drpc.h2 * Copyright (c) 2006-2007 Niels Provos <provos@citi.umich.edu>
3 * Copyright (c) 2007-2012 Niels Provos and Nick Mathewson
25 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
38 /** @file rpc.h
40 * This header files provides basic support for an RPC server and client.
42 * To support RPCs in a server, every supported RPC command needs to be
47 * SendCommand is the name of the RPC command.
49 * It contains all parameters relating to the SendCommand RPC. The
52 * contains the answer to the RPC.
54 * To register an RPC with an HTTP server, you need to first create an RPC
[all …]
/freebsd/share/doc/psd/26.rpcrfc/
H A Drpc.rfc.ms2 .\" Must use -- tbl -- with this one
28 Sun's Remote Procedure Call (RPC) package. (The message protocol is
35 to and justification of RPC.
51 One program may deal with high-level applications such as file system
52 access control and locking. The other may deal with low-level file
58 \&The RPC Model
62 procedure in some well-specified location (such as a result
65 procedure are extracted from the well-specified location, and the
84 The RPC protocol makes no restrictions on the concurrency model
86 may choose to have RPC calls be asynchronous, so that the client may
[all …]
/freebsd/contrib/ofed/libibnetdisc/
H A Dquery_smp.c15 * - Redistributions of source code must retain the above
19 * - Redistributions in binary form must reproduce the above
35 #if HAVE_CONFIG_H
49 smp->qnext = NULL; in queue_smp()
50 if (!engine->smp_queue_head) { in queue_smp()
51 engine->smp_queue_head = smp; in queue_smp()
52 engine->smp_queue_tail = smp; in queue_smp()
54 engine->smp_queue_tail->qnext = smp; in queue_smp()
55 engine->smp_queue_tail = smp; in queue_smp()
61 ibnd_smp_t *head = engine->smp_queue_head; in get_smp()
[all …]
/freebsd/contrib/ofed/infiniband-diags/src/
H A Dibsysstat.c2 * Copyright (c) 2004-2009 Voltaire Inc. All rights reserved.
14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
34 #if HAVE_CONFIG_H
75 ib_rpc_t rpc = { 0 }; in server_respond() local
81 if (!(mad_addr = umad_get_mad_addr(umad))) in server_respond()
82 return -1; in server_respond()
86 rport.lid = ntohs(mad_addr->lid); in server_respond()
87 rport.qp = ntohl(mad_addr->qpn); in server_respond()
88 rport.qkey = ntohl(mad_addr->qkey); in server_respond()
[all …]
/freebsd/usr.sbin/rpcbind/
H A Drpcbind.88 .Nd universal addresses to RPC program number mapper
17 .Tn RPC
21 .Tn RPC
26 .Tn RPC
32 .Tn RPC
35 .Tn RPC
41 .Tn RPC
46 utility should be started before any other RPC service.
48 .Tn RPC
55 is started, it checks that certain name-t
[all...]

12345678910>>...28