Home
last modified time | relevance | path

Searched refs:P (Results 1 – 25 of 710) sorted by relevance

12345678910>>...29

/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/
H A Data_debug.c39 dump_ata_ctl(ata_ctl_t *P) in dump_ata_ctl() argument
42 P->ac_dip, P->ac_flags, P->ac_timing_flags); in dump_ata_ctl()
44 P->ac_drvp[0][0], P->ac_drvp[0][1], P->ac_drvp[0][2], in dump_ata_ctl()
45 P->ac_drvp[0][3], P->ac_drvp[0][4], P->ac_drvp[0][5], in dump_ata_ctl()
46 P->ac_drvp[0][6], P->ac_drvp[0][7]); in dump_ata_ctl()
48 P->ac_drvp[1][0], P->ac_drvp[1][1], P->ac_drvp[1][2], in dump_ata_ctl()
49 P->ac_drvp[1][3], P->ac_drvp[1][4], P->ac_drvp[1][5], in dump_ata_ctl()
50 P->ac_drvp[1][6], P->ac_drvp[1][7]); in dump_ata_ctl()
52 P->ac_max_transfer, &P->ac_ccc, in dump_ata_ctl()
53 P->ac_active_drvp, P->ac_active_pktp); in dump_ata_ctl()
[all …]
/illumos-gate/usr/src/tools/smatch/src/validation/
H A Drepeat.h1 #define R0(P, S) P(S) argument
2 #define R1(P, S) R0(P,S##0) R0(P,S##1) argument
3 #define R2(P, S) R0(P,S##0) R0(P,S##1) R0(P,S##2) R0(P,S##3) argument
4 #define R3(P, S) R0(P,S##0) R0(P,S##1) R0(P,S##2) R0(P,S##3) R0(P,S##4) R0(P,S##5) R0(P,S##… argument
5 #define R4(P, S) R3(P,S##0) R3(P,S##1) argument
6 #define R5(P, S) R3(P,S##0) R3(P,S##1) R3(P,S##2) R3(P,S##3) argument
7 #define R6(P, S) R3(P,S##0) R3(P,S##1) R3(P,S##2) R3(P,S##3) R3(P,S##4) R3(P,S##5) R3(P,S##… argument
8 #define R7(P, S) R6(P,S##0) R6(P,S##1) argument
9 #define R8(P, S) R6(P,S##0) R6(P,S##1) R6(P,S##2) R6(P,S##3) argument
10 #define R9(P, S) R6(P,S##0) R6(P,S##1) R6(P,S##2) R6(P,S##3) R6(P,S##4) R6(P,S##5) R6(P,S##… argument
[all …]
/illumos-gate/usr/src/lib/libdtrace/common/
H A Discsit.d35 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 Dsmb.d36 translator conninfo_t < struct smb_request *P > {
38 P->session->ipaddr.a_family == AF_INET6 ? "tcp6" :
39 P->session->ipaddr.a_family == AF_INET ? "tcp" :
42 ci_remote = P->session->ip_addr_str;
66 translator smbopinfo_t < struct smb_request *P > {
67 soi_cred = (cred_t *)P->user_cr;
68 soi_sid = P->session->s_kid;
69 soi_pid = P->smb_pid;
70 soi_status = P->smb_error.status;
71 soi_tid = P->smb_tid;
[all …]
H A Dsrp.d45 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 Dfc.d60 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 Dnfs.d50 translator conninfo_t < struct svc_req *P > {
51 ci_protocol = P->rq_xprt->xp_xpc.xpc_type == T_RDMA ? "rdma" :
52 P->rq_xprt->xp_xpc.xpc_netid == "tcp" ? "ipv4" :
53 P->rq_xprt->xp_xpc.xpc_netid == "udp" ? "ipv4" :
54 P->rq_xprt->xp_xpc.xpc_netid == "tcp6" ? "ipv6" :
55 P->rq_xprt->xp_xpc.xpc_netid == "udp6" ? "ipv6" :
58 ci_local = (P->rq_xprt->xp_xpc.xpc_netid == "tcp" ||
59 P->rq_xprt->xp_xpc.xpc_netid == "udp") ?
61 P->rq_xprt->xp_xpc.xpc_lcladdr.buf)->sin_addr.S_un.S_addr) :
62 (P->rq_xprt->xp_xpc.xpc_netid == "tcp6" ||
[all …]
/illumos-gate/usr/src/lib/libproc/common/
H A DPcontrol.c90 Pread_live(struct ps_prochandle *P, void *buf, size_t n, uintptr_t addr, in Pread_live() argument
93 return (pread(P->asfd, buf, n, (off_t)addr)); in Pread_live()
97 Pwrite_live(struct ps_prochandle *P, const void *buf, size_t n, uintptr_t addr, in Pwrite_live() argument
100 return (pwrite(P->asfd, buf, n, (off_t)addr)); in Pwrite_live()
104 Pread_maps_live(struct ps_prochandle *P, prmap_t **Pmapp, ssize_t *nmapp, in Pread_maps_live() argument
114 procfs_path, (int)P->pid); in Pread_maps_live()
125 Preset_maps(P); /* utter failure; destroy tables */ in Pread_maps_live()
137 Pread_aux_live(struct ps_prochandle *P, auxv_t **auxvp, int *nauxp, void *data) in Pread_aux_live() argument
146 procfs_path, (int)P->pid); in Pread_aux_live()
174 Pcred_live(struct ps_prochandle *P, prcred_t *pcrp, int ngroups, void *data) in Pcred_live() argument
[all …]
H A DPsyscall.c60 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 DPservice.c53 ps_pdmodel(struct ps_prochandle *P, int *modelp) in ps_pdmodel() argument
55 *modelp = P->status.pr_dmodel; in ps_pdmodel()
60 ps_pread(struct ps_prochandle *P, psaddr_t addr, void *buf, size_t size) in ps_pread() argument
62 if (P->ops.pop_pread(P, buf, size, addr, P->data) != size) in ps_pread()
68 ps_pwrite(struct ps_prochandle *P, psaddr_t addr, const void *buf, size_t size) in ps_pwrite() argument
70 if (P->ops.pop_pwrite(P, buf, size, addr, P->data) != size) in ps_pwrite()
87 ps_pstop(struct ps_prochandle *P) in ps_pstop() argument
89 if (P->state != PS_STOP && P->state != PS_DEAD) in ps_pstop()
95 ps_pcontinue(struct ps_prochandle *P) in ps_pcontinue() argument
97 if (P->state != PS_STOP && P->state != PS_DEAD) in ps_pcontinue()
[all …]
H A DPlwpregs.c59 getlwpcore(struct ps_prochandle *P, lwpid_t lwpid) in getlwpcore() argument
61 core_info_t *core = P->data; in getlwpcore()
80 getlwpfile(struct ps_prochandle *P, lwpid_t lwpid, in getlwpfile() argument
87 procfs_path, (int)P->status.pr_pid, (int)lwpid, fbase); in getlwpfile()
114 getlwpfile_alloc(struct ps_prochandle *P, lwpid_t lwpid, const char *fbase, in getlwpfile_alloc() argument
121 procfs_path, (int)P->status.pr_pid, (int)lwpid, fbase); in getlwpfile_alloc()
164 getlwpstatus(struct ps_prochandle *P, lwpid_t lwpid, lwpstatus_t *lps) in getlwpstatus() argument
172 if (P->status.pr_lwp.pr_lwpid == lwpid) { in getlwpstatus()
173 (void) memcpy(lps, &P->status.pr_lwp, sizeof (lwpstatus_t)); in getlwpstatus()
181 if (P->state != PS_DEAD) { in getlwpstatus()
[all …]
H A DPsymtab.c117 get_saddrs(struct ps_prochandle *P, uintptr_t ehdr_start, uint_t *n) in get_saddrs() argument
122 if (P->status.pr_dmodel == PR_MODEL_ILP32) { in get_saddrs()
127 if (read_ehdr32(P, &ehdr, &phnum, ehdr_start) != 0) in get_saddrs()
133 if (Pread(P, &phdr, sizeof (phdr), a) != in get_saddrs()
155 if (read_ehdr64(P, &ehdr, &phnum, ehdr_start) != 0) in get_saddrs()
161 if (Pread(P, &phdr, sizeof (phdr), a) != in get_saddrs()
191 file_info_new(struct ps_prochandle *P, map_info_t *mptr) in file_info_new() argument
201 list_insert_tail(&P->file_head, fptr); in file_info_new()
207 P->num_files++; in file_info_new()
217 if ((fptr->file_saddrs = get_saddrs(P, mptr->map_pmap.pr_vaddr, in file_info_new()
[all …]
H A DPexecname.c54 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 DPidle.c42 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()
126 idle_add_mapping(struct ps_prochandle *P, GElf_Phdr *php, file_info_t *fp) in idle_add_mapping() argument
151 return (Padd_mapping(P, php->p_offset, fp, &pmap)); in idle_add_mapping()
157 struct ps_prochandle *P = NULL; in Pgrab_file() local
178 if ((P = calloc(1, sizeof (struct ps_prochandle))) == NULL) { in Pgrab_file()
[all …]
H A DPcore.c73 core_rw(struct ps_prochandle *P, void *buf, size_t n, uintptr_t addr, in core_rw() argument
79 map_info_t *mp = Paddr2mptr(P, addr); in core_rw()
95 fd = P->asfd; in core_rw()
123 Pread_core(struct ps_prochandle *P, void *buf, size_t n, uintptr_t addr, in Pread_core() argument
126 return (core_rw(P, buf, n, addr, pread64)); in Pread_core()
130 Pwrite_core(struct ps_prochandle *P, const void *buf, size_t n, uintptr_t addr, in Pwrite_core() argument
133 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
161 Psecflags_core(struct ps_prochandle *P, prsecflags_t **psf, void *data) in Psecflags_core() argument
179 Ppriv_core(struct ps_prochandle *P, prpriv_t **pprv, void *data) in Ppriv_core() argument
[all …]
H A DPgcore.c59 struct ps_prochandle *P; member
100 Pgcore(struct ps_prochandle *P, const char *fname, core_content_t content) in Pgcore() argument
109 if ((err = Pfgcore(P, fd, content)) != 0) { in Pgcore()
128 mkprstatus(struct ps_prochandle *P, const lwpstatus_t *lsp, in mkprstatus() argument
172 psp->pr_nlwp = P->status.pr_nlwp; in mkprstatus()
173 psp->pr_sigpend = P->status.pr_sigpend; in mkprstatus()
177 psp->pr_pid = P->status.pr_pid; in mkprstatus()
178 psp->pr_ppid = P->status.pr_ppid; in mkprstatus()
179 psp->pr_pgrp = P->status.pr_pgid; in mkprstatus()
180 psp->pr_sid = P->status.pr_sid; in mkprstatus()
[all …]
/illumos-gate/usr/src/uts/intel/io/dktp/hba/ghd/
H A Dghd_debug.c61 ghd_dump_ccc(ccc_t *P) in ghd_dump_ccc() argument
64 P->ccc_nextp, P->ccc_tmrp, P->ccc_label, &P->ccc_activel_mutex); in ghd_dump_ccc()
66 &P->ccc_activel, P->ccc_hba_dip, P->ccc_iblock); in ghd_dump_ccc()
68 P->ccc_soft_id, &P->ccc_hba_mutex, &P->ccc_hba_pollmode); in ghd_dump_ccc()
70 &P->ccc_devs, &P->ccc_waitq_mutex, &P->ccc_waitq); in ghd_dump_ccc()
72 &P->ccc_waitq_freezetime, &P->ccc_waitq_freezedelay); in ghd_dump_ccc()
74 P->ccc_doneq_softid, &P->ccc_doneq_mutex, &P->ccc_doneq); in ghd_dump_ccc()
76 P->ccc_hba_handle, &P->ccc_ccballoc); in ghd_dump_ccc()
78 P->ccc_hba_reset_notify_callback, &P->ccc_reset_notify_list, in ghd_dump_ccc()
79 &P->ccc_reset_notify_mutex); in ghd_dump_ccc()
[all …]
/illumos-gate/usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/
H A Dpage.h103 #define REFERENCE(P, T, O) (((T *)((u_int8_t *)(P) + O))[0]) argument
108 #define NUM_ENT(P) (REFERENCE((P), indx_t, I_ENTRIES)) argument
109 #define PREV_PGNO(P) (REFERENCE((P), db_pgno_t, I_PREV_PGNO)) argument
110 #define NEXT_PGNO(P) (REFERENCE((P), db_pgno_t, I_NEXT_PGNO)) argument
111 #define TYPE(P) (REFERENCE((P), u_int8_t, I_TYPE)) argument
112 #define OFFSET(P) (REFERENCE((P), indx_t, I_HF_OFFSET)) argument
118 #define ADDR(P) (PREV_PGNO((P))) argument
121 #define DATA_OFF(P, N) \ argument
122 REFERENCE(P, indx_t, PAGE_OVERHEAD + N * PAIR_OVERHEAD + sizeof(indx_t))
123 #define KEY_OFF(P, N) \ argument
[all …]
/illumos-gate/usr/src/lib/libm/common/C/
H A Dlog10.c94 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 Dlog2.c95 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 Dlog.c104 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 …]
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dgrub.h80 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 …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dforeachaddr.c208 #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 …]
/illumos-gate/usr/src/lib/libproc/amd64/
H A DPisadep.c48 Ppltdest(struct ps_prochandle *P, uintptr_t pltaddr) in Ppltdest() argument
50 map_info_t *mp = Paddr2mptr(P, pltaddr); in Ppltdest()
64 if (P->status.pr_dmodel == PR_MODEL_LP64) { in Ppltdest()
69 if (Pread(P, &r, sizeof (r), r_addr) == sizeof (r) && in Ppltdest()
81 if (Pread(P, &r, sizeof (r), r_addr) == sizeof (r) && in Ppltdest()
94 Pissyscall(struct ps_prochandle *P, uintptr_t addr) in Pissyscall() argument
98 if (P->status.pr_dmodel == PR_MODEL_LP64) { in Pissyscall()
99 if (Pread(P, instr, sizeof (syscall_instr), addr) != in Pissyscall()
107 if (Pread(P, instr, sizeof (int_syscall_instr), addr) != in Pissyscall()
118 Pissyscall_prev(struct ps_prochandle *P, uintptr_t addr, uintptr_t *dst) in Pissyscall_prev() argument
[all …]
/illumos-gate/usr/src/lib/krb5/dyn/
H A Ddyn.h52 #define P(args) args macro
54 #define P(args) () macro
57 DynObject DynCreate P((int el_size, int inc)), DynCopy P((DynObject obj));
58 int DynDestroy P((DynObject obj)), DynRelease P((DynObject obj));
59 int DynAdd P((DynObject obj, void *el));
60 int DynPut P((DynObject obj, void *el, int idx));
61 int DynInsert P((DynObject obj, int idx, void *els, int num));
62 int DynDelete P((DynObject obj, int idx));
63 DynPtr DynGet P((DynObject obj, int num));
64 DynPtr DynArray P((DynObject obj));
[all …]

12345678910>>...29