| /src/libexec/ld.elf_so/arch/arm/ |
| find_exidx.c | 68 const Elf_Phdr *ph = obj->phdr; local 69 const Elf_Phdr * const phlimit = ph + obj->phsize / sizeof(*ph); 70 for (; ph < phlimit; ph++) { 71 if (ph->p_type == PT_LOAD 72 && ph->p_vaddr <= va 73 && va < ph->p_vaddr + ph->p_memsz) {
|
| /src/external/bsd/openpam/dist/lib/libpam/ |
| pam_start.c | 69 struct pam_handle *ph; local 82 if ((ph = calloc(1, sizeof *ph)) == NULL) 84 if ((r = pam_set_item(ph, PAM_SERVICE, service)) != PAM_SUCCESS) 90 if ((r = pam_set_item(ph, PAM_HOST, hostname)) != PAM_SUCCESS) 92 if ((r = pam_set_item(ph, PAM_USER, user)) != PAM_SUCCESS) 94 if ((r = pam_set_item(ph, PAM_CONV, pam_conv)) != PAM_SUCCESS) 96 if ((r = openpam_configure(ph, service)) != PAM_SUCCESS) 99 *pamh = ph; 104 pam_end(ph, r) [all...] |
| /src/sys/arch/i386/pci/ |
| sis85c503.c | 128 struct piix_handle *ph = v; local 134 reg = pci_conf_read(ph->ph_pc, ph->ph_tag, 149 struct piix_handle *ph = v; local 156 reg = pci_conf_read(ph->ph_pc, ph->ph_tag, 162 pci_conf_write(ph->ph_pc, ph->ph_tag, SIS85C503_CFG_PIRQ_REGOFS(clink),
|
| opti82c558.c | 126 struct opti82c558_handle *ph; local 128 ph = malloc(sizeof(*ph), M_DEVBUF, M_NOWAIT); 129 if (ph == NULL) 132 ph->ph_pc = pc; 133 ph->ph_tag = tag; 136 *phandp = ph; 155 struct opti82c558_handle *ph = v; local 162 reg = pci_conf_read(ph->ph_pc, ph->ph_tag, VIPER_CFG_PIRQ) 173 struct opti82c558_handle *ph = v; local 192 struct opti82c558_handle *ph = v; local 213 struct opti82c558_handle *ph = v; local [all...] |
| amd756.c | 109 struct amd756_handle *ph; local 111 ph = malloc(sizeof(*ph), M_DEVBUF, M_NOWAIT); 112 if (ph == NULL) 115 ph->ph_iot = iot; 116 ph->ph_pc = pc; 117 ph->ph_tag = tag; 120 *phandp = ph; 123 amd756_pir_dump(ph); 143 struct amd756_handle *ph = v local 161 struct amd756_handle *ph = v; local 180 struct amd756_handle *ph = v; local 205 struct amd756_handle *ph = v; local [all...] |
| ali1543.c | 183 struct piix_handle *ph = v; local 190 reg = pci_conf_read(ph->ph_pc, ph->ph_tag, ALI1543_INTR_CFG_REG); 204 struct piix_handle *ph = v; local 211 reg = pci_conf_read(ph->ph_pc, ph->ph_tag, ALI1543_INTR_CFG_REG); 216 pci_conf_write(ph->ph_pc, ph->ph_tag, ALI1543_INTR_CFG_REG, reg);
|
| opti82c700.c | 114 struct opti82c700_handle *ph; local 116 ph = malloc(sizeof(*ph), M_DEVBUF, M_NOWAIT); 117 if (ph == NULL) 120 ph->ph_pc = pc; 121 ph->ph_tag = tag; 123 opti82c700_pir_dump(ph); 126 *phandp = ph; 197 struct opti82c700_handle *ph = v; local 204 reg = pci_conf_read(ph->ph_pc, ph->ph_tag, addrofs) 216 struct opti82c700_handle *ph = v; local 237 struct opti82c700_handle *ph = v; local 283 struct opti82c700_handle *ph = v; local [all...] |
| piix.c | 124 struct piix_handle *ph; local 126 ph = malloc(sizeof(*ph), M_DEVBUF, M_NOWAIT); 127 if (ph == NULL) 130 ph->ph_iot = iot; 131 ph->ph_pc = pc; 132 ph->ph_tag = tag; 135 &ph->ph_elcr_ioh) != 0) { 136 free(ph, M_DEVBUF); 141 piix_pir_dump(ph); 151 struct piix_handle *ph = v; local 233 struct piix_handle *ph = v; local 257 struct piix_handle *ph = v; local 280 struct piix_handle *ph = v; local 302 struct piix_handle *ph = v; local [all...] |
| via82c586.c | 155 struct piix_handle *ph = v; local 162 reg = pci_conf_read(ph->ph_pc, ph->ph_tag, VP3_CFG_PIRQ_REG); 173 struct piix_handle *ph = v; local 180 reg = pci_conf_read(ph->ph_pc, ph->ph_tag, VP3_CFG_PIRQ_REG); 185 pci_conf_write(ph->ph_pc, ph->ph_tag, VP3_CFG_PIRQ_REG, reg); 196 struct piix_handle *ph = v; local 207 reg = pci_conf_read(ph->ph_pc, ph->ph_tag 227 struct piix_handle *ph = v; local [all...] |
| /src/usr.sbin/btpand/ |
| packet.c | 88 pkthdr_t *ph; local 90 ph = malloc(sizeof(pkthdr_t)); 91 if (ph == NULL) { 96 ph->data = pkt; 99 return ph; 103 pkthdr_free(pkthdr_t *ph) 106 packet_free(ph->data); 107 free(ph);
|
| channel.c | 115 pkthdr_t *ph; local 128 while ((ph = STAILQ_FIRST(&chan->pktlist)) != NULL) { 130 pkthdr_free(ph); 158 pkthdr_t *ph; local 163 ph = STAILQ_FIRST(&chan->pktlist); 166 if (chan->send(chan, ph->data) == false) { 175 pkthdr_free(ph); 262 pkthdr_t *ph; local 264 ph = pkthdr_alloc(pkt); 265 if (ph == NULL [all...] |
| /src/sys/arch/powerpc/ibm4xx/dev/ |
| ibm405gp.c | 154 paddr_t la, lm, pl, ph; local 163 ph = bus_space_read_4(pcicfg_iot, pcicfg_ioh, PCIL_PMM0PCIHA); 164 printf("0: %08lx,%08lx -> %08lx%08lx %sprefetchable, %s\n", la, lm, ph, pl, 170 ph = bus_space_read_4(pcicfg_iot, pcicfg_ioh, PCIL_PMM1PCIHA); 171 printf("1: %08lx,%08lx -> %08lx%08lx %sprefetchable, %s\n", la, lm, ph, pl, 177 ph = bus_space_read_4(pcicfg_iot, pcicfg_ioh, PCIL_PMM2PCIHA); 178 printf("2: %08lx,%08lx -> %08lx%08lx %sprefetchable, %s\n", la, lm, ph, pl,
|
| /src/sys/external/isc/libsodium/dist/src/libsodium/crypto_sign/ed25519/ |
| sign_ed25519.c | 80 unsigned char ph[crypto_hash_sha512_BYTES]; local 82 crypto_hash_sha512_final(&state->hs, ph); 84 return _crypto_sign_ed25519_detached(sig, siglen_p, ph, sizeof ph, sk, 1); 92 unsigned char ph[crypto_hash_sha512_BYTES]; local 94 crypto_hash_sha512_final(&state->hs, ph); 96 return _crypto_sign_ed25519_verify_detached(sig, ph, sizeof ph, pk, 1);
|
| /src/external/bsd/jemalloc.old/dist/include/jemalloc/internal/ |
| ph.h | 27 #define ph(a_type) \ macro 198 a_attr void a_prefix##new(a_ph_type *ph); \ 199 a_attr bool a_prefix##empty(a_ph_type *ph); \ 200 a_attr a_type *a_prefix##first(a_ph_type *ph); \ 201 a_attr a_type *a_prefix##any(a_ph_type *ph); \ 202 a_attr void a_prefix##insert(a_ph_type *ph, a_type *phn); \ 203 a_attr a_type *a_prefix##remove_first(a_ph_type *ph); \ 204 a_attr a_type *a_prefix##remove_any(a_ph_type *ph); \ 205 a_attr void a_prefix##remove(a_ph_type *ph, a_type *phn); 213 a_prefix##new(a_ph_type *ph) { \ [all...] |
| /src/external/bsd/jemalloc.old/include/jemalloc/internal/ |
| ph.h | 27 #define ph(a_type) \ macro 198 a_attr void a_prefix##new(a_ph_type *ph); \ 199 a_attr bool a_prefix##empty(a_ph_type *ph); \ 200 a_attr a_type *a_prefix##first(a_ph_type *ph); \ 201 a_attr a_type *a_prefix##any(a_ph_type *ph); \ 202 a_attr void a_prefix##insert(a_ph_type *ph, a_type *phn); \ 203 a_attr a_type *a_prefix##remove_first(a_ph_type *ph); \ 204 a_attr a_type *a_prefix##remove_any(a_ph_type *ph); \ 205 a_attr void a_prefix##remove(a_ph_type *ph, a_type *phn); 213 a_prefix##new(a_ph_type *ph) { \ [all...] |
| /src/external/bsd/ntp/dist/util/ |
| pps-api.c | 55 pps_handle_t ph; local 67 i = time_pps_create(fd, &ph); 71 i = time_pps_getcap(ph, &mode); 79 i = time_pps_setparams(ph, &pp); 86 i = time_pps_fetch(ph, PPS_TSFMT_TSPEC, &pi, &to);
|
| /src/external/lgpl3/gmp/dist/mpn/generic/ |
| mod_1_2.c | 86 mp_limb_t rh, rl, bi, ph, pl, ch, cl, r; local 109 umul_ppmm (ph, pl, ap[n - 2], B1modb); 110 add_ssaaaa (ph, pl, ph, pl, CNST_LIMB(0), ap[n - 3]); 112 add_ssaaaa (rh, rl, rh, rl, ph, pl); 128 umul_ppmm (ph, pl, ap[i + 1], B1modb); 129 add_ssaaaa (ph, pl, ph, pl, CNST_LIMB(0), ap[i + 0]); 132 add_ssaaaa (ph, pl, ph, pl, ch, cl) [all...] |
| mod_1_3.c | 89 mp_limb_t rh, rl, bi, ph, pl, ch, cl, r; local 107 umul_ppmm (ph, pl, ap[n - 2], B1modb); 108 add_ssaaaa (ph, pl, ph, pl, CNST_LIMB(0), ap[n - 3]); 110 add_ssaaaa (rh, rl, rh, rl, ph, pl); 133 umul_ppmm (ph, pl, ap[i + 1], B1modb); 134 add_ssaaaa (ph, pl, ph, pl, CNST_LIMB(0), ap[i + 0]); 137 add_ssaaaa (ph, pl, ph, pl, ch, cl) [all...] |
| mod_1_4.c | 92 mp_limb_t rh, rl, bi, ph, pl, ch, cl, r; local 108 umul_ppmm (ph, pl, ap[n - 3], B1modb); 109 add_ssaaaa (ph, pl, ph, pl, CNST_LIMB(0), ap[n - 4]); 111 add_ssaaaa (ph, pl, ph, pl, ch, cl); 113 add_ssaaaa (rh, rl, rh, rl, ph, pl); 127 umul_ppmm (ph, pl, ap[n - 2], B1modb); 128 add_ssaaaa (ph, pl, ph, pl, CNST_LIMB(0), ap[n - 3]) [all...] |
| /src/sys/compat/linux/arch/amd64/ |
| linux_exec_machdep.c | 132 Elf_Phdr *ph; local 156 ph = (Elf_Phdr *)kmem_alloc(phsize, KM_SLEEP); 157 error = exec_read(l, pack->ep_vp, eh->e_phoff, ph, phsize, 0); 160 if (ph[i].p_type == PT_PHDR) { 161 phdr = ph[i].p_vaddr; 166 kmem_free(ph, phsize);
|
| /src/external/lgpl3/gmp/dist/mpn/sparc64/ |
| mod_1_4.c | 94 mp_limb_t rh, rl, bi, ph, pl, ch, cl, r; local 112 umul_ppmm_s (ph, pl, ap[n - 3], B1modb); 113 add_ssaaaa (ph, pl, ph, pl, CNST_LIMB(0), ap[n - 4]); 115 add_ssaaaa (ph, pl, ph, pl, ch, cl); 117 add_ssaaaa (rh, rl, rh, rl, ph, pl); 131 umul_ppmm_s (ph, pl, ap[n - 2], B1modb); 132 add_ssaaaa (ph, pl, ph, pl, CNST_LIMB(0), ap[n - 3]) [all...] |
| /src/sys/arch/hpc/stand/hpcboot/ |
| load_elf.cpp | 105 Elf_Phdr *ph = _ph; local 110 for (i = 0; i < _eh.e_phnum; i++, ph++) { 111 if (ph->p_type == PT_LOAD) { 112 size_t filesz = ph->p_filesz; 119 if (filesz < ph->p_memsz) 152 Elf_Phdr *ph; local 158 for (i = 0, ph = _ph; i < _eh.e_phnum; i++, ph++) { 159 if (ph->p_type == PT_LOAD) { 160 size_t filesz = ph->p_filesz [all...] |
| /src/sys/arch/prep/stand/installboot/ |
| installboot.c | 78 Elf32_Phdr ph; local 113 (void)lseek(fd, be32toh(eh.e_phoff) + sizeof(ph) * i, SEEK_SET); 114 if (read(fd, &ph, sizeof(ph)) != sizeof(ph)) { 115 warn("read: ph: %s", boot); 119 if ((be32toh(ph.p_type) != PT_LOAD) || 120 !(be32toh(ph.p_flags) & PF_X)) 123 imgsz = st.st_size - be32toh(ph.p_offset); 124 lseek(fd, be32toh(ph.p_offset), SEEK_SET) [all...] |
| /src/sys/arch/x68k/stand/common/ |
| exec_sub.c | 121 Elf32_Phdr *ph; local 132 ph = (void *) (top + hdr->e_phoff); 133 xarg->load_addr = ph->p_vaddr; 136 sec->sec_image = top + ph->p_offset; 137 sec->sec_size = ph->p_filesz; 140 sec->sec_pad = ph[1].p_vaddr - (ph->p_vaddr + ph->p_filesz); 143 ph++; 144 sec->sec_image = top + ph->p_offset [all...] |
| /src/external/bsd/libpcap/dist/ |
| pcap-enet.c | 54 register struct packet_header *ph; local 78 ph = (struct packet_header *)bp; 79 caplen = ph->tap.th_wirelen > snaplen ? snaplen : ph->tap 81 if (pcapint_filter(fcode, (char *)ph->packet, 82 ph->tap.th_wirelen, caplen)) { 85 (*printit)((char *)ph->packet, 86 (struct timeval *)ph->tap.th_timestamp, 87 ph->tap.th_wirelen, caplen); 89 inc = ph->length.PacketOffset [all...] |