Lines Matching refs:os
130 dmu_buf_hold_noread(objset_t *os, uint64_t object, uint64_t offset, in dmu_buf_hold_noread() argument
138 err = dnode_hold(os, object, FTAG, &dn); in dmu_buf_hold_noread()
157 dmu_buf_hold(objset_t *os, uint64_t object, uint64_t offset, in dmu_buf_hold() argument
166 err = dmu_buf_hold_noread(os, object, offset, tag, dbp); in dmu_buf_hold()
247 dmu_rm_spill(objset_t *os, uint64_t object, dmu_tx_t *tx) in dmu_rm_spill() argument
252 error = dnode_hold(os, object, FTAG, &dn); in dmu_rm_spill()
265 dmu_bonus_hold(objset_t *os, uint64_t object, void *tag, dmu_buf_t **dbp) in dmu_bonus_hold() argument
271 error = dnode_hold(os, object, FTAG, &dn); in dmu_bonus_hold()
472 dmu_buf_hold_array(objset_t *os, uint64_t object, uint64_t offset, in dmu_buf_hold_array() argument
478 err = dnode_hold(os, object, FTAG, &dn); in dmu_buf_hold_array()
533 dmu_prefetch(objset_t *os, uint64_t object, int64_t level, uint64_t offset, in dmu_prefetch() argument
544 dn = DMU_META_DNODE(os); in dmu_prefetch()
562 err = dnode_hold(os, object, FTAG, &dn); in dmu_prefetch()
648 dmu_free_long_range_impl(objset_t *os, dnode_t *dn, uint64_t offset, in dmu_free_long_range_impl() argument
672 dmu_tx_t *tx = dmu_tx_create(os); in dmu_free_long_range_impl()
695 dmu_free_long_range(objset_t *os, uint64_t object, in dmu_free_long_range() argument
701 err = dnode_hold(os, object, FTAG, &dn); in dmu_free_long_range()
704 err = dmu_free_long_range_impl(os, dn, offset, length); in dmu_free_long_range()
720 dmu_free_long_object(objset_t *os, uint64_t object) in dmu_free_long_object() argument
725 err = dmu_free_long_range(os, object, 0, DMU_OBJECT_END); in dmu_free_long_object()
729 tx = dmu_tx_create(os); in dmu_free_long_object()
735 err = dmu_object_free(os, object, tx); in dmu_free_long_object()
745 dmu_free_range(objset_t *os, uint64_t object, uint64_t offset, in dmu_free_range() argument
749 int err = dnode_hold(os, object, FTAG, &dn); in dmu_free_range()
760 dmu_read(objset_t *os, uint64_t object, uint64_t offset, uint64_t size, in dmu_read() argument
767 err = dnode_hold(os, object, FTAG, &dn); in dmu_read()
819 dmu_write(objset_t *os, uint64_t object, uint64_t offset, uint64_t size, in dmu_write() argument
828 VERIFY(0 == dmu_buf_hold_array(os, object, offset, size, in dmu_write()
861 dmu_prealloc(objset_t *os, uint64_t object, uint64_t offset, uint64_t size, in dmu_prealloc() argument
870 VERIFY(0 == dmu_buf_hold_array(os, object, offset, size, in dmu_prealloc()
882 dmu_write_embedded(objset_t *os, uint64_t object, uint64_t offset, in dmu_write_embedded() argument
890 VERIFY0(dmu_buf_hold_noread(os, object, offset, in dmu_write_embedded()
1114 dmu_read_uio(objset_t *os, uint64_t object, uio_t *uio, uint64_t size) in dmu_read_uio() argument
1122 err = dnode_hold(os, object, FTAG, &dn); in dmu_read_uio()
1219 dmu_write_uio(objset_t *os, uint64_t object, uio_t *uio, uint64_t size, in dmu_write_uio() argument
1228 err = dnode_hold(os, object, FTAG, &dn); in dmu_write_uio()
1240 dmu_write_pages(objset_t *os, uint64_t object, uint64_t offset, uint64_t size, in dmu_write_pages() argument
1250 err = dmu_buf_hold_array(os, object, offset, size, in dmu_write_pages()
1350 objset_t *os; in dmu_assign_arcbuf() local
1355 os = dn->dn_objset; in dmu_assign_arcbuf()
1360 dmu_write(os, object, offset, blksz, buf->b_data, tx); in dmu_assign_arcbuf()
1481 dmu_sync_late_arrival(zio_t *pio, objset_t *os, dmu_sync_cb_t *done, zgd_t *zgd, in dmu_sync_late_arrival() argument
1487 tx = dmu_tx_create(os); in dmu_sync_late_arrival()
1501 zio_nowait(zio_write(pio, os->os_spa, dmu_tx_get_txg(tx), zgd->zgd_bp, in dmu_sync_late_arrival()
1539 objset_t *os = db->db_objset; in dmu_sync() local
1540 dsl_dataset_t *ds = os->os_dsl_dataset; in dmu_sync()
1555 dmu_write_policy(os, dn, db->db_level, WP_DMU_SYNC, &zp); in dmu_sync()
1561 if (txg > spa_freeze_txg(os->os_spa)) in dmu_sync()
1562 return (dmu_sync_late_arrival(pio, os, done, zgd, &zp, &zb)); in dmu_sync()
1572 if (txg <= spa_last_synced_txg(os->os_spa)) { in dmu_sync()
1580 if (txg <= spa_syncing_txg(os->os_spa)) { in dmu_sync()
1586 return (dmu_sync_late_arrival(pio, os, done, zgd, &zp, &zb)); in dmu_sync()
1654 zio_nowait(arc_write(pio, os->os_spa, txg, in dmu_sync()
1664 dmu_object_set_blocksize(objset_t *os, uint64_t object, uint64_t size, int ibs, in dmu_object_set_blocksize() argument
1670 err = dnode_hold(os, object, FTAG, &dn); in dmu_object_set_blocksize()
1679 dmu_object_set_checksum(objset_t *os, uint64_t object, uint8_t checksum, in dmu_object_set_checksum() argument
1691 VERIFY0(dnode_hold(os, object, FTAG, &dn)); in dmu_object_set_checksum()
1699 dmu_object_set_compress(objset_t *os, uint64_t object, uint8_t compress, in dmu_object_set_compress() argument
1711 VERIFY0(dnode_hold(os, object, FTAG, &dn)); in dmu_object_set_compress()
1726 dmu_write_policy(objset_t *os, dnode_t *dn, int level, int wp, zio_prop_t *zp) in dmu_write_policy() argument
1731 enum zio_checksum checksum = os->os_checksum; in dmu_write_policy()
1732 enum zio_compress compress = os->os_compress; in dmu_write_policy()
1733 enum zio_checksum dedup_checksum = os->os_dedup_checksum; in dmu_write_policy()
1736 boolean_t dedup_verify = os->os_dedup_verify; in dmu_write_policy()
1737 int copies = os->os_copies; in dmu_write_policy()
1754 compress = zio_compress_select(os->os_spa, in dmu_write_policy()
1769 if (os->os_redundant_metadata == ZFS_REDUNDANT_METADATA_ALL || in dmu_write_policy()
1770 (os->os_redundant_metadata == in dmu_write_policy()
1788 compress = zio_compress_select(os->os_spa, dn->dn_compress, in dmu_write_policy()
1823 zp->zp_copies = MIN(copies, spa_max_replication(os->os_spa)); in dmu_write_policy()
1830 dmu_offset_next(objset_t *os, uint64_t object, boolean_t hole, uint64_t *off) in dmu_offset_next() argument
1839 err = dmu_object_wait_synced(os, object); in dmu_offset_next()
1844 err = dnode_hold(os, object, FTAG, &dn); in dmu_offset_next()
1863 dmu_object_wait_synced(objset_t *os, uint64_t object) { in dmu_object_wait_synced() argument
1867 error = dnode_hold(os, object, FTAG, &dn); in dmu_object_wait_synced()
1879 txg_wait_synced(dmu_objset_pool(os), 0); in dmu_object_wait_synced()
1920 dmu_object_info(objset_t *os, uint64_t object, dmu_object_info_t *doi) in dmu_object_info() argument
1923 int err = dnode_hold(os, object, FTAG, &dn); in dmu_object_info()