/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dmu_object.c | 47 int indirect_blockshift, dmu_object_type_t bonustype, int bonuslen, in dmu_object_alloc_impl() argument 177 bonustype, bonuslen, dn_slots, tx); in dmu_object_alloc_impl() 202 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) in dmu_object_alloc() argument 205 bonuslen, 0, tx)); in dmu_object_alloc() 210 int indirect_blockshift, dmu_object_type_t bonustype, int bonuslen, in dmu_object_alloc_ibs() argument 214 bonustype, bonuslen, 0, tx)); in dmu_object_alloc_ibs() 219 dmu_object_type_t bonustype, int bonuslen, int dnodesize, dmu_tx_t *tx) in dmu_object_alloc_dnsize() argument 222 bonuslen, dnodesize, tx)); in dmu_object_alloc_dnsize() 227 int blocksize, dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) in dmu_object_claim() argument 230 bonuslen, 0, tx)); in dmu_object_claim() [all …]
|
H A D | zap_micro.c | 690 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) in zap_create_claim() argument 692 return (zap_create_claim_dnsize(os, obj, ot, bonustype, bonuslen, in zap_create_claim() 698 dmu_object_type_t bonustype, int bonuslen, int dnodesize, dmu_tx_t *tx) in zap_create_claim_dnsize() argument 701 0, ot, bonustype, bonuslen, dnodesize, tx)); in zap_create_claim_dnsize() 707 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) in zap_create_claim_norm() argument 710 bonuslen, 0, tx)); in zap_create_claim_norm() 715 dmu_object_type_t ot, dmu_object_type_t bonustype, int bonuslen, in zap_create_claim_norm_dnsize() argument 720 err = dmu_object_claim_dnsize(os, obj, ot, 0, bonustype, bonuslen, in zap_create_claim_norm_dnsize() 730 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) in zap_create() argument 732 return (zap_create_norm(os, 0, ot, bonustype, bonuslen, tx)); in zap_create() [all …]
|
H A D | dnode.c | 570 dmu_object_type_t bonustype, int bonuslen, int dn_slots, dmu_tx_t *tx) in dnode_allocate() argument 599 ASSERT((bonustype == DMU_OT_NONE && bonuslen == 0) || in dnode_allocate() 600 (bonustype == DMU_OT_SA && bonuslen == 0) || in dnode_allocate() 601 (bonustype != DMU_OT_NONE && bonuslen != 0)); in dnode_allocate() 603 ASSERT3U(bonuslen, <=, DN_SLOTS_TO_BONUSLEN(dn_slots)); in dnode_allocate() 636 1 + ((DN_SLOTS_TO_BONUSLEN(dn_slots) - bonuslen) >> in dnode_allocate() 641 dn->dn_bonuslen = bonuslen; in dnode_allocate() 664 dmu_object_type_t bonustype, int bonuslen, int dn_slots, in dnode_reallocate() argument 675 ASSERT((bonustype == DMU_OT_NONE && bonuslen == 0) || in dnode_reallocate() 676 (bonustype != DMU_OT_NONE && bonuslen != 0) || in dnode_reallocate() [all …]
|
H A D | space_map.c | 889 int bonuslen; in space_map_alloc() local 893 bonuslen = sizeof (space_map_phys_t); in space_map_alloc() 894 ASSERT3U(bonuslen, <=, dmu_bonus_max()); in space_map_alloc() 896 bonuslen = SPACE_MAP_SIZE_V0; in space_map_alloc() 900 space_map_ibs, DMU_OT_SPACE_MAP_HEADER, bonuslen, tx); in space_map_alloc()
|
H A D | dbuf.c | 1112 int bonuslen = MIN(dn->dn_bonuslen, dn->dn_phys->dn_bonuslen); in dbuf_read_impl() local 1123 ASSERT3U(bonuslen, <=, db->db.db_size); in dbuf_read_impl() 1126 if (bonuslen < max_bonuslen) in dbuf_read_impl() 1128 if (bonuslen) in dbuf_read_impl() 1129 bcopy(DN_BONUS(dn->dn_phys), db->db.db_data, bonuslen); in dbuf_read_impl() 1272 int bonuslen = DN_SLOTS_TO_BONUSLEN(dn->dn_num_slots); in dbuf_fix_old_data() local 1273 dr->dt.dl.dr_data = zio_buf_alloc(bonuslen); in dbuf_fix_old_data() 1274 arc_space_consume(bonuslen, ARC_SPACE_BONUS); in dbuf_fix_old_data() 1275 bcopy(db->db.db_data, dr->dt.dl.dr_data, bonuslen); in dbuf_fix_old_data() 2327 int bonuslen = DN_SLOTS_TO_BONUSLEN(slots); in dbuf_destroy() local [all …]
|
H A D | dmu_send.c | 484 int bonuslen; in dump_dnode() local 525 bonuslen = P2ROUNDUP(dnp->dn_bonuslen, 8); in dump_dnode() 544 if (bonuslen != 0) { in dump_dnode() 546 bonuslen = drro->drr_raw_bonuslen; in dump_dnode() 558 if (dump_record(dsp, DN_BONUS(dnp), bonuslen) != 0) in dump_dnode()
|
H A D | zfs_znode.c | 815 int bonuslen; in zfs_mknode() local 841 bonuslen = (obj_type == DMU_OT_SA) ? in zfs_mknode() 857 obj_type, bonuslen, dnodesize, tx)); in zfs_mknode() 861 obj_type, bonuslen, dnodesize, tx); in zfs_mknode() 867 obj_type, bonuslen, dnodesize, tx)); in zfs_mknode() 871 obj_type, bonuslen, dnodesize, tx); in zfs_mknode()
|
H A D | sa.c | 664 int bonuslen; in sa_build_layouts() local 671 bonuslen = DN_BONUS_SIZE(dnodesize); in sa_build_layouts() 675 SA_BONUS, bonuslen, &i, &used, &spilling); in sa_build_layouts() 681 MIN(bonuslen - sizeof (blkptr_t), used + hdrsize) : in sa_build_layouts()
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | zap.h | 123 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx); 125 dmu_object_type_t bonustype, int bonuslen, int dnodesize, dmu_tx_t *tx); 127 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx); 129 dmu_object_type_t ot, dmu_object_type_t bonustype, int bonuslen, 133 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx); 136 int indirect_blockshift, dmu_object_type_t bonustype, int bonuslen, 154 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx); 156 dmu_object_type_t bonustype, int bonuslen, int dnodesize, dmu_tx_t *tx); 159 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx); 162 dmu_object_type_t bonustype, int bonuslen, int dnodesize, dmu_tx_t *tx);
|
H A D | dnode.h | 402 dmu_object_type_t bonustype, int bonuslen, int dn_slots, dmu_tx_t *tx); 404 dmu_object_type_t bonustype, int bonuslen, int dn_slots,
|
H A D | dmu.h | 412 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx); 421 int bonuslen, int dnodesize, boolean_t keep_spill, dmu_tx_t *txp); 425 int blocksize, dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *txp);
|
/illumos-gate/usr/src/cmd/ztest/ |
H A D | ztest.c | 1660 int bonuslen; in ztest_replay_create() local 1683 bonuslen = DN_BONUS_SIZE(lr->lrz_dnodesize); in ztest_replay_create() 1689 bonuslen, lr->lrz_dnodesize, tx); in ztest_replay_create() 1693 bonuslen, lr->lrz_dnodesize, tx); in ztest_replay_create() 1699 bonuslen, lr->lrz_dnodesize, tx); in ztest_replay_create() 1703 bonuslen, lr->lrz_dnodesize, tx); in ztest_replay_create()
|