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.c215 struct intr_handler *ih; in intr_event_update() local
227 CK_SLIST_FOREACH(ih, &ie->ie_handlers, ih_next) { in intr_event_update()
228 if (strlen(ie->ie_fullname) + strlen(ih->ih_name) + 1 < in intr_event_update()
231 strcat(ie->ie_fullname, ih->ih_name); in intr_event_update()
235 flags |= ih->ih_flags; in intr_event_update()
247 ih = CK_SLIST_FIRST(&ie->ie_handlers); in intr_event_update()
248 missed = strlen(ie->ie_fullname) + strlen(ih->ih_name) + 2 - in intr_event_update()
251 strcat(ie->ie_fullname, &ih->ih_name[missed]); in intr_event_update()
606 struct intr_handler *ih, *temp_ih; in intr_event_add_handler()
614 ih in intr_event_add_handler()
602 struct intr_handler *ih, *temp_ih; intr_event_add_handler() local
680 struct intr_handler *ih; intr_event_describe_handler() local
734 struct intr_handler *ih; intr_handler_source() local
852 struct intr_handler *ih; intr_event_remove_handler() local
1091 struct intr_handler *ih = (struct intr_handler *)cookie; swi_sched() local
1144 struct intr_handler *ih, *ihn, *ihp; intr_event_execute_handlers() local
1361 struct intr_handler *ih; intr_event_handle() local
1481 db_dump_intrhand(struct intr_handler * ih) db_dump_intrhand() argument
1557 struct intr_handler *ih; db_dump_intr_event() local
[all...]
/freebsd/sys/dev/xdma/
H A Dxdma.c209 struct xdma_intr_handler *ih; in xdma_setup_intr() local
224 ih = malloc(sizeof(struct xdma_intr_handler), in xdma_setup_intr()
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()
231 TAILQ_INSERT_TAIL(&xchan->ie_handlers, ih, ih_next); in xdma_setup_intr()
235 *ihandler = ih; in xdma_setup_intr()
241 xdma_teardown_intr(xdma_channel_t *xchan, struct xdma_intr_handler *ih) in xdma_teardown_intr() argument
249 if (ih == NULL) { in xdma_teardown_intr()
255 TAILQ_REMOVE(&xchan->ie_handlers, ih, ih_next); in xdma_teardown_intr()
[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.c568 struct bhndb_intr_handler *ih; in bhndb_free_resources() local
590 STAILQ_FOREACH(ih, &br->bus_intrs, ih_link) { in bhndb_free_resources()
592 ih->ih_cookiep); in bhndb_free_resources()
897 struct bhndb_intr_handler *ih; in bhndb_alloc_intr_handler() local
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()
903 ih->ih_cookiep = NULL; in bhndb_alloc_intr_handler()
904 ih->ih_active = false; in bhndb_alloc_intr_handler()
[all …]
H A Dbhndb.c1920 struct bhndb_intr_handler *ih; in bhndb_setup_intr() local
1932 ih = bhndb_alloc_intr_handler(child, r, isrc); in bhndb_setup_intr()
1933 if (ih == NULL) in bhndb_setup_intr()
1938 handler, arg, &ih->ih_cookiep); in bhndb_setup_intr()
1940 bhndb_free_intr_handler(ih); in bhndb_setup_intr()
1946 bhndb_register_intr_handler(sc->bus_res, ih); in bhndb_setup_intr()
1950 *cookiep = ih; in bhndb_setup_intr()
1962 struct bhndb_intr_handler *ih; in bhndb_teardown_intr() local
1971 ih = bhndb_find_intr_handler(sc->bus_res, cookiep); in bhndb_teardown_intr()
1972 if (ih in bhndb_teardown_intr()
2006 struct bhndb_intr_handler *ih; bhndb_bind_intr() local
2040 struct bhndb_intr_handler *ih; bhndb_describe_intr() local
[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()
221 memcpy(ih->ib_hwaddr, lladdr, INFINIBAND_ADDR_LEN); in infiniband_requestencap()
233 struct infiniband_header *ih = (struct infiniband_header *)phdr; in infiniband_resolve_addr() local
248 memcpy(ih->ib_hwaddr, ifp->if_broadcastaddr, in infiniband_resolve_addr()
253 ifp->if_broadcastaddr, ih->ib_hwaddr); in infiniband_resolve_addr()
255 ih->ib_protocol = htons(ETHERTYPE_IP); in infiniband_resolve_addr()
256 ih->ib_reserved = 0; in infiniband_resolve_addr()
[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/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/dev/pccbb/
H A Dpccbb.c356 struct cbb_intrhand *ih; in cbb_setup_intr() local
362 ih = malloc(sizeof(struct cbb_intrhand), M_DEVBUF, M_NOWAIT); in cbb_setup_intr()
363 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()
375 filt ? cbb_func_filt : NULL, intr ? cbb_func_intr : NULL, ih, in cbb_setup_intr()
376 &ih->cookie); in cbb_setup_intr()
[all …]
/freebsd/tools/tools/net80211/wesside/wesside/
H A Dwesside.c778 struct ip* ih; in calculate_inet_clear() local
788 ih = (struct ip*) &inet_clear[8]; in calculate_inet_clear()
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()
792 ih->ip_len = htons(20+8+PRGA_LEN); in calculate_inet_clear()
793 ih->ip_id = htons(666); in calculate_inet_clear()
794 ih->ip_off = 0; in calculate_inet_clear()
795 ih->ip_ttl = ttl_val; in calculate_inet_clear()
796 ih->ip_p = IPPROTO_UDP; in calculate_inet_clear()
[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/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.c536 const struct juniper_ipsec_header *ih; in juniper_es_if_print() local
547 ih = (const struct juniper_ipsec_header *)p; in juniper_es_if_print()
549 ND_TCHECK_SIZE(ih); in juniper_es_if_print()
550 switch (GET_U_1(ih->type)) { in juniper_es_if_print()
564 GET_U_1(ih->type), in juniper_es_if_print()
576 GET_BE_U_2(ih->sa_index), in juniper_es_if_print()
577 GET_U_1(ih->ttl), in juniper_es_if_print()
578 tok2str(juniper_ipsec_type_values,"Unknown",GET_U_1(ih->type)), in juniper_es_if_print()
579 GET_U_1(ih->type), in juniper_es_if_print()
580 GET_BE_U_4(ih->spi), 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.c80 ihandle_t ih; in vt_efb_initialize()
86 ih = OF_open(name); in vt_efb_initialize()
116 OF_call_method("color!", ih, 4, 1, in vt_efb_initialize()
79 ihandle_t ih; vt_efb_initialize() local
/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.c508 struct ip ih; in ipsec4_get_ulp() local
510 m_copydata(m, 0, sizeof (struct ip), (caddr_t) &ih); in ipsec4_get_ulp()
511 if (ih.ip_off & htons(IP_MF | IP_OFFMASK)) in ipsec4_get_ulp()
513 off = ih.ip_hl << 2; in ipsec4_get_ulp()
514 nxt = ih.ip_p; in ipsec4_get_ulp()
687 struct icmp6_hdr ih; in ipsec6_get_ulp() local
728 m_copydata(m, off, sizeof(ih), (caddr_t)&ih); in ipsec6_get_ulp()
729 spidx->src.sin6.sin6_port = htons((uint16_t)ih.icmp6_type); in ipsec6_get_ulp()
730 spidx->dst.sin6.sin6_port = htons((uint16_t)ih.icmp6_code); in ipsec6_get_ulp()

123456