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" },
130 dmu_buf_hold_noread(objset_t *os, uint64_t object, uint64_t offset,
138 err = dnode_hold(os, object, FTAG, &dn);
157 dmu_buf_hold(objset_t *os, uint64_t object, uint64_t offset,
166 err = dmu_buf_hold_noread(os, object, offset, tag, dbp);
247 dmu_rm_spill(objset_t *os, uint64_t object, dmu_tx_t *tx)
252 error = dnode_hold(os, object, FTAG, &dn);
265 dmu_bonus_hold(objset_t *os, uint64_t object, void *tag, dmu_buf_t **dbp)
271 error = dnode_hold(os, object, FTAG, &dn);
383 * to take a held dnode rather than <os, object> -- the lookup is wasteful,
414 zfs_panic_recover("zfs: accessing past end of object "
481 dmu_buf_hold_array(objset_t *os, uint64_t object, uint64_t offset,
487 err = dnode_hold(os, object, FTAG, &dn);
543 dmu_prefetch(objset_t *os, uint64_t object, int64_t level, uint64_t offset,
553 if (object == 0 || object >= DN_MAX_OBJECT)
558 object * sizeof (dnode_phys_t));
565 * XXX - Note, if the dnode for the requested object is not
569 err = dnode_hold(os, object, FTAG, &dn);
702 dmu_free_long_range(objset_t *os, uint64_t object,
708 err = dnode_hold(os, object, FTAG, &dn);
727 dmu_free_long_object(objset_t *os, uint64_t object)
732 err = dmu_free_long_range(os, object, 0, DMU_OBJECT_END);
737 dmu_tx_hold_bonus(tx, object);
738 dmu_tx_hold_free(tx, object, 0, DMU_OBJECT_END);
742 err = dmu_object_free(os, object, tx);
752 dmu_free_range(objset_t *os, uint64_t object, uint64_t offset,
756 int err = dnode_hold(os, object, FTAG, &dn);
767 dmu_read(objset_t *os, uint64_t object, uint64_t offset, uint64_t size,
774 err = dnode_hold(os, object, FTAG, &dn);
826 dmu_write(objset_t *os, uint64_t object, uint64_t offset, uint64_t size,
835 VERIFY(0 == dmu_buf_hold_array(os, object, offset, size,
868 dmu_prealloc(objset_t *os, uint64_t object, uint64_t offset, uint64_t size,
877 VERIFY(0 == dmu_buf_hold_array(os, object, offset, size,
889 dmu_write_embedded(objset_t *os, uint64_t object, uint64_t offset,
897 VERIFY0(dmu_buf_hold_noread(os, object, offset,
1090 * From object zdb->db_object.
1093 * If the caller already has a dbuf in the target object
1095 * because we don't have to find the dnode_t for the object.
1117 * From the specified object
1121 dmu_read_uio(objset_t *os, uint64_t object, uio_t *uio, uint64_t size)
1129 err = dnode_hold(os, object, FTAG, &dn);
1194 * To object zdb->db_object.
1197 * If the caller already has a dbuf in the target object
1199 * because we don't have to find the dnode_t for the object.
1222 * To the specified object.
1226 dmu_write_uio(objset_t *os, uint64_t object, uio_t *uio, uint64_t size,
1235 err = dnode_hold(os, object, FTAG, &dn);
1247 dmu_write_pages(objset_t *os, uint64_t object, uint64_t offset, uint64_t size,
1257 err = dmu_buf_hold_array(os, object, offset, size,
1358 uint64_t object;
1363 object = dn->dn_object;
1367 dmu_write(os, object, offset, blksz, buf->b_data, tx);
1672 dmu_object_set_blocksize(objset_t *os, uint64_t object, uint64_t size, int ibs,
1678 err = dnode_hold(os, object, FTAG, &dn);
1687 dmu_object_set_checksum(objset_t *os, uint64_t object, uint8_t checksum,
1693 * Send streams include each object's checksum function. This
1699 VERIFY0(dnode_hold(os, object, FTAG, &dn));
1707 dmu_object_set_compress(objset_t *os, uint64_t object, uint8_t compress,
1713 * Send streams include each object's compression function. This
1719 VERIFY0(dnode_hold(os, object, FTAG, &dn));
1843 dmu_offset_next(objset_t *os, uint64_t object, boolean_t hole, uint64_t *off)
1852 err = dmu_object_wait_synced(os, object);
1857 err = dnode_hold(os, object, FTAG, &dn);
1869 * Given the ZFS object, if it contains any dirty nodes
1871 * ensures the DMU object info is updated. A more efficient
1876 dmu_object_wait_synced(objset_t *os, uint64_t object)
1881 error = dnode_hold(os, object, FTAG, &dn);
1930 * Get information on a DMU object.
1931 * If doi is NULL, just indicates whether the object exists.
1934 dmu_object_info(objset_t *os, uint64_t object, dmu_object_info_t *doi)
1937 int err = dnode_hold(os, object, FTAG, &dn);