Home
last modified time | relevance | path

Searched refs:rid (Results 1 – 25 of 267) sorted by relevance

1234567891011

/dragonfly/sys/bus/isa/x86_64/
H A Disa.c77 isa_alloc_resource(device_t bus, device_t child, int type, int *rid, in isa_alloc_resource() argument
92 rle = resource_list_find(rl, type, *rid); in isa_alloc_resource()
94 if (*rid < 0) in isa_alloc_resource()
98 if (*rid >= ISA_NIRQ) in isa_alloc_resource()
103 if (*rid >= ISA_NDRQ) in isa_alloc_resource()
107 if (*rid >= ISA_NMEM) in isa_alloc_resource()
111 if (*rid >= ISA_NPORT) in isa_alloc_resource()
117 resource_list_add(rl, type, *rid, start, end, in isa_alloc_resource()
122 return resource_list_alloc(rl, bus, child, type, rid, in isa_alloc_resource()
127 isa_release_resource(device_t bus, device_t child, int type, int rid, in isa_release_resource() argument
[all …]
/dragonfly/usr.bin/u4bhidctl/
H A Dusbhid.c308 rid = -1; in dumpdata()
313 rid = 0; in dumpdata()
317 rid = -1; in dumpdata()
332 dbuf[0] = rid; in dumpdata()
336 havedata = !r && (rid == 0 || dbuf[0] == rid); in dumpdata()
337 if (rid != 0) in dumpdata()
338 dbuf[0] = rid; in dumpdata()
385 rid = 0; in writedata()
387 for (rid = 0; rid < 256; rid ++) { in writedata()
399 dbuf[0] = rid; in writedata()
[all …]
/dragonfly/crypto/libressl/crypto/cms/
H A Dcms_kari.c161 CMS_KeyAgreeRecipientIdentifier *rid = rek->rid; in CMS_RecipientEncryptedKey_get0_id() local
163 if (rid->type == CMS_REK_ISSUER_SERIAL) { in CMS_RecipientEncryptedKey_get0_id()
176 *keyid = rid->d.rKeyId->subjectKeyIdentifier; in CMS_RecipientEncryptedKey_get0_id()
178 *tm = rid->d.rKeyId->date; in CMS_RecipientEncryptedKey_get0_id()
180 *other = rid->d.rKeyId->other; in CMS_RecipientEncryptedKey_get0_id()
194 CMS_KeyAgreeRecipientIdentifier *rid = rek->rid; in CMS_RecipientEncryptedKey_cert_cmp() local
196 if (rid->type == CMS_REK_ISSUER_SERIAL) in CMS_RecipientEncryptedKey_cert_cmp()
198 else if (rid->type == CMS_REK_KEYIDENTIFIER) in CMS_RecipientEncryptedKey_cert_cmp()
372 rek->rid->type = CMS_REK_KEYIDENTIFIER; in cms_RecipientInfo_kari_init()
374 if (rek->rid->d.rKeyId == NULL) in cms_RecipientInfo_kari_init()
[all …]
/dragonfly/sys/bus/pccard/
H A Dpccard.c105 int rid);
107 int rid, uint32_t flags);
118 int rid, struct resource *r);
417 int i, rid, spaces; in pccard_function_init() local
437 rid = i; in pccard_function_init()
460 rid = i; in pccard_function_init()
480 rid = 0; in pccard_function_init()
530 rle->type, rle->rid, in pccard_function_free()
896 if (rid < 0) in pccard_set_resource()
949 rid, flags)); in pccard_set_res_flags()
[all …]
/dragonfly/sys/platform/pc64/x86_64/
H A Dnexus.c401 rman_set_rid(rv, *rid); in nexus_alloc_resource()
568 type, rid, startp, countp, rle); in nexus_get_resource()
584 resource_list_delete(rl, type, rid); in nexus_delete_resource()
659 int error, rid; in ram_attach() local
677 rid = 0; in ram_attach()
686 __func__, rid, error); in ram_attach()
692 __func__, rid, in ram_attach()
696 rid++; in ram_attach()
710 for (rid = 0, p = &dump_avail[0]; p->phys_end; ++rid, ++p) { in ram_attach()
717 rid, error); in ram_attach()
[all …]
/dragonfly/crypto/openssh/
H A Dmux.c88 u_int rid; member
93 u_int rid; member
345 cctx->rid = rid; in mux_master_process_new_session()
826 fctx->rid = rid; in mux_master_process_open_fwd()
1033 cctx->rid = rid; in mux_master_process_stdio_fwd()
1140 u_int type, rid, i; in mux_master_read_cb() local
1178 rid = 0; in mux_master_read_cb()
1692 u_int type, rid; in mux_client_request_terminate() local
1748 u_int type, rid; in mux_client_forward() local
2052 u_int type, rid; in mux_client_proxy() local
[all …]
/dragonfly/sys/dev/pccard/pccbb/
H A Dpccbb.c201 if (SYS_RES_MEMORY == rle->type && rid == rle->rid) in cbb_find_res()
208 int rid) in cbb_insert_res() argument
221 rle->rid = rid; in cbb_insert_res()
1131 type, rid, res); in cbb_cardbus_activate_resource()
1145 type, rid, res); in cbb_cardbus_deactivate_resource()
1225 type, rid, res)); in cbb_cardbus_release_resource()
1380 type, rid, res)); in cbb_pcic_release_resource()
1447 rid, r)); in cbb_deactivate_resource()
1450 rid, r)); in cbb_deactivate_resource()
1475 rid, r)); in cbb_release_resource()
[all …]
H A Dpccbb_isa.c101 int rid;
105 rid = 0;
106 res = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, RF_ACTIVE);
116 res = bus_alloc_resource(dev, SYS_RES_IRQ, &rid, i, i,
123 bus_release_resource(dev, SYS_RES_IRQ, rid, res);
126 bus_release_resource(dev, SYS_RES_IRQ, rid, res);
H A Dpccbbvar.h47 int rid; member
117 int type, int rid, struct resource *r);
119 int type, int *rid, u_long start, u_long end, u_long count,
124 int type, int rid, struct resource *r);
131 int cbb_pcic_set_memory_offset(device_t brdev, device_t child, int rid,
134 int rid, uint32_t flags);
143 int type, int rid, struct resource *r);
/dragonfly/sys/dev/misc/orm/
H A Dorm.c60 int rid[MAX_ROMS]; member
84 int rid; in orm_identify() local
107 rid = sc->rnum; in orm_identify()
108 res = bus_alloc_resource_any(child, SYS_RES_MEMORY, &rid, in orm_identify()
130 bus_release_resource(child, SYS_RES_MEMORY, rid, res); in orm_identify()
139 rid = sc->rnum; in orm_identify()
140 res = bus_alloc_resource_any(child, SYS_RES_MEMORY, &rid, 0); in orm_identify()
146 sc->rid[sc->rnum] = rid; in orm_identify()
173 bus_release_resource(dev, SYS_RES_MEMORY, sc->rid[i], in orm_detach()
/dragonfly/sys/bus/pci/
H A Dvga_pci.c71 int rid, struct resource *r);
138 int rid; in vga_pci_map_bios() local
155 rid = PCIR_BIOS; in vga_pci_map_bios()
281 lookup_res(struct vga_pci_softc *sc, int rid) in lookup_res() argument
285 if (rid == PCIR_BIOS) in lookup_res()
287 bar = PCI_RID2BAR(rid); in lookup_res()
306 vr = lookup_res(device_get_softc(dev), *rid); in vga_pci_alloc_resource()
310 vr->vr_res = bus_alloc_resource(dev, type, rid, start, in vga_pci_alloc_resource()
331 vr = lookup_res(device_get_softc(dev), rid); in vga_pci_release_resource()
341 return (bus_release_resource(dev, type, rid, r)); in vga_pci_release_resource()
[all …]
H A Dpci.c1579 *rid0 = rid; in pci_alloc_msix_vector_method()
1595 KASSERT(rid > 0, ("invalid rid %d", rid)); in pci_release_msix_vector_method()
2828 int rid; in ohci_early_takeover() local
2864 int rid; in uhci_early_takeover() local
2893 int rid; in ehci_early_takeover() local
2949 int rid; in xhci_early_takeover() local
3292 int rid, error; in pci_setup_intr() local
3441 if (rid > 0) in pci_teardown_intr()
4353 int rid, type; in pci_alloc_1intr() local
4356 rid = 0; in pci_alloc_1intr()
[all …]
/dragonfly/sys/dev/pccard/cardbus/
H A Dcardbus_cis.c108 int rid, struct resource *res);
110 uint32_t *start, int *rid);
479 pci_write_config(child, rid, 0, 4); in cardbus_read_tuple_finish()
486 int *rid) in cardbus_read_tuple_init() argument
505 *rid = CARDBUS_ROM_REG; in cardbus_read_tuple_init()
545 pci_write_config(child, *rid, in cardbus_read_tuple_init()
574 *rid, res); in cardbus_read_tuple_init()
575 *rid = 0; in cardbus_read_tuple_init()
611 *rid, res); in cardbus_read_tuple_init()
612 *rid = 0; in cardbus_read_tuple_init()
[all …]
/dragonfly/sys/dev/disk/advansys/
H A Dadv_pci.c135 int error, rid, irqrid; in adv_pci_attach() local
164 rid = PCI_BASEADR0; in adv_pci_attach()
165 iores = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, 1, in adv_pci_attach()
172 bus_release_resource(dev, SYS_RES_IOPORT, rid, iores); in adv_pci_attach()
178 bus_release_resource(dev, SYS_RES_IOPORT, rid, iores); in adv_pci_attach()
198 bus_release_resource(dev, SYS_RES_IOPORT, rid, iores); in adv_pci_attach()
214 bus_release_resource(dev, SYS_RES_IOPORT, rid, iores); in adv_pci_attach()
224 bus_release_resource(dev, SYS_RES_IOPORT, rid, iores); in adv_pci_attach()
262 bus_release_resource(dev, SYS_RES_IOPORT, rid, iores); in adv_pci_attach()
292 bus_release_resource(dev, SYS_RES_IOPORT, rid, iores); in adv_pci_attach()
/dragonfly/contrib/gcc-4.7/gcc/c-family/
H A Dc-common.h63 enum rid enum
205 #define OBJC_IS_AT_KEYWORD(rid) \ argument
209 #define OBJC_IS_PQ_KEYWORD(rid) \ argument
213 #define OBJC_IS_PATTR_KEYWORD(rid) \ argument
224 #define OBJC_IS_CXX_KEYWORD(rid) \ argument
225 (rid == RID_CLASS \
226 || rid == RID_PUBLIC || rid == RID_PROTECTED || rid == RID_PRIVATE \
227 || rid == RID_TRY || rid == RID_THROW || rid == RID_CATCH)
326 ENUM_BITFIELD(rid) const rid : 16;
786 extern bool keyword_is_type_qualifier (enum rid);
[all …]
/dragonfly/sys/dev/netif/ral/
H A Dif_ral_pci.c207 int error, rid; in ral_pci_attach() local
209 int count, error, rid; in ral_pci_attach() local
240 rid = PCIR_BAR(0); in ral_pci_attach()
241 psc->mem = bus_alloc_resource_any(dev, SYS_RES_MEMORY, &rid, in ral_pci_attach()
254 &rid, &irq_flags); in ral_pci_attach()
255 psc->irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, irq_flags); in ral_pci_attach()
257 rid = 0; in ral_pci_attach()
261 rid = 1; in ral_pci_attach()
263 psc->irq = bus_alloc_resource_any(dev, SYS_RES_IRQ, &rid, RF_ACTIVE | in ral_pci_attach()
264 (rid != 0 ? 0 : RF_SHAREABLE)); in ral_pci_attach()
/dragonfly/sys/dev/raid/dpt/
H A Ddpt_pci.c75 int rid; in dpt_pci_attach() local
86 rid = DPT_PCI_MEMADDR; in dpt_pci_attach()
88 io = bus_alloc_resource(dev, iotype, &rid, 0, ~0, 1, RF_ACTIVE); in dpt_pci_attach()
92 rid = DPT_PCI_IOADDR; in dpt_pci_attach()
94 io = bus_alloc_resource(dev, iotype, &rid, 0, ~0, 1, RF_ACTIVE); in dpt_pci_attach()
103 rid = 0; in dpt_pci_attach()
104 irq = bus_alloc_resource(dev, SYS_RES_IRQ, &rid, 0, ~0, 1, in dpt_pci_attach()
/dragonfly/contrib/gcc-8.0/gcc/c-family/
H A Dc-common.h63 enum rid enum
257 #define OBJC_IS_AT_KEYWORD(rid) \ argument
261 #define OBJC_IS_PQ_KEYWORD(rid) \ argument
265 #define OBJC_IS_PATTR_KEYWORD(rid) \ argument
276 #define OBJC_IS_CXX_KEYWORD(rid) \ argument
277 (rid == RID_CLASS || rid == RID_SYNCHRONIZED \
278 || rid == RID_PUBLIC || rid == RID_PROTECTED || rid == RID_PRIVATE \
279 || rid == RID_TRY || rid == RID_THROW || rid == RID_CATCH)
375 ENUM_BITFIELD(rid) const rid : 16;
847 extern bool keyword_is_type_qualifier (enum rid);
[all …]
/dragonfly/sys/bus/isa/
H A Disa_common.c504 int rid = rle->rid; in isa_probe_children() local
506 rle->type, &rid, 0, ~0, 1, in isa_probe_children()
807 int rid = rle->rid; in isa_child_detached() local
809 rle->type, &rid, 0, ~0, 1, in isa_child_detached()
854 rle->rid, in isa_driver_added()
871 int rid = rle->rid; in isa_driver_added() local
873 rle->type, &rid, 0, ~0, 1, in isa_driver_added()
893 if (rid < 0) in isa_set_resource()
899 if (type == SYS_RES_IRQ && rid >= ISA_NIRQ) in isa_set_resource()
918 rle = resource_list_find(rl, type, rid); in isa_get_resource()
[all …]
/dragonfly/sys/sys/
H A Dbus.h139 int rid; /* resource identifier */ member
186 int type, int rid);
192 int type, int rid);
205 int type, int *rid,
214 int type, int rid, struct resource *res);
236 int rid, struct resource *r);
239 int type, int *rid,
251 int rid, struct resource *r);
269 int type, int rid, struct resource *r);
275 int type, int rid);
[all …]
/dragonfly/sys/dev/misc/puc/
H A Dpuc.c206 int bidx, childunit, i, irq_setup, rid; in puc_pci_attach() local
228 rid = 0; in puc_pci_attach()
235 sc->irqrid = rid; in puc_pci_attach()
242 rid = 0; in puc_pci_attach()
244 if (rid == sc->sc_desc->ports[i].bar) in puc_pci_attach()
246 rid = sc->sc_desc->ports[i].bar; in puc_pci_attach()
247 bidx = PUC_PORT_BAR_INDEX(rid); in puc_pci_attach()
276 rid = sc->sc_desc->ports[i].bar; in puc_pci_attach()
277 bidx = PUC_PORT_BAR_INDEX(rid); in puc_pci_attach()
618 pdev, type, *rid); in puc_alloc_resource()
[all …]
/dragonfly/sys/dev/disk/buslogic/
H A Dbt_pci.c53 int command, type = 0, rid, zero; in bt_pci_alloc_resources() local
62 rid = BT_PCI_MEMADDR; in bt_pci_alloc_resources()
63 regs = bus_alloc_resource_any(dev, type, &rid, RF_ACTIVE); in bt_pci_alloc_resources()
68 rid = BT_PCI_IOADDR; in bt_pci_alloc_resources()
69 regs = bus_alloc_resource_any(dev, type, &rid, RF_ACTIVE); in bt_pci_alloc_resources()
79 bus_release_resource(dev, type, rid, regs); in bt_pci_alloc_resources()
/dragonfly/sys/dev/misc/atkbdc_layer/
H A Datkbdc_isa.c130 int rid; in atkbdc_probe() local
157 rid = 0; in atkbdc_probe()
158 port0 = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, 1, in atkbdc_probe()
167 rid = 1; in atkbdc_probe()
168 port1 = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, 1, in atkbdc_probe()
239 int rid; in atkbdc_attach() local
260 rid = 0; in atkbdc_attach()
261 sc->port0 = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, 1, in atkbdc_attach()
267 rid = 1; in atkbdc_attach()
268 sc->port1 = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, 1, in atkbdc_attach()
/dragonfly/sys/dev/disk/nata/
H A Data-isa.c59 int i, rid; in ata_isa_probe() local
66 rid = ATA_IOADDR_RID; in ata_isa_probe()
67 if (!(io = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, in ata_isa_probe()
78 rid = ATA_CTLADDR_RID; in ata_isa_probe()
79 if (!(ctlio = bus_alloc_resource(dev, SYS_RES_IOPORT, &rid, 0, ~0, in ata_isa_probe()
/dragonfly/usr.bin/id/
H A Did.c169 u_int eid, rid; in pretty() local
180 pw = getpwuid(rid = getuid()); in pretty()
186 printf("uid\t%u\n", rid); in pretty()
188 if ((eid = geteuid()) != rid) { in pretty()
194 if ((rid = getgid()) != (eid = getegid())) { in pretty()
195 if ((gr = getgrgid(rid))) in pretty()
198 printf("rgid\t%u\n", rid); in pretty()
332 u_int rid; in pline() local
335 if ((pw = getpwuid(rid = getuid())) == NULL) in pline()

1234567891011