Home
last modified time | relevance | path

Searched refs:ih (Results 1 – 25 of 132) sorted by relevance

123456

/freebsd/sys/kern/
H A Dkern_intr.c614 strlcpy(ih->ih_name, name, sizeof(ih->ih_name)); in intr_event_add_handler()
668 *cookiep = ih; in intr_event_add_handler()
695 ih = cookie; in intr_event_describe_handler()
713 space = sizeof(ih->ih_name) - (start - ih->ih_name) - 1; in intr_event_describe_handler()
1159 wakeup(ih); in intr_event_execute_handlers()
1168 ihp = ih; in intr_event_execute_handlers()
1173 wakeup(ih); in intr_event_execute_handlers()
1201 ih->ih_argument, ih->ih_name, ih->ih_flags); in intr_event_execute_handlers()
1205 ih->ih_handler(ih->ih_argument); in intr_event_execute_handlers()
1408 ih->ih_filter, ih->ih_argument, ih->ih_name); in intr_event_handle()
[all …]
/freebsd/sys/dev/xdma/
H A Dxdma.c209 struct xdma_intr_handler *ih; in xdma_setup_intr() local
226 ih->flags = flags; in xdma_setup_intr()
227 ih->cb = cb; in xdma_setup_intr()
228 ih->cb_user = arg; in xdma_setup_intr()
235 *ihandler = ih; in xdma_setup_intr()
249 if (ih == NULL) { in xdma_teardown_intr()
256 free(ih, M_XDMA); in xdma_teardown_intr()
265 struct xdma_intr_handler *ih; in xdma_teardown_all_intr() local
271 free(ih, M_XDMA); in xdma_teardown_all_intr()
330 if (ih->cb != NULL) { in xdma_callback()
[all …]
/freebsd/lib/libc/regex/grot/
H A DMakefile39 .SUFFIXES: .ih .h
40 .c.ih:
59 regcomp.o: cname.h regcomp.ih
60 regexec.o: engine.c engine.ih
61 regerror.o: regerror.ih
63 debug.o: debug.ih
64 main.o: debug.ih main.ih split.ih
65 split.o: split.ih
92 rm -f *.o *.s *.ih re
/freebsd/sys/dev/bhnd/bhndb/
H A Dbhndb_subr.c592 ih->ih_cookiep); in bhndb_free_resources()
899 ih = malloc(sizeof(*ih), M_BHND, M_NOWAIT | M_ZERO); in bhndb_alloc_intr_handler()
900 ih->ih_owner = owner; in bhndb_alloc_intr_handler()
901 ih->ih_res = r; in bhndb_alloc_intr_handler()
902 ih->ih_isrc = isrc; in bhndb_alloc_intr_handler()
906 return (ih); in bhndb_alloc_intr_handler()
919 ih->ih_cookiep)); in bhndb_free_intr_handler()
921 free(ih, M_BHND); in bhndb_free_intr_handler()
955 KASSERT(bhndb_find_intr_handler(br, ih) == ih, in bhndb_deregister_intr_handler()
975 if (ih == cookiep) in bhndb_find_intr_handler()
[all …]
H A Dbhndb.c1920 struct bhndb_intr_handler *ih; in bhndb_setup_intr() local
1933 if (ih == NULL) in bhndb_setup_intr()
1940 bhndb_free_intr_handler(ih); in bhndb_setup_intr()
1950 *cookiep = ih; in bhndb_setup_intr()
1972 if (ih == NULL) { in bhndb_teardown_intr()
1982 isrc = ih->ih_isrc; in bhndb_teardown_intr()
1995 bhndb_free_intr_handler(ih); in bhndb_teardown_intr()
2015 if (ih->ih_res == irq) { in bhndb_bind_intr()
2016 isrc = ih->ih_isrc; in bhndb_bind_intr()
2051 if (ih == NULL) { in bhndb_describe_intr()
[all …]
H A Dbhndb_private.h84 struct bhndb_intr_handler *ih);
88 struct bhndb_intr_handler *ih);
91 struct bhndb_intr_handler *ih);
/freebsd/lib/msun/src/
H A Dk_rem_pio2.c292 int32_t jz,jx,jv,jp,jk,carry,n,iq[20],i,j,k,m,q0,ih; in __kernel_rem_pio2() local
327 ih = 0; in __kernel_rem_pio2()
331 ih = iq[jz-1]>>(23-q0); in __kernel_rem_pio2()
333 else if(q0==0) ih = iq[jz-1]>>23; in __kernel_rem_pio2()
334 else if(z>=0.5) ih=2; in __kernel_rem_pio2()
336 if(ih>0) { /* q > 0.5 */ in __kernel_rem_pio2()
354 if(ih==2) { in __kernel_rem_pio2()
408 y[0] = (ih==0)? fw: -fw; in __kernel_rem_pio2()
415 y[0] = (ih==0)? fw: -fw; in __kernel_rem_pio2()
418 y[1] = (ih==0)? fw: -fw; in __kernel_rem_pio2()
[all …]
/freebsd/sys/net/
H A Dif_infiniband.c174 struct infiniband_header *ih; in infiniband_requestencap() local
185 ih = (struct infiniband_header *)req->buf; in infiniband_requestencap()
219 ih->ib_protocol = etype; in infiniband_requestencap()
220 ih->ib_reserved = 0; in infiniband_requestencap()
255 ih->ib_protocol = htons(ETHERTYPE_IP); in infiniband_resolve_addr()
256 ih->ib_reserved = 0; in infiniband_resolve_addr()
270 ih->ib_protocol = htons(ETHERTYPE_IPV6); in infiniband_resolve_addr()
271 ih->ib_reserved = 0; in infiniband_resolve_addr()
307 struct infiniband_header *ih; in infiniband_output() local
395 ih = mtod(m, struct infiniband_header *); in infiniband_output()
[all …]
/freebsd/tools/tools/net80211/w00t/redir/
H A Dbuddy.c53 struct ip *ih; in handle_data() local
59 ih = (struct ip*) buf; in handle_data()
64 if (ih->ip_p != 0) in handle_data()
67 if (ih->ip_hl != 5) in handle_data()
71 id = ih->ip_id; in handle_data()
H A Dredir.c258 struct ip *ih; in send_header() local
292 ih = (struct ip*) (ptr+8); in send_header()
293 ih->ip_v = 4; in send_header()
294 ih->ip_hl = 5; in send_header()
296 ih->ip_len = htons(len); in send_header()
297 ih->ip_id = htons(q->id); in send_header()
298 ih->ip_ttl = 69; in send_header()
299 ih->ip_p = 0; in send_header()
300 ih->ip_src.s_addr = p->src.s_addr; in send_header()
301 ih->ip_dst.s_addr = p->dst.s_addr; in send_header()
[all …]
/freebsd/sys/arm/freescale/vybrid/
H A Dvf_port.c79 void (*ih) (void *); member
124 if (pev->ih != NULL) { in port_intr()
125 pev->ih(pev->ih_user); in port_intr()
135 port_setup(int pnum, enum ev_type pevt, void (*ih)(void *), void *ih_user) in port_setup()
179 pev->ih = ih; in port_setup()
H A Dvf_edma.c62 uint32_t (*ih) (void *, int); member
107 if (ch->ih != NULL) { in edma_transfer_complete_intr()
108 ch->ih(ch->ih_user, i); in edma_transfer_complete_intr()
215 ch->ih = tcd->ih; in dma_setup()
H A Dvf_adc.c113 void *ih; member
198 NULL, adc_intr, sc, &sc->ih); in adc_attach()
/freebsd/sys/dev/pccbb/
H A Dpccbb.c363 if (ih == NULL) in cbb_setup_intr()
365 *cookiep = ih; in cbb_setup_intr()
366 ih->filt = filt; in cbb_setup_intr()
367 ih->intr = intr; in cbb_setup_intr()
368 ih->arg = arg; in cbb_setup_intr()
369 ih->sc = sc; in cbb_setup_intr()
376 &ih->cookie); in cbb_setup_intr()
396 ih->cookie); in cbb_teardown_intr()
399 free(ih, M_DEVBUF); in cbb_teardown_intr()
601 return ((*ih->filt)(ih->arg)); in cbb_func_filt()
[all …]
/freebsd/contrib/netbsd-tests/lib/libc/db/
H A Dh_db.c632 static HASHINFO ih; in setinfo() local
671 ih.bsize = atoi(eq); in setinfo()
672 return &ih; in setinfo()
675 ih.ffactor = atoi(eq); in setinfo()
676 return &ih; in setinfo()
679 ih.nelem = atoi(eq); in setinfo()
680 return &ih; in setinfo()
683 ih.cachesize = atoi(eq); in setinfo()
684 return &ih; in setinfo()
687 ih.lorder = atoi(eq); in setinfo()
[all …]
/freebsd/lib/libc/db/test/
H A Ddbtest.c575 static HASHINFO ih; local
614 ih.bsize = atoi(eq);
615 return (&ih);
618 ih.ffactor = atoi(eq);
619 return (&ih);
622 ih.nelem = atoi(eq);
623 return (&ih);
626 ih.cachesize = atoi(eq);
627 return (&ih);
630 ih.lorder = atoi(eq);
[all …]
/freebsd/tools/tools/net80211/wesside/wesside/
H A Dwesside.c778 struct ip* ih; in calculate_inet_clear() local
789 ih->ip_hl = 5; in calculate_inet_clear()
790 ih->ip_v = 4; in calculate_inet_clear()
791 ih->ip_tos = 0; in calculate_inet_clear()
794 ih->ip_off = 0; in calculate_inet_clear()
797 ih->ip_sum = 0; in calculate_inet_clear()
800 ih->ip_sum = in_cksum((unsigned short*)ih, 20); in calculate_inet_clear()
808 &ih->ip_src, &ih->ip_dst); in calculate_inet_clear()
1850 struct ip* ih; in flood_inet() local
1895 ih->ip_v = 4; in flood_inet()
[all …]
/freebsd/stand/efi/loader/arch/amd64/
H A Dmultiboot2.c264 struct multiboot_tag_efi64_ih *ih; in add_efi() local
279 ih = buf + len; in add_efi()
280 ih->type = MULTIBOOT_TAG_TYPE_EFI64_IH; in add_efi()
281 ih->size = sizeof(*ih); in add_efi()
282 ih->pointer = (uintptr_t)IH; in add_efi()
284 return (len + roundup2(ih->size, MULTIBOOT_TAG_ALIGN)); in add_efi()
/freebsd/sys/arm/arm/
H A Dpmu.c112 &sc->irq[i].ih); in pmu_attach()
147 if (sc->irq[i].ih != NULL) in pmu_attach()
148 bus_teardown_intr(dev, sc->irq[i].res, sc->irq[i].ih); in pmu_attach()
/freebsd/contrib/tcpdump/
H A Dprint-juniper.c538 const struct juniper_ipsec_header *ih; in juniper_es_if_print() local
551 ND_TCHECK_SIZE(ih); in juniper_es_if_print()
552 switch (GET_U_1(ih->type)) { in juniper_es_if_print()
566 GET_U_1(ih->type), in juniper_es_if_print()
578 GET_BE_U_2(ih->sa_index), in juniper_es_if_print()
579 GET_U_1(ih->ttl), in juniper_es_if_print()
581 GET_U_1(ih->type), in juniper_es_if_print()
582 GET_BE_U_4(ih->spi), in juniper_es_if_print()
588 GET_BE_U_2(ih->sa_index), in juniper_es_if_print()
589 GET_U_1(ih->ttl), in juniper_es_if_print()
[all …]
/freebsd/sys/dev/altera/pio/
H A Dpio.c69 void *ih; member
87 NULL, intr_handler, ih_user, &sc->ih)) { in pio_setup_irq()
102 bus_teardown_intr(sc->dev, sc->res[1], sc->ih); in pio_teardown_irq()
/freebsd/sys/dev/vt/hw/fb/
H A Dvt_early_fb.c79 ihandle_t ih; in vt_efb_initialize() local
85 ih = OF_open(name); in vt_efb_initialize()
115 OF_call_method("color!", ih, 4, 1, in vt_efb_initialize()
/freebsd/sys/dev/firewire/
H A Dfwohci_pci.c275 sc, &sc->ih); in fwohci_pci_attach()
348 if (sc->ih) { in fwohci_pci_detach()
349 err = bus_teardown_intr(self, sc->irq_res, sc->ih); in fwohci_pci_detach()
353 sc->ih = NULL; in fwohci_pci_detach()
/freebsd/sys/dev/atkbdc/
H A Datkbd_atkbdc.c50 void *ih; member
133 kbd, &sc->ih); in atkbdattach()
/freebsd/sys/netipsec/
H A Dipsec.c511 struct ip ih; in ipsec4_get_ulp() local
513 m_copydata(m, 0, sizeof (struct ip), (caddr_t) &ih); in ipsec4_get_ulp()
514 if (ih.ip_off & htons(IP_MF | IP_OFFMASK)) in ipsec4_get_ulp()
516 off = ih.ip_hl << 2; in ipsec4_get_ulp()
517 nxt = ih.ip_p; in ipsec4_get_ulp()
682 struct icmp6_hdr ih; in ipsec6_get_ulp() local
723 m_copydata(m, off, sizeof(ih), (caddr_t)&ih); in ipsec6_get_ulp()
724 spidx->src.sin6.sin6_port = htons((uint16_t)ih.icmp6_type); in ipsec6_get_ulp()
725 spidx->dst.sin6.sin6_port = htons((uint16_t)ih.icmp6_code); in ipsec6_get_ulp()

123456