/freebsd-current/sys/contrib/openzfs/module/zfs/ |
H A D | dbuf_stats.c | 68 dmu_object_info_t doi = { 0 }; local 75 __dmu_object_info_from_dnode(dn, &doi); 112 doi.doi_type, 113 doi.doi_bonus_type, 114 (ulong_t)doi.doi_data_block_size, 115 (ulong_t)doi.doi_metadata_block_size, 116 (u_longlong_t)doi.doi_bonus_size, 117 (ulong_t)doi.doi_indirection, 119 (u_longlong_t)doi.doi_fill_count, 120 (u_longlong_t)doi [all...] |
H A D | bpobj.c | 101 dmu_object_info_t doi; local 113 VERIFY3U(0, ==, dmu_object_info(os, bpo.bpo_phys->bpo_subobjs, &doi)); 114 epb = doi.doi_data_block_size / sizeof (uint64_t); 152 dmu_object_info_t doi; local 155 err = dmu_object_info(os, object, &doi); 165 ASSERT3U(doi.doi_type, ==, DMU_OT_BPOBJ); 166 ASSERT3U(doi.doi_bonus_type, ==, DMU_OT_BPOBJ_HDR); 174 bpo->bpo_epb = doi.doi_data_block_size >> SPA_BLKPTRSHIFT; 175 bpo->bpo_havecomp = (doi.doi_bonus_size > BPOBJ_SIZE_V0); 176 bpo->bpo_havesubobj = (doi 702 dmu_object_info_t doi; local 813 dmu_object_info_t doi; local [all...] |
H A D | ddt.c | 218 dmu_object_info_t doi; local 239 error = ddt_object_info(ddt, type, class, &doi); 248 ddo->ddo_dspace = doi.doi_physical_blocks_512 << 9; 249 ddo->ddo_mspace = doi.doi_fill_count * doi.doi_data_block_size; 259 dmu_object_info_t doi; local 272 VERIFY0(ddt_object_info(ddt, type, class, &doi)); 276 ddo->ddo_dspace = doi.doi_physical_blocks_512 << 9; 277 ddo->ddo_mspace = doi.doi_fill_count * doi 363 ddt_object_info(ddt_t *ddt, ddt_type_t type, ddt_class_t class, dmu_object_info_t *doi) argument [all...] |
H A D | space_map.c | 860 dmu_object_info_t doi; local 866 dmu_object_info_from_db(sm->sm_dbuf, &doi); 877 doi.doi_bonus_size != sizeof (space_map_phys_t)) || 878 doi.doi_data_block_size != blocksize || 879 doi.doi_metadata_block_size != 1 << space_map_ibs) { 884 (u_longlong_t)doi.doi_bonus_size, 885 doi.doi_data_block_size); 935 dmu_object_info_t doi; local 937 VERIFY0(dmu_object_info(os, smobj, &doi)); 938 if (doi [all...] |
H A D | zfs_sa.c | 142 dmu_object_info_t doi; local 149 sa_object_info(zp->z_sa_hdl, &doi); 153 if (len <= doi.doi_bonus_size) { 175 dmu_object_info_t doi; local 179 sa_object_info(zp->z_sa_hdl, &doi); 182 if (len > doi.doi_bonus_size)
|
H A D | spa_history.c | 284 dmu_object_info_t doi; local 285 dmu_object_info_from_db(dbp, &doi); 286 ASSERT3U(doi.doi_bonus_type, ==, DMU_OT_SPA_HISTORY_OFFSETS); 448 dmu_object_info_t doi; local 449 dmu_object_info_from_db(dbp, &doi); 450 ASSERT3U(doi.doi_bonus_type, ==, DMU_OT_SPA_HISTORY_OFFSETS);
|
H A D | dmu.c | 2399 __dmu_object_info_from_dnode(dnode_t *dn, dmu_object_info_t *doi) argument 2403 doi->doi_data_block_size = dn->dn_datablksz; 2404 doi->doi_metadata_block_size = dn->dn_indblkshift ? 2406 doi->doi_type = dn->dn_type; 2407 doi->doi_bonus_type = dn->dn_bonustype; 2408 doi->doi_bonus_size = dn->dn_bonuslen; 2409 doi->doi_dnodesize = dn->dn_num_slots << DNODE_SHIFT; 2410 doi->doi_indirection = dn->dn_nlevels; 2411 doi->doi_checksum = dn->dn_checksum; 2412 doi 2422 dmu_object_info_from_dnode(dnode_t *dn, dmu_object_info_t *doi) argument 2438 dmu_object_info(objset_t *os, uint64_t object, dmu_object_info_t *doi) argument 2457 dmu_object_info_from_db(dmu_buf_t *db_fake, dmu_object_info_t *doi) argument 2462 dmu_object_info_from_dnode(DB_DNODE(db), doi); local [all...] |
H A D | zvol.c | 223 dmu_object_info_t *doi; local 231 doi = kmem_alloc(sizeof (dmu_object_info_t), KM_SLEEP); 232 error = dmu_object_info(os, ZVOL_OBJ, doi); 236 doi->doi_data_block_size); 239 kmem_free(doi, sizeof (dmu_object_info_t)); 336 dmu_object_info_t *doi = kmem_alloc(sizeof (*doi), KM_SLEEP); local 338 if ((error = dmu_object_info(os, ZVOL_OBJ, doi)) || 339 (error = zvol_check_volsize(volsize, doi->doi_data_block_size))) 348 kmem_free(doi, sizeo [all...] |
H A D | dmu_recv.c | 1637 const struct drr_object *drro, const dmu_object_info_t *doi, 1690 if (drro->drr_blksz != doi->doi_data_block_size) { 1714 doi->doi_type != DMU_OT_PLAIN_FILE_CONTENTS) { 1725 } else if (doi->doi_max_offset <= 1726 doi->doi_data_block_size) { 1742 drro->drr_object, doi->doi_bonus_type, 1757 doi->doi_data_block_size) 1764 doi->doi_data_block_size; 1772 if (nblkptr < doi->doi_nblkptr) 1776 if (dn_slots != doi 1636 receive_handle_existing_object(const struct receive_writer_arg *rwa, const struct drr_object *drro, const dmu_object_info_t *doi, const void *bonus_data, uint64_t *object_to_hold, uint32_t *new_blksz) argument 1850 dmu_object_info_t doi; local 2145 dmu_object_info_t doi; local 2832 dmu_object_info_t doi; local [all...] |
H A D | dsl_deadlist.c | 301 dmu_object_info_t doi; local 309 dmu_object_info_from_db(dl->dl_dbuf, &doi); 310 if (doi.doi_type == DMU_OT_BPOBJ) { 382 dmu_object_info_t doi; local 387 VERIFY0(dmu_object_info(os, dlobj, &doi)); 388 if (doi.doi_type == DMU_OT_BPOBJ) { 866 dmu_object_info_t doi; local 869 VERIFY0(dmu_object_info(dl->dl_os, obj, &doi)); 870 if (doi.doi_type == DMU_OT_BPOBJ) {
|
H A D | vdev_indirect_mapping.c | 347 dmu_object_info_t doi; local 348 VERIFY0(dmu_object_info(os, mapping_object, &doi)); 358 (doi.doi_bonus_size > VDEV_INDIRECT_MAPPING_SIZE_V0);
|
H A D | dmu_object.c | 403 dmu_object_info_t doi; local 414 error = dmu_object_info(os, i, &doi); 426 i += doi.doi_dnodesize >> DNODE_SHIFT;
|
H A D | zcp_get.c | 370 dmu_object_info_t doi; local 373 error = dmu_object_info(os, ZVOL_OBJ, &doi); 375 numval = doi.doi_data_block_size;
|
H A D | dmu_traverse.c | 772 dmu_object_info_t doi; local 774 err = dmu_object_info(mos, obj, &doi); 781 if (doi.doi_bonus_type == DMU_OT_DSL_DATASET) {
|
H A D | dmu_redact.c | 193 dmu_object_info_t doi; local 196 VERIFY0(dmu_object_info(os, MASTER_NODE_OBJ, &doi)); 197 ASSERT3U(doi.doi_type, ==, DMU_OT_MASTER_NODE);
|
/freebsd-current/contrib/tcpdump/ |
H A D | print-isakmp.c | 160 /* MAY NOT be used, because of being defined in ipsec-doi. */ 173 nd_uint32_t doi; /* Domain of Interpretation */ member in struct:ikev1_pl_sa 216 /* MUST NOT to be used, because of being defined in ipsec-doi. */ 276 nd_uint32_t doi; /* Domain of Interpretation */ member in struct:ikev1_pl_n 316 nd_uint32_t doi; /* Domain of Interpretation */ member in struct:ikev1_pl_d 533 nd_uint32_t doi; /* Domain of Interpretation */ member in struct:ipsecdoi_sa 626 uint32_t doi, uint32_t proto, 1006 uint32_t doi, sit, ident; local 1014 doi = GET_BE_U_4(p->doi); 1654 uint32_t doi; local 1808 uint32_t doi; local 2634 ikev2_e_print(netdissect_options *ndo, _U_ const struct isakmp *base, u_char tpay, const struct isakmp_gen *ext, u_int item_len, const u_char *ep _U_, _U_ uint32_t phase, _U_ uint32_t doi, _U_ uint32_t proto, _U_ int depth) argument 2735 ike_sub0_print(netdissect_options *ndo, u_char np, const struct isakmp_gen *ext, const u_char *ep, uint32_t phase, uint32_t doi, uint32_t proto, int depth) argument 2774 ikev1_sub_print(netdissect_options *ndo, u_char np, const struct isakmp_gen *ext, const u_char *ep, uint32_t phase, uint32_t doi, uint32_t proto, int depth) argument 2899 ikev2_sub0_print(netdissect_options *ndo, const struct isakmp *base, u_char np, const struct isakmp_gen *ext, const u_char *ep, uint32_t phase, uint32_t doi, uint32_t proto, int depth) argument 2942 ikev2_sub_print(netdissect_options *ndo, const struct isakmp *base, u_char np, const struct isakmp_gen *ext, const u_char *ep, uint32_t phase, uint32_t doi, uint32_t proto, int depth) argument [all...] |
/freebsd-current/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zfs_znode.c | 1083 dmu_object_info_t doi; local 1101 dmu_object_info_from_db(db, &doi); 1102 if (doi.doi_bonus_type != DMU_OT_SA && 1103 (doi.doi_bonus_type != DMU_OT_ZNODE || 1104 (doi.doi_bonus_type == DMU_OT_ZNODE && 1105 doi.doi_bonus_size < sizeof (znode_phys_t)))) { 1176 zp = zfs_znode_alloc(zfsvfs, db, doi.doi_data_block_size, 1177 doi.doi_bonus_type, NULL); 1191 dmu_object_info_t doi; local 1239 dmu_object_info_from_db(db, &doi); 2028 dmu_object_info_t doi; local [all...] |
H A D | zfs_dir.c | 480 dmu_object_info_t doi; local 498 zap.za_first_integer, &doi); 502 ASSERT((doi.doi_type == DMU_OT_PLAIN_FILE_CONTENTS) || 503 (doi.doi_type == DMU_OT_DIRECTORY_CONTENTS));
|
H A D | zvol_os.c | 1351 dmu_object_info_t *doi; local 1384 doi = kmem_alloc(sizeof (dmu_object_info_t), KM_SLEEP); 1390 error = dmu_object_info(os, ZVOL_OBJ, doi); 1408 zv->zv_volblocksize = doi->doi_data_block_size; 1539 kmem_free(doi, sizeof (dmu_object_info_t));
|
/freebsd-current/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | zfs_znode.c | 937 dmu_object_info_t doi; local 957 dmu_object_info_from_db(db, &doi); 958 if (doi.doi_bonus_type != DMU_OT_SA && 959 (doi.doi_bonus_type != DMU_OT_ZNODE || 960 (doi.doi_bonus_type == DMU_OT_ZNODE && 961 doi.doi_bonus_size < sizeof (znode_phys_t)))) { 1045 zp = zfs_znode_alloc(zfsvfs, db, doi.doi_data_block_size, 1046 doi.doi_bonus_type, NULL); 1075 dmu_object_info_t doi; local 1127 dmu_object_info_from_db(db, &doi); 1821 dmu_object_info_t doi; local [all...] |
H A D | zfs_dir.c | 291 dmu_object_info_t doi; local 308 zap.za_first_integer, &doi); 312 ASSERT((doi.doi_type == DMU_OT_PLAIN_FILE_CONTENTS) || 313 (doi.doi_type == DMU_OT_DIRECTORY_CONTENTS));
|
H A D | zvol_os.c | 1377 dmu_object_info_t *doi; local 1393 doi = kmem_alloc(sizeof (dmu_object_info_t), KM_SLEEP); 1400 error = dmu_object_info(os, ZVOL_OBJ, doi); 1474 zv->zv_volblocksize = doi->doi_data_block_size; 1505 kmem_free(doi, sizeof (dmu_object_info_t));
|
/freebsd-current/sys/contrib/openzfs/cmd/zdb/ |
H A D | zdb.c | 1064 dmu_object_info_t doi; local 1066 VERIFY0(dmu_object_info(os, object, &doi)); 1067 size = doi.doi_max_offset; 1237 dmu_object_info_t doi; local 1240 VERIFY0(dmu_object_info(os, object, &doi)); 1241 uint64_t *subobjs = kmem_alloc(doi.doi_max_offset, KM_SLEEP); 1243 int err = dmu_read(os, object, 0, doi.doi_max_offset, subobjs, 0); 1246 kmem_free(subobjs, doi.doi_max_offset); 1251 for (i = 0; i < doi.doi_max_offset / 8; i++) { 1259 kmem_free(subobjs, doi 1420 dmu_object_info_t doi; local 1443 dmu_object_info_t doi; local 1942 dmu_object_info_t doi; local 2834 dmu_object_info_t doi; local 3620 dmu_object_info_t doi; local 4827 dmu_object_info_t doi; local 8028 dmu_object_info_t doi; local [all...] |
/freebsd-current/sys/contrib/openzfs/cmd/ |
H A D | ztest.c | 1866 dmu_object_info_t doi; local 1869 dmu_object_info_from_db(db, &doi); 1870 ASSERT3U(doi.doi_bonus_size, <=, db->db_size); 1871 ASSERT3U(doi.doi_bonus_size, >=, sizeof (*bt)); 1872 bt = (void *)((char *)db->db_data + doi.doi_bonus_size - sizeof (*bt)); 2132 dmu_object_info_t doi; local 2148 VERIFY0(dmu_object_info(os, object, &doi)); 2161 if (doi.doi_type == DMU_OT_ZAP_OTHER) { 2189 dmu_object_info_t doi; local 2221 dmu_object_info_from_db(db, &doi); 2481 dmu_object_info_t doi; local 2601 dmu_object_info_t doi; local 2805 dmu_object_info_t doi; local 4586 dmu_object_info_t doi; local 5331 dmu_object_info_t doi; local 6156 dmu_object_info_t doi; local [all...] |
/freebsd-current/sys/contrib/openzfs/include/sys/ |
H A D | dmu.h | 948 * If doi is NULL, just indicates whether the object exists. 950 int dmu_object_info(objset_t *os, uint64_t object, dmu_object_info_t *doi); 951 void __dmu_object_info_from_dnode(struct dnode *dn, dmu_object_info_t *doi); 953 void dmu_object_info_from_dnode(dnode_t *dn, dmu_object_info_t *doi); 955 void dmu_object_info_from_db(dmu_buf_t *db, dmu_object_info_t *doi);
|