/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db_vers_c.x | 46 struct vers { struct 58 %class vers { argument 63 % STRUCTRWLOCK(vers); 66 % vers() { 68 % INITRW(vers); 72 % vers( vers *other ); 75 % vers( unsigned int high, unsigned int low) { 77 % INITRW(vers); 83 % vers* nextminor(); 87 % vers* nextmajor(); [all …]
|
H A D | db_vers.cc | 39 vers::vers(vers* other) in vers() function in vers 41 INITRW(vers); in vers() 46 vers::assign(vers* other) in assign() 66 vers* 67 vers::nextminor() in nextminor() 71 vers * newvers = new vers; in nextminor() 100 vers* 101 vers::nextmajor() in nextmajor() 105 vers * newvers = new vers; in nextmajor() 130 vers::earlier_than(vers *other) in earlier_than() [all …]
|
H A D | db_log_entry_c.x | 53 vers aversion; /* version of log entry */ 58 vers bversion; /* sanity check */ 67 % vers aversion; /* version of log entry */ 72 % vers bversion; /* sanity check */ 80 % db_log_entry( db_action, vers *, db_query *, entry_object*); 88 % vers *get_version() { return( &aversion ); }
|
H A D | db_dictlog_c.x | 56 vers aversion; /* version of log entry */ 61 vers bversion; /* sanity check;should be same as aversion*/ 76 % vers aversion; /* version of log entry */ 81 % vers bversion; /* sanity check */ 89 % db_dictlog_entry(int, vers *, char*, table_obj*); 97 % vers *get_version() { return( &aversion ); }
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zpool_upgrade/ |
H A D | zpool_upgrade.kshlib | 45 typeset vers=$1 46 typeset -n pool_files=ZPOOL_VERSION_${vers}_FILES 47 typeset -n pool_name=ZPOOL_VERSION_${vers}_NAME 72 typeset vers=$1 73 typeset -n pool_files=ZPOOL_VERSION_${vers}_FILES 74 typeset -n pool_name=ZPOOL_VERSION_${vers}_NAME 78 log_note "Checking if we can upgrade from ZFS version $vers" 92 typeset vers=$1 93 typeset -n pool_files=ZPOOL_VERSION_${vers}_FILES 94 typeset -n pool_name=ZPOOL_VERSION_${vers}_NAME [all …]
|
/illumos-gate/usr/src/cmd/rpcgen/ |
H A D | rpc_hout.c | 166 version_list *vers; in pargdef() local 170 for (vers = def->def.pr.versions; vers != NULL; vers = vers->next) { in pargdef() 171 for (plist = vers->procs; plist != NULL; plist = plist->next) { in pargdef() 249 version_list *vers; in define_printed() local 252 for (vers = start; vers != NULL; vers = vers->next) { in define_printed() 253 for (proc = vers->procs; proc != NULL; proc = proc->next) { in define_printed() 265 pfreeprocdef(char *name, char *vers, int mode) in pfreeprocdef() argument 268 pvname(name, vers); in pfreeprocdef() 278 version_list *vers; in pprogramdef() local 286 for (vers = def->def.pr.versions; vers != NULL; vers = vers->next) { in pprogramdef() [all …]
|
/illumos-gate/usr/src/cmd/rpcbind/ |
H A D | rpcb_stat.c | 95 rpcbs_getaddr(int rtype, rpcprog_t prog, rpcvers_t vers, char *netid, in rpcbs_getaddr() argument 110 if ((al->prog == prog) && (al->vers == vers) && in rpcbs_getaddr() 139 al->vers = vers; in rpcbs_getaddr() 151 if ((wal->prog == prog) && (wal->vers == vers) && in rpcbs_getaddr() 175 rpcbs_rmtcall(int rtype, rpcproc_t rpcbproc, rpcprog_t prog, rpcvers_t vers, in rpcbs_rmtcall() argument 190 if ((rl->prog == prog) && (rl->vers == vers) && in rpcbs_rmtcall() 194 if ((rbl == NULL) || (rbl->rpcb_map.r_vers != vers)) in rpcbs_rmtcall() 221 rl->vers = vers; in rpcbs_rmtcall() 224 if ((rbl == NULL) || (rbl->rpcb_map.r_vers != vers)) { in rpcbs_rmtcall() 235 if ((wrl->prog == prog) && (wrl->vers == vers) && in rpcbs_rmtcall() [all …]
|
/illumos-gate/usr/src/lib/c_synonyms/ |
H A D | Makefile.com | 40 CLEANFILES += synonym_list mapfile-vers 54 $(DYNLIB): mapfile-vers $(PICS) 56 mapfile-vers: ../syn_common ../syn2_common syn_isa 58 >mapfile-vers 59 echo " global:" >>mapfile-vers 61 $(SED) -e '/^#/d' -e '/^$$/d' -e 's/.*/ _&;/' >>mapfile-vers 63 $(SED) -e '/^#/d' -e '/^$$/d' -e 's/.*/ __&;/' >>mapfile-vers 64 echo " local:\n *;\n};" >>mapfile-vers 69 MAPFILES = mapfile-vers
|
/illumos-gate/usr/src/cmd/fs.d/nfs/tests/test_svc_tp_create/ |
H A D | test_svc_tp_create.c | 94 rpcvers_t vers; in test_svc_tp_create() local 96 vers = test_vers_max; in test_svc_tp_create() 114 xprt = svc_tp_create_addr(mysvc, TESTPROG, vers, in test_svc_tp_create() 121 (int)vers, nconf->nc_netid, testd_port); in test_svc_tp_create() 131 xprt = svc_tp_create(mysvc, TESTPROG, vers, nconf); in test_svc_tp_create() 136 (int)vers, nconf->nc_netid); in test_svc_tp_create() 143 while (--vers >= test_vers_min) { in test_svc_tp_create() 144 if (!svc_reg(xprt, TESTPROG, vers, mysvc, nconf)) { in test_svc_tp_create() 147 (int)vers, nconf->nc_netid); in test_svc_tp_create() 155 rpcvers_t vers; in test_svc_unreg() local [all …]
|
/illumos-gate/usr/src/stand/lib/fs/nfs/ |
H A D | pmap.c | 90 bpmap_addport(rpcprog_t prog, rpcvers_t vers, rpcport_t port) in bpmap_addport() argument 101 newp->pml_map.pm_vers = vers; in bpmap_addport() 116 bpmap_delport(rpcprog_t prog, rpcvers_t vers) in bpmap_delport() argument 123 (tmp->pml_map.pm_vers == vers)) { in bpmap_delport() 135 vers); in bpmap_delport() 237 xdr_rpcvers(xdrs, &(cap->vers)) && in xdr_rmtcall_args() 285 if (!xdr_rpcvers(xdrs, &objp->vers)) in xdr_rpcb_rmtcallargs() 332 rpcvers_t vers, /* rpc program version */ in bpmap_rmtcall() argument 354 pmap_a.vers = vers; in bpmap_rmtcall() 369 bpmap_delport(prog, vers); in bpmap_rmtcall() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_mount.c | 96 interpret_mount(flags, type, xid, vers, proc, data, len) in interpret_mount() argument 97 int flags, type, xid, vers, proc; in interpret_mount() 116 vers, procnames_short[proc]); 130 if (vers != 3) 143 vers, procnames_short[proc]); 147 if (vers == 3) 164 if (vers == 3) 172 if (vers != 2) 195 mountcall(proc, vers); 197 mountreply(proc, vers); [all …]
|
H A D | snoop_pmap.c | 57 interpret_pmap(flags, type, xid, vers, proc, data, len) in interpret_pmap() argument 58 int flags, type, xid, vers, proc; in interpret_pmap() 62 switch (vers) { 63 case 2: interpret_pmap_2(flags, type, xid, vers, proc, data, len); 68 case 4: interpret_pmap_4(flags, type, xid, vers, proc, data, len); 98 interpret_pmap_2(flags, type, xid, vers, proc, data, len) in interpret_pmap_2() argument 99 int flags, type, xid, vers, proc; in interpret_pmap_2() 301 unsigned prog, vers, proto, port; in show_pmaplist() local 315 vers = getxdr_u_long(); in show_pmaplist() 320 prog, vers, proto, port, nameof_prog(prog)); in show_pmaplist() [all …]
|
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; 98 if (rpcsec_gss_pre_proto(type, flags, xid, prog, vers, proc)) 101 (*interpreter) (flags, type, xid, vers, proc, data, len);
|
/illumos-gate/usr/src/boot/libsa/ |
H A D | rpc.c | 110 rpc_call(struct iodesc *d, n_long prog, n_long vers, n_long proc, in rpc_call() argument 125 prog, vers, proc); in rpc_call() 128 port = rpc_getport(d, prog, vers); in rpc_call() 163 call->rp_vers = htonl(vers); in rpc_call() 308 u_int vers; /* host order */ member 320 rpc_pmap_getcache(struct in_addr addr, u_int prog, u_int vers) in rpc_pmap_getcache() argument 326 pl->prog == prog && pl->vers == vers ) in rpc_pmap_getcache() 342 rpc_pmap_putcache(struct in_addr addr, u_int prog, u_int vers, int port) in rpc_pmap_putcache() argument 361 pl->vers = vers; in rpc_pmap_putcache() 372 rpc_getport(struct iodesc *d, n_long prog, n_long vers) in rpc_getport() argument [all …]
|
/illumos-gate/usr/src/cmd/abi/appcert/scripts/ |
H A D | abi_index.pl | 262 my ($pub, $pri, $obs, $evo, $vers, $new_path); 295 $vers = trim($_); 296 $vers =~ s/;//g; 299 if ($vers =~ /^(SUNW.*private|SUNW_XIL_GPI)/i) { 300 $pri .= $vers . ":"; 301 } elsif ($vers =~ /^(SUNW_\d|SYSVABI|SISCD)/) { 302 $pub .= $vers . ":"; 303 } elsif ($vers =~ /^(SUNW\.\d|SUNW_XIL)/) { 304 $pub .= $vers . ":"; 305 } elsif ($vers =~ /^SUNWobsolete/) { [all …]
|
/illumos-gate/usr/src/lib/libprtdiag/common/ |
H A D | prom.c | 62 char *vers; /* OBP version */ in disp_prom_version() local 68 vers = (char *)get_prop_val(version); in disp_prom_version() 70 if (vers != NULL) { in disp_prom_version() 71 log_printf(" %s ", vers, 0); in disp_prom_version() 79 if ((strlen(vers) + 1) < version->size) { in disp_prom_version() 80 temp = vers + strlen(vers) + 1; in disp_prom_version()
|
/illumos-gate/usr/src/uts/common/klm/ |
H A D | nlm_rpc_clnt.c | 91 CLIENT *client, rpcvers_t vers) in nlm_test_rpc() argument 93 if (vers == NLM4_VERS) { in nlm_test_rpc() 122 CLIENT *client, rpcvers_t vers) in nlm_lock_rpc() argument 124 if (vers == NLM4_VERS) { in nlm_lock_rpc() 151 CLIENT *client, rpcvers_t vers) in nlm_cancel_rpc() argument 153 if (vers == NLM4_VERS) { in nlm_cancel_rpc() 178 CLIENT *client, rpcvers_t vers) in nlm_unlock_rpc() argument 180 if (vers == NLM4_VERS) { in nlm_unlock_rpc() 202 nlm_null_rpc(CLIENT *client, rpcvers_t vers) in nlm_null_rpc() argument 204 if (vers == NLM4_VERS) in nlm_null_rpc() [all …]
|
H A D | nlm_client.c | 261 struct netobj *fhp, struct flk_callback *flcb, int vers) in nlm_frlock() argument 296 offset, fhp, vers); in nlm_frlock() 302 offset, fhp, flcb, vers, (cmd == F_SETLKW)); in nlm_frlock() 319 struct netobj *fhp, int vers) in nlm_frlock_getlk() argument 345 error = nlm_call_test(&flk0, hostp, fhp, vers); in nlm_frlock_getlk() 372 int vers, bool_t do_block) in nlm_frlock_setlk() argument 393 if (vers < NLM4_VERS) { in nlm_frlock_setlk() 412 error = nlm_call_unlock(flkp, hostp, fhp, vers); in nlm_frlock_setlk() 440 error = nlm_call_lock(vp, flkp, hostp, fhp, flcb, vers, xflags); in nlm_frlock_setlk() 474 rpcvers_t vers; in nlm_client_cancel_all() local [all …]
|
/illumos-gate/usr/src/lib/libnsl/yp/ |
H A D | yp_rsvd.c | 38 rpcvers_t vers, const char *nettype, in __yp_clnt_create_rsvdport_netid_req() argument 55 return (clnt_create(hostname, prog, vers, nt)); in __yp_clnt_create_rsvdport_netid_req() 76 if (!rpcb_getaddr(prog, vers, nconf, svcaddr, hostname)) { in __yp_clnt_create_rsvdport_netid_req() 84 prog, vers, sendsz, recvsz)) == NULL) { in __yp_clnt_create_rsvdport_netid_req() 98 rpcvers_t vers, const char *nettype, in __yp_clnt_create_rsvdport() argument 104 vers, "udp6", sendsz, recvsz); in __yp_clnt_create_rsvdport() 107 prog, vers, "udp", sendsz, recvsz); in __yp_clnt_create_rsvdport() 111 vers, nettype, in __yp_clnt_create_rsvdport()
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_stats.c | 49 nfsstat_zone_init_common(zoneid_t zoneid, const char *module, int vers, in nfsstat_zone_init_common() argument 58 if ((ksp = kstat_create_zone(module, vers, name, "misc", in nfsstat_zone_init_common() 72 nfsstat_zone_fini_common(zoneid_t zoneid, const char *module, int vers, in nfsstat_zone_fini_common() argument 75 kstat_delete_byname_zone(module, vers, name, zoneid); in nfsstat_zone_fini_common() 97 int vers; in nfsstat_zone_init_server() local 99 for (vers = NFS_VERSION; vers <= NFS_V4; vers++) { in nfsstat_zone_init_server() 100 svstatp[vers] = nfsstat_zone_init_common(zoneid, "nfs", vers, in nfsstat_zone_init_server() 108 int vers; in nfsstat_zone_fini_server() local 109 for (vers = NFS_VERSION; vers <= NFS_V4; vers++) { in nfsstat_zone_fini_server() 110 nfsstat_zone_fini_common(zoneid, "nfs", vers, "nfs_server"); in nfsstat_zone_fini_server() [all …]
|
/illumos-gate/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() 150 rpcprog_t pmin, rpcprog_t pmax, rpcvers_t vers, in fmd_rpc_svc_init() argument 158 if (fmd_rpc_svc_create_local(disp, prog, vers, in fmd_rpc_svc_init() 161 "as 0x%lx.%lx\n", name, prog, vers); in fmd_rpc_svc_init()
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | clnt_generic.c | 158 clnt_create(const char *hostname, const rpcprog_t prog, const rpcvers_t vers, in clnt_create() argument 161 return (clnt_create_timed(hostname, prog, vers, nettype, NULL)); in clnt_create() 174 const rpcvers_t vers, const char *netclass, const struct timeval *tp) in clnt_create_timed() argument 204 if ((clnt = clnt_door_create(prog, vers, 0)) != NULL) in clnt_create_timed() 230 clnt = clnt_tp_create_timed(hostname, prog, vers, nconf, tp); in clnt_create_timed() 291 const rpcprog_t prog, const rpcvers_t vers, in clnt_create_service_timed() argument 364 if ((clnt = clnt_door_create(prog, vers, 0)) != NULL) in clnt_create_service_timed() 434 prog, vers, 0, 0, &to); in clnt_create_service_timed() 491 clnt_tp_create(const char *hostname, const rpcprog_t prog, const rpcvers_t vers, in clnt_tp_create() argument 494 return (clnt_tp_create_timed(hostname, prog, vers, nconf, NULL)); in clnt_tp_create() [all …]
|
/illumos-gate/usr/src/uts/common/io/audio/drv/audio810/ |
H A D | audio810.c | 698 const char *vers; in audio810_attach() local 734 vers = ""; in audio810_attach() 740 vers = "ICH"; in audio810_attach() 745 vers = "ICH0"; in audio810_attach() 749 vers = "440MX"; in audio810_attach() 753 vers = "ICH2"; in audio810_attach() 757 vers = "ICH3"; in audio810_attach() 761 vers = "ICH4"; in audio810_attach() 765 vers = "ICH5"; in audio810_attach() 769 vers = "ICH6"; in audio810_attach() [all …]
|
/illumos-gate/usr/src/cmd/rpcinfo/ |
H A D | rpcinfo.c | 142 int vers; member 343 clnt_com_create(addr, prog, vers, fdp, trans) in clnt_com_create() argument 346 ulong_t vers; 353 clnt = clnttcp_create(addr, prog, vers, fdp, 0, 0); 359 clnt = clntudp_create(addr, prog, vers, to, fdp); 363 if (vers == MIN_VERS) 368 prog, vers); 393 ulong_t prognum, vers, minvers, maxvers; local 410 vers = MIN_VERS; 412 vers = getvers(argv[2]); [all …]
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | ypwhich.c | 80 static int vers = YPBINDVERS; variable 205 vers = atoi(argv[0]+2); 206 if (vers < 1) { 351 if (vers >= 3) { in get_server_name() 352 if (!call_binder(vers)) in get_server_name() 355 if (!old_call_binder(vers)) in get_server_name() 367 call_binder(vers) in call_binder() argument 368 int vers; in call_binder() 387 client = __clnt_create_loopback(YPBINDPROG, vers, &yperr); 389 client = clnt_create(host, YPBINDPROG, vers, "netpath"); [all …]
|