| /netbsd-src/sbin/dump/ |
| H A D | rcache.c | 58 union cdesc { union 79 static union cdesc *cheader; 80 static union cdesc *cdesc; variable 93 #define CDATA(desc) (cdata + ((desc) - cdesc) * CSIZE) 141 sharedSize = sizeof(union cdesc) + in initcache() 142 sizeof(union cdesc) * cachebufs + in initcache() 156 cdesc = (union cdesc *) (((char *) shareBuffer) + in initcache() 157 sizeof(union cdesc)); in initcache() 158 cdata = ((char *) shareBuffer) + sizeof(union cdesc) + in initcache() 159 sizeof(union cdesc) * cachebufs; in initcache() [all …]
|
| /netbsd-src/sys/external/bsd/ena-com/ |
| H A D | ena_eth_com.c | 39 struct ena_eth_io_rx_cdesc_base *cdesc; in ena_com_get_next_rx_cdesc() local 46 cdesc = (struct ena_eth_io_rx_cdesc_base *)(io_cq->cdesc_addr.virt_addr in ena_com_get_next_rx_cdesc() 49 desc_phase = (READ_ONCE(cdesc->status) & ENA_ETH_IO_RX_CDESC_BASE_PHASE_MASK) >> in ena_com_get_next_rx_cdesc() 55 return cdesc; in ena_com_get_next_rx_cdesc() 237 struct ena_eth_io_rx_cdesc_base *cdesc; in ena_com_cdesc_rx_pkt_get() local 242 cdesc = ena_com_get_next_rx_cdesc(io_cq); in ena_com_cdesc_rx_pkt_get() 243 if (!cdesc) in ena_com_cdesc_rx_pkt_get() 248 last = (READ_ONCE(cdesc->status) & ENA_ETH_IO_RX_CDESC_BASE_LAST_MASK) >> in ena_com_cdesc_rx_pkt_get() 338 struct ena_eth_io_rx_cdesc_base *cdesc) in ena_com_rx_set_flags() argument 340 ena_rx_ctx->l3_proto = cdesc->status & in ena_com_rx_set_flags() [all …]
|
| /netbsd-src/sys/dev/usb/ |
| H A D | ugen.c | 484 usb_config_descriptor_t *cdesc; in ugen_set_config() local 520 cdesc = usbd_get_config_descriptor(dev); in ugen_set_config() 521 if (!cdesc || cdesc->bConfigurationValue != configno) { in ugen_set_config() 1624 usb_config_descriptor_t *cdesc = NULL, *tdesc, cdescr; in ugen_get_cdesc() local 1636 cdesc = kmem_alloc(len, KM_SLEEP); in ugen_get_cdesc() 1637 memcpy(cdesc, tdesc, len); in ugen_get_cdesc() 1644 cdesc = kmem_alloc(len, KM_SLEEP); in ugen_get_cdesc() 1645 err = usbd_get_config_desc_full(sc->sc_udev, index, cdesc, len); in ugen_get_cdesc() 1647 kmem_free(cdesc, len); in ugen_get_cdesc() 1648 cdesc = NULL; in ugen_get_cdesc() [all …]
|
| H A D | umodeswitch.c | 212 usb_config_descriptor_t *cdesc; in u3g_huawei_reinit() local 215 cdesc = usbd_get_config_descriptor(dev); in u3g_huawei_reinit() 216 if (cdesc == NULL) { in u3g_huawei_reinit() 228 cdesc = usbd_get_config_descriptor(dev); in u3g_huawei_reinit() 230 if (cdesc == NULL) in u3g_huawei_reinit() 241 if (cdesc->bNumInterface > 1) in u3g_huawei_reinit()
|
| H A D | ubsa.c | 156 usb_config_descriptor_t *cdesc; in ubsa_attach() local 203 cdesc = usbd_get_config_descriptor(sc->sc_udev); in ubsa_attach() 205 if (cdesc == NULL) { in ubsa_attach()
|
| H A D | uep.c | 137 usb_config_descriptor_t *cdesc; in uep_attach() local 170 cdesc = usbd_get_config_descriptor(sc->sc_udev); in uep_attach() 171 if (cdesc == NULL) { in uep_attach()
|
| H A D | umct.c | 173 usb_config_descriptor_t *cdesc; in umct_attach() local 212 cdesc = usbd_get_config_descriptor(sc->sc_udev); in umct_attach() 214 if (cdesc == NULL) { in umct_attach()
|
| H A D | uhmodem.c | 193 usb_config_descriptor_t *cdesc; in uhmodem_attach() local 252 cdesc = usbd_get_config_descriptor(sc->sc_udev); in uhmodem_attach() 253 if (cdesc == NULL) { in uhmodem_attach()
|
| H A D | usbdi_util.c | 590 usb_config_descriptor_t *cdesc; in usbd_get_hid_descriptor() local 597 cdesc = usbd_get_config_descriptor(dev); in usbd_get_hid_descriptor() 600 end = (char *)cdesc + UGETW(cdesc->wTotalLength); in usbd_get_hid_descriptor()
|
| H A D | uplcom.c | 276 usb_config_descriptor_t *cdesc; in uplcom_attach() local 355 cdesc = usbd_get_config_descriptor(sc->sc_udev); in uplcom_attach() 357 if (cdesc == NULL) { in uplcom_attach() 416 if (cdesc->bNumInterface == 2) { in uplcom_attach()
|
| H A D | uvscom.c | 237 usb_config_descriptor_t *cdesc; in uvscom_attach() local 273 cdesc = usbd_get_config_descriptor(sc->sc_udev); in uvscom_attach() 275 if (cdesc == NULL) { in uvscom_attach()
|
| H A D | uaudio.c | 454 usb_config_descriptor_t *cdesc; in uaudio_attach() local 476 cdesc = usbd_get_config_descriptor(sc->sc_udev); in uaudio_attach() 477 if (cdesc == NULL) { in uaudio_attach() 483 err = uaudio_identify(sc, cdesc); in uaudio_attach() 2046 uaudio_identify(struct uaudio_softc *sc, const usb_config_descriptor_t *cdesc) in uaudio_identify() argument 2050 err = uaudio_identify_ac(sc, cdesc); in uaudio_identify() 2053 err = uaudio_identify_as(sc, cdesc); in uaudio_identify() 2419 const usb_config_descriptor_t *cdesc) in uaudio_identify_as() argument 2425 size = UGETW(cdesc->wTotalLength); in uaudio_identify_as() 2426 tbuf = (const char *)cdesc; in uaudio_identify_as() [all …]
|
| H A D | umidi.c | 874 usb_config_descriptor_t *cdesc; in alloc_all_endpoints_yamaha() local 887 cdesc = usbd_get_config_descriptor(sc->sc_udev); in alloc_all_endpoints_yamaha() 888 end = (char *)cdesc + UGETW(cdesc->wTotalLength); in alloc_all_endpoints_yamaha() 890 KASSERT((char *)cdesc <= (char *)idesc); in alloc_all_endpoints_yamaha()
|
| H A D | usbdi.c | 978 usbd_get_no_alts(usb_config_descriptor_t *cdesc, int ifaceno) in usbd_get_no_alts() argument 980 char *p = (char *)cdesc; in usbd_get_no_alts() 981 char *end = p + UGETW(cdesc->wTotalLength); in usbd_get_no_alts()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/fortran/ |
| H A D | trans-array.cc | 3802 tree cdesc; in build_array_ref() local 3809 cdesc = gfc_class_data_get (GFC_DECL_SAVED_DESCRIPTOR ( in build_array_ref() 3812 cdesc = desc; in build_array_ref() 3816 if (GFC_DESCRIPTOR_TYPE_P (TREE_TYPE (cdesc)) in build_array_ref() 3817 && TREE_CODE (cdesc) == COMPONENT_REF) in build_array_ref() 3819 type = TREE_TYPE (TREE_OPERAND (cdesc, 0)); in build_array_ref() 3822 vptr = gfc_class_vptr_get (TREE_OPERAND (cdesc, 0)); in build_array_ref() 9139 tree cdesc; in structure_alloc_comps() local 9215 cdesc = gfc_get_array_type_bounds (tmp, 1, 0, &gfc_index_one_node, in structure_alloc_comps() 9219 cdesc = gfc_create_var (cdesc, "cdesc"); in structure_alloc_comps() [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/fortran/ |
| H A D | trans-array.c | 3721 tree cdesc; in build_array_ref() local 3728 cdesc = gfc_class_data_get (GFC_DECL_SAVED_DESCRIPTOR ( in build_array_ref() 3731 cdesc = desc; in build_array_ref() 3735 if (GFC_DESCRIPTOR_TYPE_P (TREE_TYPE (cdesc)) in build_array_ref() 3736 && TREE_CODE (cdesc) == COMPONENT_REF) in build_array_ref() 3738 type = TREE_TYPE (TREE_OPERAND (cdesc, 0)); in build_array_ref() 3741 vptr = gfc_class_vptr_get (TREE_OPERAND (cdesc, 0)); in build_array_ref() 8971 tree cdesc; in structure_alloc_comps() local 9036 cdesc = gfc_get_array_type_bounds (tmp, 1, 0, &gfc_index_one_node, in structure_alloc_comps() 9040 cdesc = gfc_create_var (cdesc, "cdesc"); in structure_alloc_comps() [all …]
|
| /netbsd-src/external/gpl3/binutils/dist/gas/config/ |
| H A D | tc-ia64.c | 7866 struct const_desc *cdesc; in ia64_parse_name() local 7973 cdesc = str_hash_find (md.const_hash, name); in ia64_parse_name() 7974 if (cdesc) in ia64_parse_name() 7977 e->X_add_number = cdesc->value; in ia64_parse_name()
|
| /netbsd-src/external/gpl3/binutils.old/dist/gas/config/ |
| H A D | tc-ia64.c | 7873 struct const_desc *cdesc; in ia64_parse_name() local 7980 cdesc = str_hash_find (md.const_hash, name); in ia64_parse_name() 7981 if (cdesc) in ia64_parse_name() 7984 e->X_add_number = cdesc->value; in ia64_parse_name()
|