/titanic_51/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_rpc.c | 62 rpcprog_t prog, rpcvers_t vers, uint_t ssz, uint_t rsz, int force) in fmd_rpc_svc_create_local() argument 80 svc_unreg(prog, vers); /* clear stale rpcbind registrations */ in fmd_rpc_svc_create_local() 90 if (!force && rpcb_getaddr(prog, vers, ncp, &buf, HOST_SELF)) { in fmd_rpc_svc_create_local() 108 if (svc_reg(xprt, prog, vers, disp, ncp) == FALSE) { in fmd_rpc_svc_create_local() 129 prog, vers) > 0 && access(door, F_OK) == 0) in fmd_rpc_svc_create_local() 136 if ((xprt = svc_door_create(disp, prog, vers, ssz)) == NULL) { in fmd_rpc_svc_create_local() 138 "rpc service 0x%lx/0x%lx\n", prog, vers); in fmd_rpc_svc_create_local() 153 rpcprog_t prog; in fmd_rpc_svc_init() local 157 for (prog = pmin; prog < in fmd_rpc_svc_init() 185 int err, prog, mode = RPC_SVC_MT_USER; fmd_rpc_init() local 222 rpcprog_t prog; fmd_rpc_fini() local [all...] |
/titanic_51/usr/src/cmd/valtools/ |
H A D | ckgid.c | 45 static char *prog; variable 56 switch (*prog) { in usage() 59 gettext("usage: %s [options] [-m]\n"), prog); in usage() 66 gettext("usage: %s\n"), prog); in usage() 71 gettext("usage: %s input\n"), prog); in usage() 76 gettext("usage: %s [options] [-m]\n"), prog); in usage() 84 gettext("usage: %s [options] [-m]\n"), prog); in usage() 124 prog = prog_name(argv[0]); in main() 128 if ((*prog == 'v') || (*prog in main() [all...] |
H A D | ckuid.c | 45 static char *prog; variable 56 switch (*prog) { in usage() 60 prog); in usage() 67 gettext("usage: %s\n"), prog); in usage() 72 gettext("usage: %s input\n"), prog); in usage() 78 prog); in usage() 87 prog); in usage() 128 prog = prog_name(argv[0]); in main() 132 if ((*prog == 'v') || (*prog in main() [all...] |
H A D | ckdate.c | 45 static char *prog; variable 69 switch (*prog) { in usage() 72 gettext("usage: %s [options] [-f format]\n"), prog); in usage() 79 gettext("usage: %s [-f format] input\n"), prog); in usage() 84 gettext("usage: %s [options] [-f format]\n"), prog); in usage() 92 gettext("usage: %s [options] [-f format]\n"), prog); in usage() 132 prog = prog_name(argv[0]); in main() 136 if ((*prog == 'v') && !strchr(vusage, c)) in main() 138 if ((*prog == 'e') && !strchr(eusage, c)) in main() 140 if ((*prog in main() [all...] |
H A D | cktime.c | 45 static char *prog; variable 70 switch (*prog) { in usage() 74 prog); in usage() 81 gettext("usage: %s [-f format] input\n"), prog); in usage() 87 prog); in usage() 96 prog); in usage() 136 prog = prog_name(argv[0]); in main() 140 if ((*prog == 'v') && !strchr(vusage, c)) in main() 142 if ((*prog == 'e') && !strchr(eusage, c)) in main() 144 if ((*prog in main() [all...] |
H A D | ckrange.c | 45 static char *prog; variable 62 switch (*prog) { in usage() 66 prog, USAGE); in usage() 73 gettext("usage: %s %s input\n"), prog, USAGE); in usage() 79 prog, USAGE); in usage() 88 prog, USAGE); in usage() 128 prog = prog_name(argv[0]); in main() 132 if ((*prog == 'v') && !strchr(vusage, c)) in main() 134 if ((*prog == 'e') && !strchr(eusage, c)) in main() 136 if ((*prog in main() [all...] |
H A D | ckint.c | 44 static char *prog; variable 57 switch (*prog) { in usage() 60 gettext("usage: %s [options] [-b base]\n"), prog); in usage() 67 gettext("usage: %s [-b base] input\n"), prog); in usage() 72 gettext("usage: %s [options] [-b base]\n"), prog); in usage() 80 gettext("usage: %s [options] [-b base]\n"), prog); in usage() 119 prog = prog_name(argv[0]); in main() 123 if ((*prog == 'v') && !strchr(vusage, c)) in main() 125 if ((*prog == 'e') && !strchr(eusage, c)) in main() 127 if ((*prog in main() [all...] |
H A D | ckyorn.c | 45 static char *prog; variable 56 switch (*prog) { in usage() 59 gettext("usage: %s [options]\n"), prog); in usage() 66 gettext("usage: %s input\n"), prog); in usage() 71 gettext("usage: %s [options]\n"), prog); in usage() 79 gettext("usage: %s [options]\n"), prog); in usage() 119 prog = prog_name(argv[0]); in main() 123 if (*prog == 'v') in main() 125 if ((*prog == 'e') && !strchr(eusage, c)) in main() 127 if ((*prog in main() [all...] |
H A D | ckpath.c | 46 static char *prog; variable 74 switch (*prog) { in usage() 78 prog, USAGE); in usage() 87 prog, USAGE); in usage() 95 prog, USAGE); in usage() 105 prog, USAGE); in usage() 146 prog = prog_name(argv[0]); in main() 151 if ((*prog == 'v') && !strchr(vusage, c)) in main() 153 if ((*prog == 'e') && !strchr(eusage, c)) in main() 155 if ((*prog in main() [all...] |
H A D | ckstr.c | 46 static char *prog; variable 60 switch (*prog) { in usage() 64 prog, USAGE); in usage() 71 gettext("usage: %s %s input\n"), prog, USAGE); in usage() 77 prog, USAGE); in usage() 86 prog, USAGE); in usage() 129 prog = prog_name(argv[0]); in main() 139 if ((*prog == 'v') && !strchr(vusage, c)) in main() 141 if ((*prog == 'e') && !strchr(eusage, c)) in main() 143 if ((*prog in main() [all...] |
H A D | ckitem.c | 49 static char *prog; variable 78 switch (*prog) { in usage() 81 gettext("usage: %s [options] [choice [...]]\n"), prog); in usage() 89 gettext("usage: %s [options] [choice [...]]\n"), prog); in usage() 97 gettext("usage: %s [options] [choice [...]]\n"), prog); in usage() 143 prog = prog_name(argv[0]); in main() 153 if ((*prog == 'e') && !strchr(eusage, c)) in main() 155 if ((*prog == 'h') && !strchr(husage, c)) in main() 168 prog); in main() 178 prog); in main() [all...] |
/titanic_51/usr/src/cmd/audio/audiorecord/ |
H A D | audiorecord.c | 65 static char *prog; variable 141 prog, in usage() 142 strlen(prog), " ", in usage() 143 strlen(prog), " ", in usage() 157 Error(stderr, MGET("%s: could not flush input buffer\n"), prog); in sigint() 192 prog = strrchr(argv[0], '/'); in main() 193 if (prog == NULL) in main() 194 prog = argv[0]; in main() 196 prog++; in main() 217 "-v\n"), prog); in main() [all...] |
/titanic_51/usr/src/cmd/enhance/ |
H A D | enhance.c | 113 static int pty_open_master(const char *prog, int *cntrl, char *slave_name); 114 static int pty_open_slave(const char *prog, char *slave_name); 115 static int pty_child(const char *prog, int slave, char *argv[]); 116 static int pty_parent(const char *prog, int cntrl); 137 char *prog; /* The name of the program (ie. argv[0]) */ in main() local 148 prog = argv[0]; in main() 161 fprintf(stderr, "%s: Unable to execute %s (%s).\n", prog, argv[1], in main() 172 if(pty_open_master(prog, &cntrl, slave_name)) in main() 193 fprintf(stderr, "%s: Unable to fork child process (%s).\n", prog, in main() 201 status = pty_parent(prog, cntr in main() 232 pty_open_master(const char * prog,int * cntrl,char * slave_name) pty_open_master() argument 351 pty_open_slave(const char * prog,char * slave_name) pty_open_slave() argument 417 pty_parent(const char * prog,int cntrl) pty_parent() argument 517 pty_child(const char * prog,int slave,char * argv[]) pty_child() argument [all...] |
/titanic_51/usr/src/cmd/tsol/getzonepath/ |
H A D | getzonepath.c | 45 static char *prog; variable 54 gettext("%s: bad string %s\n"), prog, label); in label_error() 58 gettext("%s: bad previous label\n"), prog); in label_error() 63 "\"%s\" at position %d\n"), prog, label, err); in label_error() 67 perror(prog); in label_error() 85 if ((prog = strrchr(argv[0], '/')) == NULL) in main() 86 prog = argv[0]; in main() 88 prog++; in main() 92 "Usage: %s label\n"), prog); in main() 103 gettext("%s: cannot get path for label: %s.\n"), prog, in main() [all...] |
/titanic_51/usr/src/cmd/tsol/getlabel/ |
H A D | getlabel.c | 95 usage(char *prog) in usage() argument 99 prog); in usage() 110 char *prog; in main() local 118 if ((prog = strrchr(argv[0], '/')) == NULL) in main() 119 prog = argv[0]; in main() 121 prog++; in main() 124 usage(prog); in main() 131 usage(prog); in main() 136 usage(prog); in main() 140 usage(prog); in main() [all...] |
/titanic_51/usr/src/cmd/sgs/elfwrap/common/ |
H A D | main.c | 52 const char *prog, *ofile = NULL, *pstr = NULL; in main() local 73 prog = basename(argv[0]); in main() 80 MSG_INTL(MSG_ARG_ILLEGAL), prog, in main() 95 MSG_INTL(MSG_ARG_ILLEGAL), prog, in main() 102 prog); in main() 117 (void) fprintf(stderr, MSG_INTL(MSG_USAGE_BRIEF), prog); in main() 143 (void) fprintf(stderr, MSG_INTL(MSG_ARG_BADTARG), prog, in main() 153 if (input64(argc, argv, prog, ofile, &odesc) == 1) in main() 156 if (input32(argc, argv, prog, ofile, &odesc) == 1) in main() 165 (void) fprintf(stderr, MSG_INTL(MSG_ERR_OPEN), prog, in main() [all...] |
H A D | lintsup.c | 43 input32(int argc, char **argv, const char *prog, const char *ofile, in input32() argument 46 return (input64(argc, argv, prog, ofile, odp)); in input32() 50 output32(const char *prog, int fd, const char *ofile, ushort_t mach, in output32() argument 53 return (output64(prog, fd, ofile, mach, odp)); in output32() 57 input64(int argc, char **argv, const char *prog, const char *ofile, in input64() argument 60 return (input32(argc, argv, prog, ofile, odp)); in input64() 63 output64(const char *prog, int fd, const char *ofile, ushort_t mach, in output64() argument 66 return (output32(prog, fd, ofile, mach, odp)); in output64()
|
/titanic_51/usr/src/uts/sun4u/opl/io/ |
H A D | drmach.c | 3115 drmach_copy_rename_prog__relocatable(drmach_copy_rename_program_t *prog, in drmach_copy_rename_prog__relocatable() argument 3142 prog->critical->stat[cpuid] = FMEM_LOOP_COPY_READY; in drmach_copy_rename_prog__relocatable() 3145 if (prog->data->cpuid == cpuid) { in drmach_copy_rename_prog__relocatable() 3149 if (CPU_IN_SET(prog->data->cpu_slave_set, i)) { in drmach_copy_rename_prog__relocatable() 3152 if (prog->critical->stat[i] == in drmach_copy_rename_prog__relocatable() 3156 DR_DELAY_IL(1, prog->data->stick_freq); in drmach_copy_rename_prog__relocatable() 3160 prog->data->fmem_status.error = in drmach_copy_rename_prog__relocatable() 3166 prog->data->fmem_status.stat = FMEM_LOOP_COPY_READY; in drmach_copy_rename_prog__relocatable() 3171 if (prog->data->fmem_status.stat == in drmach_copy_rename_prog__relocatable() 3175 if (prog in drmach_copy_rename_prog__relocatable() 3432 drmach_copy_rename_program_t *prog = NULL; drmach_copy_rename_init() local 3856 drmach_copy_rename_program_t *prog = id; drmach_copy_rename_fini() local 3934 drmach_copy_rename_program_t *prog = drmach_copy_rename_slave() local 4012 drmach_copy_rename_program_t *prog; drmach_copy_rename() local [all...] |
/titanic_51/usr/src/cmd/audio/audioplay/ |
H A D | audioplay.c | 62 static char *prog; variable 164 prog, MAX_GAIN); in usage() 202 prog, Audio_dev); in open_audio() 207 prog, Audio_dev); in open_audio() 216 Error(stderr, MGET("%s: error opening "), prog); in open_audio() 228 prog, Audio_dev); in open_audio() 240 prog, Audio_dev); in open_audio() 274 prog = strrchr(argv[0], '/'); in main() 275 if (prog == NULL) in main() 276 prog in main() [all...] |
/titanic_51/usr/src/test/libc-tests/tests/common/ |
H A D | run_arch_tests.ksh | 18 # First we set $dir to dirname $0, and $prog to basename $0 .ksh, 23 prog=${0##*/} 27 prog=${0} 30 prog=${prog%.ksh} 48 ${dir}/${prog}.${f} \ 49 ${dir}/${f}/${prog}.${f} \ 50 ${dir}/${f}/${prog}
|
/titanic_51/usr/src/boot/lib/libstand/ |
H A D | rpc.c | 110 rpc_call(struct iodesc *d, n_long prog, n_long vers, n_long proc, in rpc_call() argument 124 printf("rpc_call: prog=0x%x vers=%d proc=%d\n", in rpc_call() 125 prog, vers, proc); in rpc_call() 128 port = rpc_getport(d, prog, vers); in rpc_call() 162 call->rp_prog = htonl(prog); in rpc_call() 306 u_int prog; /* host order */ member 315 * prog .. host order. 319 rpc_pmap_getcache(struct in_addr addr, u_int prog, u_int vers) in rpc_pmap_getcache() argument 325 pl->prog == prog in rpc_pmap_getcache() 341 rpc_pmap_putcache(struct in_addr addr,u_int prog,u_int vers,int port) rpc_pmap_putcache() argument 371 rpc_getport(struct iodesc * d,n_long prog,n_long vers) rpc_getport() argument 374 n_long prog; /* call program */ rpc_getport() member [all...] |
/titanic_51/usr/src/stand/lib/fs/nfs/ |
H A D | pmap.c | 92 bpmap_addport(rpcprog_t prog, rpcvers_t vers, rpcport_t port) in bpmap_addport() argument 102 newp->pml_map.pm_prog = prog; in bpmap_addport() 118 bpmap_delport(rpcprog_t prog, rpcvers_t vers) in bpmap_delport() argument 124 if ((tmp->pml_map.pm_prog == prog) && in bpmap_delport() 136 printf("bpmap_delport: prog: %x, vers: %x\n", prog, in bpmap_delport() 238 if (xdr_rpcprog(xdrs, &(cap->prog)) && in xdr_rmtcall_args() 285 if (!xdr_rpcprog(xdrs, &objp->prog)) in xdr_rpcb_rmtcallargs() 333 rpcprog_t prog, /* rpc program number to call. */ in bpmap_rmtcall() argument 355 pmap_a.prog in bpmap_rmtcall() 423 bpmap_getport(rpcprog_t prog,rpcvers_t vers,enum clnt_stat * rpc_stat,struct sockaddr_in * to,struct sockaddr_in * from) bpmap_getport() argument [all...] |
/titanic_51/usr/src/cmd/sgs/moe/common/ |
H A D | moe.c | 95 openlib(const char *prog, const char *name, int class, int silent, int verbose) in openlib() argument 124 (void) fprintf(stderr, MSG_ORIG(MSG_FMT_VERBOSE), prog, in openlib() 136 MSG_ORIG(MSG_FMT_VERBOSE), prog, modestr, in openlib() 144 (void) printf(MSG_ORIG(MSG_FMT_VERBOSE), prog, modestr, in openlib() 161 char *prog; in main() local 163 if ((prog = strrchr(argv[0], '/')) == 0) in main() 164 prog = argv[0]; in main() 166 prog++; in main() 209 (void) fprintf(stderr, MSG_INTL(MSG_ARG_USAGE), prog); in main() 221 if (openlib(prog, arg in main() [all...] |
/titanic_51/usr/src/test/libc-tests/tests/symbols/ |
H A D | setup.ksh | 24 prog=${0##*/} 28 prog=${0} 32 cfg=symbols/${prog%.ksh}.cfg 40 prog=symbols_test 58 ${dir}/${prog}.${f} \ 59 ${dir}/${f}/${prog}.${f} \ 60 ${dir}/${f}/${prog}
|
/titanic_51/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_rpcprint.c | 42 int prog, int vers, int proc); 47 protoprint(flags, type, xid, prog, vers, proc, data, len) in protoprint() argument 49 int flags, type, prog, vers, proc; 56 switch (prog) { 75 if (prog >= RPC_TRANSIENT_START && prog <= RPC_TRANSIENT_END && 90 name = nameof_prog(prog); 98 if (rpcsec_gss_pre_proto(type, flags, xid, prog, vers, proc))
|