/titanic_41/usr/src/lib/libbc/libc/sys/4.2/ |
H A D | mount.c | 97 struct nfsarg *na = &narg; in mount() local 124 if ((na->addr = in mount() 127 if ((na->syncaddr = in mount() 129 free(na->addr); in mount() 132 if ((na->knconf = in mount() 134 free(na->addr); in mount() 135 free(na->syncaddr); in mount() 138 na->addr->maxlen = sizeof (struct sockaddr_in); in mount() 139 na->addr->len = na->addr->maxlen; in mount() 140 na->addr->buf = (char *)nfsa->addr; in mount() [all …]
|
/titanic_41/usr/src/uts/common/fs/nfs/ |
H A D | nfs_xdr.c | 259 xdr_fattr(XDR *xdrs, struct nfsfattr *na) in xdr_fattr() argument 269 na->na_type = IXDR_GET_ENUM(ptr, enum nfsftype); in xdr_fattr() 270 na->na_mode = IXDR_GET_U_INT32(ptr); in xdr_fattr() 271 na->na_nlink = IXDR_GET_U_INT32(ptr); in xdr_fattr() 272 na->na_uid = IXDR_GET_U_INT32(ptr); in xdr_fattr() 273 na->na_gid = IXDR_GET_U_INT32(ptr); in xdr_fattr() 274 na->na_size = IXDR_GET_U_INT32(ptr); in xdr_fattr() 275 na->na_blocksize = IXDR_GET_U_INT32(ptr); in xdr_fattr() 276 na->na_rdev = IXDR_GET_U_INT32(ptr); in xdr_fattr() 277 na->na_blocks = IXDR_GET_U_INT32(ptr); in xdr_fattr() [all …]
|
H A D | nfs4_srv_attr.c | 212 union nfs4_attr_u *na) in rfs4_fattr4_supported_attrs() argument 222 na->supported_attrs = rfs4_supported_attrs; in rfs4_fattr4_supported_attrs() 234 if (na->supported_attrs != rfs4_supported_attrs) { in rfs4_fattr4_supported_attrs() 254 union nfs4_attr_u *na) in rfs4_fattr4_type() argument 276 na->type = vt_to_nf4[sarg->vap->va_type]; in rfs4_fattr4_type() 283 na->type = NF4ATTRDIR; in rfs4_fattr4_type() 285 na->type = NF4NAMEDATTR; in rfs4_fattr4_type() 299 if (sarg->vap->va_type != nf4_to_vt[na->type]) in rfs4_fattr4_type() 360 union nfs4_attr_u *na) in rfs4_fattr4_fh_expire_type() argument 372 &na->fh_expire_type); in rfs4_fattr4_fh_expire_type() [all …]
|
H A D | nfs_client.c | 372 nfs_attrcache(vnode_t *vp, struct nfsfattr *na, hrtime_t t) in nfs_attrcache() argument 377 if (!nattr_to_vattr(vp, na, &va)) { in nfs_attrcache() 398 nfs3_attrcache(vnode_t *vp, fattr3 *na, hrtime_t t) in nfs3_attrcache() argument 403 if (!fattr3_to_vattr(vp, na, &va)) { in nfs3_attrcache() 425 nfs_cache_fattr(vnode_t *vp, struct nfsfattr *na, vattr_t *vap, hrtime_t t, in nfs_cache_fattr() argument 430 error = nattr_to_vattr(vp, na, vap); in nfs_cache_fattr() 448 nfs3_cache_fattr3(vnode_t *vp, fattr3 *na, vattr_t *vap, hrtime_t t, cred_t *cr) in nfs3_cache_fattr3() argument 452 error = fattr3_to_vattr(vp, na, vap); in nfs3_cache_fattr3() 1018 nattr_to_vattr(vnode_t *vp, struct nfsfattr *na, struct vattr *vap) in nattr_to_vattr() argument 1022 if (!NFS2_FATTR_TIME_OK(na)) in nattr_to_vattr() [all …]
|
H A D | nfs3_xdr.c | 496 xdr_fattr3(XDR *xdrs, fattr3 *na) in xdr_fattr3() argument 506 na->type = IXDR_GET_ENUM(ptr, enum ftype3); in xdr_fattr3() 507 na->mode = IXDR_GET_U_INT32(ptr); in xdr_fattr3() 508 na->nlink = IXDR_GET_U_INT32(ptr); in xdr_fattr3() 509 na->uid = IXDR_GET_U_INT32(ptr); in xdr_fattr3() 510 na->gid = IXDR_GET_U_INT32(ptr); in xdr_fattr3() 511 IXDR_GET_U_HYPER(ptr, na->size); in xdr_fattr3() 512 IXDR_GET_U_HYPER(ptr, na->used); in xdr_fattr3() 513 na->rdev.specdata1 = IXDR_GET_U_INT32(ptr); in xdr_fattr3() 514 na->rdev.specdata2 = IXDR_GET_U_INT32(ptr); in xdr_fattr3() [all …]
|
H A D | nfs4_attr.c | 236 union nfs4_attr_u *na = NULL; in vattr_to_fattr4() local 259 na = kmem_zalloc(sizeof (union nfs4_attr_u) * nfs4_ntov_map_size, in vattr_to_fattr4() 314 &na[attrcnt], flags, &error)) in vattr_to_fattr4() 317 if (!(*attrfunc)(vap, &nfs4_ntov_map[i], &na[attrcnt], in vattr_to_fattr4() 357 RNDUP(na[attrcnt].owner.utf8string_len); in vattr_to_fattr4() 363 na[attrcnt].owner_group.utf8string_len); in vattr_to_fattr4() 409 if ((*nfs4_ntov_map[amap[i]].xfunc)(&xdr, &na[i]) == FALSE) { in vattr_to_fattr4() 420 if (uid_attr != -1 && na[uid_attr].owner.utf8string_val != NULL) { in vattr_to_fattr4() 421 kmem_free(na[uid_attr].owner.utf8string_val, in vattr_to_fattr4() 422 na[uid_attr].owner.utf8string_len); in vattr_to_fattr4() [all …]
|
/titanic_41/usr/src/cmd/rpcsvc/net_files/ |
H A D | rpc | 66 event 100101 na.event # SunNet Manager 67 logger 100102 na.logger # SunNet Manager 68 sync 100104 na.sync 69 hostperf 100107 na.hostperf 70 activity 100109 na.activity # SunNet Manager 71 hostmem 100112 na.hostmem 72 sample 100113 na.sample 73 x25 100114 na.x25 74 ping 100115 na.ping 75 rpcnfs 100116 na.rpcnfs [all …]
|
/titanic_41/usr/src/cmd/bnu/ |
H A D | grades.c | 64 chkgrp(carray,na) in chkgrp() argument 66 int na; 75 for (i = G_IDF; i < na; i++) 94 chkusr(carray, na) in chkusr() argument 96 int na; 116 for (i = G_IDF; i < na; i++) { 251 int na; local 265 na = getargs(line, carray, G_MAX); 267 if (na < 6) { 451 int na; local [all …]
|
H A D | uuglist.c | 132 int na; in rproc() local 138 na = getargs(line, carray, C_MAX); in rproc() 152 int na; in uproc() local 158 na = getargs(line, carray, C_MAX); in uproc() 160 if (upermit(carray, na) != FAIL) in uproc()
|
/titanic_41/usr/src/lib/libslp/javalib/com/sun/slp/ |
H A D | ServiceType.java | 54 private String na = ""; // naming authority. field in ServiceType 105 return (na.length() <= 0); in isNADefault() 139 return "service:" + type1 + (na.length() > 0 ? ("." + na):""); in getAbstractTypeName() 153 return na; in getNamingAuthority() 219 na.equals(type.na); in equals() 230 (na.length() > 0 ? ("." + na) : "") + in toString() 240 na.hashCode() + in hashCode() 337 na = tok.toLowerCase(); in parse()
|
/titanic_41/usr/src/cmd/refer/ |
H A D | hunt6.c | 42 int i, g, j, need, got, na, len; in baddrop() local 109 na = 0; in baddrop() 110 ar[na++] = "fgrep"; in baddrop() 111 ar[na++] = "-r"; in baddrop() 112 ar[na++] = "-n"; in baddrop() 113 ar[na++] = (char *)need; in baddrop() 114 ar[na++] = "-i"; in baddrop() 115 ar[na++] = output; in baddrop() 116 ar[na++] = (char *)len; in baddrop() 118 ar[na++] = qitem[j]; in baddrop() [all …]
|
/titanic_41/usr/src/cmd/awk_xpg4/ |
H A D | awk4.c | 58 register uint na; in f_exp() local 60 if ((na = nargs(np)) > 1) in f_exp() 62 return (realnode(exp(exprreal(na==0 ? field0 : getlist(&np))))); in f_exp() 73 register uint na; in f_int() local 75 if ((na = nargs(np)) > 1) in f_int() 77 return (intnode(exprint(na==0 ? field0 : getlist(&np)))); in f_int() 88 register uint na; in f_log() local 90 if ((na = nargs(np)) > 1) in f_log() 92 return (realnode(log(exprreal(na==0 ? field0 : getlist(&np))))); in f_log() 103 register uint na; in f_sqrt() local [all …]
|
/titanic_41/usr/src/lib/libast/common/string/ |
H A D | strvcmp.c | 34 register unsigned long na; in strvcmp() local 41 na = nb = 0; in strvcmp() 43 na = na * 10 + *a++ - '0'; in strvcmp() 46 if (na < nb) in strvcmp() 48 if (na > nb) in strvcmp()
|
H A D | strnvcmp.c | 36 register unsigned long na; in strnvcmp() local 53 na = nb = 0; in strnvcmp() 55 na = na * 10 + *a++ - '0'; in strnvcmp() 58 if (na < nb) in strnvcmp() 60 if (na > nb) in strnvcmp()
|
/titanic_41/usr/src/stand/lib/fs/nfs/ |
H A D | nfs2ops.c | 187 fattr *na; in nfsgetattr() local 205 na = &getattr_res.attrstat_u.attributes; in nfsgetattr() 207 if (na->type < NFNON || na->type > NFSOCK) in nfsgetattr() 210 vap->va_type = nf_to_vt[na->type]; in nfsgetattr() 213 vap->va_mode = na->mode; in nfsgetattr() 215 vap->va_size = na->size; in nfsgetattr() 217 vap->va_nodeid = na->fileid; in nfsgetattr() 219 vap->va_atime.tv_sec = na->atime.seconds; in nfsgetattr() 220 vap->va_atime.tv_nsec = na->atime.useconds * 1000; in nfsgetattr() 223 vap->va_ctime.tv_sec = na->ctime.seconds; in nfsgetattr() [all …]
|
H A D | nfs3ops.c | 188 fattr3 *na; in nfs3getattr() local 213 na = &getattr_res.GETATTR3res_u.resok.obj_attributes; in nfs3getattr() 215 if (na->type < NF3REG || na->type > NF3FIFO) in nfs3getattr() 218 vap->va_type = nf3_to_vt[na->type]; in nfs3getattr() 221 vap->va_mode = (mode_t)na->mode; in nfs3getattr() 223 vap->va_size = (u_offset_t)na->size; in nfs3getattr() 225 vap->va_nodeid = (u_longlong_t)na->fileid; in nfs3getattr() 227 vap->va_atime.tv_sec = na->atime.seconds; in nfs3getattr() 228 vap->va_atime.tv_nsec = na->atime.nseconds; in nfs3getattr() 231 vap->va_ctime.tv_sec = na->ctime.seconds; in nfs3getattr() [all …]
|
/titanic_41/usr/src/lib/libast/common/misc/ |
H A D | signal.c | 77 struct sigaction na; in signal() local 95 memzero(&na, sizeof(na)); in signal() 96 na.sa_handler = fun; in signal() 114 na.sa_flags = SA_RESTART; in signal() 120 na.sa_flags = SA_INTERRUPT; in signal() 125 if (sigaction(sig, &na, &oa)) in signal()
|
/titanic_41/usr/src/lib/libnisdb/ |
H A D | ldap_scheme.c | 79 int na, i, nc; in schemeQuery2nisAttr() local 106 for (i = 0, na = 0; i < q->components.components_len; i++) { in schemeQuery2nisAttr() 127 a[na].zattr_ndx = col[index]; in schemeQuery2nisAttr() 128 a[na].zattr_val.zattr_val_val = q->components. in schemeQuery2nisAttr() 130 a[na].zattr_val.zattr_val_len = q->components. in schemeQuery2nisAttr() 132 na++; in schemeQuery2nisAttr() 135 *numAttr = na; in schemeQuery2nisAttr()
|
/titanic_41/usr/src/cmd/idmap/idmap/ |
H A D | namemaps.c | 78 string2auth(const char *from, ns_auth_t *na) in string2auth() argument 81 na->type = NS_LDAP_AUTH_SASL; in string2auth() 82 na->tlstype = NS_LDAP_TLS_SASL; in string2auth() 83 na->saslmech = NS_LDAP_SASL_GSSAPI; in string2auth() 84 na->saslopt = NS_LDAP_SASLOPT_PRIV | in string2auth() 90 na->type = NS_LDAP_AUTH_SIMPLE; in string2auth() 91 na->tlstype = NS_LDAP_TLS_NONE; in string2auth() 92 na->saslmech = NS_LDAP_SASL_NONE; in string2auth() 93 na->saslopt = NS_LDAP_SASLOPT_NONE; in string2auth() 95 na->type = NS_LDAP_AUTH_SASL; in string2auth() [all …]
|
/titanic_41/usr/src/lib/libuutil/common/ |
H A D | uu_avl.c | 139 uintptr_t *na = (uintptr_t *)np; in uu_avl_node_init() local 157 na[0] = POOL_TO_MARKER(pp); in uu_avl_node_init() 158 na[1] = 0; in uu_avl_node_init() 164 uintptr_t *na = (uintptr_t *)np; in uu_avl_node_fini() local 167 if (na[0] == DEAD_MARKER && na[1] == DEAD_MARKER) { in uu_avl_node_fini() 172 if (na[0] != POOL_TO_MARKER(pp) || na[1] != 0) { in uu_avl_node_fini() 179 na[0] = DEAD_MARKER; in uu_avl_node_fini() 180 na[1] = DEAD_MARKER; in uu_avl_node_fini() 181 na[2] = DEAD_MARKER; in uu_avl_node_fini() 425 uintptr_t *na = NODE_ARRAY(pp, elem); in uu_avl_remove() local [all …]
|
/titanic_41/usr/src/cmd/hal/tools/ |
H A D | hal-storage-zpool.c | 113 int na; in handle_zpool() local 126 na = 0; in handle_zpool() 127 args[na++] = "/usr/sbin/zpool"; in handle_zpool() 128 args[na++] = subcmd; in handle_zpool() 131 args[na++] = "-d"; in handle_zpool() 132 args[na++] = "/dev/lofi"; in handle_zpool() 134 args[na++] = (char *) pool; in handle_zpool() 135 args[na++] = NULL; in handle_zpool()
|
H A D | hal-storage-shared.c | 276 int na; in handle_unmount() local 450 na = 0; in handle_unmount() 451 args[na++] = UMOUNT; in handle_unmount() 453 args[na++] = "-l"; in handle_unmount() 455 args[na++] = "-f"; in handle_unmount() 456 args[na++] = (char *) device; in handle_unmount() 457 args[na++] = NULL; in handle_unmount() 547 int na; in handle_eject() local 561 na = 0; in handle_eject() 562 args[na++] = EJECT; in handle_eject() [all …]
|
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | rtquery.c | 568 struct netauth *na; in rip_input() local 684 na = (struct netauth *)n; in rip_input() 685 if (na->a_type == RIP_AUTH_PW && in rip_input() 690 qstring(na->au.au_pw, in rip_input() 695 if (na->a_type == RIP_AUTH_MD5 && in rip_input() 702 ntohs(na->au.a_md5.md5_pkt_len), in rip_input() 703 na->au.a_md5.md5_keyid, in rip_input() 704 na->au.a_md5.md5_auth_len, in rip_input() 705 (int)ntohl(na->au.a_md5.md5_seqno), in rip_input() 706 na->au.a_md5.rsvd[0], in rip_input() [all …]
|
/titanic_41/usr/src/lib/libnsl/rpc/ |
H A D | rpcb_clnt.c | 538 struct netbuf *na = NULL; in got_entry() local 548 na = uaddr2taddr(nconf, rmap->r_maddr); in got_entry() 552 return (na); in got_entry() 1076 struct netbuf *na; in rpcb_getaddr() local 1078 if ((na = __rpcb_findaddr_timed(program, version, in rpcb_getaddr() 1082 if (na->len > address->maxlen) { in rpcb_getaddr() 1084 netdir_free((char *)na, ND_ADDR); in rpcb_getaddr() 1088 (void) memcpy(address->buf, na->buf, (int)na->len); in rpcb_getaddr() 1089 address->len = na->len; in rpcb_getaddr() 1090 netdir_free((char *)na, ND_ADDR); in rpcb_getaddr() [all …]
|
H A D | pmap_clnt.c | 67 struct netbuf *na; in pmap_set() local 77 na = uaddr2taddr(nconf, buf); in pmap_set() 78 if (!na) { in pmap_set() 82 rslt = rpcb_set(program, version, nconf, na); in pmap_set() 84 netdir_free((char *)na, ND_ADDR); in pmap_set()
|