Home
last modified time | relevance | path

Searched refs:svc_req (Results 1 – 25 of 93) sorted by relevance

1234

/freebsd-12.1/sys/nlm/
H A Dnlm_prot_svc.c44 void nlm_prog_0(struct svc_req *rqstp, SVCXPRT *transp);
45 void nlm_prog_1(struct svc_req *rqstp, SVCXPRT *transp);
46 void nlm_prog_3(struct svc_req *rqstp, SVCXPRT *transp);
50 nlm_prog_0(struct svc_req *rqstp, SVCXPRT *transp) in nlm_prog_0()
58 bool_t (*local)(char *, void *, struct svc_req *); in nlm_prog_0()
98 nlm_prog_1(struct svc_req *rqstp, SVCXPRT *transp) in nlm_prog_1()
126 bool_t (*local)(char *, void *, struct svc_req *); in nlm_prog_1()
252 nlm_prog_3(struct svc_req *rqstp, SVCXPRT *transp) in nlm_prog_3()
267 bool_t (*local)(char *, void *, struct svc_req *); in nlm_prog_3()
345 nlm_prog_4(struct svc_req *rqstp, SVCXPRT *transp) in nlm_prog_4()
[all …]
H A Dnlm_prot.h319 extern bool_t nlm_test_res_1_svc(nlm_testres *, void *, struct svc_req *);
322 extern bool_t nlm_lock_res_1_svc(nlm_res *, void *, struct svc_req *);
325 extern bool_t nlm_cancel_res_1_svc(nlm_res *, void *, struct svc_req *);
328 extern bool_t nlm_unlock_res_1_svc(nlm_res *, void *, struct svc_req *);
331 extern bool_t nlm_granted_res_1_svc(nlm_res *, void *, struct svc_req *);
346 extern bool_t nlm_free_all_3_svc(nlm_notify *, void *, struct svc_req *);
385 extern bool_t nlm4_lock_res_4_svc(nlm4_res *, void *, struct svc_req *);
388 extern bool_t nlm4_cancel_res_4_svc(nlm4_res *, void *, struct svc_req *);
391 extern bool_t nlm4_unlock_res_4_svc(nlm4_res *, void *, struct svc_req *);
394 extern bool_t nlm4_granted_res_4_svc(nlm4_res *, void *, struct svc_req *);
[all …]
H A Dnlm_prot_server.c375 nlm_test_res_1_svc(nlm_testres *argp, void *result, struct svc_req *rqstp) in nlm_test_res_1_svc()
389 nlm_lock_res_1_svc(nlm_res *argp, void *result, struct svc_req *rqstp) in nlm_lock_res_1_svc()
398 nlm_cancel_res_1_svc(nlm_res *argp, void *result, struct svc_req *rqstp) in nlm_cancel_res_1_svc()
407 nlm_unlock_res_1_svc(nlm_res *argp, void *result, struct svc_req *rqstp) in nlm_unlock_res_1_svc()
416 nlm_granted_res_1_svc(nlm_res *argp, void *result, struct svc_req *rqstp) in nlm_granted_res_1_svc()
496 nlm_free_all_3_svc(nlm_notify *argp, void *result, struct svc_req *rqstp) in nlm_free_all_3_svc()
652 nlm4_lock_res_4_svc(nlm4_res *argp, void *result, struct svc_req *rqstp) in nlm4_lock_res_4_svc()
659 nlm4_cancel_res_4_svc(nlm4_res *argp, void *result, struct svc_req *rqstp) in nlm4_cancel_res_4_svc()
666 nlm4_unlock_res_4_svc(nlm4_res *argp, void *result, struct svc_req *rqstp) in nlm4_unlock_res_4_svc()
673 nlm4_granted_res_4_svc(nlm4_res *argp, void *result, struct svc_req *rqstp) in nlm4_granted_res_4_svc()
[all …]
H A Dsm_inter.h76 extern void sm_prog_1(struct svc_req *rqstp, SVCXPRT *transp);
79 extern struct sm_stat_res * sm_stat_1_svc(struct sm_name *, struct svc_req *);
82 extern struct sm_stat_res * sm_mon_1_svc(struct mon *, struct svc_req *);
85 extern struct sm_stat * sm_unmon_1_svc(struct mon_id *, struct svc_req *);
88 extern struct sm_stat * sm_unmon_all_1_svc(struct my_id *, struct svc_req *);
91 extern void * sm_simu_crash_1_svc(void *, struct svc_req *);
94 extern void * sm_notify_1_svc(struct stat_chge *, struct svc_req *);
H A Dnlm.h161 struct svc_req *rqstp, CLIENT **rpcp);
171 struct svc_req *rqstp, bool_t monitor, CLIENT **rpcp);
181 struct svc_req *rqstp, CLIENT **rpcp);
191 struct svc_req *rqstp, CLIENT **rpcp);
201 struct svc_req *rqstp, CLIENT **rpcp);
207 extern void nlm_do_granted_res(nlm4_res *argp, struct svc_req *rqstp);
/freebsd-12.1/contrib/amd/amd/
H A Dnfs_prot_svc.c47 extern voidp nfsproc_null_2_svc(voidp, struct svc_req *);
50 extern voidp nfsproc_root_2_svc(voidp, struct svc_req *);
53 extern nfsreadres *nfsproc_read_2_svc(nfsreadargs *, struct svc_req *);
54 extern voidp nfsproc_writecache_2_svc(voidp, struct svc_req *);
57 extern nfsstat *nfsproc_remove_2_svc(nfsdiropargs *, struct svc_req *);
58 extern nfsstat *nfsproc_rename_2_svc(nfsrenameargs *, struct svc_req *);
59 extern nfsstat *nfsproc_link_2_svc(nfslinkargs *, struct svc_req *);
62 extern nfsstat *nfsproc_rmdir_2_svc(nfsdiropargs *, struct svc_req *);
71 typedef char *(*nfssvcproc_t)(voidp, struct svc_req *);
75 nfs_program_2(struct svc_req *rqstp, SVCXPRT *transp) in nfs_program_2()
[all …]
H A Damq_subr.c55 amqproc_null_1_svc(voidp argp, struct svc_req *rqstp) in amqproc_null_1_svc()
67 amqproc_mnttree_1_svc(voidp argp, struct svc_req *rqstp) in amqproc_mnttree_1_svc()
80 amqproc_umnt_1_svc(voidp argp, struct svc_req *rqstp) in amqproc_umnt_1_svc()
148 amqproc_stats_1_svc(voidp argp, struct svc_req *rqstp) in amqproc_stats_1_svc()
158 amqproc_export_1_svc(voidp argp, struct svc_req *rqstp) in amqproc_export_1_svc()
172 amqproc_setopt_1_svc(voidp argp, struct svc_req *rqstp) in amqproc_setopt_1_svc()
216 amqproc_getmntfs_1_svc(voidp argp, struct svc_req *rqstp) in amqproc_getmntfs_1_svc()
223 amqproc_getmapinfo_1_svc(voidp argp, struct svc_req *rqstp) in amqproc_getmapinfo_1_svc()
229 amqproc_getvers_1_svc(voidp argp, struct svc_req *rqstp) in amqproc_getvers_1_svc()
240 amqproc_getpid_1_svc(voidp argp, struct svc_req *rqstp) in amqproc_getpid_1_svc()
[all …]
H A Damd.h255 typedef void (*dispatcher_t)(struct svc_req *rqstp, SVCXPRT *transp);
537 extern amq_mount_stats *amqproc_stats_1_svc(voidp argp, struct svc_req *rqstp);
540 extern amq_string *amqproc_getvers_1_svc(voidp argp, struct svc_req *rqstp);
541 extern amq_string *amqproc_pawd_1_svc(voidp argp, struct svc_req *rqstp);
542 extern int *amqproc_getpid_1_svc(voidp argp, struct svc_req *rqstp);
543 extern int *amqproc_mount_1_svc(voidp argp, struct svc_req *rqstp);
544 extern int *amqproc_setopt_1_svc(voidp argp, struct svc_req *rqstp);
545 extern voidp amqproc_null_1_svc(voidp argp, struct svc_req *rqstp);
546 extern int *amqproc_umnt_1_svc(voidp argp, struct svc_req *rqstp);
547 extern int *amqproc_sync_umnt_1_svc_parent(voidp argp, struct svc_req *rqstp);
[all …]
H A Dnfs_subr.c127 nfsproc_null_2_svc(voidp argp, struct svc_req *rqstp) in nfsproc_null_2_svc()
136 nfsproc_getattr_2_svc(am_nfs_fh *argp, struct svc_req *rqstp) in nfsproc_getattr_2_svc()
192 nfsproc_root_2_svc(voidp argp, struct svc_req *rqstp) in nfsproc_root_2_svc()
201 nfsproc_lookup_2_svc(nfsdiropargs *argp, struct svc_req *rqstp) in nfsproc_lookup_2_svc()
301 nfsproc_readlink_2_svc(am_nfs_fh *argp, struct svc_req *rqstp) in nfsproc_readlink_2_svc()
334 nfsproc_read_2_svc(nfsreadargs *argp, struct svc_req *rqstp) in nfsproc_read_2_svc()
346 nfsproc_writecache_2_svc(voidp argp, struct svc_req *rqstp) in nfsproc_writecache_2_svc()
355 nfsproc_write_2_svc(nfswriteargs *argp, struct svc_req *rqstp) in nfsproc_write_2_svc()
460 nfsproc_link_2_svc(nfslinkargs *argp, struct svc_req *rqstp) in nfsproc_link_2_svc()
540 nfsproc_statfs_2_svc(am_nfs_fh *argp, struct svc_req *rqstp) in nfsproc_statfs_2_svc()
[all …]
/freebsd-12.1/contrib/amd/hlfsd/
H A Dnfs_prot_svc.c47 extern voidp nfsproc_null_2_svc(voidp, struct svc_req *);
48 extern nfsattrstat *nfsproc_getattr_2_svc(am_nfs_fh *, struct svc_req *);
50 extern voidp nfsproc_root_2_svc(voidp, struct svc_req *);
53 extern nfsreadres *nfsproc_read_2_svc(nfsreadargs *, struct svc_req *);
54 extern voidp nfsproc_writecache_2_svc(voidp, struct svc_req *);
57 extern nfsstat *nfsproc_remove_2_svc(nfsdiropargs *, struct svc_req *);
58 extern nfsstat *nfsproc_rename_2_svc(nfsrenameargs *, struct svc_req *);
59 extern nfsstat *nfsproc_link_2_svc(nfslinkargs *, struct svc_req *);
62 extern nfsstat *nfsproc_rmdir_2_svc(nfsdiropargs *, struct svc_req *);
70 typedef char *(*nfssvcproc_t)(voidp, struct svc_req *);
[all …]
H A Dstubs.c88 nfsproc_null_2_svc(voidp argp, struct svc_req *rqstp) in nfsproc_null_2_svc()
105 nfsproc_getattr_2_svc(am_nfs_fh *argp, struct svc_req *rqstp) in nfsproc_getattr_2_svc()
189 nfsproc_root_2_svc(voidp argp, struct svc_req *rqstp) in nfsproc_root_2_svc()
198 nfsproc_lookup_2_svc(nfsdiropargs *argp, struct svc_req *rqstp) in nfsproc_lookup_2_svc()
299 nfsproc_readlink_2_svc(am_nfs_fh *argp, struct svc_req *rqstp) in nfsproc_readlink_2_svc()
385 nfsproc_read_2_svc(nfsreadargs *argp, struct svc_req *rqstp) in nfsproc_read_2_svc()
394 nfsproc_writecache_2_svc(voidp argp, struct svc_req *rqstp) in nfsproc_writecache_2_svc()
403 nfsproc_write_2_svc(nfswriteargs *argp, struct svc_req *rqstp) in nfsproc_write_2_svc()
439 nfsproc_link_2_svc(nfslinkargs *argp, struct svc_req *rqstp) in nfsproc_link_2_svc()
466 nfsproc_rmdir_2_svc(nfsdiropargs *argp, struct svc_req *rqstp) in nfsproc_rmdir_2_svc()
[all …]
/freebsd-12.1/usr.sbin/ypserv/
H A Dyp_server.c76 ypproc_null_2_svc(void *argp, struct svc_req *rqstp) in ypproc_null_2_svc()
82 if (yp_access(NULL, NULL, (struct svc_req *)rqstp)) in ypproc_null_2_svc()
84 if (yp_access(NULL, (struct svc_req *)rqstp)) in ypproc_null_2_svc()
99 if (yp_access(NULL, NULL, (struct svc_req *)rqstp)) {
101 if (yp_access(NULL, (struct svc_req *)rqstp)) {
121 if (yp_access(NULL, NULL, (struct svc_req *)rqstp))
123 if (yp_access(NULL, (struct svc_req *)rqstp))
146 if (yp_access(argp->map, (struct svc_req *)rqstp)) {
217 if (yp_access(argp->map, (struct svc_req *)rqstp)) {
435 if (yp_access(NULL, (struct svc_req *)rqstp))
[all …]
H A Dyp_extern.h87 extern int yp_access(const char *, const char *, const struct svc_req *);
89 extern int yp_access(const char *, const struct svc_req *);
116 extern ypstat yp_async_lookup_name(struct svc_req *, char *, int);
117 extern ypstat yp_async_lookup_addr(struct svc_req *, char *, int);
/freebsd-12.1/sys/rpc/
H A Drpcb_prot.h497 extern void rpcbprog_3(struct svc_req *rqstp, SVCXPRT *transp);
500 extern bool_t * rpcbproc_set_3_svc(RPCB *, struct svc_req *);
503 extern bool_t * rpcbproc_unset_3_svc(RPCB *, struct svc_req *);
506 extern char ** rpcbproc_getaddr_3_svc(RPCB *, struct svc_req *);
509 extern rpcblist_ptr * rpcbproc_dump_3_svc(void *, struct svc_req *);
515 extern u_int * rpcbproc_gettime_3_svc(void *, struct svc_req *);
525 extern void rpcbprog_4(struct svc_req *rqstp, SVCXPRT *transp);
527 extern bool_t * rpcbproc_set_4_svc(RPCB *, struct svc_req *);
529 extern bool_t * rpcbproc_unset_4_svc(RPCB *, struct svc_req *);
531 extern char ** rpcbproc_getaddr_4_svc(RPCB *, struct svc_req *);
[all …]
H A Dsvc.h238 void (*sc_dispatch)(struct svc_req *, SVCXPRT *);
256 struct svc_req { struct
277 STAILQ_HEAD(svc_reqlist, svc_req); argument
396 struct svc_req { struct
521 void (*)(struct svc_req *, SVCXPRT *),
632 extern void svcerr_decode(struct svc_req *);
633 extern void svcerr_weakauth(struct svc_req *);
634 extern void svcerr_noproc(struct svc_req *);
637 extern void svcerr_noprog(struct svc_req *);
638 extern void svcerr_systemerr(struct svc_req *);
[all …]
H A Dsvc_auth.h50 extern enum auth_stat _authenticate(struct svc_req *, struct rpc_msg *);
53 enum auth_stat (*)(struct svc_req *, struct rpc_msg *),
54 int (*)(struct svc_req *, struct ucred **, int *));
56 extern int svc_auth_reg(int, enum auth_stat (*)(struct svc_req *,
61 extern int svc_getcred(struct svc_req *, struct ucred **, int *);
H A Dsvc_auth.c57 static enum auth_stat (*_svcauth_rpcsec_gss)(struct svc_req *,
59 static int (*_svcauth_rpcsec_gss_getcred)(struct svc_req *,
83 _authenticate(struct svc_req *rqst, struct rpc_msg *msg) in _authenticate()
146 _svcauth_null(struct svc_req *rqst, struct rpc_msg *msg) in _svcauth_null()
155 enum auth_stat (*svcauth)(struct svc_req *, struct rpc_msg *), in svc_auth_reg() argument
156 int (*getcred)(struct svc_req *, struct ucred **, int *)) in svc_auth_reg() argument
167 svc_getcred(struct svc_req *rqst, struct ucred **crp, int *flavorp) in svc_getcred()
/freebsd-12.1/usr.sbin/rpcbind/
H A Drpcbind.h104 void *rpcbproc_getstat(void *, struct svc_req *, SVCXPRT *, rpcvers_t);
106 void rpcb_service_3(struct svc_req *, SVCXPRT *);
107 void rpcb_service_4(struct svc_req *, SVCXPRT *);
110 void *rpcbproc_set_com(void *, struct svc_req *, SVCXPRT *, rpcvers_t);
111 void *rpcbproc_unset_com(void *, struct svc_req *, SVCXPRT *, rpcvers_t);
115 void *rpcbproc_getaddr_com(RPCB *, struct svc_req *, SVCXPRT *, rpcvers_t,
117 void *rpcbproc_gettime_com(void *, struct svc_req *, SVCXPRT *,
119 void *rpcbproc_uaddr2taddr_com(void *, struct svc_req *,
121 void *rpcbproc_taddr2uaddr_com(void *, struct svc_req *, SVCXPRT *,
124 void rpcbproc_callit_com(struct svc_req *, SVCXPRT *, rpcvers_t,
[all …]
H A Drpcb_svc_4.c56 static void *rpcbproc_getaddr_4_local(void *, struct svc_req *, SVCXPRT *,
58 static void *rpcbproc_getversaddr_4_local(void *, struct svc_req *, SVCXPRT *, rpcvers_t);
60 (void *, struct svc_req *, SVCXPRT *, rpcvers_t);
62 static void *rpcbproc_dump_4_local(void *, struct svc_req *, SVCXPRT *, rpcvers_t);
69 rpcb_service_4(struct svc_req *rqstp, SVCXPRT *transp) in rpcb_service_4()
80 void *(*local)(void *, struct svc_req *, SVCXPRT *, rpcvers_t); in rpcb_service_4()
263 rpcbproc_getaddr_4_local(void *arg, struct svc_req *rqstp, SVCXPRT *transp, in rpcbproc_getaddr_4_local()
293 rpcbproc_getversaddr_4_local(void *arg, struct svc_req *rqstp, SVCXPRT *transp, in rpcbproc_getversaddr_4_local()
321 rpcbproc_getaddrlist_4_local(void *arg, struct svc_req *rqstp __unused, in rpcbproc_getaddrlist_4_local()
450 rpcbproc_dump_4_local(void *arg __unused, struct svc_req *req __unused, in rpcbproc_dump_4_local()
H A Drpcb_svc.c58 static void *rpcbproc_getaddr_3_local(void *, struct svc_req *, SVCXPRT *,
60 static void *rpcbproc_dump_3_local(void *, struct svc_req *, SVCXPRT *,
68 rpcb_service_3(struct svc_req *rqstp, SVCXPRT *transp) in rpcb_service_3()
80 void *(*local)(void *, struct svc_req *, SVCXPRT *, rpcvers_t); in rpcb_service_3()
209 rpcbproc_getaddr_3_local(void *arg, struct svc_req *rqstp __unused, in rpcbproc_getaddr_3_local()
231 rpcbproc_dump_3_local(void *arg __unused, struct svc_req *rqstp __unused, in rpcbproc_dump_3_local()
H A Dpmap_svc.c65 static bool_t pmapproc_change(struct svc_req *, SVCXPRT *, u_long);
66 static bool_t pmapproc_getport(struct svc_req *, SVCXPRT *);
67 static bool_t pmapproc_dump(struct svc_req *, SVCXPRT *);
73 pmap_service(struct svc_req *rqstp, SVCXPRT *xprt) in pmap_service()
171 pmapproc_change(struct svc_req *rqstp __unused, SVCXPRT *xprt, unsigned long op) in pmapproc_change()
265 pmapproc_getport(struct svc_req *rqstp __unused, SVCXPRT *xprt) in pmapproc_getport()
346 pmapproc_dump(struct svc_req *rqstp __unused, SVCXPRT *xprt) in pmapproc_dump()
/freebsd-12.1/usr.sbin/rpc.lockd/
H A Dlock_proc.c69 static void log_from_addr(const char *, struct svc_req *);
81 log_from_addr(const char *fun_name, struct svc_req *req) in log_from_addr()
427 nlm_test_1_svc(nlm_testargs *arg, struct svc_req *rqstp) in nlm_test_1_svc()
514 nlm_lock_1_svc(nlm_lockargs *arg, struct svc_req *rqstp) in nlm_lock_1_svc()
565 nlm_cancel_1_svc(nlm_cancargs *arg, struct svc_req *rqstp) in nlm_cancel_1_svc()
724 nlm_lock_res_1_svc(nlm_res *arg, struct svc_req *rqstp) in nlm_lock_res_1_svc()
753 nlm_unlock_res_1_svc(nlm_res *arg, struct svc_req *rqstp) in nlm_unlock_res_1_svc()
792 nlm_share_3_svc(nlm_shareargs *arg, struct svc_req *rqstp) in nlm_share_3_svc()
877 nlm4_test_4_svc(nlm4_testargs *arg, struct svc_req *rqstp) in nlm4_test_4_svc()
973 nlm4_lock_4_svc(nlm4_lockargs *arg, struct svc_req *rqstp) in nlm4_lock_4_svc()
[all …]
/freebsd-12.1/libexec/rpc.rusersd/
H A Drusers_proc.c190 rusers_num(void *argp __unused, struct svc_req *rqstp __unused) in rusers_num()
229 rusersproc_names_2_svc(void *argp __unused, struct svc_req *rqstp __unused) in rusersproc_names_2_svc()
236 rusersproc_allnames_2_svc(void *argp __unused, struct svc_req *rqstp __unused) in rusersproc_allnames_2_svc()
243 rusersproc_names_1_svc(void *argp __unused, struct svc_req *rqstp __unused) in rusersproc_names_1_svc()
250 rusersproc_allnames_1_svc(void *argp __unused, struct svc_req *rqstp __unused) in rusersproc_allnames_1_svc()
256 typedef void *(*rusersproc_t)(void *, struct svc_req *);
259 rusers_service(struct svc_req *rqstp, SVCXPRT *transp) in rusers_service()
/freebsd-12.1/libexec/rpc.rquotad/
H A Drquotad.c36 static void rquota_service_1(struct svc_req *request, SVCXPRT *transp);
37 static void rquota_service_2(struct svc_req *request, SVCXPRT *transp);
38 static void sendquota(struct svc_req *request, SVCXPRT *transp);
39 static void sendquota_extended(struct svc_req *request, SVCXPRT *transp);
129 rquota_service_2(struct svc_req *request, SVCXPRT *transp) in rquota_service_2()
149 rquota_service_1(struct svc_req *request, SVCXPRT *transp) in rquota_service_1()
170 sendquota(struct svc_req *request, SVCXPRT *transp) in sendquota()
222 sendquota_extended(struct svc_req *request, SVCXPRT *transp) in sendquota_extended()
/freebsd-12.1/usr.sbin/ypldap/
H A Dyp.c49 void yp_dispatch(struct svc_req *, SVCXPRT *);
52 int yp_check(struct svc_req *);
138 yp_dispatch(struct svc_req *req, SVCXPRT *trans) in yp_dispatch()
143 char *(*cb)(char *, struct svc_req *); in yp_dispatch()
269 yp_check(struct svc_req *req) in yp_check()
295 ypproc_domain_2_svc(domainname *arg, struct svc_req *req) in ypproc_domain_2_svc()
317 ypproc_match_2_svc(ypreq_key *arg, struct svc_req *req) in ypproc_match_2_svc()
452 ypproc_first_2_svc(ypreq_nokey *arg, struct svc_req *req) in ypproc_first_2_svc()
479 ypproc_next_2_svc(ypreq_key *arg, struct svc_req *req) in ypproc_next_2_svc()
571 ypproc_all_2_svc(ypreq_nokey *arg, struct svc_req *req) in ypproc_all_2_svc()
[all …]

1234