/illumos-gate/usr/src/lib/brand/shared/librtld_db/common/ |
H A D | brand_librtld_db.c | 99 dummy_ldb_init32(rd_agent_t *rap, struct ps_prochandle *php) argument 136 brand_ldb_getauxval32(struct ps_prochandle *php, int type) argument 140 if (ps_pauxv(php, &auxvp) != PS_OK) 163 brand_ldb_init32(rd_agent_t *rap, struct ps_prochandle *php) argument 169 if (ps_pdmodel(php, &rd_dmodel) != PS_OK) { 179 lddata_addr = brand_ldb_getauxval32(php, AT_SUN_BRAND_COMMON_LDDATA); 208 rap_new->rd_psp = php; 257 assert(rap->rd_psp == php);
|
/illumos-gate/usr/src/cmd/sgs/libld/common/ |
H A D | ldmain.c | 521 Ld_heap *chp, *php; local 553 for (chp = ld_heap, php = NULL; chp; php = chp, chp = chp->lh_next) { 554 if (php) 555 (void) munmap((void *)php, 556 (size_t)php->lh_end - (size_t)php); 558 if (php) 559 (void) munmap((void *)php, (size_t)php [all...] |
/illumos-gate/usr/src/lib/libbc/csu/common/ |
H A D | mon.c | 116 struct phdr *php; local 177 php = (struct phdr *)&buf[0]; 178 php->lpc = (char *)lowpc; /* initialize the first */ 179 php->hpc = (char *)highpc; /* region of the buffer */ 180 php->ncnt = cntsiz;
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pidle.c | 126 idle_add_mapping(struct ps_prochandle *P, GElf_Phdr *php, file_info_t *fp) argument 131 (u_longlong_t)php->p_vaddr, (u_longlong_t)php->p_filesz, 132 (u_longlong_t)php->p_memsz, (u_longlong_t)php->p_offset); 134 pmap.pr_vaddr = (uintptr_t)php->p_vaddr; 135 pmap.pr_size = php->p_filesz; 138 pmap.pr_offset = php->p_offset; 141 if (php->p_flags & PF_R) 143 if (php 261 GElf_Phdr phdr, *php; local [all...] |
H A D | Pcore.c | 1237 core_report_mapping(struct ps_prochandle *P, GElf_Phdr *php) argument 1242 void *addr = (void *)(uintptr_t)php->p_vaddr; 1248 if (!(php->p_flags & PF_SUNW_KILLED)) { 1252 sizeof (err), (off64_t)php->p_offset); 1259 if (!(php->p_flags & PF_SUNW_SIGINFO)) 1265 sizeof (killinfo), (off64_t)php->p_offset); 1273 P->map_missing = php->p_vaddr; 1304 core_add_mapping(struct ps_prochandle *P, GElf_Phdr *php) argument 1310 (u_longlong_t)php->p_vaddr, (u_longlong_t)php 2268 void *phbuf, *php; local [all...] |
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | dt_pragma.c | 51 dt_idhash_t *php; local 54 if ((php = yypcb->pcb_pragmas) == NULL) 57 while ((pdp = dt_idhash_lookup(php, idp->di_name)) != NULL) { 66 dt_idhash_delete(php, pdp);
|
/illumos-gate/usr/src/cmd/fs.d/udfs/mkfs/ |
H A D | udfslib.c | 360 struct phdr_desc *php; local 372 php = (struct phdr_desc *)p->pd_pc_use; 373 ud_swap_short_ad(&php->phdr_ust); 374 ud_swap_short_ad(&php->phdr_usb); 375 ud_swap_short_ad(&php->phdr_it); 376 ud_swap_short_ad(&php->phdr_fst); 377 ud_swap_short_ad(&php->phdr_fsb);
|
H A D | mkfs.c | 612 struct phdr_desc *php; local 781 php = (struct phdr_desc *)&pp->pd_pc_use; 787 php->phdr_usb.sad_ext_len = 790 php->phdr_usb.sad_ext_loc = nextlogblock;
|
/illumos-gate/usr/src/cmd/sgs/librtld_db/common/ |
H A D | rtld_db.c | 160 rd_new(struct ps_prochandle *php) argument 164 LOG(ps_plog(MSG_ORIG(MSG_DB_RDNEW), php)); 168 rap->rd_psp = php;
|
H A D | rd_elf.c | 91 struct ps_prochandle *php = rap->rd_psp; local 109 if (ps_pread(php, db_privp, (char *)&db_priv, 127 if (ps_pwrite(php, db_privp, (char *)&db_priv, 145 struct ps_prochandle *php = rap->rd_psp; local 150 if (ps_pread(php, dynaddr, (void *)(&d), sizeof (d)) != 176 struct ps_prochandle *php = rap->rd_psp; local 211 if (ps_pauxv(php, &auxvp) != PS_OK) { 244 if (ps_pglobal_lookup(php, PS_OBJ_LDSO, MSG_ORIG(MSG_SYM_DEBUG), 263 if (ps_pglobal_lookup(php, PS_OBJ_EXEC, 290 (ps_pbrandname(php, brandnam 377 struct ps_prochandle *php = rap->rd_psp; local 412 struct ps_prochandle *php = rap->rd_psp; local 456 struct ps_prochandle *php = rap->rd_psp; local 526 struct ps_prochandle *php = rap->rd_psp; local [all...] |
/illumos-gate/usr/src/uts/common/fs/ctfs/ |
H A D | ctfs_event.c | 149 short *reventsp, pollhead_t **php) 156 *php = &endpt->ctfs_endpt_listener.ctl_pollhead; 319 pollhead_t **php, 325 reventsp, php)); 479 pollhead_t **php, 485 reventsp, php)); 148 ctfs_endpoint_poll(ctfs_endpoint_t *endpt, short events, int anyyet, short *reventsp, pollhead_t **php) argument 314 ctfs_ev_poll( vnode_t *vp, short events, int anyyet, short *reventsp, pollhead_t **php, caller_context_t *ct) argument 474 ctfs_bu_poll( vnode_t *vp, short events, int anyyet, short *reventsp, pollhead_t **php, caller_context_t *ct) argument
|
/illumos-gate/usr/src/uts/common/fs/portfs/ |
H A D | port_fd.c | 182 struct pollhead *php = NULL; local 318 error = VOP_POLL(fp->f_vnode, events, 0, &revents, &php, NULL); 349 if (php != NULL && (pdp->pd_php != php)) { 353 * Sub-system will call pollwakeup() later with php as 356 error = port_bind_pollhead(&php, pdp, &revents); 523 port_bind_pollhead(pollhead_t **php, polldat_t *pdp, short *revents) argument 538 pollhead_insert(*php, pdp); 544 pdp->pd_php = *php; 547 error = VOP_POLL(fp->f_vnode, pdp->pd_events, 0, revents, php, NUL [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
H A D | input.c | 1268 struct peer_hash *php; local 1287 for (php = ph_pp[0]; php != NULL; php = php->ph_next) { 1288 if (php->ph_addr == from) 1289 return (php); 1304 for (php = ph2_pp[i]; php != NULL; php 1338 struct peer_hash *php; local 1383 struct peer_hash *php; local [all...] |
/illumos-gate/usr/src/uts/common/io/ksocket/ |
H A D | ksocket.c | 734 pollhead_t *php, *php2; local 769 php = NULL; 777 revents, &php); 786 * php should be non-NULL, but let's verify. 789 if (php == NULL) { 807 pollhead_insert(php, pdp); 808 pdp->pd_php = php; 819 ASSERT(php2 == php);
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | tty_pty.c | 985 pollhead_t *php = &ptcph; local 992 if (polllock(php, &pty->ptc_lock) != 0) { 1010 *phpp = !anyyet && !*reventsp ? php : (struct pollhead *)NULL; 1069 *phpp = php;
|
H A D | physmem.c | 157 physmem_add_hash(struct physmem_hash *php) argument 178 if ((php->ph_base_pa >= temp->ph_base_pa && 179 php->ph_base_pa < temp->ph_base_pa + 181 (temp->ph_base_pa >= php->ph_base_pa && 182 temp->ph_base_pa < php->ph_base_pa + 183 php->ph_seg_len)) { 189 php->ph_next = iterator->pph_hash; 190 iterator->pph_hash = php; 204 newp->pph_hash = php; 205 php 227 struct physmem_hash *php; local 255 struct physmem_hash *php; local 354 struct physmem_hash *php; local 463 struct physmem_hash *php; local 534 struct physmem_hash *php; local [all...] |
H A D | devpoll.c | 257 pollhead_t *php; local 284 php = NULL; 297 php = NULL; 398 &revent, &php, NULL); 410 if (php != NULL && pdp->pd_php != NULL && 411 php != pdp->pd_php) { 413 pdp->pd_php = php; 414 pollhead_insert(php, pdp); 517 } else if (php != NULL) { 523 * NULL php pointe 646 struct pollhead *php = NULL; local [all...] |
/illumos-gate/usr/src/cmd/rcap/rcapd/ |
H A D | rcapd_scanner.c | 331 set_prpageheader_cur(prpageheader_cur_t *pcp, prpageheader_t *php, argument 335 pcp->pr_nmap = php->pr_nmap; 337 pcp->pr_prpageheader = php; 340 pcp->pr_pdaddr = (prpageheader_t *)php + 1; 350 set_prpageheader_cur_addr(prpageheader_cur_t *pcp, prpageheader_t *php, argument 353 void *addr = set_prpageheader_cur(pcp, php, xmap, nxmap);
|
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | load_elf.c | 301 Elf_Phdr *phdr, *php; local 643 php = NULL; 646 php = phdr + i; 647 adp = php->p_vaddr; 653 if (php == NULL) /* this is bad, we cannot get to symbols or _DYNAMIC */ 656 ndp = php->p_filesz / sizeof(Elf_Dyn); 659 dp = malloc(php->p_filesz); 663 archsw.arch_copyout(php->p_paddr + off, dp, php->p_filesz); 665 archsw.arch_copyout(php [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4v/snmp/ |
H A D | snmpplugin.c | 268 static void add_prop(picl_nodehdl_t nodeh, picl_prophdl_t *php, char *label, 1606 add_prop(picl_nodehdl_t nodeh, picl_prophdl_t *php, char *label, argument 1648 read_volprop, NULL, php); 1650 save_volprop(*php, OID_sunPlatAlarmState, row, 1658 read_volprop, NULL, php); 1660 save_volprop(*php, 1669 read_volprop, NULL, php); 1671 save_volprop(*php, OID_sunPlatBatteryStatus, row, 1679 NULL, php); 1681 save_volprop(*php, OID_sunPlatNumericSensorCurren [all...] |
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_gelf.c | 354 caddr_t phdrs, php; local 382 php = phdrs; 389 for (i = 0; i < gf->gf_phnum; i++, php += phdr_size, gpp++) { 390 (void) elf2gelf(php, gpp); 1891 const GElf_Phdr *php = gelf_phdr_lookup(gf, addr); local 1897 if (php == NULL) 1900 mapoff = addr - php->p_vaddr; 1901 memlen = MIN(resid, php->p_memsz - mapoff); 1902 filelen = MIN(resid, php->p_filesz - mapoff); 1903 off = (off64_t)php [all...] |
/illumos-gate/usr/src/uts/common/fs/proc/ |
H A D | prioctl.c | 3708 prpageheader_t *php; local 3727 php = (prpageheader_t *)buf; 3730 hrt2ts(gethrtime(), &php->pr_tstamp); 3731 php->pr_nmap = 0; 3732 php->pr_npage = 0; 3778 php->pr_nmap++; 3779 php->pr_npage += npage; 3815 ioc_prpageheader32_t *php; local 3834 php = (ioc_prpageheader32_t *)buf; 3837 hrt2ts32(gethrtime(), &php [all...] |
H A D | prsubr.c | 1906 prpageheader_t *php; local 1925 php = (prpageheader_t *)buf; 1928 hrt2ts(gethrtime(), &php->pr_tstamp); 1929 php->pr_nmap = 0; 1930 php->pr_npage = 0; 1978 php->pr_nmap++; 1979 php->pr_npage += npage; 2053 prpageheader32_t *php; local 2072 php = (prpageheader32_t *)buf; 2075 hrt2ts32(gethrtime(), &php [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | gcore.c | 1338 prheader_t *php; local 1345 php = calloc(1, sizeof (prheader_t) + nlwp * ent_size); 1346 if (php == NULL) { 1349 php->pr_nent = nlwp; 1350 php->pr_entsize = ent_size; 1352 ent = php + 1; 1385 return (php); 1388 free(php);
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | poll.c | 65 #define PHLOCKADDR(php) &plocks[(((uintptr_t)(php)) >> 8) & (NPHLOCKS - 1)] 66 #define PHLOCK(php) PHLOCKADDR(php).pp_lock 67 #define PH_ENTER(php) mutex_enter(PHLOCK(php)) 68 #define PH_EXIT(php) mutex_exit(PHLOCK(php)) 237 * polllock(php, mutex) does the common case: pollunlock(), 306 polllock(pollhead_t *php, kmutex_ argument 765 pollwakeup(pollhead_t *php, short events_arg) argument 940 pollhead_insert(pollhead_t *php, polldat_t *pdp) argument 964 pollhead_delete(pollhead_t *php, polldat_t *pdp) argument 1873 pollhead_t *php; local 2612 pollhead_clean(pollhead_t *php) argument 3018 pollhead_t *php; local [all...] |