| /f-stack/freebsd/contrib/openzfs/module/zfs/ |
| H A D | dmu_object.c | 48 int indirect_blockshift, dmu_object_type_t bonustype, int bonuslen, in dmu_object_alloc_impl() argument 193 bonuslen, dn_slots, tx); in dmu_object_alloc_impl() 227 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) in dmu_object_alloc() argument 230 bonuslen, 0, NULL, NULL, tx); in dmu_object_alloc() 239 bonustype, bonuslen, 0, NULL, NULL, tx); in dmu_object_alloc_ibs() 247 bonuslen, dnodesize, NULL, NULL, tx)); in dmu_object_alloc_dnsize() 261 bonustype, bonuslen, dnodesize, allocated_dnode, tag, tx)); in dmu_object_alloc_hold() 269 bonuslen, 0, tx)); in dmu_object_claim() 274 int blocksize, dmu_object_type_t bonustype, int bonuslen, in dmu_object_claim_dnsize() argument 307 bonuslen, DNODE_MIN_SIZE, B_FALSE, tx)); in dmu_object_reclaim() [all …]
|
| H A D | zap_micro.c | 739 indirect_blockshift, bonustype, bonuslen, dnodesize, in zap_create_impl() 745 indirect_blockshift, bonustype, bonuslen, dnodesize, in zap_create_impl() 755 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) in zap_create_claim() argument 766 0, ot, bonustype, bonuslen, dnodesize, tx)); in zap_create_claim_dnsize() 772 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) in zap_create_claim_norm() argument 775 bonuslen, 0, tx)); in zap_create_claim_norm() 805 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) in zap_create() argument 820 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) in zap_create_norm() argument 831 bonustype, bonuslen, dnodesize, NULL, NULL, tx)); in zap_create_norm_dnsize() 837 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) in zap_create_flags() argument [all …]
|
| H A D | dnode.c | 603 ASSERT((bonustype == DMU_OT_NONE && bonuslen == 0) || in dnode_allocate() 604 (bonustype == DMU_OT_SA && bonuslen == 0) || in dnode_allocate() 605 (bonustype != DMU_OT_NONE && bonuslen != 0)); in dnode_allocate() 607 ASSERT3U(bonuslen, <=, DN_SLOTS_TO_BONUSLEN(dn_slots)); in dnode_allocate() 644 dn->dn_bonuslen = bonuslen; in dnode_allocate() 676 ASSERT((bonustype == DMU_OT_NONE && bonuslen == 0) || in dnode_reallocate() 677 (bonustype != DMU_OT_NONE && bonuslen != 0) || in dnode_reallocate() 678 (bonustype == DMU_OT_SA && bonuslen == 0)); in dnode_reallocate() 680 ASSERT3U(bonuslen, <=, in dnode_reallocate() 703 if (dn->dn_bonuslen != bonuslen) in dnode_reallocate() [all …]
|
| H A D | space_map.c | 911 int bonuslen; in space_map_alloc() local 915 bonuslen = sizeof (space_map_phys_t); in space_map_alloc() 916 ASSERT3U(bonuslen, <=, dmu_bonus_max()); in space_map_alloc() 918 bonuslen = SPACE_MAP_SIZE_V0; in space_map_alloc() 922 space_map_ibs, DMU_OT_SPACE_MAP_HEADER, bonuslen, tx); in space_map_alloc()
|
| H A D | dbuf.c | 1298 int bonuslen, max_bonuslen, err; in dbuf_read_bonus() local 1308 ASSERT3U(bonuslen, <=, db->db.db_size); in dbuf_read_bonus() 1311 if (bonuslen < max_bonuslen) in dbuf_read_bonus() 1313 if (bonuslen) in dbuf_read_bonus() 1575 arc_space_consume(bonuslen, ARC_SPACE_BONUS); in dbuf_fix_old_data() 2744 int bonuslen = DN_SLOTS_TO_BONUSLEN(slots); in dbuf_destroy() local 2746 kmem_free(db->db.db_data, bonuslen); in dbuf_destroy() 2747 arc_space_return(bonuslen, ARC_SPACE_BONUS); in dbuf_destroy() 4033 uint16_t bonuslen = dn->dn_phys->dn_bonuslen; in dbuf_sync_leaf_verify_bonus_dnode() local 4035 ASSERT3U(bonuslen, <=, maxbonuslen); in dbuf_sync_leaf_verify_bonus_dnode() [all …]
|
| H A D | sa.c | 678 int bonuslen; in sa_build_layouts() local 684 bonuslen = DN_BONUS_SIZE(dnodesize); in sa_build_layouts() 688 SA_BONUS, bonuslen, &spill_idx, &used, &spilling); in sa_build_layouts() 694 MIN(bonuslen - sizeof (blkptr_t), used + hdrsize) : in sa_build_layouts()
|
| H A D | dmu_send.c | 700 int bonuslen; in dump_dnode() local 741 bonuslen = P2ROUNDUP(dnp->dn_bonuslen, 8); in dump_dnode() 760 if (bonuslen != 0) { in dump_dnode() 762 bonuslen = drro->drr_raw_bonuslen; in dump_dnode() 774 if (dump_record(dscp, DN_BONUS(dnp), bonuslen) != 0) in dump_dnode()
|
| /f-stack/freebsd/contrib/openzfs/include/sys/ |
| H A D | zap.h | 119 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx); 121 dmu_object_type_t bonustype, int bonuslen, int dnodesize, dmu_tx_t *tx); 123 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx); 125 dmu_object_type_t ot, dmu_object_type_t bonustype, int bonuslen, 129 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx); 132 int indirect_blockshift, dmu_object_type_t bonustype, int bonuslen, 136 dmu_object_type_t bonustype, int bonuslen, int dnodesize, 155 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx); 157 dmu_object_type_t bonustype, int bonuslen, int dnodesize, dmu_tx_t *tx); 160 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx); [all …]
|
| H A D | dmu.h | 407 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx); 413 int bonuslen, int dnodesize, dnode_t **allocated_dnode, void *tag, 421 int blocksize, dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *txp); 424 int bonuslen, int dnodesize, boolean_t keep_spill, dmu_tx_t *tx);
|
| H A D | dnode.h | 432 dmu_object_type_t bonustype, int bonuslen, int dn_slots, dmu_tx_t *tx); 434 dmu_object_type_t bonustype, int bonuslen, int dn_slots,
|
| /f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | zfs_znode.c | 563 int bonuslen; in zfs_mknode() local 589 bonuslen = (obj_type == DMU_OT_SA) ? in zfs_mknode() 605 obj_type, bonuslen, dnodesize, tx)); in zfs_mknode() 609 obj_type, bonuslen, dnodesize, tx); in zfs_mknode() 615 obj_type, bonuslen, dnodesize, tx)); in zfs_mknode() 619 obj_type, bonuslen, dnodesize, tx); in zfs_mknode()
|
| /f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/ |
| H A D | zfs_znode.c | 677 int bonuslen; in zfs_mknode() local 703 bonuslen = (obj_type == DMU_OT_SA) ? in zfs_mknode() 719 obj_type, bonuslen, dnodesize, tx)); in zfs_mknode() 723 obj_type, bonuslen, dnodesize, tx); in zfs_mknode() 729 obj_type, bonuslen, dnodesize, tx)); in zfs_mknode() 733 obj_type, bonuslen, dnodesize, tx); in zfs_mknode()
|
| /f-stack/freebsd/contrib/openzfs/cmd/ztest/ |
| H A D | ztest.c | 1856 int bonuslen; in ztest_replay_create() local 1879 bonuslen = DN_BONUS_SIZE(lr->lrz_dnodesize); in ztest_replay_create() 1885 bonuslen, lr->lrz_dnodesize, tx); in ztest_replay_create() 1889 bonuslen, lr->lrz_dnodesize, tx); in ztest_replay_create() 1895 bonuslen, lr->lrz_dnodesize, tx); in ztest_replay_create() 1899 bonuslen, lr->lrz_dnodesize, tx); in ztest_replay_create()
|