Home
last modified time | relevance | path

Searched refs:dnode_t (Results 1 – 25 of 36) sorted by relevance

12

/freebsd/sys/contrib/openzfs/include/sys/
H A Ddnode.h409 dnode_t *dnh_dnode;
428 void dnode_setbonuslen(dnode_t *dn, int newsize, dmu_tx_t *tx);
429 void dnode_setbonus_type(dnode_t *dn, dmu_object_type_t, dmu_tx_t *tx);
430 void dnode_rm_spill(dnode_t *dn, dmu_tx_t *tx);
433 const void *ref, dnode_t **dnp);
435 const void *ref, dnode_t **dnp);
436 boolean_t dnode_add_ref(dnode_t *dn, const void *ref);
437 void dnode_rele(dnode_t *dn, const void *ref);
438 void dnode_rele_and_unlock(dnode_t *dn, const void *tag, boolean_t evicting);
440 boolean_t dnode_is_dirty(dnode_t *dn);
[all …]
H A Ddmu.h82 typedef struct dnode dnode_t; typedef
421 int bonuslen, int dnodesize, dnode_t **allocated_dnode, const void *tag,
530 void dmu_write_policy(objset_t *os, dnode_t *dn, int level, int wp,
547 int dmu_bonus_hold_by_dnode(dnode_t *dn, const void *tag, dmu_buf_t **dbp,
561 int dmu_spill_hold_by_dnode(dnode_t *dn, uint32_t flags,
586 int dmu_buf_hold_by_dnode(dnode_t *dn, uint64_t offset,
588 int dmu_buf_hold_array_by_dnode(dnode_t *dn, uint64_t offset,
591 int dmu_buf_hold_noread_by_dnode(dnode_t *dn, uint64_t offset, const void *tag,
809 void dmu_tx_hold_write_by_dnode(dmu_tx_t *tx, dnode_t *dn, uint64_t off,
812 void dmu_tx_hold_append_by_dnode(dmu_tx_t *tx, dnode_t *dn, uint64_t off,
[all …]
H A Dzap.h142 dnode_t **allocated_dnode, const void *tag, dmu_tx_t *tx);
152 void mzap_create_impl(dnode_t *dn, int normflags, zap_flags_t flags,
226 int zap_lookup_uint64_by_dnode(dnode_t *dn, const uint64_t *key,
233 int zap_prefetch_uint64_by_dnode(dnode_t *dn, const uint64_t *key,
236 int zap_lookup_by_dnode(dnode_t *dn, const char *name,
238 int zap_lookup_norm_by_dnode(dnode_t *dn, const char *name,
252 int zap_add_by_dnode(dnode_t *dn, const char *key,
258 int zap_add_uint64_by_dnode(dnode_t *dn, const uint64_t *key,
275 int zap_update_uint64_by_dnode(dnode_t *dn, const uint64_t *key,
300 int zap_remove_by_dnode(dnode_t *dn, const char *name, dmu_tx_t *tx);
[all …]
H A Ddmu_impl.h272 int dmu_read_abd(dnode_t *, uint64_t, uint64_t, abd_t *, uint32_t flags);
273 int dmu_write_abd(dnode_t *, uint64_t, uint64_t, abd_t *, uint32_t, dmu_tx_t *);
275 int dmu_read_uio_direct(dnode_t *, zfs_uio_t *, uint64_t);
276 int dmu_write_uio_direct(dnode_t *, zfs_uio_t *, uint64_t, dmu_tx_t *);
H A Ddbuf.h146 dnode_t *dr_dnode;
397 dbuf_dirty_record_t *dbuf_dirty_lightweight(dnode_t *dn, uint64_t blkid,
407 int dmu_lightweight_write_by_dnode(dnode_t *dn, uint64_t offset, abd_t *abd,
429 int dbuf_dnode_findbp(dnode_t *dn, uint64_t level, uint64_t blkid,
H A Dbrt_impl.h115 dnode_t *bv_mos_entries_dnode;
H A Dzvol_impl.h49 dnode_t *zv_dn; /* dnode hold */
H A Ddmu_tx.h163 void dmu_tx_add_new_object(dmu_tx_t *tx, dnode_t *dn);
H A Dzap_impl.h148 dnode_t *zap_dnode;
H A Dddt_impl.h149 dnode_t *dlu_dn; /* log object dnode */
H A Ddmu_objset.h251 void dmu_objset_userquota_get_ids(dnode_t *dn, boolean_t before, dmu_tx_t *tx);
/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddnode.c125 dnode_t *dn = arg; in dnode_cons()
190 dnode_t *dn = arg; in dnode_dest()
308 dnode_cache = kmem_cache_create("dnode_t", sizeof (dnode_t), in dnode_init()
395 dnode_verify(dnode_t *dn) in dnode_verify()
511 dnode_setbonuslen(dnode_t *dn, int newsize, dmu_tx_t *tx) in dnode_setbonuslen()
536 dnode_setbonus_type(dnode_t *dn, dmu_object_type_t newtype, dmu_tx_t *tx) in dnode_setbonus_type()
547 dnode_set_storage_type(dnode_t *dn, dmu_object_type_t newtype) in dnode_set_storage_type()
558 dnode_rm_spill(dnode_t *dn, dmu_tx_t *tx) in dnode_rm_spill()
568 dnode_setdblksz(dnode_t *dn, int size) in dnode_setdblksz()
580 static dnode_t *
[all …]
H A Ddmu_object.c49 int dnodesize, dnode_t **allocated_dnode, const void *tag, dmu_tx_t *tx) in dmu_object_alloc_impl()
54 dnode_t *dn = NULL; in dmu_object_alloc_impl()
258 int dnodesize, dnode_t **allocated_dnode, const void *tag, dmu_tx_t *tx) in dmu_object_alloc_hold()
277 dnode_t *dn; in dmu_object_claim_dnsize()
315 dnode_t *dn; in dmu_object_reclaim_dnsize()
340 dnode_t *dn; in dmu_object_rm_spill()
362 dnode_t *dn; in dmu_object_free()
461 dnode_t *dn; in dmu_object_zapify()
492 dnode_t *dn; in dmu_object_free_zapified()
H A Ddmu.c175 dmu_buf_hold_noread_by_dnode(dnode_t *dn, uint64_t offset, in dmu_buf_hold_noread_by_dnode()
199 dnode_t *dn; in dmu_buf_hold_noread()
223 dmu_buf_hold_by_dnode(dnode_t *dn, uint64_t offset, in dmu_buf_hold_by_dnode()
282 dnode_t *dn; in dmu_set_bonus()
306 dnode_t *dn; in dmu_set_bonustype()
342 dnode_t *dn; in dmu_rm_spill()
359 int dmu_bonus_hold_by_dnode(dnode_t *dn, const void *tag, dmu_buf_t **dbp, in dmu_bonus_hold_by_dnode()
410 dnode_t *dn; in dmu_bonus_hold()
433 dmu_spill_hold_by_dnode(dnode_t *dn, uint32_t flags, const void *tag, in dmu_spill_hold_by_dnode()
465 dnode_t *dn; in dmu_spill_hold_existing()
[all …]
H A Ddmu_tx.c113 dmu_tx_hold_dnode_impl(dmu_tx_t *tx, dnode_t *dn, enum dmu_tx_hold_type type, in dmu_tx_hold_dnode_impl()
151 dnode_t *dn = NULL; in dmu_tx_hold_object_impl()
169 dmu_tx_add_new_object(dmu_tx_t *tx, dnode_t *dn) in dmu_tx_add_new_object()
208 dmu_tx_check_ioerr(zio_t *zio, dnode_t *dn, int level, uint64_t blkid) in dmu_tx_check_ioerr()
233 dnode_t *dn = txh->txh_dnode; in dmu_tx_count_write()
303 dnode_t *dn = txh->txh_dnode; in dmu_tx_count_append()
372 dmu_tx_hold_write_by_dnode(dmu_tx_t *tx, dnode_t *dn, uint64_t off, int len) in dmu_tx_hold_write_by_dnode()
409 dmu_tx_hold_append_by_dnode(dmu_tx_t *tx, dnode_t *dn, uint64_t off, int len) in dmu_tx_hold_append_by_dnode()
441 dnode_t *dn = txh->txh_dnode; in dmu_tx_count_free()
537 dmu_tx_hold_free_by_dnode(dmu_tx_t *tx, dnode_t *dn, uint64_t off, uint64_t len) in dmu_tx_hold_free_by_dnode()
[all …]
H A Ddnode_sync.c42 dnode_increase_indirection(dnode_t *dn, dmu_tx_t *tx) in dnode_increase_indirection()
134 free_blocks(dnode_t *dn, blkptr_t *bp, int num, dmu_tx_t *tx) in free_blocks()
182 dnode_t *dn; in free_verify()
276 dnode_t *dn; in free_children()
371 dnode_sync_free_range_impl(dnode_t *dn, uint64_t blkid, uint64_t nblks, in dnode_sync_free_range_impl()
443 dnode_t *dsfra_dnode;
452 dnode_t *dn = dsfra->dsfra_dnode; in dnode_sync_free_range()
464 dnode_evict_dbufs(dnode_t *dn) in dnode_evict_dbufs()
527 dnode_evict_bonus(dnode_t *dn) in dnode_evict_bonus()
575 dnode_sync_free(dnode_t *dn, dmu_tx_t *tx) in dnode_sync_free()
[all …]
H A Ddbuf.c373 dnode_t *dn; in dbuf_find_bonus()
666 dnode_level_is_l2cacheable(blkptr_t *bp, dnode_t *dn, int64_t level) in dnode_level_is_l2cacheable()
1096 dnode_t *dn; in dbuf_verify()
1308 dbuf_whichblock(const dnode_t *dn, const int64_t level, const uint64_t offset) in dbuf_whichblock()
1437 dbuf_read_bonus(dmu_buf_impl_t *db, dnode_t *dn) in dbuf_read_bonus()
1458 dbuf_handle_indirect_hole(dmu_buf_impl_t *db, dnode_t *dn, blkptr_t *dbbp) in dbuf_handle_indirect_hole()
1482 dbuf_read_hole(dmu_buf_impl_t *db, dnode_t *dn, blkptr_t *bp) in dbuf_read_hole()
1524 dbuf_read_verify_dnode_crypt(dmu_buf_impl_t *db, dnode_t *dn, uint32_t flags) in dbuf_read_verify_dnode_crypt()
1586 dbuf_read_impl(dmu_buf_impl_t *db, dnode_t *dn, zio_t *zio, uint32_t flags, in dbuf_read_impl()
1711 dnode_t *dn = DB_DNODE(db); in dbuf_fix_old_data()
[all …]
H A Dzap_micro.c621 zap_lockdir_impl(dnode_t *dn, dmu_buf_t *db, const void *tag, dmu_tx_t *tx, in zap_lockdir_impl()
722 zap_lockdir_by_dnode(dnode_t *dn, dmu_tx_t *tx, in zap_lockdir_by_dnode()
745 dnode_t *dn; in zap_lockdir()
839 mzap_create_impl(dnode_t *dn, int normflags, zap_flags_t flags, dmu_tx_t *tx) in mzap_create_impl()
869 dnode_t **allocated_dnode, const void *tag, dmu_tx_t *tx) in zap_create_impl()
876 dnode_t *dn; in zap_create_impl()
922 dnode_t *dn; in zap_create_claim_norm_dnsize()
1001 dnode_t **allocated_dnode, const void *tag, dmu_tx_t *tx) in zap_create_hold()
1216 zap_lookup_by_dnode(dnode_t *dn, const char *name, in zap_lookup_by_dnode()
1224 zap_lookup_norm_by_dnode(dnode_t *dn, const char *name, in zap_lookup_norm_by_dnode()
[all …]
H A Ddmu_direct.c209 dmu_write_abd(dnode_t *dn, uint64_t offset, uint64_t size, in dmu_write_abd()
248 dmu_read_abd(dnode_t *dn, uint64_t offset, uint64_t size, in dmu_read_abd()
353 dmu_read_uio_direct(dnode_t *dn, zfs_uio_t *uio, uint64_t size) in dmu_read_uio_direct()
374 dmu_write_uio_direct(dnode_t *dn, zfs_uio_t *uio, uint64_t size, dmu_tx_t *tx) in dmu_write_uio_direct()
H A Ddmu_objset.c420 dnode_t *dn = obj; in dnode_multilist_index_func()
670 multilist_create(&os->os_dirty_dnodes[i], sizeof (dnode_t), in dmu_objset_open_impl()
671 offsetof(dnode_t, dn_dirty_link[i]), in dmu_objset_open_impl()
674 list_create(&os->os_dnodes, sizeof (dnode_t), in dmu_objset_open_impl()
675 offsetof(dnode_t, dn_link)); in dmu_objset_open_impl()
950 dnode_t *dn_marker; in dmu_objset_evict_dbufs()
951 dnode_t *dn; in dmu_objset_evict_dbufs()
953 dn_marker = kmem_alloc(sizeof (dnode_t), KM_SLEEP); in dmu_objset_evict_dbufs()
979 kmem_free(dn_marker, sizeof (dnode_t)); in dmu_objset_evict_dbufs()
1081 dnode_t *mdn; in dmu_objset_create_impl_dnstats()
[all …]
H A Ddbuf_stats.c69 dnode_t *dn = DB_DNODE(db); in __dbuf_stats_hash_table_data()
H A Ddmu_redact.c859 uint64_t *object, dnode_t **dn) in hold_next_object()
904 dnode_t *dn = NULL; in perform_redaction()
H A Dspa_errlog.c242 dnode_t *dn; in find_birth_txg()
873 dnode_t *dn; in sync_upgrade_errlog()
H A Dzio_inject.c835 dnode_t *dn = NULL; in zio_inject_fault()
/freebsd/sys/contrib/openzfs/include/os/linux/zfs/sys/
H A Dtrace_dnode.h47 TP_PROTO(dnode_t *dn, int64_t refcount, uint32_t dbufs),
110 TP_PROTO(dnode_t *dn, int64_t refcount, uint32_t dbufs), \

12