| /freebsd-13-stable/lib/libsecureboot/efi/ |
| HD | efi_variables.c | 90 size_t db_size; in efi_get_certs() local 96 db_size = 0; in efi_get_certs() 102 status = efi_getenv(&ImageSecurityDatabaseGUID, name, database, &db_size); in efi_get_certs() 106 database = malloc(db_size); in efi_get_certs() 110 status = efi_getenv(&ImageSecurityDatabaseGUID, name, database, &db_size); in efi_get_certs() 115 db_size >= list->SignatureListSize && db_size > 0; in efi_get_certs() 116 db_size -= list->SignatureListSize, in efi_get_certs() 174 size_t db_size, header_size, hash_size; in efi_get_forbidden_digests() local 178 db_size = 0; in efi_get_forbidden_digests() 183 status = efi_getenv(&ImageSecurityDatabaseGUID, "dbx", database, &db_size); in efi_get_forbidden_digests() [all …]
|
| /freebsd-13-stable/sys/contrib/openzfs/module/os/freebsd/zfs/ |
| HD | dmu_os.c | 124 ASSERT3U(db->db_size, >=, PAGESIZE); in dmu_write_pages() 127 tocpy = (int)MIN(db->db_size - bufoff, size); in dmu_write_pages() 129 ASSERT(i == 0 || i == numbufs-1 || tocpy == db->db_size); in dmu_write_pages() 131 if (tocpy == db->db_size) in dmu_write_pages() 147 if (tocpy == db->db_size) in dmu_write_pages() 184 ASSERT(ISP2(dbp[i]->db_size)); in dmu_read_pages() 185 ASSERT3U((dbp[i]->db_offset % dbp[i]->db_size), ==, 0); in dmu_read_pages() 186 ASSERT3U(dbp[i]->db_size, ==, dbp[0]->db_size); in dmu_read_pages() 208 ASSERT3U(db->db_size, >, PAGE_SIZE); in dmu_read_pages() 209 bufoff = IDX_TO_OFF(m->pindex) % db->db_size; in dmu_read_pages() [all …]
|
| /freebsd-13-stable/sys/contrib/openzfs/include/os/linux/zfs/sys/ |
| HD | trace_dbuf.h | 56 __field(uint64_t, db_size) \ 73 __entry->db_size = db->db.db_size; \ 85 __entry->db_size = 0; \ 100 __entry->db_size, __entry->db_state, __entry->db_holds
|
| /freebsd-13-stable/contrib/ofed/libmlx4/ |
| HD | dbrec.c | 49 static const int db_size[] = { variable 62 pp = ps / db_size[type]; in __add_page() 111 db = page->buf.buf + (i * 8 * sizeof (long) + (j - 1)) * db_size[type]; in mlx4_alloc_db() 134 i = ((void *) db - page->buf.buf) / db_size[type]; in mlx4_free_db()
|
| /freebsd-13-stable/sys/contrib/openzfs/module/zfs/ |
| HD | dbuf.c | 760 &dbuf_caches[DB_DBUF_CACHE].size, db->db.db_size, db); in dbuf_evict_one() 764 db->db.db_size); in dbuf_evict_one() 1067 ASSERT3U(db->db.db_size, >=, dn->dn_bonuslen); in dbuf_verify() 1073 ASSERT3U(db->db.db_offset, ==, db->db_blkid * db->db.db_size); in dbuf_verify() 1115 int epb __maybe_unused = db->db_parent->db.db_size >> in dbuf_verify() 1152 for (i = 0; i < db->db.db_size >> 3; i++) { in dbuf_verify() 1158 db->db.db_size); in dbuf_verify() 1167 i < db->db.db_size / sizeof (blkptr_t); in dbuf_verify() 1219 return (arc_alloc_buf(spa, db, DBUF_GET_BUFC_TYPE(db), db->db.db_size)); in dbuf_alloc_arcbuf() 1233 int blksz = db->db.db_size; in dbuf_loan_arcbuf() [all …]
|
| HD | space_map.c | 114 ASSERT3U(blksz, ==, db->db_size); in space_map_iterate() 221 ASSERT3U(sm->sm_blksz, ==, db->db_size); in space_map_reversed_last_block_entries() 222 ASSERT3U(bufsz, >=, db->db_size); in space_map_reversed_last_block_entries() 455 if (sm->sm_dbuf->db_size != sizeof (space_map_phys_t)) in space_map_histogram_clear() 483 if (sm->sm_dbuf->db_size != sizeof (space_map_phys_t)) in space_map_histogram_add() 566 ASSERT3U(db->db_size, ==, sm->sm_blksz); in space_map_write_seg() 603 ASSERT3U(db->db_size, ==, sm->sm_blksz); in space_map_write_seg() 608 (db->db_size / sizeof (uint64_t)); in space_map_write_seg() 696 ASSERT3U(db->db_size, ==, sm->sm_blksz); in space_map_write_impl()
|
| HD | dmu.c | 277 } else if (newsize < 0 || newsize > db_fake->db_size) { in dmu_set_bonus() 1043 tocpy = MIN(db->db_size - bufoff, size); in dmu_read_impl() 1093 tocpy = MIN(db->db_size - bufoff, size); in dmu_write_impl() 1095 ASSERT(i == 0 || i == numbufs-1 || tocpy == db->db_size); in dmu_write_impl() 1097 if (tocpy == db->db_size) in dmu_write_impl() 1104 if (tocpy == db->db_size) in dmu_write_impl() 1226 tocpy = MIN(db->db_size - bufoff, size); in dmu_read_uio_dnode() 1314 tocpy = MIN(db->db_size - bufoff, size); in dmu_write_uio_dnode() 1316 ASSERT(i == 0 || i == numbufs-1 || tocpy == db->db_size); in dmu_write_uio_dnode() 1318 if (tocpy == db->db_size) in dmu_write_uio_dnode() [all …]
|
| HD | dnode_sync.c | 84 ASSERT3U(sizeof (blkptr_t) * nblkptr, <=, db->db.db_size); in dnode_increase_indirection() 192 ASSERT3U(db->db.db_size, ==, 1 << dn->dn_phys->dn_indblkshift); in free_verify() 193 ASSERT3U(off+num, <=, db->db.db_size >> SPA_BLKPTRSHIFT); in free_verify() 217 for (j = 0; j < child->db.db_size >> 3; j++) { in free_verify() 234 for (j = 0; j < child->db.db_size >> 3; j++) { in free_verify() 350 bzero(db->db.db_data, db->db.db_size); in free_children()
|
| HD | bpobj.c | 131 ASSERT3U(offset, <, dbuf->db_offset + dbuf->db_size); in bpobj_free() 301 ASSERT3U(offset, <, dbuf->db_offset + dbuf->db_size); in bpobj_iterate_blkptrs() 719 VERIFY3U(subdb->db_size, >=, in bpobj_enqueue_subobj() 750 VERIFY3U(bps->db_size, >=, numbps * sizeof (blkptr_t)); in bpobj_enqueue_subobj() 888 bpo->bpo_cached_dbuf->db_size) { in bpobj_enqueue()
|
| HD | zap_micro.c | 431 zap->zap_f.zap_block_shift = highbit64(db->db_size) - 1; in mzap_open() 454 zap->zap_m.zap_num_chunks = db->db_size / MZAP_ENT_LEN - 1; in mzap_open() 496 zap->zap_dbuf->db_size); in mzap_open() 570 uint64_t newsz = db->db_size + SPA_MINBLOCKSIZE; in zap_lockdir_impl() 582 db->db_size / MZAP_ENT_LEN - 1; in zap_lockdir_impl() 651 int sz = zap->zap_dbuf->db_size; in mzap_upgrade() 1667 zs->zs_blocksize = zap->zap_dbuf->db_size; in zap_get_stats()
|
| HD | zfs_sa.c | 81 if (bufsz + ZFS_OLD_ZNODE_PHYS_SIZE <= db->db_size) { in zfs_sa_readlink() 118 ASSERT3U(len, <=, dbp->db_size); in zfs_sa_symlink()
|
| HD | dbuf_stats.c | 89 (u_longlong_t)db->db.db_size, in __dbuf_stats_hash_table_data()
|
| HD | zap.c | 108 zap->zap_f.zap_block_shift = highbit64(zap->zap_dbuf->db_size) - 1; in fzap_upgrade() 115 bzero(zap->zap_dbuf->db_data, zap->zap_dbuf->db_size); in fzap_upgrade() 480 l->l_bs = highbit64(db->db_size) - 1; in zap_open_leaf() 512 (uintptr_t)zap_leaf_phys(l), ==, l->l_dbuf->db_size); in zap_open_leaf() 545 ASSERT3U(db->db_size, ==, 1 << bs); in zap_get_leaf_byblk()
|
| HD | sa.c | 712 hdl->sa_spill->db_size, &i, &spill_used, &dummy); in sa_build_layouts() 718 hdl->sa_spill->db_size) in sa_build_layouts() 1875 bonus_data_size = hdl->sa_bonus->db_size; in sa_modify_attrs() 1878 hdl->sa_bonus->db_size); in sa_modify_attrs() 1888 spill_data_size = hdl->sa_spill->db_size; in sa_modify_attrs() 1891 hdl->sa_spill->db_size); in sa_modify_attrs()
|
| HD | dnode.c | 433 (dn->dn_object % (dn->dn_dbuf->db.db_size >> DNODE_SHIFT))); in dnode_verify() 865 dn->dn_bonus->db.db_size = in dnode_reallocate() 868 ASSERT(dn->dn_bonuslen <= dn->dn_bonus->db.db_size); in dnode_reallocate() 1272 int epb = dn->dn_dbuf->db.db_size >> DNODE_SHIFT; in dnode_free_interior_slots() 1486 ASSERT3U(db->db.db_size, >=, 1<<DNODE_SHIFT); in dnode_hold_impl() 1487 epb = db->db.db_size >> DNODE_SHIFT; in dnode_hold_impl()
|
| /freebsd-13-stable/sys/dev/qlnx/qlnxr/ |
| HD | qlnxr_user.h | 39 u32 db_size; member
|
| HD | qlnxr_os.c | 820 dev->db_size = out_params.dpi_size; in qlnxr_init_hw() 828 (void *)ha->cdev.db_phys_addr, ha->cdev.db_size); in qlnxr_init_hw() 833 dev->db_size, dev->dpi); in qlnxr_init_hw()
|
| /freebsd-13-stable/sys/dev/ntb/ |
| HD | ntb.h | 393 int ntb_peer_db_addr(device_t ntb, bus_addr_t *db_addr, vm_size_t *db_size);
|
| HD | ntb.c | 503 ntb_peer_db_addr(device_t ntb, bus_addr_t *db_addr, vm_size_t *db_size) in ntb_peer_db_addr() argument 506 return (NTB_PEER_DB_ADDR(device_get_parent(ntb), db_addr, db_size)); in ntb_peer_db_addr()
|
| HD | ntb_if.m | 203 vm_size_t *db_size;
|
| /freebsd-13-stable/sys/geom/part/ |
| HD | g_part_ldm.c | 122 uint64_t db_size; /* LDM database size */ member 429 hdr->db_size = be64dec(buf + LDM_PH_DBSIZE_OFF); in ldm_privhdr_parse() 493 hdr.db_size != LDM_DB_SIZE || in ldm_privhdr_check() 504 hdr.db_offset, hdr.db_size, hdr.th_offset[0], in ldm_privhdr_check()
|
| /freebsd-13-stable/sys/dev/ntb/ntb_hw/ |
| HD | ntb_hw_plx.c | 1035 ntb_plx_peer_db_addr(device_t dev, bus_addr_t *db_addr, vm_size_t *db_size) in ntb_plx_peer_db_addr() argument 1040 KASSERT((db_addr != NULL && db_size != NULL), ("must be non-NULL")); in ntb_plx_peer_db_addr() 1049 *db_size = 4; in ntb_plx_peer_db_addr()
|
| HD | ntb_hw_intel.c | 168 uint8_t db_size; member 520 .db_size = sizeof(uint64_t), 553 .db_size = sizeof(uint16_t), 602 .db_size = sizeof(uint32_t), 3395 intel_ntb_peer_db_addr(device_t dev, bus_addr_t *db_addr, vm_size_t *db_size) in intel_ntb_peer_db_addr() argument 3401 KASSERT((db_addr != NULL && db_size != NULL), ("must be non-NULL")); in intel_ntb_peer_db_addr() 3417 *db_size = ntb->reg->db_size; in intel_ntb_peer_db_addr()
|
| /freebsd-13-stable/sys/dev/qlnx/qlnxe/ |
| HD | ecore.h | 671 unsigned long db_size; member 894 unsigned long db_size; member
|
| HD | ecore_vfpf_if.h | 214 u16 db_size; member
|