Lines Matching defs:object
61 { DMU_BSWAP_ZAP, TRUE, "object directory" },
62 { DMU_BSWAP_UINT64, TRUE, "object array" },
83 { DMU_BSWAP_UINT8, FALSE, "zvol object" },
150 dmu_buf_hold_noread(objset_t *os, uint64_t object, uint64_t offset,
158 err = dnode_hold(os, object, FTAG, &dn);
200 dmu_buf_hold(objset_t *os, uint64_t object, uint64_t offset,
209 err = dmu_buf_hold_noread(os, object, offset, tag, dbp);
290 dmu_rm_spill(objset_t *os, uint64_t object, dmu_tx_t *tx)
295 error = dnode_hold(os, object, FTAG, &dn);
308 dmu_bonus_hold(objset_t *os, uint64_t object, void *tag, dmu_buf_t **dbp)
314 error = dnode_hold(os, object, FTAG, &dn);
426 * to take a held dnode rather than <os, object> -- the lookup is wasteful,
457 zfs_panic_recover("zfs: accessing past end of object "
525 dmu_buf_hold_array(objset_t *os, uint64_t object, uint64_t offset,
531 err = dnode_hold(os, object, FTAG, &dn);
587 dmu_prefetch(objset_t *os, uint64_t object, int64_t level, uint64_t offset,
597 if (object == 0 || object >= DN_MAX_OBJECT)
602 object * sizeof (dnode_phys_t));
609 * XXX - Note, if the dnode for the requested object is not
613 err = dnode_hold(os, object, FTAG, &dn);
765 dmu_free_long_range(objset_t *os, uint64_t object,
771 err = dnode_hold(os, object, FTAG, &dn);
790 dmu_free_long_object(objset_t *os, uint64_t object)
795 err = dmu_free_long_range(os, object, 0, DMU_OBJECT_END);
800 dmu_tx_hold_bonus(tx, object);
801 dmu_tx_hold_free(tx, object, 0, DMU_OBJECT_END);
805 err = dmu_object_free(os, object, tx);
815 dmu_free_range(objset_t *os, uint64_t object, uint64_t offset,
819 int err = dnode_hold(os, object, FTAG, &dn);
830 dmu_read(objset_t *os, uint64_t object, uint64_t offset, uint64_t size,
837 err = dnode_hold(os, object, FTAG, &dn);
889 dmu_write(objset_t *os, uint64_t object, uint64_t offset, uint64_t size,
898 VERIFY(0 == dmu_buf_hold_array(os, object, offset, size,
931 dmu_prealloc(objset_t *os, uint64_t object, uint64_t offset, uint64_t size,
940 VERIFY(0 == dmu_buf_hold_array(os, object, offset, size,
952 dmu_write_embedded(objset_t *os, uint64_t object, uint64_t offset,
960 VERIFY0(dmu_buf_hold_noread(os, object, offset,
1153 * From object zdb->db_object.
1156 * If the caller already has a dbuf in the target object
1158 * because we don't have to find the dnode_t for the object.
1180 * From the specified object
1184 dmu_read_uio(objset_t *os, uint64_t object, uio_t *uio, uint64_t size)
1192 err = dnode_hold(os, object, FTAG, &dn);
1257 * To object zdb->db_object.
1260 * If the caller already has a dbuf in the target object
1262 * because we don't have to find the dnode_t for the object.
1285 * To the specified object.
1289 dmu_write_uio(objset_t *os, uint64_t object, uio_t *uio, uint64_t size,
1298 err = dnode_hold(os, object, FTAG, &dn);
1310 dmu_write_pages(objset_t *os, uint64_t object, uint64_t offset, uint64_t size,
1320 err = dmu_buf_hold_array(os, object, offset, size,
1418 uint64_t object;
1427 object = dn->dn_object;
1431 dmu_write(os, object, offset, blksz, buf->b_data, tx);
1737 dmu_object_set_blocksize(objset_t *os, uint64_t object, uint64_t size, int ibs,
1743 err = dnode_hold(os, object, FTAG, &dn);
1752 dmu_object_set_checksum(objset_t *os, uint64_t object, uint8_t checksum,
1758 * Send streams include each object's checksum function. This
1764 VERIFY0(dnode_hold(os, object, FTAG, &dn));
1772 dmu_object_set_compress(objset_t *os, uint64_t object, uint8_t compress,
1778 * Send streams include each object's compression function. This
1784 VERIFY0(dnode_hold(os, object, FTAG, &dn));
1922 dmu_offset_next(objset_t *os, uint64_t object, boolean_t hole, uint64_t *off)
1931 err = dmu_object_wait_synced(os, object);
1936 err = dnode_hold(os, object, FTAG, &dn);
1948 * Given the ZFS object, if it contains any dirty nodes
1950 * ensures the DMU object info is updated. A more efficient
1955 dmu_object_wait_synced(objset_t *os, uint64_t object)
1960 error = dnode_hold(os, object, FTAG, &dn);
2009 * Get information on a DMU object.
2010 * If doi is NULL, just indicates whether the object exists.
2013 dmu_object_info(objset_t *os, uint64_t object, dmu_object_info_t *doi)
2016 int err = dnode_hold(os, object, FTAG, &dn);