/titanic_41/usr/src/uts/intel/io/dktp/controller/ata/ |
H A D | ata_debug.c | 41 dump_ata_ctl(ata_ctl_t *P) in dump_ata_ctl() argument 44 P->ac_dip, P->ac_flags, P->ac_timing_flags); in dump_ata_ctl() 46 P->ac_drvp[0][0], P->ac_drvp[0][1], P->ac_drvp[0][2], in dump_ata_ctl() 47 P->ac_drvp[0][3], P->ac_drvp[0][4], P->ac_drvp[0][5], in dump_ata_ctl() 48 P->ac_drvp[0][6], P->ac_drvp[0][7]); in dump_ata_ctl() 50 P->ac_drvp[1][0], P->ac_drvp[1][1], P->ac_drvp[1][2], in dump_ata_ctl() 51 P->ac_drvp[1][3], P->ac_drvp[1][4], P->ac_drvp[1][5], in dump_ata_ctl() 52 P->ac_drvp[1][6], P->ac_drvp[1][7]); in dump_ata_ctl() 54 P->ac_max_transfer, &P->ac_ccc, in dump_ata_ctl() 55 P->ac_active_drvp, P->ac_active_pktp); in dump_ata_ctl() [all …]
|
/titanic_41/usr/src/lib/libdtrace/common/ |
H A D | iscsit.d | 35 translator conninfo_t < idm_conn_t *P > { 36 ci_local = (P->ic_laddr.ss_family == AF_INET) ? 38 &((struct sockaddr_in *)&P->ic_laddr)->sin_addr) : 39 inet_ntoa6(&((struct sockaddr_in6 *)&P->ic_laddr)->sin6_addr); 41 ci_remote = (P->ic_raddr.ss_family == AF_INET) ? 43 &((struct sockaddr_in *)&P->ic_raddr)->sin_addr) : 44 inet_ntoa6(&((struct sockaddr_in6 *)&P->ic_raddr)->sin6_addr); 46 ci_protocol = (P->ic_laddr.ss_family == AF_INET) ? "ipv4" : "ipv6"; 50 translator iscsiinfo_t < iscsi_async_evt_hdr_t *P > { 59 ii_lun = (((uint64_t)P->lun[0] << (64 - 0*8 - 8)) + [all …]
|
H A D | srp.d | 45 translator conninfo_t < srpt_session_t *P > { 46 ci_local = P->ss_t_gid; 47 ci_remote = P->ss_i_gid; 52 translator srp_portinfo_t < srpt_session_t *P > { 53 pi_initiator = P->ss_i_name; 54 pi_i_sid = P->ss_i_alias; 55 pi_target = P->ss_t_name; 56 pi_t_sid = P->ss_t_alias; 61 translator conninfo_t < srpt_channel_t *P > { 62 ci_local = P->ch_session->ss_i_gid; [all …]
|
H A D | fc.d | 60 translator conninfo_t < fct_local_port_t *P > { 61 ci_local = P->port_pwwn_str[0] ? 62 P->port_pwwn_str : "<unknown>"; 71 translator conninfo_t < fct_i_local_port_t *P > { 72 ci_local = P->iport_port->port_pwwn_str[0] ? 73 P->iport_port->port_pwwn_str : "<unknown>"; 105 translator fc_port_info_t < fct_local_port_t *P > { 107 fcp_node_wwn = P->port_nwwn_str[0] ? 108 P->port_nwwn_str : "<unknown>"; 111 fcp_sym_node_name = P->port_sym_node_name ? [all …]
|
H A D | nfs.d | 45 translator conninfo_t < struct svc_req *P > { 46 ci_protocol = P->rq_xprt->xp_xpc.xpc_type == T_RDMA ? "rdma" : 47 P->rq_xprt->xp_xpc.xpc_netid == "tcp" ? "ipv4" : 48 P->rq_xprt->xp_xpc.xpc_netid == "udp" ? "ipv4" : 49 P->rq_xprt->xp_xpc.xpc_netid == "tcp6" ? "ipv6" : 50 P->rq_xprt->xp_xpc.xpc_netid == "udp6" ? "ipv6" : 53 ci_local = (P->rq_xprt->xp_xpc.xpc_netid == "tcp" || 54 P->rq_xprt->xp_xpc.xpc_netid == "udp") ? 56 P->rq_xprt->xp_xpc.xpc_lcladdr.buf)->sin_addr.S_un.S_addr) : 57 (P->rq_xprt->xp_xpc.xpc_netid == "tcp6" || [all …]
|
/titanic_41/usr/src/uts/intel/io/dktp/hba/ghd/ |
H A D | ghd_debug.c | 63 ghd_dump_ccc(ccc_t *P) in ghd_dump_ccc() argument 66 P->ccc_nextp, P->ccc_tmrp, P->ccc_label, &P->ccc_activel_mutex); in ghd_dump_ccc() 68 &P->ccc_activel, P->ccc_hba_dip, P->ccc_iblock); in ghd_dump_ccc() 70 P->ccc_soft_id, &P->ccc_hba_mutex, &P->ccc_hba_pollmode); in ghd_dump_ccc() 72 &P->ccc_devs, &P->ccc_waitq_mutex, &P->ccc_waitq); in ghd_dump_ccc() 74 &P->ccc_waitq_freezetime, &P->ccc_waitq_freezedelay); in ghd_dump_ccc() 76 P->ccc_doneq_softid, &P->ccc_doneq_mutex, &P->ccc_doneq); in ghd_dump_ccc() 78 P->ccc_hba_handle, &P->ccc_ccballoc); in ghd_dump_ccc() 80 P->ccc_hba_reset_notify_callback, &P->ccc_reset_notify_list, in ghd_dump_ccc() 81 &P->ccc_reset_notify_mutex); in ghd_dump_ccc() [all …]
|
/titanic_41/usr/src/lib/libproc/common/ |
H A D | Pcontrol.c | 85 Pread_live(struct ps_prochandle *P, void *buf, size_t n, uintptr_t addr, in Pread_live() argument 88 return (pread(P->asfd, buf, n, (off_t)addr)); in Pread_live() 93 Pwrite_live(struct ps_prochandle *P, const void *buf, size_t n, uintptr_t addr, in Pwrite_live() argument 96 return (pwrite(P->asfd, buf, n, (off_t)addr)); in Pwrite_live() 101 Pread_maps_live(struct ps_prochandle *P, prmap_t **Pmapp, ssize_t *nmapp, in Pread_maps_live() argument 111 procfs_path, (int)P->pid); in Pread_maps_live() 122 Preset_maps(P); /* utter failure; destroy tables */ in Pread_maps_live() 135 Pread_aux_live(struct ps_prochandle *P, auxv_t **auxvp, int *nauxp, void *data) in Pread_aux_live() argument 144 procfs_path, (int)P->pid); in Pread_aux_live() 173 Pcred_live(struct ps_prochandle *P, prcred_t *pcrp, int ngroups, void *data) in Pcred_live() argument [all …]
|
H A D | Psyscall.c | 60 Pabort_agent(struct ps_prochandle *P) in Pabort_agent() argument 62 int sysnum = P->status.pr_lwp.pr_syscall; in Pabort_agent() 66 (void) Pstop(P, 0); in Pabort_agent() 67 stop = Psysexit(P, sysnum, TRUE); in Pabort_agent() 69 if (Psetrun(P, 0, PRSABORT) == 0) { in Pabort_agent() 70 while (Pwait(P, 0) == -1 && errno == EINTR) in Pabort_agent() 72 (void) Psysexit(P, sysnum, stop); in Pabort_agent() 81 Pcreate_agent(struct ps_prochandle *P) in Pcreate_agent() argument 94 if (P->agentcnt > 0) { in Pcreate_agent() 95 P->agentcnt++; in Pcreate_agent() [all …]
|
H A D | Plwpregs.c | 52 getlwpcore(struct ps_prochandle *P, lwpid_t lwpid) in getlwpcore() argument 54 core_info_t *core = P->data; in getlwpcore() 72 getlwpfile(struct ps_prochandle *P, lwpid_t lwpid, in getlwpfile() argument 79 procfs_path, (int)P->status.pr_pid, (int)lwpid, fbase); in getlwpfile() 97 getlwpstatus(struct ps_prochandle *P, lwpid_t lwpid, lwpstatus_t *lps) in getlwpstatus() argument 105 if (P->status.pr_lwp.pr_lwpid == lwpid) { in getlwpstatus() 106 (void) memcpy(lps, &P->status.pr_lwp, sizeof (lwpstatus_t)); in getlwpstatus() 114 if (P->state != PS_DEAD) { in getlwpstatus() 115 return (getlwpfile(P, lwpid, "lwpstatus", in getlwpstatus() 123 if (P->data != NULL && (lwp = getlwpcore(P, lwpid)) != NULL) { in getlwpstatus() [all …]
|
H A D | Pservice.c | 51 ps_pdmodel(struct ps_prochandle *P, int *modelp) in ps_pdmodel() argument 53 *modelp = P->status.pr_dmodel; in ps_pdmodel() 58 ps_pread(struct ps_prochandle *P, psaddr_t addr, void *buf, size_t size) in ps_pread() argument 60 if (P->ops.pop_pread(P, buf, size, addr, P->data) != size) in ps_pread() 66 ps_pwrite(struct ps_prochandle *P, psaddr_t addr, const void *buf, size_t size) in ps_pwrite() argument 68 if (P->ops.pop_pwrite(P, buf, size, addr, P->data) != size) in ps_pwrite() 85 ps_pstop(struct ps_prochandle *P) in ps_pstop() argument 87 if (P->state != PS_STOP && P->state != PS_DEAD) in ps_pstop() 93 ps_pcontinue(struct ps_prochandle *P) in ps_pcontinue() argument 95 if (P->state != PS_STOP && P->state != PS_DEAD) in ps_pcontinue() [all …]
|
H A D | Psymtab.c | 98 get_saddrs(struct ps_prochandle *P, uintptr_t ehdr_start, uint_t *n) in get_saddrs() argument 103 if (P->status.pr_dmodel == PR_MODEL_ILP32) { in get_saddrs() 108 if (read_ehdr32(P, &ehdr, &phnum, ehdr_start) != 0) in get_saddrs() 114 if (Pread(P, &phdr, sizeof (phdr), a) != in get_saddrs() 136 if (read_ehdr64(P, &ehdr, &phnum, ehdr_start) != 0) in get_saddrs() 142 if (Pread(P, &phdr, sizeof (phdr), a) != in get_saddrs() 172 file_info_new(struct ps_prochandle *P, map_info_t *mptr) in file_info_new() argument 182 list_link(fptr, &P->file_head); in file_info_new() 187 P->num_files++; in file_info_new() 197 if ((fptr->file_saddrs = get_saddrs(P, mptr->map_pmap.pr_vaddr, in file_info_new() [all …]
|
H A D | Pexecname.c | 54 try_exec(struct ps_prochandle *P, const char *cwd, const char *path, char *buf, in try_exec() argument 66 (void) Pfindobj(P, buf, buf, PATH_MAX); in try_exec() 83 Pfindexec(struct ps_prochandle *P, const char *aout, in Pfindexec() argument 95 if (P->execname) in Pfindexec() 96 return (P->execname); /* Already found */ in Pfindexec() 107 if (try_exec(P, ".", aout, buf, isexec, isdata)) in Pfindexec() 130 if ((addr = Pgetauxval(P, AT_SUN_EXECNAME)) != (uintptr_t)-1L && in Pfindexec() 131 Pread_string(P, path, sizeof (path), (off_t)addr) > 0) { in Pfindexec() 133 const psinfo_t *pi = Ppsinfo(P); in Pfindexec() 135 if (try_exec(P, cwd, path, buf, isexec, isdata)) in Pfindexec() [all …]
|
H A D | Pidle.c | 42 Pread_idle(struct ps_prochandle *P, void *buf, size_t n, uintptr_t addr, in Pread_idle() argument 53 if ((mp = Paddr2mptr(P, addr)) == NULL) in Pread_idle() 60 if ((len = pread64(P->asfd, buf, len, off)) <= 0) in Pread_idle() 73 Pwrite_idle(struct ps_prochandle *P, const void *buf, size_t n, uintptr_t addr, in Pwrite_idle() argument 82 Ppriv_idle(struct ps_prochandle *P, prpriv_t **pprv, void *data) in Ppriv_idle() argument 86 pp = proc_get_priv(P->pid); in Ppriv_idle() 125 idle_add_mapping(struct ps_prochandle *P, GElf_Phdr *php, file_info_t *fp) in idle_add_mapping() argument 150 return (Padd_mapping(P, php->p_offset, fp, &pmap)); in idle_add_mapping() 156 struct ps_prochandle *P = NULL; in Pgrab_file() local 177 if ((P = calloc(1, sizeof (struct ps_prochandle))) == NULL) { in Pgrab_file() [all …]
|
H A D | Pgcore.c | 80 struct ps_prochandle *P; member 148 Pgcore(struct ps_prochandle *P, const char *fname, core_content_t content) in Pgcore() argument 157 if ((err = Pfgcore(P, fd, content)) != 0) { in Pgcore() 176 mkprstatus(struct ps_prochandle *P, const lwpstatus_t *lsp, in mkprstatus() argument 220 psp->pr_nlwp = P->status.pr_nlwp; in mkprstatus() 221 psp->pr_sigpend = P->status.pr_sigpend; in mkprstatus() 225 psp->pr_pid = P->status.pr_pid; in mkprstatus() 226 psp->pr_ppid = P->status.pr_ppid; in mkprstatus() 227 psp->pr_pgrp = P->status.pr_pgid; in mkprstatus() 228 psp->pr_sid = P->status.pr_sid; in mkprstatus() [all …]
|
H A D | Pcore.c | 70 core_rw(struct ps_prochandle *P, void *buf, size_t n, uintptr_t addr, in core_rw() argument 76 map_info_t *mp = Paddr2mptr(P, addr); in core_rw() 92 fd = P->asfd; in core_rw() 121 Pread_core(struct ps_prochandle *P, void *buf, size_t n, uintptr_t addr, in Pread_core() argument 124 return (core_rw(P, buf, n, addr, pread64)); in Pread_core() 129 Pwrite_core(struct ps_prochandle *P, const void *buf, size_t n, uintptr_t addr, in Pwrite_core() argument 132 return (core_rw(P, (void *)buf, n, addr, in Pwrite_core() 138 Pcred_core(struct ps_prochandle *P, prcred_t *pcrp, int ngroups, void *data) in Pcred_core() argument 162 Ppriv_core(struct ps_prochandle *P, prpriv_t **pprv, void *data) in Ppriv_core() argument 182 Ppsinfo_core(struct ps_prochandle *P, psinfo_t *psinfo, void *data) in Ppsinfo_core() argument [all …]
|
H A D | Pfdinfo.c | 42 Pfd2info(struct ps_prochandle *P, int fd) in Pfd2info() argument 44 fd_info_t *fip = list_next(&P->fd_head); in Pfd2info() 49 list_link(&P->fd_head, NULL); in Pfd2info() 50 fip = list_next(&P->fd_head); in Pfd2info() 53 for (i = 0; i < P->num_fd; i++, fip = list_next(fip)) { in Pfd2info() 67 list_link(fip, next ? next : (void *)&(P->fd_head)); in Pfd2info() 68 P->num_fd++; in Pfd2info() 76 load_fdinfo(struct ps_prochandle *P) in load_fdinfo() argument 84 if (P->num_fd > 0) { in load_fdinfo() 88 if (P->state != PS_DEAD && P->state != PS_IDLE) { in load_fdinfo() [all …]
|
H A D | Pscantext.c | 48 Pscantext(struct ps_prochandle *P) in Pscantext() argument 68 if (P->sysaddr != 0 && in Pscantext() 69 (syspri = Pissyscall(P, P->sysaddr))) in Pscantext() 70 sysaddr = P->sysaddr; in Pscantext() 74 syspri = Pissyscall_prev(P, P->status.pr_lwp.pr_reg[R_PC], in Pscantext() 78 P->sysaddr = sysaddr; in Pscantext() 84 procfs_path, (int)P->pid); in Pscantext() 134 (endoff > P->status.pr_stkbase && in Pscantext() 135 offset < P->status.pr_stkbase + P->status.pr_stksize) || in Pscantext() 136 (endoff > P->status.pr_brkbase && in Pscantext() [all …]
|
/titanic_41/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/ |
H A D | page.h | 105 #define REFERENCE(P, T, O) (((T *)((u_int8_t *)(P) + O))[0]) argument 110 #define NUM_ENT(P) (REFERENCE((P), indx_t, I_ENTRIES)) argument 111 #define PREV_PGNO(P) (REFERENCE((P), db_pgno_t, I_PREV_PGNO)) argument 112 #define NEXT_PGNO(P) (REFERENCE((P), db_pgno_t, I_NEXT_PGNO)) argument 113 #define TYPE(P) (REFERENCE((P), u_int8_t, I_TYPE)) argument 114 #define OFFSET(P) (REFERENCE((P), indx_t, I_HF_OFFSET)) argument 120 #define ADDR(P) (PREV_PGNO((P))) argument 123 #define DATA_OFF(P, N) \ argument 124 REFERENCE(P, indx_t, PAGE_OVERHEAD + N * PAIR_OVERHEAD + sizeof(indx_t)) 125 #define KEY_OFF(P, N) \ argument [all …]
|
/titanic_41/usr/src/lib/libm/common/C/ |
H A D | log10.c | 94 static const double P[] = { variable 124 #define ONE P[0] 125 #define TWO52 P[1] 126 #define LNAHI P[2] 127 #define LNALO P[3] 128 #define A1 P[4] 129 #define A2 P[5] 130 #define A3 P[6] 131 #define A4 P[7] 132 #define A5 P[8] [all …]
|
H A D | log2.c | 95 static const double P[] = { variable 124 #define ONE P[0] 125 #define TWO52 P[1] 126 #define LN10V P[2] 127 #define ZERO P[3] 128 #define A1 P[4] 129 #define A2 P[5] 130 #define A3 P[6] 131 #define A4 P[7] 132 #define A5 P[8] [all …]
|
H A D | log.c | 104 static const double P[] = { variable 131 #define ONE P[0] 132 #define TWO52 P[1] 133 #define LN2HI P[2] 134 #define LN2LO P[3] 135 #define A1 P[4] 136 #define A2 P[5] 137 #define A3 P[6] 138 #define A4 P[7] 139 #define A5 P[8] [all …]
|
/titanic_41/usr/src/grub/grub-0.97/netboot/ |
H A D | grub.h | 80 extern void rx_qdrain P((void)); 81 extern int tftp P((const char *name, int (*)(unsigned char *, unsigned int, unsigned int, int))); 82 extern int ip_transmit P((int len, const void *buf)); 83 extern void build_ip_hdr P((unsigned long destip, int ttl, int protocol, 85 extern void build_udp_hdr P((unsigned long destip, 88 extern int udp_transmit P((unsigned long destip, unsigned int srcsock, 91 extern int await_reply P((reply_t reply, int ival, void *ptr, long timeout)); 92 extern int decode_rfc1533 P((unsigned char *, unsigned int, unsigned int, int)); 96 extern uint16_t ipchksum P((const void *ip, unsigned long len)); 97 extern uint16_t add_ipchksums P((unsigned long offset, uint16_t sum, uint16_t new)); [all …]
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | foreachaddr.c | 208 #define P (afp[afidx]) in foreach_localaddr() macro 213 P.af = afs[afidx]; in foreach_localaddr() 214 P.sock = -1; in foreach_localaddr() 215 P.buf = 0; in foreach_localaddr() 220 KRB5_LOG (KRB5_INFO, "foreach_localaddr() trying af %d", P.af); in foreach_localaddr() 221 P.sock = socket (P.af, USE_TYPE, USE_PROTO); in foreach_localaddr() 222 if (P.sock < 0) { in foreach_localaddr() 228 P.lifnum.lifn_family = P.af; in foreach_localaddr() 229 P.lifnum.lifn_flags = 0; in foreach_localaddr() 230 P.lifnum.lifn_count = 0; in foreach_localaddr() [all …]
|
/titanic_41/usr/src/lib/krb5/dyn/ |
H A D | dyn.h | 54 #define P(args) args macro 56 #define P(args) () macro 59 DynObject DynCreate P((int el_size, int inc)), DynCopy P((DynObject obj)); 60 int DynDestroy P((DynObject obj)), DynRelease P((DynObject obj)); 61 int DynAdd P((DynObject obj, void *el)); 62 int DynPut P((DynObject obj, void *el, int idx)); 63 int DynInsert P((DynObject obj, int idx, void *els, int num)); 64 int DynDelete P((DynObject obj, int idx)); 65 DynPtr DynGet P((DynObject obj, int num)); 66 DynPtr DynArray P((DynObject obj)); [all …]
|
/titanic_41/usr/src/lib/libproc/amd64/ |
H A D | Pisadep.c | 47 Ppltdest(struct ps_prochandle *P, uintptr_t pltaddr) in Ppltdest() argument 49 map_info_t *mp = Paddr2mptr(P, pltaddr); in Ppltdest() 63 if (P->status.pr_dmodel == PR_MODEL_LP64) { in Ppltdest() 68 if (Pread(P, &r, sizeof (r), r_addr) == sizeof (r) && in Ppltdest() 80 if (Pread(P, &r, sizeof (r), r_addr) == sizeof (r) && in Ppltdest() 93 Pissyscall(struct ps_prochandle *P, uintptr_t addr) in Pissyscall() argument 97 if (P->status.pr_dmodel == PR_MODEL_LP64) { in Pissyscall() 98 if (Pread(P, instr, sizeof (syscall_instr), addr) != in Pissyscall() 106 if (Pread(P, instr, sizeof (int_syscall_instr), addr) != in Pissyscall() 117 Pissyscall_prev(struct ps_prochandle *P, uintptr_t addr, uintptr_t *dst) in Pissyscall_prev() argument [all …]
|