Searched refs:db_size (Results 1 - 25 of 44) sorted by relevance

12

/freebsd-current/lib/libsecureboot/efi/
H A Defi_variables.c90 size_t db_size; local
96 db_size = 0;
102 status = efi_getenv(&ImageSecurityDatabaseGUID, name, database, &db_size);
106 database = malloc(db_size);
110 status = efi_getenv(&ImageSecurityDatabaseGUID, name, database, &db_size);
115 db_size >= list->SignatureListSize && db_size > 0;
116 db_size -= list->SignatureListSize,
174 size_t db_size, header_size, hash_size; local
178 db_size
[all...]
/freebsd-current/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Ddmu_os.c102 ASSERT3U(db->db_size, >=, PAGESIZE);
105 tocpy = (int)MIN(db->db_size - bufoff, size);
107 ASSERT(i == 0 || i == numbufs-1 || tocpy == db->db_size);
109 if (tocpy == db->db_size)
125 if (tocpy == db->db_size)
162 ASSERT(ISP2(dbp[i]->db_size));
163 ASSERT3U((dbp[i]->db_offset % dbp[i]->db_size), ==, 0);
164 ASSERT3U(dbp[i]->db_size, ==, dbp[0]->db_size);
186 ASSERT3U(db->db_size, >, PAGE_SIZ
[all...]
/freebsd-current/sys/contrib/openzfs/include/os/linux/zfs/sys/
H A Dtrace_dbuf.h56 __field(uint64_t, db_size) \
77 __entry->db_size = db->db.db_size; \
89 __entry->db_size = 0; \
104 __entry->db_size, __entry->db_state, __entry->db_holds
/freebsd-current/contrib/ofed/libmlx4/
H A Ddbrec.c49 static const int db_size[] = { variable
62 pp = ps / db_size[type];
111 db = page->buf.buf + (i * 8 * sizeof (long) + (j - 1)) * db_size[type];
134 i = ((void *) db - page->buf.buf) / db_size[type];
/freebsd-current/sys/dev/qlnx/qlnxr/
H A Dqlnxr_user.h39 u32 db_size; member in struct:qlnxr_alloc_ucontext_resp
H A Dqlnxr_os.c815 dev->db_size = out_params.dpi_size;
821 "cdev->doorbells = %p, db_phys_addr = %p db_size = 0x%x\n",
823 (void *)ha->cdev.db_phys_addr, ha->cdev.db_size);
826 "db_addr = %p db_phys_addr = %p db_size = 0x%x dpi = 0x%x\n",
828 dev->db_size, dev->dpi);
/freebsd-current/sys/contrib/openzfs/module/zfs/
H A Ddbuf.c787 uint64_t size = db->db.db_size;
1108 ASSERT3U(db->db.db_size, >=, dn->dn_bonuslen);
1114 ASSERT3U(db->db.db_offset, ==, db->db_blkid * db->db.db_size);
1129 * We can't assert that db_size matches dn_datablksz because it
1156 int epb __maybe_unused = db->db_parent->db.db_size >>
1193 for (i = 0; i < db->db.db_size >> 3; i++) {
1199 db->db.db_size);
1208 i < db->db.db_size / sizeof (blkptr_t);
1260 return (arc_alloc_buf(spa, db, DBUF_GET_BUFC_TYPE(db), db->db.db_size));
1274 int blksz = db->db.db_size;
4034 uint64_t db_size = db->db.db_size; local
[all...]
H A Dspace_map.c114 ASSERT3U(blksz, ==, db->db_size);
221 ASSERT3U(sm->sm_blksz, ==, db->db_size);
222 ASSERT3U(bufsz, >=, db->db_size);
455 if (sm->sm_dbuf->db_size != sizeof (space_map_phys_t))
484 if (sm->sm_dbuf->db_size != sizeof (space_map_phys_t))
567 ASSERT3U(db->db_size, ==, sm->sm_blksz);
604 ASSERT3U(db->db_size, ==, sm->sm_blksz);
609 (db->db_size / sizeof (uint64_t));
697 ASSERT3U(db->db_size, ==, sm->sm_blksz);
H A Ddmu.c284 } else if (newsize < 0 || newsize > db_fake->db_size) {
595 db->db.db_size) {
1093 tocpy = MIN(db->db_size - bufoff, size);
1143 tocpy = MIN(db->db_size - bufoff, size);
1145 ASSERT(i == 0 || i == numbufs-1 || tocpy == db->db_size);
1147 if (tocpy == db->db_size)
1154 if (tocpy == db->db_size)
1276 tocpy = MIN(db->db_size - bufoff, size);
1365 tocpy = MIN(db->db_size - bufoff, size);
1367 ASSERT(i == 0 || i == numbufs-1 || tocpy == db->db_size);
[all...]
H A Ddnode_sync.c84 ASSERT3U(sizeof (blkptr_t) * nblkptr, <=, db->db.db_size);
194 ASSERT3U(db->db.db_size, ==, 1 << dn->dn_phys->dn_indblkshift);
195 ASSERT3U(off+num, <=, db->db.db_size >> SPA_BLKPTRSHIFT);
218 for (j = 0; j < child->db.db_size >> 3; j++) {
238 for (j = 0; j < child->db.db_size >> 3; j++) {
357 memset(db->db.db_data, 0, db->db.db_size);
H A Dbpobj.c131 ASSERT3U(offset, <, dbuf->db_offset + dbuf->db_size);
318 ASSERT3U(offset, <, dbuf->db_offset + dbuf->db_size);
744 VERIFY3U(subdb->db_size, >=,
775 VERIFY3U(bps->db_size, >=, numbps * sizeof (blkptr_t));
913 bpo->bpo_cached_dbuf->db_size) {
H A Ddbuf_stats.c89 (u_longlong_t)db->db.db_size,
H A Dzfs_sa.c85 if (bufsz + ZFS_OLD_ZNODE_PHYS_SIZE <= db->db_size) {
122 ASSERT3U(len, <=, dbp->db_size);
H A Dzap.c118 zap->zap_f.zap_block_shift = highbit64(zap->zap_dbuf->db_size) - 1;
125 memset(zap->zap_dbuf->db_data, 0, zap->zap_dbuf->db_size);
497 l->l_bs = highbit64(db->db_size) - 1;
529 (uintptr_t)zap_leaf_phys(l), ==, l->l_dbuf->db_size);
560 ASSERT3U(db->db_size, ==, 1 << bs);
H A Dzap_micro.c437 zap->zap_f.zap_block_shift = highbit64(db->db_size) - 1;
460 zap->zap_m.zap_num_chunks = db->db_size / MZAP_ENT_LEN - 1;
502 zap->zap_dbuf->db_size);
577 uint64_t newsz = db->db_size + SPA_MINBLOCKSIZE;
589 db->db_size / MZAP_ENT_LEN - 1;
656 int sz = zap->zap_dbuf->db_size;
1758 zs->zs_blocksize = zap->zap_dbuf->db_size;
H A Dsa.c712 hdl->sa_spill->db_size, &i, &spill_used, &dummy);
718 hdl->sa_spill->db_size)
1877 bonus_data_size = hdl->sa_bonus->db_size;
1880 hdl->sa_bonus->db_size);
1890 spill_data_size = hdl->sa_spill->db_size;
1893 hdl->sa_spill->db_size);
H A Ddnode.c441 (dn->dn_object % (dn->dn_dbuf->db.db_size >> DNODE_SHIFT)));
863 /* fix up the bonus db_size */
865 dn->dn_bonus->db.db_size =
868 ASSERT(dn->dn_bonuslen <= dn->dn_bonus->db.db_size);
1275 int epb = dn->dn_dbuf->db.db_size >> DNODE_SHIFT;
1489 ASSERT3U(db->db.db_size, >=, 1<<DNODE_SHIFT);
1490 epb = db->db.db_size >> DNODE_SHIFT;
H A Dspa_history.c103 ASSERT3U(dbp->db_size, >=, sizeof (spa_history_phys_t));
/freebsd-current/sys/dev/ntb/
H A Dntb.h376 * @db_size: OUT - The number of bytes to write the peer doorbell register.
391 int ntb_peer_db_addr(device_t ntb, bus_addr_t *db_addr, vm_size_t *db_size);
H A Dntb.c501 ntb_peer_db_addr(device_t ntb, bus_addr_t *db_addr, vm_size_t *db_size) argument
504 return (NTB_PEER_DB_ADDR(device_get_parent(ntb), db_addr, db_size));
/freebsd-current/sys/geom/part/
H A Dg_part_ldm.c121 uint64_t db_size; /* LDM database size */ member in struct:ldm_privhdr
428 hdr->db_size = be64dec(buf + LDM_PH_DBSIZE_OFF);
492 hdr.db_size != LDM_DB_SIZE ||
500 "db_offset: %jd, db_size: %jd, th_offset0: %jd, "
503 hdr.db_offset, hdr.db_size, hdr.th_offset[0],
/freebsd-current/sys/dev/ntb/ntb_hw/
H A Dntb_hw_plx.c1034 ntb_plx_peer_db_addr(device_t dev, bus_addr_t *db_addr, vm_size_t *db_size) argument
1039 KASSERT((db_addr != NULL && db_size != NULL), ("must be non-NULL"));
1048 *db_size = 4;
H A Dntb_hw_intel.c168 uint8_t db_size; member in struct:ntb_reg
531 .db_size = sizeof(uint64_t),
564 .db_size = sizeof(uint16_t),
613 .db_size = sizeof(uint32_t),
644 .db_size = sizeof(uint32_t),
3788 intel_ntb_peer_db_addr(device_t dev, bus_addr_t *db_addr, vm_size_t *db_size) argument
3794 KASSERT((db_addr != NULL && db_size != NULL), ("must be non-NULL"));
3810 *db_size = ntb->reg->db_size;
/freebsd-current/sys/dev/qlnx/qlnxe/
H A Decore_vfpf_if.h214 u16 db_size; member in struct:pfvf_acquire_resp_tlv::pf_vf_pfdev_info
H A Decore.h672 unsigned long db_size; member in struct:ecore_hwfn
895 unsigned long db_size; member in struct:ecore_dev

Completed in 233 milliseconds

12