| /src/sys/arch/powerpc/pci/ |
| pci_machdep_common.c | 139 genppc_pci_intr_setattr(void *v, pci_intr_handle_t *ihp, int attr, 157 pci_intr_handle_t *ihp; local 162 ihp = kmem_alloc(sizeof(*ihp), KM_SLEEP); 163 if (pci_intr_map(pa, ihp)) { 164 kmem_free(ihp, sizeof(*ihp)); 168 *ihps = ihp; 215 genppc_pci_intr_map(const struct pci_attach_args *pa, pci_intr_handle_t *ihp) 263 *ihp = line [all...] |
| /src/sys/arch/acorn32/podulebus/ |
| rapide.c | 199 irqhandler_t *ihp; local 295 ihp = &rcp->rc_ih; 296 ihp->ih_func = rapide_intr; 297 ihp->ih_arg = rcp; 298 ihp->ih_level = IPL_BIO; 299 ihp->ih_name = "rapide"; 300 ihp->ih_maskaddr = pa->pa_podule->irq_addr; 301 ihp->ih_maskbits = rcp->rc_irqmask; 302 if (irq_claim(sc->sc_podule->interrupt, ihp)) 341 irqhandler_t *ihp = &rcp->rc_ih local [all...] |
| simide.c | 163 irqhandler_t *ihp; local 285 ihp = &scp->sc_ih; 286 ihp->ih_func = simide_intr; 287 ihp->ih_arg = scp; 288 ihp->ih_level = IPL_BIO; 289 ihp->ih_name = "simide"; 290 ihp->ih_maskaddr = pa->pa_podule->irq_addr; 291 ihp->ih_maskbits = scp->sc_irqmask; 292 if (irq_claim(sc->sc_podule->interrupt, ihp)) 331 irqhandler_t *ihp = &scp->sc_ih local [all...] |
| /src/sys/arch/evbmips/sbmips/ |
| sb1250_icu.c | 325 struct sb1250_ihand *ihp = &sb1250_ihands[j]; local 326 KASSERT(ihp->ih_fun); 327 (*ihp->ih_fun)(ihp->ih_arg, status, pc);
|
| /src/sys/arch/sbmips/sbmips/ |
| sb1250_icu.c | 325 struct sb1250_ihand *ihp = &sb1250_ihands[j]; local 326 KASSERT(ihp->ih_fun); 327 (*ihp->ih_fun)(ihp->ih_arg, status, pc);
|
| /src/external/bsd/ipf/dist/ipsd/ |
| ipsd.c | 79 int findhit(ihp, src, dport) 80 ipsd_t *ihp; 89 if (ihp->sd_sz == 4) { 90 for (i = 0, sh = ihp->sd_hit; i < ihp->sd_cnt; i++, sh++) 94 for (i = ihp->sd_cnt / 2, j = (i / 2) - 1; j >= 0; j--) { 95 k = ihp->sd_hit[i].sh_ip.s_addr - src.s_addr; 116 ipsd_t *ihp; local 123 ihp = iphits[i]; 124 if (findhit(ihp, ip->ip_src, tcp->th_dport) [all...] |
| ipsdr.c | 89 int findhit(ihp, src, dport) 90 ipsd_t *ihp; 99 if (ihp->sd_sz == 4) { 100 for (i = 0, sh = ihp->sd_hit; i < ihp->sd_cnt; i++, sh++) 104 for (i = ihp->sd_cnt / 2, j = (i / 2) - 1; j >= 0; j--) { 105 k = ihp->sd_hit[i].sh_ip.s_addr - src.s_addr; 127 ipsd_t *ihp; local 134 ihp = iphits[i]; 135 if (findhit(ihp, srcip, dport) [all...] |
| /src/sys/arch/sandpoint/pci/ |
| pci_machdep.c | 238 pci_intr_map(const struct pci_attach_args *pa, pci_intr_handle_t *ihp) 297 *ihp = 8; /* pin C only, indeed */ 306 *ihp = 2 + line; 321 *ihp = 2; 330 *ihp = (line + pin) & 03; 345 *ihp = 2; 349 *ihp = (line == 13) ? 4 : line - 11; 353 *ihp = line - 13; 357 *ihp = (line == 12) ? 4 : line - 13; 361 *ihp = (line < 15) ? line - 13 : line - 12 527 pci_intr_handle_t *ihp; local [all...] |
| /src/sys/arch/sparc/dev/ |
| vme_machdep.c | 623 struct sparc_vme_intr_handle *ihp = (vme_intr_handle_t)arg; local 627 level = (ihp->pri << 1) | 1; 637 printf("vme: spurious interrupt at VME level %d\n", ihp->pri); 642 for (; ihp; ihp = ihp->next) 643 if (ihp->vec == vec && ihp->ih.ih_fun) { 644 splx(ihp->ih.ih_classipl); 645 rv |= (ihp->ih.ih_fun)(ihp->ih.ih_arg) 656 struct sparc_vme_intr_handle *ihp = (vme_intr_handle_t)arg; local [all...] |
| /src/sys/arch/xen/xen/ |
| evtchn.c | 823 struct intrhand **ihp, *ih = esh_args->ih; local 829 for (ihp = &evts->ev_handlers; *ihp != NULL; 830 ihp = &((*ihp)->ih_evt_next)) { 831 if ((*ihp)->ih_level < ih->ih_level) 834 /* insert before *ihp */ 835 ih->ih_evt_next = *ihp; 836 *ihp = ih; 1001 struct intrhand **ihp; local [all...] |
| /src/external/bsd/tcpdump/dist/ |
| print-icmp.c | 545 const struct ih_rdiscovery *ihp; local 552 ihp = (const struct ih_rdiscovery *)&dp->icmp_void; 553 ND_TCHECK_SIZE(ihp); 556 lifetime = GET_BE_U_2(ihp->ird_lifetime); 572 num = GET_U_1(ihp->ird_addrnum); 576 size = GET_U_1(ihp->ird_addrsiz);
|
| /src/external/gpl3/binutils/dist/libsframe/ |
| sframe.c | 729 const sframe_header *ihp = (sframe_header *)frame_buf; local 731 if (!sframe_header_sanity_check_p (ihp)) 736 size_t hdrsz = sframe_get_hdr_size (ihp); 737 uint32_t num_fdes = ihp->sfh_num_fdes; 738 uint8_t ver = ihp->sfh_preamble.sfp_version; 739 char *fdes = frame_buf + hdrsz + ihp->sfh_fdeoff; 740 char *fres = frame_buf + hdrsz + ihp->sfh_freoff; 780 if (i != num_fdes || fde_bytes_flipped > ihp->sfh_freoff - ihp->sfh_fdeoff) 784 if (j != ihp->sfh_num_fres || fre_bytes_flipped > ihp->sfh_fre_len 825 const sframe_header *ihp = (sframe_header *)frame_buf; local 914 const sframe_header *ihp = (sframe_header *)frame_buf; local [all...] |
| /src/external/gpl3/binutils.old/dist/libsframe/ |
| sframe.c | 473 sframe_header *ihp; local 488 ihp = (sframe_header *)frame_buf; 490 if (!sframe_header_sanity_check_p (ihp)) 495 hdrsz = sframe_get_hdr_size (ihp); 496 num_fdes = ihp->sfh_num_fdes; 497 fdes = frame_buf + hdrsz + ihp->sfh_fdeoff; 524 fp = frame_buf + hdrsz + ihp->sfh_freoff; 539 if ((j != ihp->sfh_num_fres) || (bytes_flipped > (buf_size - hdrsz))) 934 sframe_header *ihp = (sframe_header *) tempbuf; local 935 flip_header (ihp); [all...] |
| /src/external/gpl3/gdb.old/dist/libsframe/ |
| sframe.c | 459 sframe_header *ihp; local 474 ihp = (sframe_header *)frame_buf; 476 if (!sframe_header_sanity_check_p (ihp)) 481 hdrsz = sframe_get_hdr_size (ihp); 482 num_fdes = ihp->sfh_num_fdes; 483 fdes = frame_buf + hdrsz + ihp->sfh_fdeoff; 510 fp = frame_buf + sframe_get_hdr_size (ihp) + ihp->sfh_freoff; 525 if ((j != ihp->sfh_num_fres) || (bytes_flipped != (buf_size - hdrsz))) 902 sframe_header *ihp = (sframe_header *) tempbuf local [all...] |
| /src/external/gpl3/gdb/dist/libsframe/ |
| sframe.c | 473 sframe_header *ihp; local 488 ihp = (sframe_header *)frame_buf; 490 if (!sframe_header_sanity_check_p (ihp)) 495 hdrsz = sframe_get_hdr_size (ihp); 496 num_fdes = ihp->sfh_num_fdes; 497 fdes = frame_buf + hdrsz + ihp->sfh_fdeoff; 524 fp = frame_buf + hdrsz + ihp->sfh_freoff; 539 if ((j != ihp->sfh_num_fres) || (bytes_flipped > (buf_size - hdrsz))) 934 sframe_header *ihp = (sframe_header *) tempbuf; local 935 flip_header (ihp); [all...] |
| /src/sys/dev/pci/ |
| mfii.c | 710 pci_intr_handle_t *ihp; local 761 if (pci_intr_alloc(pa, &ihp, NULL, 0)) { 765 intrstr = pci_intr_string(pa->pa_pc, ihp[0], intrbuf, sizeof(intrbuf)); 766 pci_intr_setattr(pa->pa_pc, &ihp[0], PCI_INTR_MPSAFE, true); 880 sc->sc_ih = pci_intr_establish_xname(sc->sc_pc, ihp[0], IPL_BIO,
|