Lines Matching refs:rpcent

113 	struct rpcent	rpc;
118 NSS_TLS_HANDLING(rpcent);
125 static int wrap_getrpcbyname_r(union key, struct rpcent *, char *,
126 size_t, struct rpcent **);
127 static int wrap_getrpcbynumber_r(union key, struct rpcent *, char *,
128 size_t, struct rpcent **);
129 static int wrap_getrpcent_r(union key, struct rpcent *, char *,
130 size_t, struct rpcent **);
131 static struct rpcent *getrpc(int (*fn)(union key, struct rpcent *, char *,
132 size_t, struct rpcent **), union key);
141 rpcent_unpack(char *p, struct rpcent *rpc, char **r_aliases, in rpcent_unpack()
208 struct rpcent *rpc; in files_rpcent()
239 rpc = va_arg(ap, struct rpcent *); in files_rpcent()
328 *((struct rpcent **)retval) = rpc; in files_rpcent()
385 struct rpcent *rpc; in nis_rpcent()
420 rpc = va_arg(ap, struct rpcent *); in nis_rpcent()
566 *((struct rpcent **)retval) = rpc; in nis_rpcent()
656 struct rpcent *rpc; in rpc_marshal_func()
660 struct rpcent new_rpc; in rpc_marshal_func()
679 rpc = va_arg(ap, struct rpcent *); in rpc_marshal_func()
683 desired_size = _ALIGNBYTES + sizeof(struct rpcent) + sizeof(char *); in rpc_marshal_func()
708 p = buffer + sizeof(struct rpcent) + sizeof(char *); in rpc_marshal_func()
709 memcpy(buffer + sizeof(struct rpcent), &p, sizeof(char *)); in rpc_marshal_func()
733 memcpy(buffer, &new_rpc, sizeof(struct rpcent)); in rpc_marshal_func()
743 struct rpcent *rpc; in rpc_unmarshal_func()
765 rpc = va_arg(ap, struct rpcent *); in rpc_unmarshal_func()
771 buffer_size - sizeof(struct rpcent) - sizeof(char *)) { in rpc_unmarshal_func()
776 memcpy(rpc, buffer, sizeof(struct rpcent)); in rpc_unmarshal_func()
777 memcpy(&p, buffer + sizeof(struct rpcent), sizeof(char *)); in rpc_unmarshal_func()
780 memcpy(orig_buf, buffer + sizeof(struct rpcent) + sizeof(char *) + in rpc_unmarshal_func()
782 buffer_size - sizeof(struct rpcent) - sizeof(char *) - in rpc_unmarshal_func()
795 *((struct rpcent **)retval) = rpc; in rpc_unmarshal_func()
806 getrpcbyname_r(const char *name, struct rpcent *rpc, char *buffer, in getrpcbyname_r()
807 size_t bufsize, struct rpcent **result) in getrpcbyname_r()
839 getrpcbynumber_r(int number, struct rpcent *rpc, char *buffer, in getrpcbynumber_r()
840 size_t bufsize, struct rpcent **result) in getrpcbynumber_r()
872 getrpcent_r(struct rpcent *rpc, char *buffer, size_t bufsize, in getrpcent_r()
873 struct rpcent **result) in getrpcent_r()
915 wrap_getrpcbyname_r(union key key, struct rpcent *rpc, char *buffer, in wrap_getrpcbyname_r()
916 size_t bufsize, struct rpcent **res) in wrap_getrpcbyname_r()
922 wrap_getrpcbynumber_r(union key key, struct rpcent *rpc, char *buffer, in wrap_getrpcbynumber_r()
923 size_t bufsize, struct rpcent **res) in wrap_getrpcbynumber_r()
929 wrap_getrpcent_r(union key key __unused, struct rpcent *rpc, char *buffer, in wrap_getrpcent_r()
930 size_t bufsize, struct rpcent **res) in wrap_getrpcent_r()
935 static struct rpcent *
936 getrpc(int (*fn)(union key, struct rpcent *, char *, size_t, struct rpcent **), in getrpc() argument
940 struct rpcent *res; in getrpc()
976 struct rpcent *
986 struct rpcent *
996 struct rpcent *