/src/lib/libossaudio/ |
oss_ioctl.c | 10 void *argp; local in function:_oss_ioctl 13 argp = va_arg(ap, void *); 17 return _oss_dsp_ioctl(fd, com, argp); 19 return _oss3_mixer_ioctl(fd, com, argp); 21 return _oss4_mixer_ioctl(fd, com, argp); 23 return _oss4_global_ioctl(fd, com, argp); 25 return ioctl(fd, com, argp);
|
oss4_global.c | 35 _oss4_global_ioctl(int fd, unsigned long com, void *argp)
|
internal.h | 39 #define INTARG (*(int*)argp)
|
/src/sys/arch/ia64/stand/efi/libefi/ |
efi.c | 48 arg_skipsep(CHAR16 *argp) 51 while (*argp == ' ' || *argp == '\t') 52 argp++; 53 return (argp); 57 arg_skipword(CHAR16 *argp) 60 while (*argp && *argp != ' ' && *argp != '\t') 61 argp++ 91 CHAR16 *argp, *args, **argv; local in function:efi_main [all...] |
/src/sys/arch/vax/vax/ |
opcodes.c | 455 const char *argp; /* pointer into argument-list */ local in function:skip_opcode 462 argp = vax_inst2[INDEX_OPCODE(opc)].argdesc; 464 argp = vax_inst[opc].argdesc; 466 if (argp == NULL || *argp == '\0') 469 while (*argp) { 470 switch (*argp) { 473 switch (*(++argp)) { 489 switch (*(++argp)) { 515 if (!*argp || !*++argp [all...] |
/src/sys/fs/nfs/nlm/ |
nlm_prot_clnt.c | 23 nlm_sm_notify_0(struct nlm_sm_status *argp, void *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) 26 (xdrproc_t) xdr_nlm_sm_status, (caddr_t) argp, 32 nlm_test_1(struct nlm_testargs *argp, nlm_testres *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) 35 (xdrproc_t) xdr_nlm_testargs, (caddr_t) argp, 41 nlm_lock_1(struct nlm_lockargs *argp, nlm_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) 44 (xdrproc_t) xdr_nlm_lockargs, (caddr_t) argp, 50 nlm_cancel_1(struct nlm_cancargs *argp, nlm_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) 53 (xdrproc_t) xdr_nlm_cancargs, (caddr_t) argp, 59 nlm_unlock_1(struct nlm_unlockargs *argp, nlm_res *clnt_res, CLIENT *clnt, struct rpc_callextra *ext, struct timeval timo) 62 (xdrproc_t) xdr_nlm_unlockargs, (caddr_t) argp, [all...] |
nlm_prot_server.c | 125 nlm_sm_notify_0_svc(struct nlm_sm_status *argp, void *result, struct svc_req *rqstp) 127 nlm_sm_notify(argp); 133 nlm_test_1_svc(struct nlm_testargs *argp, nlm_testres *result, struct svc_req *rqstp) 139 args4.cookie = argp->cookie; 140 args4.exclusive = argp->exclusive; 141 nlm_convert_to_nlm4_lock(&args4.alock, &argp->alock); 157 nlm_lock_1_svc(struct nlm_lockargs *argp, nlm_res *result, struct svc_req *rqstp) 163 args4.cookie = argp->cookie; 164 args4.block = argp->block; 165 args4.exclusive = argp->exclusive [all...] |
nlm.h | 151 extern void nlm_sm_notify(nlm_sm_status *argp); 160 extern int nlm_do_test(nlm4_testargs *argp, nlm4_testres *result, 170 extern int nlm_do_lock(nlm4_lockargs *argp, nlm4_res *result, 180 extern int nlm_do_cancel(nlm4_cancargs *argp, nlm4_res *result, 190 extern int nlm_do_unlock(nlm4_unlockargs *argp, nlm4_res *result, 200 extern int nlm_do_granted(nlm4_testargs *argp, nlm4_res *result, 207 extern void nlm_do_granted_res(nlm4_res *argp, struct svc_req *rqstp); 210 * Free all locks associated with the hostname argp->name. 212 extern void nlm_do_free_all(nlm4_notify *argp);
|
/src/usr.sbin/rpc.lockd/ |
test.c | 23 nlm_test_1(struct nlm_testargs *argp, CLIENT *clnt) 29 st = clnt_call(clnt, NLM_TEST, xdr_nlm_testargs, argp, xdr_nlm_testres, 38 nlm_lock_1(struct nlm_lockargs *argp, CLIENT *clnt) 44 st = clnt_call(clnt, NLM_LOCK, xdr_nlm_lockargs, argp, xdr_nlm_res, 56 nlm_cancel_1(struct nlm_cancargs *argp, CLIENT *clnt) 62 st = clnt_call(clnt, NLM_CANCEL, xdr_nlm_cancargs, argp, xdr_nlm_res, 72 nlm_unlock_1(struct nlm_unlockargs *argp, CLIENT *clnt) 78 st = clnt_call(clnt, NLM_UNLOCK, xdr_nlm_unlockargs, argp, xdr_nlm_res, 88 nlm_granted_1(struct nlm_testargs *argp, CLIENT *clnt) 94 st = clnt_call(clnt, NLM_GRANTED, xdr_nlm_testargs, argp, xdr_nlm_res [all...] |
/src/usr.sbin/ypserv/yppush/ |
yppush_proc.c | 46 yppushproc_null_1_svc(void *argp, struct svc_req *rqstp) 55 yppushproc_xfrresp_1_svc(void *argp, struct svc_req *rqstp) 57 struct yppushresp_xfr *resp = argp;
|
/src/usr.sbin/rpc.statd/ |
test.c | 17 sm_stat_1(struct sm_name *argp, CLIENT *clnt) 22 if (clnt_call(clnt, SM_STAT, xdr_sm_name, argp, xdr_sm_stat_res, 30 sm_mon_1(struct mon *argp, CLIENT *clnt) 35 if (clnt_call(clnt, SM_MON, xdr_mon, argp, xdr_sm_stat_res, 43 sm_unmon_1(struct mon_id *argp, CLIENT *clnt) 48 if (clnt_call(clnt, SM_UNMON, xdr_mon_id, argp, xdr_sm_stat, 56 sm_unmon_all_1(struct my_id *argp, CLIENT *clnt) 61 if (clnt_call(clnt, SM_UNMON_ALL, xdr_my_id, argp, xdr_sm_stat, 69 sm_simu_crash_1(void *argp, CLIENT *clnt) 74 if (clnt_call(clnt, SM_SIMU_CRASH, xdr_void, argp, xdr_void [all...] |
/src/usr.bin/telnet/ |
main.c | 297 char ** volatile argp; /* avoid longjmp clobbering */ local in function:main 299 argp = args; 302 *argp++ = prompt; 304 *argp++ = ml; 305 *argp++ = user; 307 *argp++ = argv[0]; /* host */ 309 *argp++ = argv[1]; /* port */ 310 *argp = 0; 314 if (tn((int)(argp - args), args) == 1)
|
/src/sys/arch/ews4800mips/stand/common/ |
cmd.c | 69 char *argp[CMDARG_MAX]; local in function:cmd_exec 96 argp[argc++] = p; 104 argp[argc++] = p; 109 cmd->func (argc, argp, 1); 113 cmd_batch(int argc, char *argp[], int interactive) 134 cmd_help(int argc, char *argp[], int interactive)
|
loader.c | 48 cmd_jump(int argc, char *argp[], int interactive) 57 addr = strtoul(argp[1], 0, 0); 59 sp = strtoul(argp[2], 0, 0); 80 cmd_load_binary(int argc, char *argp[], int interactive) 98 q = (uint8_t *)strtoul(argp[1], 0, 0); 132 cmd_boot_ux(int argc, char *argp[], int interactive) 174 cmd_boot(int argc, char *argp[], int interactive) 185 filename = argp[1]; 222 :: "r"(entry), "m"(argc), "m"(argp), "m"(bi));
|
device_test.c | 53 cmd_ga_test(int argc, char *argp[], int interactive) 57 switch (strtoul(argp[1], 0, 0)) { 78 cmd_kbd_scancode(int argc, char *argp[], int interactive) 86 if (argp[1][1] == 'n') 88 else if (argp[1][1] == 'f') 95 cmd_ether_test(int argc, char *argp[], int interactive)
|
cop0.c | 69 cmd_tlb(int argc, char *argp[], int interactive) 80 switch (*argp[1]) { 102 i = strtoul(argp[2], 0, 0); 114 printf("unknown option \"%c\"\n", *argp[1]); 122 cmd_cop0(int argc, char *argp[], int interactive)
|
/src/sys/arch/sun3/sun3/ |
sunmon.c | 265 char **argp; local in function:sunmon_init 283 argp = bp->argPtr; 285 /* Skip argp[0] (the device string) */ 286 argp++; 289 if (*argp == NULL) 291 p = *argp; 299 argp++; 304 if (*argp == NULL) 306 p = *argp;
|
/src/sys/external/bsd/drm2/dist/drm/ |
drm_ioc32.c | 180 drm_map32_t __user *argp = (void __user *)arg; local in function:compat_drm_getmap 185 if (copy_from_user(&m32, argp, sizeof(m32))) 199 if (copy_to_user(argp, &m32, sizeof(m32))) 208 drm_map32_t __user *argp = (void __user *)arg; local in function:compat_drm_addmap 213 if (copy_from_user(&m32, argp, sizeof(m32))) 233 if (copy_to_user(argp, &m32, sizeof(m32))) 242 drm_map32_t __user *argp = (void __user *)arg; local in function:compat_drm_rmmap 246 if (get_user(handle, &argp->handle)) 266 drm_client32_t __user *argp = (void __user *)arg; local in function:compat_drm_getclient 270 if (copy_from_user(&c32, argp, sizeof(c32)) 302 drm_stats32_t __user *argp = (void __user *)arg; local in function:compat_drm_getstats 327 drm_buf_desc32_t __user *argp = (void __user *)arg; local in function:compat_drm_addbufs 359 drm_buf_desc32_t __user *argp = (void __user *)arg; local in function:compat_drm_markbufs 403 drm_buf_info32_t __user *argp = (void __user *)arg; local in function:compat_drm_infobufs 466 drm_buf_map32_t __user *argp = (void __user *)arg; local in function:compat_drm_mapbufs 496 drm_buf_free32_t __user *argp = (void __user *)arg; local in function:compat_drm_freebufs 516 drm_ctx_priv_map32_t __user *argp = (void __user *)arg; local in function:compat_drm_setsareactx 532 drm_ctx_priv_map32_t __user *argp = (void __user *)arg; local in function:compat_drm_getsareactx 558 drm_ctx_res32_t __user *argp = (void __user *)arg; local in function:compat_drm_resctx 596 drm_dma32_t __user *argp = (void __user *)arg; local in function:compat_drm_dma 631 drm_agp_mode32_t __user *argp = (void __user *)arg; local in function:compat_drm_agp_enable 658 drm_agp_info32_t __user *argp = (void __user *)arg; local in function:compat_drm_agp_info 692 drm_agp_buffer32_t __user *argp = (void __user *)arg; local in function:compat_drm_agp_alloc 721 drm_agp_buffer32_t __user *argp = (void __user *)arg; local in function:compat_drm_agp_free 739 drm_agp_binding32_t __user *argp = (void __user *)arg; local in function:compat_drm_agp_bind 755 drm_agp_binding32_t __user *argp = (void __user *)arg; local in function:compat_drm_agp_unbind 775 drm_scatter_gather32_t __user *argp = (void __user *)arg; local in function:compat_drm_sg_alloc 797 drm_scatter_gather32_t __user *argp = (void __user *)arg; local in function:compat_drm_sg_free 850 drm_wait_vblank32_t __user *argp = (void __user *)arg; local in function:compat_drm_wait_vblank 891 struct drm_mode_fb_cmd232 __user *argp = (void __user *)arg; local in function:compat_drm_mode_addfb2 [all...] |
/src/usr.sbin/rpc.yppasswdd/ |
yppasswdd_mkpw.c | 65 make_passwd(yppasswd *argp, struct svc_req *rqstp, SVCXPRT *transp) 105 argp->newpw.pw_name); 120 if (strncmp(argp->newpw.pw_name, pw.pw_name, MAXLOGNAME) == 0) 125 strcmp(crypt(argp->oldpass, pw.pw_passwd), pw.pw_passwd) != 0) 147 pw.pw_passwd = argp->newpw.pw_passwd; 151 pw.pw_gecos = argp->newpw.pw_gecos; 153 pw.pw_shell = argp->newpw.pw_shell;
|
/src/sys/compat/netbsd32/ |
netbsd32_nfssvc.c | 61 nfssvc32_addsock_in(struct nfsd_args *nfsdarg, const void *argp) 66 error = copyin(argp, &args32, sizeof args32); 77 nfssvc32_setexports_in(struct mountd_exports_list *mel, const void *argp) 82 error = copyin(argp, &args32, sizeof args32); 93 nfssvc32_nsd_in(struct nfsd_srvargs *nsd, const void *argp) 98 error = copyin(argp, &args32, sizeof args32); 118 nfssvc32_nsd_out(void *argp, const struct nfsd_srvargs *nsd) 136 return copyout(&args32, argp, sizeof args32); 140 nfssvc32_exp_in(struct export_args *exp, const void *argp, size_t nexports) 143 struct netbsd32_export_args const *argp32 = argp; 186 void *argp = SCARG_P32(uap, argp); local in function:netbsd32_nfssvc [all...] |
/src/sys/arch/i386/i386/ |
db_machdep.c | 94 int *argp; local in function:db_numargs 99 argp = (int *)db_get_value((int)retaddrp, 4, false); 100 if (argp < (int *)VM_MIN_KERNEL_ADDRESS || argp > (int *)etext) { 103 inst = db_get_value((int)argp, 4, false); 126 long *argp, int is_trap, void (*pr)(const char *, ...)) 148 ptr = db_get_value((int)argp, 4, false); 171 ptr = db_get_value((int)argp, 4, false); 176 ptr = db_get_value((int)argp, 4, false); 185 db_read_bytes((db_addr_t)argp, sizeof(tf), (char *)&tf) [all...] |
/src/sys/nfs/ |
nfs_vfsops.c | 437 nfs_decode_args(struct nfsmount *nmp, struct nfs_args *argp, struct lwp *l) 449 if (argp->sotype == SOCK_STREAM) 450 argp->flags &= ~NFSMNT_NOCONN; 455 if ((argp->flags & (NFSMNT_XLATECOOKIE|NFSMNT_NFSV3)) == 457 argp->flags &= ~NFSMNT_XLATECOOKIE; 461 && (argp->flags & NFSMNT_RESVPORT); 464 (argp->flags & NFSMNT_NOCONN)); 467 nmp->nm_flag = argp->flags; 470 if ((argp->flags & NFSMNT_TIMEO) && argp->timeo > 0) [all...] |
nfs_export.c | 500 const struct export_args *argp) 510 if (argp->ex_addrlen == 0) { 516 np->netc_exflags = argp->ex_flags; 517 kauth_uucred_to_cred(np->netc_anon, &argp->ex_anon); 522 if (argp->ex_addrlen > MLEN || argp->ex_masklen > MLEN) 525 i = sizeof(struct netcred) + argp->ex_addrlen + argp->ex_masklen; 529 error = copyin(argp->ex_addr, saddr, argp->ex_addrlen) [all...] |
/src/usr.sbin/ypserv/ypserv/ |
ypserv_proc.c | 81 ypproc_null_2_svc(void *argp, struct svc_req *rqstp) 92 ypproc_domain_2_svc(void *argp, struct svc_req *rqstp) 95 char *domain = *(char **)argp; 118 ypproc_domain_nonack_2_svc(void *argp, struct svc_req *rqstp) 121 char *domain = *(char **)argp; 147 ypproc_match_2_svc(void *argp, struct svc_req *rqstp) 151 struct ypreq_key *k = argp; 176 ypproc_first_2_svc(void *argp, struct svc_req *rqstp) 180 struct ypreq_nokey *k = argp; 204 ypproc_next_2_svc(void *argp, struct svc_req *rqstp [all...] |
/src/usr.bin/xargs/ |
xargs.c | 76 static char *argp, *bbp, *ebp, *inpline, *p, *replstr; variable in typeref:typename:char * 269 ebp = (argp = p = bbp) + nline - 1; 317 strncmp(argp, eofstr, (size_t)(p - argp)) == 0; 320 if ((argp != p || wasquoted) && !foundeof) { 322 *xp++ = argp; 346 strlen(argp)); 350 (void)strcpy(inpline, argp); 352 (void)strcat(inpline, argp); 380 argp = p [all...] |