/freebsd-9.3-release/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_module.c | 899 GElf_Phdr ph; local 1020 for (i = 0; gelf_getphdr(dmp->dm_elf, i, &ph) != NULL; i++) { 1021 if (ph.p_type == PT_LOAD) { 1022 dmp->dm_reloc_offset = k_stat->address - ph.p_vaddr;
|
/freebsd-9.3-release/contrib/gcc/ |
H A D | longlong.h | 112 #define umul_ppmm(ph, pl, m0, m1) \ 115 (ph) = __builtin_alpha_umulh (__m0, __m1); \ 686 #define umul_ppmm(ph, pl, m0, m1) \ 689 __asm__ ("mulhwu %0,%1,%2" : "=r" (ph) : "%r" (m0), "r" (m1)); \ 693 #define smul_ppmm(ph, pl, m0, m1) \ 696 __asm__ ("mulhw %0,%1,%2" : "=r" (ph) : "%r" (m0), "r" (m1)); \ 750 #define umul_ppmm(ph, pl, m0, m1) \ 753 __asm__ ("mulhdu %0,%1,%2" : "=r" (ph) : "%r" (m0), "r" (m1)); \ 757 #define smul_ppmm(ph, pl, m0, m1) \ 760 __asm__ ("mulhd %0,%1,%2" : "=r" (ph) [all...] |
/freebsd-9.3-release/contrib/gdb/gdb/gdbserver/ |
H A D | proc-service.c | 93 ps_pglobal_lookup (gdb_ps_prochandle_t ph, const char *obj, argument 109 ps_pdread (gdb_ps_prochandle_t ph, paddr_t addr, argument 119 ps_pdwrite (gdb_ps_prochandle_t ph, paddr_t addr, argument 129 ps_lgetregs (gdb_ps_prochandle_t ph, lwpid_t lwpid, prgregset_t gregset) argument 159 ps_lsetregs (gdb_ps_prochandle_t ph, lwpid_t lwpid, const prgregset_t gregset) argument 189 ps_lgetfpregs (gdb_ps_prochandle_t ph, lwpid_t lwpid, argument 220 ps_lsetfpregs (gdb_ps_prochandle_t ph, lwpid_t lwpid, argument 251 ps_getpid (gdb_ps_prochandle_t ph) argument 253 return ph->pid;
|
/freebsd-9.3-release/contrib/gdb/gdb/ |
H A D | proc-service.c | 72 ps_xfer_memory (const struct ps_prochandle *ph, paddr_t addr, 78 inferior_ptid = pid_to_ptid (ph->pid); 95 ps_pstop (gdb_ps_prochandle_t ph) 104 ps_pcontinue (gdb_ps_prochandle_t ph) 114 ps_lstop (gdb_ps_prochandle_t ph, lwpid_t lwpid) 124 ps_lcontinue (gdb_ps_prochandle_t ph, lwpid_t lwpid) 136 ps_lgetxregsize (gdb_ps_prochandle_t ph, lwpid_t lwpid, int *xregsize) 146 ps_lgetxregs (gdb_ps_prochandle_t ph, lwpid_t lwpid, caddr_t xregset) 156 ps_lsetxregs (gdb_ps_prochandle_t ph, lwpid_t lwpid, caddr_t xregset) 178 ps_pglobal_lookup (gdb_ps_prochandle_t ph, cons 69 ps_xfer_memory(const struct ps_prochandle *ph, paddr_t addr, char *buf, size_t len, int write) argument 91 ps_pstop(gdb_ps_prochandle_t ph) argument 100 ps_pcontinue(gdb_ps_prochandle_t ph) argument 110 ps_lstop(gdb_ps_prochandle_t ph, lwpid_t lwpid) argument 120 ps_lcontinue(gdb_ps_prochandle_t ph, lwpid_t lwpid) argument 132 ps_lgetxregsize(gdb_ps_prochandle_t ph, lwpid_t lwpid, int *xregsize) argument 142 ps_lgetxregs(gdb_ps_prochandle_t ph, lwpid_t lwpid, caddr_t xregset) argument 152 ps_lsetxregs(gdb_ps_prochandle_t ph, lwpid_t lwpid, caddr_t xregset) argument 174 ps_pglobal_lookup(gdb_ps_prochandle_t ph, const char *obj, const char *name, paddr_t *sym_addr) argument 192 ps_pdread(gdb_ps_prochandle_t ph, paddr_t addr, gdb_ps_read_buf_t buf, gdb_ps_size_t size) argument 201 ps_pdwrite(gdb_ps_prochandle_t ph, paddr_t addr, gdb_ps_write_buf_t buf, gdb_ps_size_t size) argument 211 ps_ptread(gdb_ps_prochandle_t ph, paddr_t addr, gdb_ps_read_buf_t buf, gdb_ps_size_t size) argument 220 ps_ptwrite(gdb_ps_prochandle_t ph, paddr_t addr, gdb_ps_write_buf_t buf, gdb_ps_size_t size) argument 230 ps_lgetregs(gdb_ps_prochandle_t ph, lwpid_t lwpid, prgregset_t gregset) argument 247 ps_lsetregs(gdb_ps_prochandle_t ph, lwpid_t lwpid, const prgregset_t gregset) argument 265 ps_lgetfpregs(gdb_ps_prochandle_t ph, lwpid_t lwpid, gdb_prfpregset_t *fpregset) argument 283 ps_lsetfpregs(gdb_ps_prochandle_t ph, lwpid_t lwpid, const gdb_prfpregset_t *fpregset) argument 302 ps_getpid(gdb_ps_prochandle_t ph) argument [all...] |
H A D | sol-thread.c | 992 ps_pstop (gdb_ps_prochandle_t ph) 1000 ps_pcontinue (gdb_ps_prochandle_t ph) 1008 ps_lstop (gdb_ps_prochandle_t ph, lwpid_t lwpid) 1016 ps_lcontinue (gdb_ps_prochandle_t ph, lwpid_t lwpid) 1024 ps_pglobal_lookup (gdb_ps_prochandle_t ph, const char *ld_object_name, 1042 rw_common (int dowrite, const struct ps_prochandle *ph, gdb_ps_addr_t addr, 1110 ps_pdread (gdb_ps_prochandle_t ph, gdb_ps_addr_t addr, 1113 return rw_common (0, ph, addr, buf, size); 1119 ps_pdwrite (gdb_ps_prochandle_t ph, gdb_ps_addr_t addr, 1122 return rw_common (1, ph, add 987 ps_pstop(gdb_ps_prochandle_t ph) argument 995 ps_pcontinue(gdb_ps_prochandle_t ph) argument 1003 ps_lstop(gdb_ps_prochandle_t ph, lwpid_t lwpid) argument 1011 ps_lcontinue(gdb_ps_prochandle_t ph, lwpid_t lwpid) argument 1019 ps_pglobal_lookup(gdb_ps_prochandle_t ph, const char *ld_object_name, const char *ld_symbol_name, gdb_ps_addr_t * ld_symbol_addr) argument 1037 rw_common(int dowrite, const struct ps_prochandle *ph, gdb_ps_addr_t addr, char *buf, int size) argument 1105 ps_pdread(gdb_ps_prochandle_t ph, gdb_ps_addr_t addr, gdb_ps_read_buf_t buf, gdb_ps_size_t size) argument 1114 ps_pdwrite(gdb_ps_prochandle_t ph, gdb_ps_addr_t addr, gdb_ps_write_buf_t buf, gdb_ps_size_t size) argument 1123 ps_ptread(gdb_ps_prochandle_t ph, gdb_ps_addr_t addr, gdb_ps_read_buf_t buf, gdb_ps_size_t size) argument 1132 ps_ptwrite(gdb_ps_prochandle_t ph, gdb_ps_addr_t addr, gdb_ps_write_buf_t buf, gdb_ps_size_t size) argument 1141 ps_lgetregs(gdb_ps_prochandle_t ph, lwpid_t lwpid, prgregset_t gregset) argument 1164 ps_lsetregs(gdb_ps_prochandle_t ph, lwpid_t lwpid, const prgregset_t gregset) argument 1199 ps_lgetxregsize(gdb_ps_prochandle_t ph, lwpid_t lwpid, int *xregsize) argument 1227 ps_lgetxregs(gdb_ps_prochandle_t ph, lwpid_t lwpid, caddr_t xregset) argument 1250 ps_lsetxregs(gdb_ps_prochandle_t ph, lwpid_t lwpid, caddr_t xregset) argument 1273 ps_lgetfpregs(gdb_ps_prochandle_t ph, lwpid_t lwpid, prfpregset_t * fpregset) argument 1296 ps_lsetfpregs(gdb_ps_prochandle_t ph, lwpid_t lwpid, const prfpregset_t * fpregset) argument 1323 ps_pdmodel(gdb_ps_prochandle_t ph, int *data_model) argument 1341 ps_lgetLDT(gdb_ps_prochandle_t ph, lwpid_t lwpid, struct ssd *pldt) argument [all...] |
/freebsd-9.3-release/contrib/ipfilter/ipsend/ |
H A D | ipsend.c | 175 } ph; local 179 ph.h.len = htons(len); 180 ph.h.ttl = 0; 181 ph.h.proto = IPPROTO_UDP; 182 ph.h.src = ip->ip_src.s_addr; 183 ph.h.dst = ip->ip_dst.s_addr; 185 opts = &ph.w[0];
|
/freebsd-9.3-release/contrib/ipfilter/lib/ |
H A D | ipft_pc.c | 104 pcaphdr_t ph; local 115 if (read(fd, (char *)&ph, sizeof(ph)) != sizeof(ph)) 118 if (ph.pc_id != TCPDUMP_MAGIC) { 119 if (SWAPLONG(ph.pc_id) != TCPDUMP_MAGIC) { 124 swap_hdr(&ph); 127 if (ph.pc_v_maj != PCAP_VERSION_MAJ) { 133 if (llcs[i].lc_type == ph.pc_type) { 146 ph [all...] |
/freebsd-9.3-release/contrib/libpcap/ |
H A D | pcap-enet.c | 55 register struct packet_header *ph; local 79 ph = (struct packet_header *)bp; 80 caplen = ph->tap.th_wirelen > snaplen ? snaplen : ph->tap 82 if (bpf_filter(fcode, (char *)ph->packet, 83 ph->tap.th_wirelen, caplen)) { 86 (*printit)((char *)ph->packet, 87 (struct timeval *)ph->tap.th_timestamp, 88 ph->tap.th_wirelen, caplen); 90 inc = ph [all...] |
/freebsd-9.3-release/contrib/ntp/util/ |
H A D | pps-api.c | 53 pps_handle_t ph; local 65 i = time_pps_create(fd, &ph); 69 i = time_pps_getcap(ph, &mode); 77 i = time_pps_setparams(ph, &pp); 84 i = time_pps_fetch(ph, PPS_TSFMT_TSPEC, &pi, &to);
|
/freebsd-9.3-release/contrib/openpam/lib/libpam/ |
H A D | pam_start.c | 71 struct pam_handle *ph; local 75 if ((ph = calloc(1, sizeof *ph)) == NULL) 77 if ((r = pam_set_item(ph, PAM_SERVICE, service)) != PAM_SUCCESS) 81 if ((r = pam_set_item(ph, PAM_HOST, hostname)) != PAM_SUCCESS) 83 if ((r = pam_set_item(ph, PAM_USER, user)) != PAM_SUCCESS) 85 if ((r = pam_set_item(ph, PAM_CONV, pam_conv)) != PAM_SUCCESS) 87 if ((r = openpam_configure(ph, service)) != PAM_SUCCESS) 89 *pamh = ph; 93 pam_end(ph, [all...] |
/freebsd-9.3-release/contrib/pf/pflogd/ |
H A D | pflogd.c | 410 struct pcap_sf_pkthdr ph; local 412 struct pcap_pkthdr ph; local 442 off_t len = fread((char *)&ph, 1, sizeof(ph), fp); 446 if (len != sizeof(ph)) 448 if (ph.caplen > hdr.snaplen || ph.caplen > PFLOGD_MAXSNAPLEN) 450 pos += sizeof(ph) + ph.caplen; 453 fseek(fp, ph [all...] |
/freebsd-9.3-release/contrib/sendmail/src/ |
H A D | map.c | 4735 ** Support for the CCSO Nameserver (ph/qi). 4736 ** This code is intended to replace the so-called "ph mailer". 4740 /* what version of the ph map code we're running */ 4761 ** PH_MAP_PARSEARGS -- parse ph map definition args. 4783 pmap->ph = NULL; 4908 ** PH_MAP_CLOSE -- close the connection to the ph server 4923 if (pmap->ph != NULL) 4925 ph_set_sendhook(pmap->ph, NULL); 4926 ph_set_recvhook(pmap->ph, NULL); 4927 ph_close(pmap->ph, pma [all...] |
H A D | sendmail.h | 1402 char *ph_servers; /* list of ph servers */ 1404 PH *ph; /* PH server handle */ member in struct:ph_map_struct
|
/freebsd-9.3-release/contrib/tcpdump/ |
H A D | print-ip.c | 147 } ph; local 151 ph.len = htons((u_int16_t)len); 152 ph.mbz = 0; 153 ph.proto = next_proto; 154 memcpy(&ph.src, &ip->ip_src.s_addr, sizeof(u_int32_t)); 156 memcpy(&ph.dst, &ip->ip_dst.s_addr, sizeof(u_int32_t)); 158 ph.dst = ip_finddst(ip); 160 vec[0].ptr = (const u_int8_t *)(void *)&ph; 161 vec[0].len = sizeof(ph);
|
H A D | print-ip6.c | 62 } ph; local 66 memset(&ph, 0, sizeof(ph)); 67 ph.ph_src = ip6->ip6_src; 68 ph.ph_dst = ip6->ip6_dst; 69 ph.ph_len = htonl(len); 70 ph.ph_nxt = next_proto; 72 vec[0].ptr = (const u_int8_t *)(void *)&ph; 73 vec[0].len = sizeof(ph);
|
H A D | print-ppp.c | 1646 struct ppp_header *ph; local 1649 ph = (struct ppp_header *)q; 1650 if (ph->phdr_addr == PPP_ADDRESS 1651 && ph->phdr_ctl == PPP_CONTROL) { 1654 ptype = EXTRACT_16BITS(&ph->phdr_type);
|
H A D | print-wb.c | 393 register const struct pkt_hdr *ph; local 395 ph = (const struct pkt_hdr *)hdr; 396 if (len < sizeof(*ph) || (u_char *)(ph + 1) > snapend) { 400 len -= sizeof(*ph); 402 if (ph->ph_flags) 404 switch (ph->ph_type) { 411 if (wb_id((struct pkt_id *)(ph + 1), len) >= 0) 416 if (wb_rreq((struct pkt_rreq *)(ph + 1), len) >= 0) 421 if (wb_rrep((struct pkt_rrep *)(ph [all...] |
/freebsd-9.3-release/crypto/heimdal/lib/krb5/ |
H A D | pkinit.c | 979 size_t ph = 1 + der_length_len (length); 980 unsigned char *ptr = malloc(length + ph); 983 memcpy(ptr + ph, p, length); 985 ret = der_put_length_and_tag (ptr + ph - 1, ph, length, 989 ptr += ph - l;
|
/freebsd-9.3-release/etc/ |
H A D | services | 834 ph 481/tcp 835 ph 481/udp
|
/freebsd-9.3-release/gnu/usr.bin/gdb/libgdb/ |
H A D | fbsd-threads.c | 1654 ps_pglobal_lookup (struct ps_prochandle *ph, const char *obj, argument 1670 ps_pread (struct ps_prochandle *ph, psaddr_t addr, void *buf, size_t len) argument 1678 ps_pwrite (struct ps_prochandle *ph, psaddr_t addr, const void *buf, argument 1687 ps_lgetregs (struct ps_prochandle *ph, lwpid_t lwpid, prgregset_t gregset) argument 1703 ps_lsetregs (struct ps_prochandle *ph, lwpid_t lwpid, const prgregset_t gregset) argument 1716 ps_lgetfpregs (struct ps_prochandle *ph, lwpid_t lwpid, prfpregset_t *fpregset) argument 1729 ps_lsetfpregs (struct ps_prochandle *ph, lwpid_t lwpid, argument 1744 ps_lgetxmmregs (struct ps_prochandle *ph, lwpid_t lwpid, char *xmmregs) argument 1757 ps_lsetxmmregs (struct ps_prochandle *ph, lwpid_t lwpid, argument 1772 ps_lstop(struct ps_prochandle *ph, lwpid_ argument 1780 ps_lcontinue(struct ps_prochandle *ph, lwpid_t lwpid) argument 1788 ps_linfo(struct ps_prochandle *ph, lwpid_t lwpid, void *info) argument [all...] |
/freebsd-9.3-release/lib/libc/gen/ |
H A D | elf_utils.c | 39 const Elf_Phdr *ph; local 43 ph = &phdr_info->dlpi_phdr[i]; 44 if (ph->p_type != PT_LOAD || (ph->p_flags & PF_X) == 0) 46 if (phdr_info->dlpi_addr + ph->p_vaddr <= (uintptr_t)addr && 48 ph->p_vaddr + ph->p_memsz)
|
/freebsd-9.3-release/lib/libc/net/ |
H A D | getaddrinfo.c | 810 set_source(struct ai_order *aio, struct policyhead *ph) argument 851 aio->aio_srcpolicy = match_addrselectpolicy(&aio->aio_srcsa, ph);
|
H A D | name6.c | 851 set_source(struct hp_order *aio, struct policyhead *ph) argument 885 aio->aio_srcpolicy = match_addrselectpolicy(&aio->aio_srcsa, ph);
|
/freebsd-9.3-release/lib/libkvm/ |
H A D | kvm_powerpc.c | 53 Elf32_Phdr *ph; member in struct:vmstate 137 vm->ph = (void *)((uintptr_t)vm->eh + be32toh(vm->eh->e_phoff)); 156 Elf32_Phdr *ph; local 159 ph = vm->ph; 161 while (nph && (va < be32toh(ph->p_vaddr) || 162 va >= be32toh(ph->p_vaddr) + be32toh(ph->p_memsz))) { 164 ph = (void *)((uintptr_t)ph [all...] |
H A D | kvm_powerpc64.c | 53 Elf64_Phdr *ph; member in struct:vmstate 137 vm->ph = (void *)((uintptr_t)vm->eh + be64toh(vm->eh->e_phoff)); 156 Elf64_Phdr *ph; local 159 ph = vm->ph; 161 while (nph && (va < be64toh(ph->p_vaddr) || 162 va >= be64toh(ph->p_vaddr) + be64toh(ph->p_memsz))) { 164 ph = (void *)((uintptr_t)ph [all...] |