| /netbsd-src/usr.sbin/rpc.lockd/ |
| H A D | lock_proc.c | 358 nlm_test_1_svc(nlm_testargs *arg, struct svc_req *rqstp) in nlm_test_1_svc() argument 366 log_from_addr("nlm_test", rqstp); in nlm_test_1_svc() 392 nlm_test_msg_1_svc(nlm_testargs *arg, struct svc_req *rqstp) in nlm_test_msg_1_svc() argument 406 log_from_addr("nlm_test_msg", rqstp); in nlm_test_msg_1_svc() 427 addr = svc_getrpccaller(rqstp->rq_xprt)->buf; in nlm_test_msg_1_svc() 448 nlm_lock_1_svc(nlm_lockargs *arg, struct svc_req *rqstp) in nlm_lock_1_svc() argument 460 log_from_addr("nlm_lock", rqstp); in nlm_lock_1_svc() 465 result.stat.stat = getlock(&arg4, rqstp, LOCK_MON); in nlm_lock_1_svc() 470 nlm_lock_msg_1_svc(nlm_lockargs *arg, struct svc_req *rqstp) in nlm_lock_msg_1_svc() argument 483 log_from_addr("nlm_lock_msg", rqstp); in nlm_lock_msg_1_svc() [all …]
|
| /netbsd-src/sys/fs/nfs/nlm/ |
| H A D | nlm_prot_svc.c | 44 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); 47 void nlm_prog_4(struct svc_req *rqstp, SVCXPRT *transp); 50 nlm_prog_0(struct svc_req *rqstp, SVCXPRT *transp) in nlm_prog_0() argument 60 switch (rqstp->rq_proc) { in nlm_prog_0() 62 (void) svc_sendreply(rqstp, in nlm_prog_0() 64 svc_freereq(rqstp); in nlm_prog_0() 74 svcerr_noproc(rqstp); in nlm_prog_0() 75 svc_freereq(rqstp); in nlm_prog_0() [all …]
|
| H A D | nlm_prot_server.c | 125 nlm_sm_notify_0_svc(struct nlm_sm_status *argp, void *result, struct svc_req *rqstp) in nlm_sm_notify_0_svc() argument 133 nlm_test_1_svc(struct nlm_testargs *argp, nlm_testres *result, struct svc_req *rqstp) in nlm_test_1_svc() argument 143 retval = nlm4_test_4_svc(&args4, &res4, rqstp); in nlm_test_1_svc() 157 nlm_lock_1_svc(struct nlm_lockargs *argp, nlm_res *result, struct svc_req *rqstp) in nlm_lock_1_svc() argument 170 retval = nlm4_lock_4_svc(&args4, &res4, rqstp); in nlm_lock_1_svc() 178 nlm_cancel_1_svc(struct nlm_cancargs *argp, nlm_res *result, struct svc_req *rqstp) in nlm_cancel_1_svc() argument 189 retval = nlm4_cancel_4_svc(&args4, &res4, rqstp); in nlm_cancel_1_svc() 197 nlm_unlock_1_svc(struct nlm_unlockargs *argp, nlm_res *result, struct svc_req *rqstp) in nlm_unlock_1_svc() argument 206 retval = nlm4_unlock_4_svc(&args4, &res4, rqstp); in nlm_unlock_1_svc() 214 nlm_granted_1_svc(struct nlm_testargs *argp, nlm_res *result, struct svc_req *rqstp) in nlm_granted_1_svc() argument [all …]
|
| H A D | nlm.h | 161 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);
|
| H A D | nlm_prot_impl.c | 1426 extern void nlm_prog_0(struct svc_req *rqstp, SVCXPRT *transp); 1427 extern void nlm_prog_1(struct svc_req *rqstp, SVCXPRT *transp); 1428 extern void nlm_prog_3(struct svc_req *rqstp, SVCXPRT *transp); 1429 extern void nlm_prog_4(struct svc_req *rqstp, SVCXPRT *transp); 1761 nlm_get_vfs_state(struct nlm_host *host, struct svc_req *rqstp, in nlm_get_vfs_state() argument 1795 if (!svc_getcred(rqstp, &cred, NULL)) { in nlm_get_vfs_state() 1863 nlm_do_test(nlm4_testargs *argp, nlm4_testres *result, struct svc_req *rqstp, in nlm_do_test() argument 1877 svc_getrpccaller(rqstp), rqstp->rq_vers); in nlm_do_test() 1898 error = nlm_get_vfs_state(host, rqstp, &fh, &vs, accmode); in nlm_do_test() 1961 nlm_do_lock(nlm4_lockargs *argp, nlm4_res *result, struct svc_req *rqstp, in nlm_do_lock() argument [all …]
|
| /netbsd-src/external/bsd/am-utils/dist/amq/ |
| H A D | amq.h | 49 extern voidp amqproc_null_1(voidp argp, CLIENT *rqstp); 50 extern amq_mount_tree_p *amqproc_mnttree_1(amq_string *argp, CLIENT *rqstp); 51 extern voidp amqproc_umnt_1(amq_string *argp, CLIENT *rqstp); 52 extern amq_sync_umnt *amqproc_sync_umnt_1(amq_string *argp, CLIENT *rqstp); 53 extern amq_mount_stats *amqproc_stats_1(voidp argp, CLIENT *rqstp); 54 extern amq_mount_tree_list *amqproc_export_1(voidp argp, CLIENT *rqstp); 55 extern int *amqproc_setopt_1(amq_setopt *argp, CLIENT *rqstp); 56 extern amq_mount_info_list *amqproc_getmntfs_1(voidp argp, CLIENT *rqstp); 57 extern amq_map_info_list *amqproc_getmapinfo_1(voidp argp, CLIENT *rqstp); 58 extern int *amqproc_mount_1(voidp argp, CLIENT *rqstp); [all …]
|
| /netbsd-src/usr.sbin/ypserv/ypserv/ |
| H A D | ypserv_proc.c | 81 ypproc_null_2_svc(void *argp, struct svc_req *rqstp) in ypproc_null_2_svc() argument 92 ypproc_domain_2_svc(void *argp, struct svc_req *rqstp) in ypproc_domain_2_svc() argument 100 svcerr_auth(rqstp->rq_xprt, AUTH_FAILED); in ypproc_domain_2_svc() 118 ypproc_domain_nonack_2_svc(void *argp, struct svc_req *rqstp) in ypproc_domain_nonack_2_svc() argument 126 svcerr_auth(rqstp->rq_xprt, AUTH_FAILED); in ypproc_domain_nonack_2_svc() 147 ypproc_match_2_svc(void *argp, struct svc_req *rqstp) in ypproc_match_2_svc() argument 150 struct sockaddr *caller = svc_getrpccaller(rqstp->rq_xprt)->buf; in ypproc_match_2_svc() 155 svcerr_auth(rqstp->rq_xprt, AUTH_FAILED); in ypproc_match_2_svc() 176 ypproc_first_2_svc(void *argp, struct svc_req *rqstp) in ypproc_first_2_svc() argument 179 struct sockaddr *caller = svc_getrpccaller(rqstp->rq_xprt)->buf; in ypproc_first_2_svc() [all …]
|
| H A D | ypserv.c | 115 ypprog_2(struct svc_req *rqstp, SVCXPRT *transp) in ypprog_2() argument 156 switch (rqstp->rq_proc) { in ypprog_2() 262 result = (*local)(&argument, rqstp); in ypprog_2() 279 ypprog_1(struct svc_req *rqstp, SVCXPRT *transp) in ypprog_1() argument 281 switch (rqstp->rq_proc) { in ypprog_1() 285 ypprog_2(rqstp, transp); in ypprog_1()
|
| /netbsd-src/external/bsd/am-utils/dist/libamu/ |
| H A D | amu.h | 68 extern voidp amqproc_null_1(voidp argp, CLIENT *rqstp); 69 extern amq_mount_tree_p *amqproc_mnttree_1(amq_string *argp, CLIENT *rqstp); 70 extern voidp amqproc_umnt_1(amq_string *argp, CLIENT *rqstp); 71 extern amq_mount_stats *amqproc_stats_1(voidp argp, CLIENT *rqstp); 72 extern amq_mount_tree_list *amqproc_export_1(voidp argp, CLIENT *rqstp); 73 extern int *amqproc_setopt_1(amq_setopt *argp, CLIENT *rqstp); 74 extern amq_mount_info_list *amqproc_getmntfs_1(voidp argp, CLIENT *rqstp); 75 extern int *amqproc_mount_1(voidp argp, CLIENT *rqstp); 76 extern amq_string *amqproc_getvers_1(voidp argp, CLIENT *rqstp);
|
| /netbsd-src/external/bsd/am-utils/dist/hlfsd/ |
| H A D | stubs.c | 90 nfsproc_null_2_svc(voidp argp, struct svc_req *rqstp) in nfsproc_null_2_svc() argument 107 nfsproc_getattr_2_svc(am_nfs_fh *argp, struct svc_req *rqstp) in nfsproc_getattr_2_svc() argument 123 if (getcreds(rqstp, &uid, &gid, nfsxprt) < 0) { in nfsproc_getattr_2_svc() 184 nfsproc_setattr_2_svc(nfssattrargs *argp, struct svc_req *rqstp) in nfsproc_setattr_2_svc() argument 193 nfsproc_root_2_svc(voidp argp, struct svc_req *rqstp) in nfsproc_root_2_svc() argument 202 nfsproc_lookup_2_svc(nfsdiropargs *argp, struct svc_req *rqstp) in nfsproc_lookup_2_svc() argument 224 if (getcreds(rqstp, &uid, &gid, nfsxprt) < 0) { in nfsproc_lookup_2_svc() 305 nfsproc_readlink_2_svc(am_nfs_fh *argp, struct svc_req *rqstp) in nfsproc_readlink_2_svc() argument 318 if (getcreds(rqstp, &userid, &groupid, nfsxprt) < 0) in nfsproc_readlink_2_svc() 337 if (getcreds(rqstp, &userid, &groupid, nfsxprt) < 0) { in nfsproc_readlink_2_svc() [all …]
|
| H A D | nfs_prot_svc.c | 76 nfs_program_2(struct svc_req *rqstp, SVCXPRT *transp) in nfs_program_2() argument 101 switch (rqstp->rq_proc) { in nfs_program_2() 228 (int) rqstp->rq_prog, (int) rqstp->rq_vers, (int) rqstp->rq_proc); in nfs_program_2() 232 result = (*local) (&argument, rqstp); in nfs_program_2()
|
| /netbsd-src/usr.sbin/rpcbind/ |
| H A D | rpcb_svc.c | 65 rpcb_service_3(struct svc_req *rqstp, SVCXPRT *transp) in rpcb_service_3() argument 79 rpcbs_procinfo(RPCBVERS_3_STAT, rqstp->rq_proc); in rpcb_service_3() 81 switch (rqstp->rq_proc) { in rpcb_service_3() 91 check_access(transp, rqstp->rq_proc, NULL, RPCBVERS); in rpcb_service_3() 124 rpcbproc_callit_com(rqstp, transp, rqstp->rq_proc, RPCBVERS); in rpcb_service_3() 169 if (!check_access(transp, rqstp->rq_proc, &argument, RPCBVERS)) { in rpcb_service_3() 173 result = (*local)(&argument, rqstp, transp, RPCBVERS); in rpcb_service_3() 206 rpcbproc_getaddr_3_local(void *arg, struct svc_req *rqstp __unused, in rpcbproc_getaddr_3_local() 222 return (rpcbproc_getaddr_com(regp, rqstp, transp, RPCBVERS, in rpcbproc_getaddr_3_local() 228 rpcbproc_dump_3_local(void *arg __unused, struct svc_req *rqstp __unused, in rpcbproc_dump_3_local()
|
| H A D | pmap_svc.c | 70 pmap_service(struct svc_req *rqstp, SVCXPRT *xprt) in pmap_service() argument 72 rpcbs_procinfo(RPCBVERS_2_STAT, rqstp->rq_proc); in pmap_service() 73 switch (rqstp->rq_proc) { in pmap_service() 82 check_access(xprt, rqstp->rq_proc, NULL, PMAPVERS); in pmap_service() 95 pmapproc_change(rqstp, xprt, rqstp->rq_proc); in pmap_service() 102 pmapproc_change(rqstp, xprt, rqstp->rq_proc); in pmap_service() 110 pmapproc_getport(rqstp, xprt); in pmap_service() 121 pmapproc_dump(rqstp, xprt); in pmap_service() 132 rpcbproc_callit_com(rqstp, xprt, PMAPPROC_CALLIT, PMAPVERS); in pmap_service() 168 pmapproc_change(struct svc_req *rqstp __unused, SVCXPRT *xprt, unsigned long op) in pmapproc_change() [all …]
|
| H A D | rpcb_svc_4.c | 69 rpcb_service_4(struct svc_req *rqstp, SVCXPRT *transp) in rpcb_service_4() argument 82 rpcbs_procinfo(RPCBVERS_4_STAT, rqstp->rq_proc); in rpcb_service_4() 84 switch (rqstp->rq_proc) { in rpcb_service_4() 93 check_access(transp, rqstp->rq_proc, NULL, RPCBVERS4); in rpcb_service_4() 148 rpcbproc_callit_com(rqstp, transp, rqstp->rq_proc, RPCBVERS4); in rpcb_service_4() 157 rpcbproc_callit_com(rqstp, transp, rqstp->rq_proc, RPCBVERS4); in rpcb_service_4() 222 if (!check_access(transp, rqstp->rq_proc, &argument, RPCBVERS4)) { in rpcb_service_4() 226 result = (*local)(&argument, rqstp, transp, RPCBVERS4); in rpcb_service_4() 262 rpcbproc_getaddr_4_local(void *arg, struct svc_req *rqstp, SVCXPRT *transp, in rpcbproc_getaddr_4_local() argument 278 return (rpcbproc_getaddr_com(regp, rqstp, transp, RPCBVERS4, in rpcbproc_getaddr_4_local() [all …]
|
| /netbsd-src/libexec/rpc.rstatd/ |
| H A D | rstat_proc.c | 122 rstatproc_stats_3_svc(void *arg, struct svc_req *rqstp) in rstatproc_stats_3_svc() argument 131 rstatproc_stats_2_svc(void *arg, struct svc_req *rqstp) in rstatproc_stats_2_svc() argument 141 rstatproc_stats_1_svc(void *arg, struct svc_req *rqstp) in rstatproc_stats_1_svc() argument 151 rstatproc_havedisk_3_svc(void *arg, struct svc_req *rqstp) in rstatproc_havedisk_3_svc() argument 163 rstatproc_havedisk_2_svc(void *arg, struct svc_req *rqstp) in rstatproc_havedisk_2_svc() argument 165 return (rstatproc_havedisk_3_svc(arg, rqstp)); in rstatproc_havedisk_2_svc() 169 rstatproc_havedisk_1_svc(void *arg, struct svc_req *rqstp) in rstatproc_havedisk_1_svc() argument 171 return (rstatproc_havedisk_3_svc(arg, rqstp)); in rstatproc_havedisk_1_svc() 292 rstat_service(struct svc_req *rqstp, SVCXPRT *transp) in rstat_service() argument 301 switch (rqstp->rq_proc) { in rstat_service() [all …]
|
| /netbsd-src/external/bsd/am-utils/dist/amd/ |
| H A D | amq_subr.c | 57 amqproc_null_1_svc(voidp argp, struct svc_req *rqstp) in amqproc_null_1_svc() argument 69 amqproc_mnttree_1_svc(voidp argp, struct svc_req *rqstp) in amqproc_mnttree_1_svc() argument 82 amqproc_umnt_1_svc(voidp argp, struct svc_req *rqstp) in amqproc_umnt_1_svc() argument 98 amqproc_sync_umnt_1_svc_parent(voidp argp, struct svc_req *rqstp) in amqproc_sync_umnt_1_svc_parent() argument 100 amqproc_umnt_1_svc(argp, rqstp); in amqproc_sync_umnt_1_svc_parent() 109 amqproc_sync_umnt_1_svc_child(voidp argp, struct svc_req *rqstp) in amqproc_sync_umnt_1_svc_child() argument 132 amqproc_sync_umnt_1_svc_async(voidp argp, struct svc_req *rqstp) in amqproc_sync_umnt_1_svc_async() argument 140 amqproc_umnt_1_svc(argp, rqstp); in amqproc_sync_umnt_1_svc_async() 150 amqproc_stats_1_svc(voidp argp, struct svc_req *rqstp) in amqproc_stats_1_svc() argument 160 amqproc_export_1_svc(voidp argp, struct svc_req *rqstp) in amqproc_export_1_svc() argument [all …]
|
| H A D | nfs_subr.c | 129 nfsproc_null_2_svc(voidp argp, struct svc_req *rqstp) in nfsproc_null_2_svc() argument 138 nfsproc_getattr_2_svc(am_nfs_fh *argp, struct svc_req *rqstp) in nfsproc_getattr_2_svc() argument 180 nfsproc_setattr_2_svc(nfssattrargs *argp, struct svc_req *rqstp) in nfsproc_setattr_2_svc() argument 194 nfsproc_root_2_svc(voidp argp, struct svc_req *rqstp) in nfsproc_root_2_svc() argument 203 nfsproc_lookup_2_svc(nfsdiropargs *argp, struct svc_req *rqstp) in nfsproc_lookup_2_svc() argument 215 if (getcreds(rqstp, &uid, &gid, nfsxprt) < 0) in nfsproc_lookup_2_svc() 303 nfsproc_readlink_2_svc(am_nfs_fh *argp, struct svc_req *rqstp) in nfsproc_readlink_2_svc() argument 336 nfsproc_read_2_svc(nfsreadargs *argp, struct svc_req *rqstp) in nfsproc_read_2_svc() argument 348 nfsproc_writecache_2_svc(voidp argp, struct svc_req *rqstp) in nfsproc_writecache_2_svc() argument 357 nfsproc_write_2_svc(nfswriteargs *argp, struct svc_req *rqstp) in nfsproc_write_2_svc() argument [all …]
|
| H A D | amd.h | 257 typedef void (*dispatcher_t)(struct svc_req *rqstp, SVCXPRT *transp); 538 extern amq_mount_info_list *amqproc_getmntfs_1_svc(voidp argp, struct svc_req *rqstp); 539 extern amq_mount_stats *amqproc_stats_1_svc(voidp argp, struct svc_req *rqstp); 540 extern amq_mount_tree_list *amqproc_export_1_svc(voidp argp, struct svc_req *rqstp); 541 extern amq_mount_tree_p *amqproc_mnttree_1_svc(voidp argp, struct svc_req *rqstp); 542 extern amq_string *amqproc_getvers_1_svc(voidp argp, struct svc_req *rqstp); 543 extern amq_string *amqproc_pawd_1_svc(voidp argp, struct svc_req *rqstp); 544 extern int *amqproc_getpid_1_svc(voidp argp, struct svc_req *rqstp); 545 extern int *amqproc_mount_1_svc(voidp argp, struct svc_req *rqstp); 546 extern int *amqproc_setopt_1_svc(voidp argp, struct svc_req *rqstp); [all …]
|
| H A D | nfs_prot_svc.c | 77 nfs_program_2(struct svc_req *rqstp, SVCXPRT *transp) in nfs_program_2() argument 122 sinp = amu_svc_getcaller(rqstp->rq_xprt); in nfs_program_2() 154 switch (rqstp->rq_proc) { in nfs_program_2() 281 (int) rqstp->rq_prog, (int) rqstp->rq_vers, (int) rqstp->rq_proc); in nfs_program_2() 285 result = (*local) (&argument, rqstp); in nfs_program_2() 303 nfs_program_3(struct svc_req *rqstp, register SVCXPRT *transp) in nfs_program_3() argument 332 switch (rqstp->rq_proc) { in nfs_program_3() 475 (int) rqstp->rq_prog, (int) rqstp->rq_vers, (int) rqstp->rq_proc); in nfs_program_3() 480 result = (*local) (&argument, rqstp); in nfs_program_3()
|
| H A D | amq_svc.c | 151 amq_program_1(struct svc_req *rqstp, SVCXPRT *transp) in amq_program_1() argument 167 struct sockaddr_in *remote_addr = svc_getcaller(rqstp->rq_xprt); in amq_program_1() 184 switch (rqstp->rq_proc) { in amq_program_1() 283 result = (*child) (&argument, rqstp); in amq_program_1() 288 result = (*parent) (&argument, rqstp); in amq_program_1() 295 result = (*local) (&argument, rqstp); in amq_program_1()
|
| /netbsd-src/libexec/rpc.rusersd/ |
| H A D | rusers_proc.c | 185 rusers_num_svc(void *arg, struct svc_req *rqstp) in rusers_num_svc() argument 224 rusersproc_names_3_svc(void *arg, struct svc_req *rqstp) in rusersproc_names_3_svc() argument 232 rusersproc_allnames_3_svc(void *arg, struct svc_req *rqstp) in rusersproc_allnames_3_svc() argument 273 rusersproc_names_2_svc(void *arg, struct svc_req *rqstp) in rusersproc_names_2_svc() argument 280 rusersproc_allnames_2_svc(void *arg, struct svc_req *rqstp) in rusersproc_allnames_2_svc() argument 286 rusers_service(struct svc_req *rqstp, SVCXPRT *transp) in rusers_service() argument 295 switch (rqstp->rq_proc) { in rusers_service() 303 switch (rqstp->rq_vers) { in rusers_service() 319 switch (rqstp->rq_vers) { in rusers_service() 339 switch (rqstp->rq_vers) { in rusers_service() [all …]
|
| /netbsd-src/usr.sbin/ypserv/yppush/ |
| H A D | yppush_svc.c | 83 yppush_xfrrespprog_1(struct svc_req *rqstp, SVCXPRT *transp) in yppush_xfrrespprog_1() argument 93 switch (rqstp->rq_proc) { in yppush_xfrrespprog_1() 121 result = (*local)(&argument, rqstp); in yppush_xfrrespprog_1() 130 if (rqstp->rq_proc != YPPUSHPROC_NULL) in yppush_xfrrespprog_1()
|
| /netbsd-src/lib/libc/rpc/ |
| H A D | svc_simple.c | 252 universal(struct svc_req *rqstp, SVCXPRT *transp) in universal() argument 261 _DIAGASSERT(rqstp != NULL); in universal() 267 if (rqstp->rq_proc == NULLPROC) { in universal() 274 prog = rqstp->rq_prog; in universal() 275 vers = rqstp->rq_vers; in universal() 276 proc = rqstp->rq_proc; in universal()
|
| /netbsd-src/libexec/rpc.rwalld/ |
| H A D | rwalld.c | 135 wallproc_wall_1_svc(char **s, struct svc_req *rqstp) in wallproc_wall_1_svc() argument 149 wallprog_1(struct svc_req *rqstp, SVCXPRT *transp) in wallprog_1() argument 158 switch (rqstp->rq_proc) { in wallprog_1() 179 result = (*local)((char **)&argument, rqstp); in wallprog_1()
|
| /netbsd-src/usr.sbin/rpc.yppasswdd/ |
| H A D | rpc.yppasswdd.c | 136 yppasswddprog_1(struct svc_req *rqstp, SVCXPRT *transp) in yppasswddprog_1() argument 142 switch (rqstp->rq_proc) { in yppasswddprog_1() 160 make_passwd((yppasswd *)&argument, rqstp, transp); in yppasswddprog_1()
|