Home
last modified time | relevance | path

Searched refs:dbi (Results 1 – 25 of 66) sorted by relevance

123

/freebsd/contrib/blocklist/bin/
H A Dblacklistd.c175 struct dbinfo dbi; in process() local
205 if (state_get(state, &c, &dbi) == -1) in process()
211 "last=%s now=%s", __func__, rbuf, dbi.count, c.c_nfail, in process()
212 fmttime(b1, sizeof(b1), dbi.last), in process()
226 dbi.count = c.c_nfail - 1; in process()
229 dbi.count++; in process()
230 dbi.last = ts.tv_sec; in process()
231 if (c.c_nfail != -1 && dbi.count >= c.c_nfail) { in process()
238 if (dbi.id[0] == '\0') { in process()
240 dbi.id, sizeof(dbi.id)); in process()
[all …]
H A Dstate.c140 state_get(DB *db, const struct conf *c, struct dbinfo *dbi) in state_get() argument
155 memset(dbi, 0, sizeof(*dbi)); in state_get()
157 memcpy(dbi, v.data, sizeof(*dbi)); in state_get()
168 state_put(DB *db, const struct conf *c, const struct dbinfo *dbi) in state_put() argument
178 v.data = __UNCONST(dbi); in state_put()
179 v.size = sizeof(*dbi); in state_put()
198 state_iterate(DB *db, struct conf *c, struct dbinfo *dbi, unsigned int first) in state_iterate() argument
217 memcpy(dbi, v.data, sizeof(*dbi)); in state_iterate()
H A Dblacklistctl.c85 struct dbinfo dbi; in main() local
137 for (i = 1; state_iterate(db, &c, &dbi, i) != 0; i = 0) { in main()
142 if (c.c_nfail == -1 || dbi.count < c.c_nfail) in main()
145 if (dbi.count >= c.c_nfail) in main()
158 c.c_duration - (ts.tv_sec - dbi.last)); in main()
160 fmttime(buf, sizeof(buf), dbi.last); in main()
162 printf("%s\t%d/%s\t%-s\n", dbi.id, dbi.count, in main()
/freebsd/contrib/netbsd-tests/lib/libc/db/
H A Dt_db_hash_seq.c152 state_get(DB *db, const struct conf *c, struct dbinfo *dbi)
167 memset(dbi, 0, sizeof(*dbi));
169 memcpy(dbi, v.data, sizeof(*dbi));
181 state_put(DB *db, const struct conf *c, const struct dbinfo *dbi) in state_put() argument
191 v.data = __UNCONST(dbi); in state_put()
192 v.size = sizeof(*dbi); in state_put()
210 state_iterate(DB *db, struct conf *c, struct dbinfo *dbi, unsigned int first) in state_iterate() argument
225 memcpy(dbi, v.data, sizeof(*dbi)); in state_iterate()
/freebsd/sys/dev/mlx5/mlx5_core/
H A Dmlx5_uar.c191 static unsigned long map_offset(struct mlx5_core_dev *mdev, int dbi) in map_offset() argument
196 return dbi / MLX5_BFREGS_PER_UAR * MLX5_ADAPTER_PAGE_SIZE + in map_offset()
197 (dbi % MLX5_BFREGS_PER_UAR) * in map_offset()
210 int dbi; in alloc_bfreg() local
239 dbi = find_first_bit(bitmap, up->bfregs); in alloc_bfreg()
240 clear_bit(dbi, bitmap); in alloc_bfreg()
245 bfreg->map = up->map + map_offset(mdev, dbi); in alloc_bfreg()
248 bfreg->index = up->index + dbi / MLX5_BFREGS_PER_UAR; in alloc_bfreg()
291 unsigned int dbi; in mlx5_free_bfreg() local
306 dbi = addr_to_dbi_in_syspage(mdev, up, bfreg); in mlx5_free_bfreg()
[all …]
/freebsd/sys/dev/pci/
H A Dpci_dw_if.m34 * Read from dbi space.
35 * The reg argument is a byte offset into dbi space.
46 * Write to dbi space.
47 * The reg argument is a byte offset into dbi space.
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbIndex.cpp64 uint32_t max_section = dbi().getSectionHeaders().size(); in MakeVirtualAddress()
71 const llvm::object::coff_section &cs = dbi().getSectionHeaders()[segment - 1]; in MakeVirtualAddress()
113 dbi().visitSectionContributions(v); in ParseSectionContribs()
H A DPdbIndex.h121 llvm::pdb::DbiStream &dbi() { return *m_dbi; } in dbi() function
122 const llvm::pdb::DbiStream &dbi() const { return *m_dbi; } in dbi() function
H A DCompileUnitIndex.cpp140 const DbiModuleList &modules = m_index.dbi().modules(); in GetOrCreateCompiland()
/freebsd/sys/contrib/device-tree/Bindings/pci/
H A Dpcie-al.txt27 - "dbi" Designware PCIe registers
36 reg-names = "config", "controller", "dbi";
H A Dkirin-pcie.txt15 "dbi": controller configuration registers;
29 reg-names = "dbi","apb","phy", "config";
H A Daxis,artpec6-pcie.txt14 - "dbi"
31 reg-names = "dbi", "phy", "config";
H A Dhisilicon-histb-pcie.txt16 "rc-dbi": configuration space of PCIe controller;
47 reg-names = "control", "rc-dbi", "config";
H A Duniphier-pcie.txt16 "dbi" - controller configuration registers
51 reg-names = "dbi", "link", "config";
H A Ddesignware-pcie.txt57 reg-names = "dbi", "config";
73 reg-names = "dbi", "dbi2", "addr_space";
H A Dqcom,pcie.txt32 - "dbi" DesignWare PCIe registers
325 reg-names = "dbi", "elbi", "parf", "config";
366 reg-names = "parf", "dbi", "elbi", "config";
H A Dnvidia,tegra194-pcie.txt30 "dbi": The aperture where root port's own configuration registers are
207 reg-names = "appl", "atu_dma", "dbi", "addr_space";
H A Dfsl,imx6q-pcie.txt72 reg-names = "dbi", "config";
/freebsd/sys/contrib/device-tree/src/arm/st/
H A Dspear1310.dtsi83 reg-names = "dbi", "config";
100 reg-names = "dbi", "config";
117 reg-names = "dbi", "config";
H A Dspear1340.dtsi48 reg-names = "dbi", "config";
/freebsd/sys/contrib/device-tree/src/arm64/rockchip/
H A Drk3568.dtsi101 reg-names = "dbi", "apb", "config";
154 reg-names = "dbi", "apb", "config";
/freebsd/sys/dev/sfxge/common/
H A Dsiena_flash.h168 } dbi[]; member
/freebsd/sys/contrib/device-tree/src/arm64/nvidia/
H A Dtegra234.dtsi2317 reg-names = "appl", "config", "atu_dma", "dbi", "ecam";
2371 reg-names = "appl", "config", "atu_dma", "dbi", "ecam";
2425 reg-names = "appl", "config", "atu_dma", "dbi", "ecam";
2478 reg-names = "appl", "atu_dma", "dbi", "addr_space";
2517 reg-names = "appl", "config", "atu_dma", "dbi", "ecam";
2571 reg-names = "appl", "config", "atu_dma", "dbi", "ecam";
2625 reg-names = "appl", "config", "atu_dma", "dbi", "ecam";
2679 reg-names = "appl", "config", "atu_dma", "dbi", "ecam";
2733 reg-names = "appl", "config", "atu_dma", "dbi", "ecam";
2787 reg-names = "appl", "config", "atu_dma", "dbi", "eca
[all...]
/freebsd/sys/contrib/device-tree/src/arm/axis/
H A Dartpec6.dtsi167 reg-names = "dbi", "phy", "config";
195 reg-names = "dbi", "dbi2", "phy", "addr_space";
/freebsd/sys/contrib/device-tree/src/arm64/qcom/
H A Dsa8540p.dtsi203 reg-names = "parf", "dbi", "elbi", "atu", "config";

123