Home
last modified time | relevance | path

Searched refs:ua (Results 1 – 25 of 67) sorted by relevance

123

/titanic_41/usr/src/uts/common/syscall/
H A Dsigaction.c49 user_t *ua; in sigaction() local
77 ua = PTOU(p); in sigaction()
84 disp = ua->u_signal[sig - 1]; in sigaction()
88 set = ua->u_sigmask[sig-1]; in sigaction()
91 if (sigismember(&ua->u_sigrestart, sig)) in sigaction()
93 if (sigismember(&ua->u_sigonstack, sig)) in sigaction()
95 if (sigismember(&ua->u_sigresethand, sig)) in sigaction()
97 if (sigismember(&ua->u_signodefer, sig)) in sigaction()
142 user_t *ua; in sigaction32() local
170 ua = PTOU(p); in sigaction32()
[all …]
/titanic_41/usr/src/uts/intel/ia32/os/
H A Dcopy_subr.c76 char *ua = (char *)uaddr; in copyinstr_noerr() local
80 if ((uintptr_t)ua > kernelbase) { in copyinstr_noerr()
84 ua = (char *)kernelbase; in copyinstr_noerr()
86 return (copystr_nofault(ua, kaddr, maxlength, lencopied)); in copyinstr_noerr()
93 char *ua = (char *)uaddr; in copyoutstr_noerr() local
97 if ((uintptr_t)ua > kernelbase) { in copyoutstr_noerr()
101 ua = (char *)kernelbase; in copyoutstr_noerr()
103 return (copystr_nofault(kaddr, ua, maxlength, lencopied)); in copyoutstr_noerr()
/titanic_41/usr/src/cmd/fs.d/nfs/nfs4cbd/
H A Dnfs4cbd.c229 char *ua, *ua2, *mua = NULL; in get_uaddr() local
235 ua = taddr2uaddr(nconf, nb); in get_uaddr()
237 if (ua == NULL) { in get_uaddr()
266 ma.s_uaddr = ua; in get_uaddr()
289 char *ua; in nfs4svc() local
292 ua = get_uaddr(fd, nconf, addr); in nfs4svc()
294 if (ua == NULL) { in nfs4svc()
304 nconf->nc_netid, ua); in nfs4svc()
307 nconf->nc_netid, ua); in nfs4svc()
317 nsa.addr = ua; in nfs4svc()
/titanic_41/usr/src/uts/common/rpc/
H A Drpc_subr.c362 loopb_u2t(const char *ua, struct netbuf *addr) in loopb_u2t() argument
364 size_t stringlen = strlen(ua) + 1; in loopb_u2t()
373 univp = ua; in loopb_u2t()
511 char *ua = NULL; in rpcbind_getaddr() local
566 if (ua != NULL) { in rpcbind_getaddr()
567 xdr_free(xdr_wrapstring, (char *)&ua); in rpcbind_getaddr()
568 ua = NULL; in rpcbind_getaddr()
593 xdr_wrapstring, (char *)&ua, tmo); in rpcbind_getaddr()
600 if (ua == NULL || *ua == NULL) { in rpcbind_getaddr()
623 if (rpc_iptype(ua, &iptype) != 0) { in rpcbind_getaddr()
[all …]
/titanic_41/usr/src/lib/libc/port/fp/
H A Dmoddi3.c53 u_longlong_t ua, ub, ur; in ___moddi3() local
57 ua = -(u_longlong_t)a, neg = 1; in ___moddi3()
59 ua = a, neg = 0; in ___moddi3()
64 (void) ___qdivrem(ua, ub, &ur); in ___moddi3()
H A Ddivdi3.c51 u_longlong_t ua, ub, uq; in ___divdi3() local
55 ua = -(u_longlong_t)a, neg = 1; in ___divdi3()
57 ua = a, neg = 0; in ___divdi3()
62 uq = ___qdivrem(ua, ub, (u_longlong_t *)0); in ___divdi3()
/titanic_41/usr/src/lib/libast/common/string/
H A Dstrnacmp.c45 register unsigned char* ua = (unsigned char*)a;
53 ue = ua + n;
54 while (ua < ue)
56 c = m[*ua++];
H A Dccmap.c685 register unsigned char* ua; in _ccmapcpy() local
691 ua = (unsigned char*)a; in _ccmapcpy()
693 *ub++ = m[*ua++]; in _ccmapcpy()
/titanic_41/usr/src/uts/common/sys/scsi/impl/
H A Dscsi_sas.h42 (void *phymap_priv, char *ua, void **ua_privp);
44 (void *phymap_priv, char *ua, void *ua_priv);
67 char *ua);
74 char *ua);
78 char *ua);
/titanic_41/usr/src/stand/lib/fs/nfs/
H A Dpmap.c352 char ua[UA_SIZE]; /* universal addr buffer */ in bpmap_rmtcall() local
382 bzero(ua, sizeof (ua)); in bpmap_rmtcall()
390 rpcb_r.addr_ptr = ua; in bpmap_rmtcall()
403 port = ntohs(uaddr2port(ua)); in bpmap_rmtcall()
464 char *ua; /* universal address */ in bpmap_getport() local
475 ua = ua_buf; in bpmap_getport()
483 (char *)&ua, 0, 0, to, from, AUTH_NONE); in bpmap_getport()
486 if (ua[0] != '\0') in bpmap_getport()
487 dport = ntohs(uaddr2port(ua)); in bpmap_getport()
/titanic_41/usr/src/cmd/print/printmgr/com/sun/admin/pm/client/
H A DpmCalls.java132 String ua[] = p.getUserAllowList(); in debugShowPrinter() local
134 if (ua != null) { in debugShowPrinter()
135 for (int i = 0; i < ua.length; i++) { in debugShowPrinter()
136 Debug.info(" " + ua[i]); in debugShowPrinter()
/titanic_41/usr/src/uts/common/os/
H A Dacct.c381 user_t *ua; in acct() local
406 ua = PTOU(p); in acct()
407 bcopy(ua->u_comm, ag->acctbuf.ac_comm, sizeof (ag->acctbuf.ac_comm)); in acct()
408 ag->acctbuf.ac_btime = ua->u_start.tv_sec; in acct()
412 ag->acctbuf.ac_etime = acct_compress(ddi_get_lbolt() - ua->u_ticks); in acct()
413 ag->acctbuf.ac_mem = acct_compress((ulong_t)ua->u_mem); in acct()
422 ag->acctbuf.ac_flag = (ua->u_acflag | AEXPND); in acct()
H A Ddevid_cache.c1052 e_devid_cache_path_to_devid(char *path, char *ua, in e_devid_cache_path_to_devid() argument
1061 if (path == NULL || *path == '\0' || (ua && *ua == '\0') || in e_devid_cache_path_to_devid()
1067 if (ua) { in e_devid_cache_path_to_devid()
1069 ualen = strlen(ua); in e_devid_cache_path_to_devid()
1093 if (ua == NULL) { in e_devid_cache_path_to_devid()
1137 strncmp(ua, uasep + 1, ualen) != 0) in e_devid_cache_path_to_devid()
1145 if (ua && nodenamebuf) { in e_devid_cache_path_to_devid()
/titanic_41/usr/src/lib/libsecdb/common/
H A Dchkauthattr.c154 userattr_t *ua; in _enum_common() local
163 ua = getusernam(username); in _enum_common()
165 if (ua != NULL) { in _enum_common()
166 if (ua->attr != NULL) { in _enum_common()
168 res = cb(NULL, ua->attr, ctxt, pres); in _enum_common()
170 res = _enum_common_p(GETPROF(ua->attr), in _enum_common()
174 free_userattr(ua); in _enum_common()
/titanic_41/usr/src/lib/libast/common/comp/
H A Dsyslog.c208 struct sockaddr_un ua;
211 if ((ul = strlen(buf)) < sizeof(ua.sun_path) && !stat(buf, &st) && S_ISSOCK(st.st_mode))
215 ua.sun_family = AF_UNIX;
216 strcpy(ua.sun_path, buf);
217 ul += sizeof(ua.sun_family) + 1;
218 if (!connect(fd, (struct sockaddr*)&ua, ul))
/titanic_41/usr/src/cmd/ypcmd/
H A Dypwhich.c629 struct netbuf *ua; local
644 ua = b->ypbind_svcaddr;
655 if (ua == NULL)
660 "maxlen=%d len=%d\naddr=", ua->maxlen, ua->len);
661 for (i = 0; i < ua->len; i++) {
662 if (i != (ua->len - 1))
664 "%d.", ua->buf[i]);
667 "%d\n", ua->buf[i]);
H A Drpc_bootstrap.c273 char *ua = NULL; /* Universal address of service */ local
303 xdr_wrapstring, (char *)&ua, tv);
310 if (*ua == '\0') {
311 xdr_free(xdr_wrapstring, (char *)&ua);
314 return (ua);
/titanic_41/usr/src/uts/common/io/scsi/conf/
H A Dscsi_confsubr.c610 char ua[SCSI_MAXNAMELEN], nodenamebuf[SCSI_MAXNAMELEN]; in scsi_test_ereport_post() local
655 if (!scsi_ua_get(sd, ua, sizeof (ua)) || in scsi_test_ereport_post()
813 if (e_devid_cache_path_to_devid(pathbuf, ua, nodenamebuf, in scsi_test_ereport_post()
832 nodename ? nodename : "unknown", ua); in scsi_test_ereport_post()
947 char ua[SCSI_MAXNAMELEN]; in scsi_test() local
952 if (probe && scsi_ua_get(sd, ua, sizeof (ua)) && in scsi_test()
953 strncmp(ua, scsi_test_fail_ua, sizeof (ua)) == 0) { in scsi_test()
1449 scsi_ua_get(struct scsi_device *sd, char *ua, int len) in scsi_ua_get() argument
1455 (void) strlcpy(ua, eua, len); in scsi_ua_get()
1462 return ((*DEVP_TO_TRAN(sd)->tran_get_name)(sd, ua, len)); in scsi_ua_get()
[all …]
/titanic_41/usr/src/cmd/rpcbind/
H A Dpmap_svc.c259 char serveuaddr[32], *ua; in pmapproc_getport() local
264 ua = udp_uaddr; in pmapproc_getport()
267 ua = tcp_uaddr; /* To get the len */ in pmapproc_getport()
270 if (ua == NULL) { in pmapproc_getport()
276 if (sscanf(ua, "%d.%d.%d.%d.%d.%d", &h1, &h2, &h3, in pmapproc_getport()
/titanic_41/usr/src/lib/libwrap/
H A Dtli.c284 char *ua; local
288 if ((ua = taddr2uaddr(config, &(addr_list->n_addrs[i]))) != 0) {
289 found = !strcmp(ua, uaddr);
290 free(ua);
/titanic_41/usr/src/uts/common/io/scsi/adapters/smrt/
H A Dsmrt_hba.c38 smrt_logvol_parse(const char *ua, uint_t *targp) in smrt_logvol_parse() argument
44 comma = strchr(ua, ','); in smrt_logvol_parse()
58 if (ddi_strtol(ua, &eptr, 16, &targ) != 0 || eptr != comma || in smrt_logvol_parse()
76 const char *ua; in smrt_logvol_tran_tgt_init() local
87 ua = scsi_device_unit_address(sd); in smrt_logvol_tran_tgt_init()
88 if (ua == NULL) { in smrt_logvol_tran_tgt_init()
92 if (!smrt_logvol_parse(ua, &targ)) { in smrt_logvol_tran_tgt_init()
175 const char *ua, *comma; in smrt_phys_tran_tgt_init() local
187 ua = scsi_device_unit_address(sd); in smrt_phys_tran_tgt_init()
188 if (ua == NULL) in smrt_phys_tran_tgt_init()
[all …]
/titanic_41/usr/src/uts/sparc/os/
H A Dsyscall.c213 caddr_t ua; in save_syscall_args() local
265 ua = (caddr_t)(uintptr_t)(caddr32_t)(uintptr_t) in save_syscall_args()
269 if (fuword32(ua, &a) != 0) in save_syscall_args()
272 ua += sizeof (a); in save_syscall_args()
283 ua = (caddr_t)(uintptr_t)(caddr32_t)(uintptr_t) in save_syscall_args()
287 if (fuword32(ua, &a) != 0) in save_syscall_args()
290 ua += sizeof (a); in save_syscall_args()
303 ua = (caddr_t)rp->r_sp + MINFRAME + STACK_BIAS; in save_syscall_args()
306 if (fulword(ua, &a) != 0) in save_syscall_args()
309 ua += sizeof (a); in save_syscall_args()
/titanic_41/usr/src/lib/libbsm/
H A Daudit_event.txt117 51:AUE_SETRLIMIT:setrlimit(2):ua
185 116:AUE_PFEXEC:execve(2) with pfexec enabled:ps,ex,ua,as
369 6144:AUE_at_create:at-create atjob:ua
370 6145:AUE_at_delete:at-delete atjob (at or atrm):ua
372 6147:AUE_cron_invoke:cron-invoke:ua
373 6148:AUE_crontab_create:crontab-crontab created:ua
374 6149:AUE_crontab_delete:crontab-crontab deleted:ua
395 6170:AUE_crontab_mod:crontab-modify:ua
399 6180:AUE_prof_cmd:profile command:ua,as
409 6190:AUE_scheduledjob_add:add scheduled job:ua
[all …]
/titanic_41/usr/src/lib/libnsl/nis/gen/
H A Dnis_subr.c680 char *ua = NULL; /* Universal address of service */ in __map_addr() local
720 xdr_wrapstring, (char *)&ua, tv); in __map_addr()
724 if (*ua == '\0') { in __map_addr()
725 free(ua); in __map_addr()
728 res = strdup(ua); in __map_addr()
729 xdr_free(xdr_wrapstring, (char *)&ua); in __map_addr()
/titanic_41/usr/src/uts/common/io/scsi/impl/
H A Dscsi_hba.c489 char *ua; in scsi_hba_log() local
570 ua = ddi_get_name_addr(child); in scsi_hba_log()
572 ddi_node_name(child), (ua && *ua) ? ua : ""); in scsi_hba_log()
1773 char ua[SCSI_MAXNAMELEN]; in scsi_busctl_reportdev() local
1784 if ((scsi_ua_get(sd, ua, sizeof (ua)) == 0) || in scsi_busctl_reportdev()
1798 ddi_driver_name(self), ddi_get_instance(self), ua, ra)); in scsi_busctl_reportdev()
1803 ddi_driver_name(self), ddi_get_instance(self), ua)); in scsi_busctl_reportdev()
4740 scsi_hba_ua_set(char *ua, dev_info_t *dchild, mdi_pathinfo_t *pchild) in scsi_hba_ua_set() argument
4759 p = ua; in scsi_hba_ua_set()
4820 tgt_port_len = tgt_port_end - ua + 1; in scsi_hba_ua_set()
[all …]

123