Home
last modified time | relevance | path

Searched full:dr (Results 1 – 25 of 875) sorted by relevance

12345678910>>...35

/illumos-gate/usr/src/lib/libtecla/common/
H A Ddireader.c89 DirReader *dr; /* The object to be returned */ in _new_DirReader() local
93 dr = (DirReader *) malloc(sizeof(DirReader)); in _new_DirReader()
94 if(!dr) { in _new_DirReader()
103 dr->err = NULL; in _new_DirReader()
104 dr->dir = NULL; in _new_DirReader()
105 dr->file = NULL; in _new_DirReader()
107 dr->buffer = NULL; in _new_DirReader()
108 dr->buffer_dim = 0; in _new_DirReader()
113 dr->err = _new_ErrMsg(); in _new_DirReader()
114 if(!dr->err) in _new_DirReader()
[all …]
/freebsd/sbin/devfs/
H A Drule.c50 static void rulespec_instr(struct devfs_rule *dr, const char *str,
52 static void rulespec_intok(struct devfs_rule *dr, int ac, char **av,
54 static void rulespec_outfp(FILE *fp, struct devfs_rule *dr);
110 struct devfs_rule dr; in rule_add() local
118 rulespec_intok(&dr, ac - 1, av + 1, in_rsnum); in rule_add()
119 rv = ioctl(mpfd, DEVFSIO_RADD, &dr); in rule_add()
129 struct devfs_rule dr; in rule_apply() local
140 rulespec_intok(&dr, ac - 1, av + 1, in_rsnum); in rule_apply()
141 rv = ioctl(mpfd, DEVFSIO_RAPPLY, &dr); in rule_apply()
185 struct devfs_rule dr; in rule_delset() local
[all …]
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_devres.c54 struct devres *dr; in lkpi_devres_alloc() local
60 total = sizeof(*dr) + size; in lkpi_devres_alloc()
61 dr = kmalloc(total, gfp); in lkpi_devres_alloc()
62 if (dr == NULL) in lkpi_devres_alloc()
65 INIT_LIST_HEAD(&dr->entry); in lkpi_devres_alloc()
66 dr->release = release; in lkpi_devres_alloc()
67 p = (void *)(dr+1); in lkpi_devres_alloc()
73 lkpi_devres_free_dr(struct devres *dr) in lkpi_devres_free_dr() argument
80 KASSERT(list_empty_careful(&dr->entry), in lkpi_devres_free_dr()
81 ("%s: dr %p still on devres_head\n", __func__, dr)); in lkpi_devres_free_dr()
[all …]
H A Dlinux_pci.c153 lkpi_set_pcim_iomap_devres(struct pcim_iomap_devres *dr, int bar, in lkpi_set_pcim_iomap_devres()
156 dr->mmio_table[bar] = (void *)rman_get_bushandle(res); in lkpi_set_pcim_iomap_devres()
157 dr->res_table[bar] = res; in lkpi_set_pcim_iomap_devres()
713 struct pci_devres *dr; in lkpi_pci_devres_release()
715 dr = lkpi_devres_find(&pdev->dev, lkpi_pci_devres_release, NULL, NULL);
716 if (dr == NULL) { in linuxkpi_pcim_enable_device()
717 dr = lkpi_devres_alloc(lkpi_pci_devres_release, sizeof(*dr), in linuxkpi_pcim_enable_device()
719 if (dr != NULL) in linuxkpi_pcim_enable_device()
720 lkpi_devres_add(&pdev->dev, dr); in linuxkpi_pcim_enable_device()
152 lkpi_set_pcim_iomap_devres(struct pcim_iomap_devres * dr,int bar,void * res) lkpi_set_pcim_iomap_devres() argument
665 struct pci_devres *dr; lkpi_pci_devres_get_alloc() local
690 struct pci_devres *dr; lkpi_pci_devres_release() local
718 struct pci_devres *dr; linuxkpi_pcim_enable_device() local
743 struct pcim_iomap_devres *dr; lkpi_pcim_iomap_devres_find() local
763 struct pcim_iomap_devres *dr; linuxkpi_pcim_iomap_table() local
854 struct pcim_iomap_devres *dr; linuxkpi_pcim_iomap() local
907 struct pcim_iomap_devres *dr; linuxkpi_pcim_iomap_regions() local
953 struct pcim_iomap_devres *dr; lkpi_pcim_iomap_table_release() local
1170 struct pci_devres *dr; lkpi_pci_request_region() local
1270 struct pci_devres *dr; linuxkpi_pci_release_region() local
1752 struct lkpi_devres_dmam_coherent *dr; lkpi_dmam_free_coherent() local
1762 struct lkpi_devres_dmam_coherent *dr; linuxkpi_dmam_alloc_coherent() local
[all...]
/illumos-gate/usr/src/lib/libc/port/fp/
H A Dfconvert.c36 decimal_record dr; in fconvert() local
53 double_to_decimal(&arg, &dm, &dr, &ef); in fconvert()
54 *sign = dr.sign; in fconvert()
55 switch (dr.fpclass) { in fconvert()
58 *decpt = dr.exponent + dr.ndigits; in fconvert()
59 for (i = 0; i < dr.ndigits; i++) in fconvert()
60 buf[i] = dr.ds[i]; in fconvert()
65 if (ndigits > 0 && dr.exponent > -ndigits) { in fconvert()
66 while (i < dr.ndigits + dr.exponent + ndigits) in fconvert()
80 __infnanstring(dr.fpclass, ndigits, buf); in fconvert()
[all …]
H A Deconvert.c57 decimal_record dr; in econvert() local
74 double_to_decimal(&arg, &dm, &dr, &ef); in econvert()
75 *sign = dr.sign; in econvert()
76 switch (dr.fpclass) { in econvert()
79 *decpt = dr.exponent + ndigits; in econvert()
81 buf[i] = dr.ds[i]; in econvert()
92 __infnanstring(dr.fpclass, ndigits, buf); in econvert()
102 decimal_record dr; in seconvert() local
119 single_to_decimal(arg, &dm, &dr, &ef); in seconvert()
120 *sign = dr.sign; in seconvert()
[all …]
/illumos-gate/usr/src/uts/common/rpc/
H A Dsvc_clts.c764 #define DRHASH(dr) XIDHASH((dr)->dr_xid) argument
803 struct dupreq *dr; in svc_clts_kdup() local
814 dr = drhashtbl[XIDHASH(xid)]; in svc_clts_kdup()
815 while (dr != NULL) { in svc_clts_kdup()
816 if (dr->dr_xid == xid && in svc_clts_kdup()
817 dr->dr_proc == req->rq_proc && in svc_clts_kdup()
818 dr->dr_prog == req->rq_prog && in svc_clts_kdup()
819 dr->dr_vers == req->rq_vers && in svc_clts_kdup()
820 dr->dr_addr.len == req->rq_xprt->xp_rtaddr.len && in svc_clts_kdup()
821 bcmp(dr->dr_addr.buf, req->rq_xprt->xp_rtaddr.buf, in svc_clts_kdup()
[all …]
H A Dsvc_cots.c730 #define DRHASH(dr) XIDHASH((dr)->dr_xid) argument
769 struct dupreq *dr; in svc_cots_kdup() local
780 dr = cotsdrhashtbl[XIDHASH(xid)]; in svc_cots_kdup()
781 while (dr != NULL) { in svc_cots_kdup()
782 if (dr->dr_xid == xid && in svc_cots_kdup()
783 dr->dr_proc == req->rq_proc && in svc_cots_kdup()
784 dr->dr_prog == req->rq_prog && in svc_cots_kdup()
785 dr->dr_vers == req->rq_vers && in svc_cots_kdup()
786 dr->dr_addr.len == req->rq_xprt->xp_rtaddr.len && in svc_cots_kdup()
787 bcmp((caddr_t)dr->dr_addr.buf, in svc_cots_kdup()
[all …]
H A Dsvc_rdma.c1156 #define DRHASH(dr) XIDHASH((dr)->dr_xid) argument
1183 struct dupreq *dr; in svc_rdma_kdup() local
1194 dr = rdmadrhashtbl[XIDHASH(xid)]; in svc_rdma_kdup()
1195 while (dr != NULL) { in svc_rdma_kdup()
1196 if (dr->dr_xid == xid && in svc_rdma_kdup()
1197 dr->dr_proc == req->rq_proc && in svc_rdma_kdup()
1198 dr->dr_prog == req->rq_prog && in svc_rdma_kdup()
1199 dr->dr_vers == req->rq_vers && in svc_rdma_kdup()
1200 dr->dr_addr.len == req->rq_xprt->xp_rtaddr.len && in svc_rdma_kdup()
1201 bcmp((caddr_t)dr->dr_addr.buf, in svc_rdma_kdup()
[all …]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dsvc.c1775 struct dupreq *dr = NULL; in __svc_dup() local
1797 if ((dr = __svc_dupcache_victim(dc, timenow)) == NULL) in __svc_dup()
1800 if ((rc = __svc_dupcache_enter(req, dr, dc, drxid, drhash, timenow)) in __svc_dup()
1821 struct dupreq *dr = NULL; in __svc_dupcache_check() local
1824 dr = dc->dc_hashtbl[drhash]; in __svc_dupcache_check()
1825 while (dr != NULL) { in __svc_dupcache_check()
1826 if (dr->dr_xid == drxid && in __svc_dupcache_check()
1827 dr->dr_proc == req->rq_proc && in __svc_dupcache_check()
1828 dr->dr_prog == req->rq_prog && in __svc_dupcache_check()
1829 dr->dr_vers == req->rq_vers && in __svc_dupcache_check()
[all …]
/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddbuf.c178 static void dbuf_write(dbuf_dirty_record_t *dr, arc_buf_t *data, dmu_tx_t *tx);
179 static void dbuf_sync_leaf_verify_bonus_dnode(dbuf_dirty_record_t *dr);
1119 dbuf_dirty_record_t *dr; in dbuf_verify() local
1152 if ((dr = list_head(&db->db_dirty_records)) != NULL) { in dbuf_verify()
1153 ASSERT(dr->dr_dbuf == db); in dbuf_verify()
1154 txg_prev = dr->dr_txg; in dbuf_verify()
1155 for (dr = list_next(&db->db_dirty_records, dr); dr != NULL; in dbuf_verify()
1156 dr = list_next(&db->db_dirty_records, dr)) { in dbuf_verify()
1157 ASSERT(dr->dr_dbuf == db); in dbuf_verify()
1158 ASSERT(txg_prev > dr->dr_txg); in dbuf_verify()
[all …]
/freebsd/sys/fs/devfs/
H A Ddevfs_rule.c110 static int devfs_rule_input(struct devfs_rule *dr, struct devfs_mount *dm);
111 static int devfs_rule_insert(struct devfs_rule *dr);
164 struct devfs_rule *dr; in devfs_rules_ioctl() local
186 dr = (struct devfs_rule *)data; in devfs_rules_ioctl()
187 error = devfs_rule_input(dr, dm); in devfs_rules_ioctl()
190 dk = devfs_rule_byid(dr->dr_id); in devfs_rules_ioctl()
195 if (rid2rsn(dr->dr_id) == 0) { in devfs_rules_ioctl()
199 error = devfs_rule_insert(dr); in devfs_rules_ioctl()
202 dr = (struct devfs_rule *)data; in devfs_rules_ioctl()
203 error = devfs_rule_input(dr, dm); in devfs_rules_ioctl()
[all …]
/freebsd/sys/netinet6/
H A Dnd6_rtr.c124 defrouter_ref(struct nd_defrouter *dr) in defrouter_ref() argument
127 refcount_acquire(&dr->refcnt); in defrouter_ref()
131 defrouter_rele(struct nd_defrouter *dr) in defrouter_rele() argument
134 if (refcount_release(&dr->refcnt)) in defrouter_rele()
135 free(dr, M_IP6NDP); in defrouter_rele()
143 defrouter_unlink(struct nd_defrouter *dr, struct nd6_drhead *drq) in defrouter_unlink() argument
148 TAILQ_REMOVE(&V_nd6_defrouter, dr, dr_entry); in defrouter_unlink()
151 TAILQ_INSERT_TAIL(drq, dr, dr_entry); in defrouter_unlink()
261 struct nd_defrouter *dr; in defrtr_ipv6_only_ifp() local
274 TAILQ_FOREACH(dr, &V_nd6_defrouter, dr_entry) in defrtr_ipv6_only_ifp()
[all …]
/illumos-gate/usr/src/uts/i86pc/sys/
H A Dacpidev_dr.h48 /* Maximum number of DR capable system boards supported. */
59 * Format strings for DR capable system boards.
75 /* Check whether the system is DR capable. */
87 /* Initialize support of DR operations. */
90 /* Scan for DR capable boards and setup environment for DR operations. */
94 * Initialize DR interfaces to enable DR operations.
98 /* Get ACPI handle of the DR capable board. */
102 /* Get board type of the DR capable board. */
105 /* Get board number of the DR capable board. */
109 /* Get board name of the DR capable board. */
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddbuf.c55 static void dbuf_write(dbuf_dirty_record_t *dr, arc_buf_t *data, dmu_tx_t *tx);
722 dbuf_dirty_record_t *dr; in dbuf_verify() local
754 for (dr = db->db_data_pending; dr != NULL; dr = dr->dr_next) in dbuf_verify()
755 ASSERT(dr->dr_dbuf == db); in dbuf_verify()
757 for (dr = db->db_last_dirty; dr != NULL; dr = dr->dr_next) in dbuf_verify()
758 ASSERT(dr->dr_dbuf == db); in dbuf_verify()
766 dr = db->db_data_pending; in dbuf_verify()
771 ASSERT(dr == NULL || dr->dt.dl.dr_data == db->db_buf); in dbuf_verify()
1249 dbuf_dirty_record_t *dr = db->db_last_dirty; in dbuf_fix_old_data() local
1256 if (dr == NULL || in dbuf_fix_old_data()
[all …]
/freebsd/sys/dev/bwn/
H A Dif_bwn.c1030 struct bwn_dma_ring *dr; in bwn_tx_isfull() local
1038 dr = bwn_dma_select(mac, M_WME_GETAC(m)); in bwn_tx_isfull()
1039 if (dr->dr_stop == 1 || in bwn_tx_isfull()
1040 bwn_dma_freeslot(dr) < BWN_TX_SLOTS_PER_FRAME) { in bwn_tx_isfull()
1041 dr->dr_stop = 1; in bwn_tx_isfull()
1180 struct bwn_dma_ring *dr = bwn_dma_select(mac, M_WME_GETAC(*mp)); in bwn_dma_tx_start() local
1185 uint8_t *txhdr_cache = (uint8_t *)dr->dr_txhdr_cache; in bwn_dma_tx_start()
1186 int error, slot, backup[2] = { dr->dr_curslot, dr->dr_usedslot }; in bwn_dma_tx_start()
1189 KASSERT(!dr->dr_stop, ("%s:%d: fail", __func__, __LINE__)); in bwn_dma_tx_start()
1194 slot = bwn_dma_getslot(dr); in bwn_dma_tx_start()
[all …]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dstrtod.c56 decimal_record dr; in strtod_l() local
63 string_to_decimal_l((char **)&cp, MAXINT, lc, &dr, &form, &pechar, loc); in strtod_l()
76 __hex_to_double(&dr, mr.rd, &x, &fs); in strtod_l()
78 decimal_to_double(&x, &mr, &dr, &fs); in strtod_l()
95 decimal_record dr; in strtof_l() local
100 string_to_decimal_l((char **)&cp, MAXINT, -1, &dr, &form, &pechar, loc); in strtof_l()
113 __hex_to_single(&dr, mr.rd, &x, &fs); in strtof_l()
115 decimal_to_single(&x, &mr, &dr, &fs); in strtof_l()
132 decimal_record dr; in strtold_l() local
137 string_to_decimal_l((char **)&cp, MAXINT, -1, &dr, &form, &pechar, loc); in strtold_l()
[all …]
/illumos-gate/usr/src/cmd/pcidr/plugins/default/
H A Dpcidr_plugin.c35 #include <sys/sysevent/dr.h>
55 pcidr_attrs_t dr; in PCIDR_PLUGIN_PROTO() local
59 if (pcidr_get_attrs(attrlistp, &dr) != 0 || in PCIDR_PLUGIN_PROTO()
60 pcidr_check_attrs(&dr) != 0) { in PCIDR_PLUGIN_PROTO()
69 rv = config_list_ext(1, &dr.dr_ap_id, &cfga_listp, &cfga_list_len, in PCIDR_PLUGIN_PROTO()
76 "failed: rv = %d (%s)", fn, dr.dr_ap_id, rv, str); in PCIDR_PLUGIN_PROTO()
89 "found for the APID \"%s\"\n", fn, dr.dr_ap_id); in PCIDR_PLUGIN_PROTO()
95 * perform DR in PCIDR_PLUGIN_PROTO()
97 dprint(DINFO, "%s: showing info and performing DR on APID(s) " in PCIDR_PLUGIN_PROTO()
98 "matching \"%s\"\n", fn, dr.dr_ap_id); in PCIDR_PLUGIN_PROTO()
[all …]
/freebsd/sys/ofed/drivers/infiniband/core/
H A Dib_smi.c78 /* C14-9:3 -- We're at the end of the DR segment of path */ in __smi_handle_dr_smp_send()
109 /* C14-13:3 -- at the end of the DR segment of path */ in __smi_handle_dr_smp_send()
148 smp->route.dr.initial_path, in opa_smi_handle_dr_smp_send()
149 smp->route.dr.return_path, in opa_smi_handle_dr_smp_send()
151 smp->route.dr.dr_dlid == in opa_smi_handle_dr_smp_send()
153 smp->route.dr.dr_slid == in opa_smi_handle_dr_smp_send()
187 /* C14-9:3 -- We're at the end of the DR segment of path */ in __smi_handle_dr_smp_recv()
221 /* C14-13:3 -- We're at the end of the DR segment of path */ in __smi_handle_dr_smp_recv()
263 smp->route.dr.initial_path, in opa_smi_handle_dr_smp_recv()
264 smp->route.dr.return_path, in opa_smi_handle_dr_smp_recv()
[all …]
/freebsd/lib/libdevinfo/
H A Ddevinfo.c272 struct devinfo_i_res *dr; in devinfo_init_resources() local
355 if ((dr = malloc(sizeof(*dr))) == NULL) in devinfo_init_resources()
357 dr->dr_res.dr_handle = ures.r_handle; in devinfo_init_resources()
358 dr->dr_res.dr_rman = ures.r_parent; in devinfo_init_resources()
359 dr->dr_res.dr_device = ures.r_device; in devinfo_init_resources()
360 dr->dr_res.dr_start = ures.r_start; in devinfo_init_resources()
361 dr->dr_res.dr_size = ures.r_size; in devinfo_init_resources()
362 TAILQ_INSERT_TAIL(&devinfo_res, dr, dr_link); in devinfo_init_resources()
392 struct devinfo_i_res *dr; in devinfo_free() local
443 struct devinfo_i_res *dr; devinfo_handle_to_resource() local
493 struct devinfo_i_res *dr; devinfo_foreach_device_resource() local
512 struct devinfo_i_res *dr; devinfo_foreach_rman_resource() local
[all...]
/freebsd/sys/amd64/amd64/
H A Dexec_machdep.c792 dbregs->dr[0] = rdr0(); in fill_dbregs()
793 dbregs->dr[1] = rdr1(); in fill_dbregs()
794 dbregs->dr[2] = rdr2(); in fill_dbregs()
795 dbregs->dr[3] = rdr3(); in fill_dbregs()
796 dbregs->dr[6] = rdr6(); in fill_dbregs()
797 dbregs->dr[7] = rdr7(); in fill_dbregs()
800 dbregs->dr[0] = pcb->pcb_dr0; in fill_dbregs()
801 dbregs->dr[1] = pcb->pcb_dr1; in fill_dbregs()
802 dbregs->dr[2] = pcb->pcb_dr2; in fill_dbregs()
803 dbregs->dr[3] = pcb->pcb_dr3; in fill_dbregs()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A Dtables.c52 static void router_print(struct router *dr);
53 static void router_insert(struct phyint *pi, struct router *dr);
54 static void router_delete(struct router *dr);
55 static void router_add_k(struct router *dr);
56 static void router_delete_k(struct router *dr);
578 struct router *dr; in phyint_print() local
631 for (dr = pi->pi_router_list; dr != NULL; dr = dr->dr_next) in phyint_print()
632 router_print(dr); in phyint_print()
2062 struct router *dr; in router_lookup() local
2071 for (dr = pi->pi_router_list; dr != NULL; dr = dr->dr_next) { in router_lookup()
[all …]
/freebsd/tools/tools/ath/athregs/
H A Ddumpregs.c372 match(const struct dumpreg *dr, const HAL_REVS *revs) in match() argument
374 if (!MAC_MATCH(dr, revs->ah_macVersion, revs->ah_macRev)) in match()
376 if ((dr->type & DUMP_BASEBAND) && !PHY_MATCH(dr, revs->ah_phyRev)) in match()
388 const struct dumpreg *dr = state.regs[i]; in ath_hal_anyregs() local
389 if ((what & dr->type) && match(dr, revs)) in ath_hal_anyregs()
406 const struct dumpreg *dr = state.regs[i]; in ath_hal_setupregs() local
407 if ((what & dr->type) && match(dr, revs)) { in ath_hal_setupregs()
408 if (erun + 4 != dr->addr) { in ath_hal_setupregs()
411 brun = erun = dr->addr; in ath_hal_setupregs()
413 erun = dr->addr; in ath_hal_setupregs()
[all …]
/freebsd/contrib/elftoolchain/libelf/
H A Dgelf_rela.c104 gelf_update_rela(Elf_Data *ed, int ndx, GElf_Rela *dr) in gelf_update_rela() argument
117 if (d == NULL || ndx < 0 || dr == NULL || in gelf_update_rela()
150 LIBELF_COPY_U32(rela32, dr, r_offset); in gelf_update_rela()
152 if (ELF64_R_SYM(dr->r_info) > ELF32_R_SYM(~0U) || in gelf_update_rela()
153 ELF64_R_TYPE(dr->r_info) > ELF32_R_TYPE(~0U)) { in gelf_update_rela()
158 (Elf32_Word) ELF64_R_SYM(dr->r_info), in gelf_update_rela()
159 (Elf32_Word) ELF64_R_TYPE(dr->r_info)); in gelf_update_rela()
161 LIBELF_COPY_S32(rela32, dr, r_addend); in gelf_update_rela()
165 *rela64 = *dr; in gelf_update_rela()
168 rela64->r_info = _libelf_mips64el_r_info_tof(dr->r_info); in gelf_update_rela()
/freebsd/contrib/llvm-project/clang/lib/InstallAPI/
H A DDylibVerifier.cpp178 const Record *DR) { in shouldIgnoreObsolete() argument
232 const ObjCInterfaceRecord *DR) { in compareObjCInterfaceSymbols() argument
239 const bool IsDylibVersionComplete = DR->isCompleteInterface(); in compareObjCInterfaceSymbols()
267 if (!DR->isExportedSymbol(ObjCIFSymbolKind::Class)) { in compareObjCInterfaceSymbols()
269 PrintDiagnostic(DR->getLinkageForSymbol(ObjCIFSymbolKind::Class), R, in compareObjCInterfaceSymbols()
273 if (!DR->isExportedSymbol(ObjCIFSymbolKind::MetaClass)) { in compareObjCInterfaceSymbols()
275 PrintDiagnostic(DR->getLinkageForSymbol(ObjCIFSymbolKind::MetaClass), R, in compareObjCInterfaceSymbols()
282 if (DR->isExportedSymbol(SymCtx.ObjCIFKind)) { in compareObjCInterfaceSymbols()
293 PrintDiagnostic(DR->getLinkageForSymbol(SymCtx.ObjCIFKind), R, in compareObjCInterfaceSymbols()
300 const Record *DR) { in compareVisibility() argument
[all …]

12345678910>>...35