Home
last modified time | relevance | path

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

12

/freebsd/sys/contrib/openzfs/include/sys/
H A Ddnode.h402 dnode_t *dnh_dnode;
421 void dnode_setbonuslen(dnode_t *dn, int newsize, dmu_tx_t *tx);
422 void dnode_setbonus_type(dnode_t *dn, dmu_object_type_t, dmu_tx_t *tx);
423 void dnode_rm_spill(dnode_t *dn, dmu_tx_t *tx);
426 const void *ref, dnode_t **dnp);
428 const void *ref, dnode_t **dnp);
429 boolean_t dnode_add_ref(dnode_t *dn, const void *ref);
430 void dnode_rele(dnode_t *dn, const void *ref);
431 void dnode_rele_and_unlock(dnode_t *dn, const void *tag, boolean_t evicting);
433 boolean_t dnode_is_dirty(dnode_t *dn);
[all …]
H A Dzap.h143 dnode_t **allocated_dnode, const void *tag, dmu_tx_t *tx);
153 void mzap_create_impl(dnode_t *dn, int normflags, zap_flags_t flags,
227 int zap_lookup_uint64_by_dnode(dnode_t *dn, const uint64_t *key,
229 int zap_lookup_length_uint64_by_dnode(dnode_t *dn, const uint64_t *key,
237 int zap_prefetch_uint64_by_dnode(dnode_t *dn, const uint64_t *key,
240 int zap_lookup_by_dnode(dnode_t *dn, const char *name,
242 int zap_lookup_norm_by_dnode(dnode_t *dn, const char *name,
256 int zap_add_by_dnode(dnode_t *dn, const char *key,
262 int zap_add_uint64_by_dnode(dnode_t *dn, const uint64_t *key,
279 int zap_update_uint64_by_dnode(dnode_t *dn, const uint64_t *key,
[all …]
H A Dddt_impl.h150 dnode_t *dlu_dn; /* log object dnode */
166 int (*ddt_op_lookup)(dnode_t *dn, const ddt_key_t *ddk,
168 int (*ddt_op_contains)(dnode_t *dn, const ddt_key_t *ddk);
169 void (*ddt_op_prefetch)(dnode_t *dn, const ddt_key_t *ddk);
170 void (*ddt_op_prefetch_all)(dnode_t *dn);
171 int (*ddt_op_update)(dnode_t *dn, const ddt_key_t *ddk,
173 int (*ddt_op_remove)(dnode_t *dn, const ddt_key_t *ddk,
175 int (*ddt_op_walk)(dnode_t *dn, uint64_t *walk, ddt_key_t *ddk,
177 int (*ddt_op_count)(dnode_t *dn, uint64_t *count);
H A Ddmu_impl.h271 int dmu_read_abd(dnode_t *, uint64_t, uint64_t, abd_t *, dmu_flags_t);
272 int dmu_write_abd(dnode_t *, uint64_t, uint64_t, abd_t *, dmu_flags_t,
275 int dmu_read_uio_direct(dnode_t *, zfs_uio_t *, uint64_t, dmu_flags_t);
276 int dmu_write_uio_direct(dnode_t *, zfs_uio_t *, uint64_t, dmu_flags_t,
H A Ddmu.h84 typedef struct dnode dnode_t; typedef
446 int bonuslen, int dnodesize, dnode_t **allocated_dnode, const void *tag,
555 void dmu_write_policy(objset_t *os, dnode_t *dn, int level, int wp,
592 int dmu_bonus_hold_by_dnode(dnode_t *dn, const void *tag, dmu_buf_t **dbp,
606 int dmu_spill_hold_by_dnode(dnode_t *dn, dmu_flags_t flags,
631 int dmu_buf_hold_by_dnode(dnode_t *dn, uint64_t offset,
633 int dmu_buf_hold_array_by_dnode(dnode_t *dn, uint64_t offset,
636 int dmu_buf_hold_noread_by_dnode(dnode_t *dn, uint64_t offset, const void *tag,
856 void dmu_tx_hold_write_by_dnode(dmu_tx_t *tx, dnode_t *dn, uint64_t off,
859 void dmu_tx_hold_append_by_dnode(dmu_tx_t *tx, dnode_t *dn, uint64_t off,
[all …]
H A Ddbuf.h133 dnode_t *dr_dnode;
389 dbuf_dirty_record_t *dbuf_dirty_lightweight(dnode_t *dn, uint64_t blkid,
398 int dmu_lightweight_write_by_dnode(dnode_t *dn, uint64_t offset, abd_t *abd,
420 int dbuf_dnode_findbp(dnode_t *dn, uint64_t level, uint64_t blkid,
H A Dbrt_impl.h116 dnode_t *bv_mos_entries_dnode;
H A Ddmu_tx.h168 void dmu_tx_add_new_object(dmu_tx_t *tx, dnode_t *dn);
H A Dzvol_impl.h50 dnode_t *zv_dn; /* dnode hold */
H A Dzap_impl.h149 dnode_t *zap_dnode;
H A Ddmu_objset.h252 void dmu_objset_userquota_get_ids(dnode_t *dn, boolean_t before, dmu_tx_t *tx);
H A Dddt.h329 dnode_t *ddt_object_dnode[DDT_TYPES][DDT_CLASSES];
/freebsd/sys/contrib/openzfs/module/zfs/
H A Dddt_zap.c125 ddt_zap_lookup(dnode_t *dn, const ddt_key_t *ddk, void *phys, size_t psize) in ddt_zap_lookup()
146 ddt_zap_contains(dnode_t *dn, const ddt_key_t *ddk) in ddt_zap_contains()
153 ddt_zap_prefetch(dnode_t *dn, const ddt_key_t *ddk) in ddt_zap_prefetch()
160 ddt_zap_prefetch_all(dnode_t *dn) in ddt_zap_prefetch_all()
166 ddt_zap_update(dnode_t *dn, const ddt_key_t *ddk, in ddt_zap_update()
184 ddt_zap_remove(dnode_t *dn, const ddt_key_t *ddk, dmu_tx_t *tx) in ddt_zap_remove()
191 ddt_zap_walk(dnode_t *dn, uint64_t *walk, ddt_key_t *ddk, in ddt_zap_walk()
239 ddt_zap_count(dnode_t *dn, uint64_t *count) in ddt_zap_count()
H A Ddnode.c90 rt_name(dnode_t *dn, const char *name) in rt_name()
139 dnode_t *dn = arg; in dnode_cons()
202 dnode_t *dn = arg; in dnode_dest()
318 dnode_cache = kmem_cache_create("dnode_t", sizeof (dnode_t), in dnode_init()
405 dnode_verify(dnode_t *dn) in dnode_verify()
521 dnode_setbonuslen(dnode_t *dn, int newsize, dmu_tx_t *tx) in dnode_setbonuslen()
546 dnode_setbonus_type(dnode_t *dn, dmu_object_type_t newtype, dmu_tx_t *tx) in dnode_setbonus_type()
557 dnode_set_storage_type(dnode_t *dn, dmu_object_type_t newtype) in dnode_set_storage_type()
568 dnode_rm_spill(dnode_t *dn, dmu_tx_t *tx) in dnode_rm_spill()
578 dnode_setdblksz(dnode_t *dn, int size) in dnode_setdblksz()
[all …]
H A Ddmu_object.c50 int dnodesize, dnode_t **allocated_dnode, const void *tag, dmu_tx_t *tx) in dmu_object_alloc_impl()
55 dnode_t *dn = NULL; in dmu_object_alloc_impl()
259 int dnodesize, dnode_t **allocated_dnode, const void *tag, dmu_tx_t *tx) in dmu_object_alloc_hold()
278 dnode_t *dn; in dmu_object_claim_dnsize()
316 dnode_t *dn; in dmu_object_reclaim_dnsize()
341 dnode_t *dn; in dmu_object_rm_spill()
363 dnode_t *dn; in dmu_object_free()
462 dnode_t *dn; in dmu_object_zapify()
493 dnode_t *dn; in dmu_object_free_zapified()
H A Ddmu.c176 dmu_buf_hold_noread_by_dnode(dnode_t *dn, uint64_t offset, in dmu_buf_hold_noread_by_dnode()
200 dnode_t *dn; in dmu_buf_hold_noread()
224 dmu_buf_hold_by_dnode(dnode_t *dn, uint64_t offset, in dmu_buf_hold_by_dnode()
271 dnode_t *dn; in dmu_set_bonus()
295 dnode_t *dn; in dmu_set_bonustype()
331 dnode_t *dn; in dmu_rm_spill()
348 int dmu_bonus_hold_by_dnode(dnode_t *dn, const void *tag, dmu_buf_t **dbp, in dmu_bonus_hold_by_dnode()
393 dnode_t *dn; in dmu_bonus_hold()
416 dmu_spill_hold_by_dnode(dnode_t *dn, dmu_flags_t flags, const void *tag, in dmu_spill_hold_by_dnode()
448 dnode_t *dn; in dmu_spill_hold_existing()
[all …]
H A Ddmu_tx.c115 dmu_tx_hold_dnode_impl(dmu_tx_t *tx, dnode_t *dn, enum dmu_tx_hold_type type, in dmu_tx_hold_dnode_impl()
153 dnode_t *dn = NULL; in dmu_tx_hold_object_impl()
171 dmu_tx_add_new_object(dmu_tx_t *tx, dnode_t *dn) in dmu_tx_add_new_object()
210 dmu_tx_check_ioerr(zio_t *zio, dnode_t *dn, int level, uint64_t blkid) in dmu_tx_check_ioerr()
235 dnode_t *dn = txh->txh_dnode; in dmu_tx_count_write()
305 dnode_t *dn = txh->txh_dnode; in dmu_tx_count_append()
374 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()
411 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()
443 dnode_t *dn = txh->txh_dnode; in dmu_tx_count_free()
539 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.c43 dnode_increase_indirection(dnode_t *dn, dmu_tx_t *tx) in dnode_increase_indirection()
135 free_blocks(dnode_t *dn, blkptr_t *bp, int num, dmu_tx_t *tx) in free_blocks()
183 dnode_t *dn; in free_verify()
277 dnode_t *dn; in free_children()
372 dnode_sync_free_range_impl(dnode_t *dn, uint64_t blkid, uint64_t nblks, in dnode_sync_free_range_impl()
444 dnode_t *dsfra_dnode;
453 dnode_t *dn = dsfra->dsfra_dnode; in dnode_sync_free_range()
465 dnode_evict_dbufs(dnode_t *dn) in dnode_evict_dbufs()
529 dnode_evict_bonus(dnode_t *dn) in dnode_evict_bonus()
577 dnode_sync_free(dnode_t *dn, dmu_tx_t *tx) in dnode_sync_free()
[all …]
H A Dzap_micro.c622 zap_lockdir_impl(dnode_t *dn, dmu_buf_t *db, const void *tag, dmu_tx_t *tx, in zap_lockdir_impl()
721 zap_lockdir_by_dnode(dnode_t *dn, dmu_tx_t *tx, in zap_lockdir_by_dnode()
744 dnode_t *dn; in zap_lockdir()
838 mzap_create_impl(dnode_t *dn, int normflags, zap_flags_t flags, dmu_tx_t *tx) in mzap_create_impl()
868 dnode_t **allocated_dnode, const void *tag, dmu_tx_t *tx) in zap_create_impl()
875 dnode_t *dn; in zap_create_impl()
921 dnode_t *dn; in zap_create_claim_norm_dnsize()
1000 dnode_t **allocated_dnode, const void *tag, dmu_tx_t *tx) in zap_create_hold()
1053 zap_count_by_dnode(dnode_t *dn, uint64_t *count) in zap_count_by_dnode()
1233 zap_lookup_by_dnode(dnode_t *dn, const char *name, in zap_lookup_by_dnode()
[all …]
H A Ddbuf.c374 dnode_t *dn; in dbuf_find_bonus()
449 dnode_t *dn = DB_DNODE(db); in dbuf_include_in_metadata_cache()
670 dnode_level_is_l2cacheable(blkptr_t *bp, dnode_t *dn, int64_t level) in dnode_level_is_l2cacheable()
1121 dnode_t *dn; in dbuf_verify()
1297 dbuf_whichblock(const dnode_t *dn, const int64_t level, const uint64_t offset) in dbuf_whichblock()
1426 dbuf_read_bonus(dmu_buf_impl_t *db, dnode_t *dn) in dbuf_read_bonus()
1449 dbuf_handle_indirect_hole(void *data, dnode_t *dn, blkptr_t *dbbp) in dbuf_handle_indirect_hole()
1473 dbuf_read_hole(dmu_buf_impl_t *db, dnode_t *dn, blkptr_t *bp) in dbuf_read_hole()
1517 dbuf_read_verify_dnode_crypt(dmu_buf_impl_t *db, dnode_t *dn, in dbuf_read_verify_dnode_crypt()
1580 dbuf_read_impl(dmu_buf_impl_t *db, dnode_t *dn, zio_t *zio, dmu_flags_t flags, in dbuf_read_impl()
[all …]
H A Ddmu_direct.c210 dmu_write_abd(dnode_t *dn, uint64_t offset, uint64_t size, in dmu_write_abd()
249 dmu_read_abd(dnode_t *dn, uint64_t offset, uint64_t size, in dmu_read_abd()
354 dmu_read_uio_direct(dnode_t *dn, zfs_uio_t *uio, uint64_t size, in dmu_read_uio_direct()
376 dmu_write_uio_direct(dnode_t *dn, zfs_uio_t *uio, uint64_t size, in dmu_write_uio_direct()
H A Ddmu_objset.c417 dnode_t *dn = obj; in dnode_multilist_index_func()
667 multilist_create(&os->os_dirty_dnodes[i], sizeof (dnode_t), in dmu_objset_open_impl()
668 offsetof(dnode_t, dn_dirty_link[i]), in dmu_objset_open_impl()
671 list_create(&os->os_dnodes, sizeof (dnode_t), in dmu_objset_open_impl()
672 offsetof(dnode_t, dn_link)); in dmu_objset_open_impl()
947 dnode_t *dn_marker; in dmu_objset_evict_dbufs()
948 dnode_t *dn; in dmu_objset_evict_dbufs()
950 dn_marker = kmem_alloc(sizeof (dnode_t), KM_SLEEP); in dmu_objset_evict_dbufs()
976 kmem_free(dn_marker, sizeof (dnode_t)); in dmu_objset_evict_dbufs()
1078 dnode_t *mdn; in dmu_objset_create_impl_dnstats()
[all …]
H A Ddbuf_stats.c70 dnode_t *dn = DB_DNODE(db); in __dbuf_stats_hash_table_data()
H A Dddt.c548 dnode_t *dn = ddt->ddt_object_dnode[type][class]; in ddt_object_lookup()
560 dnode_t *dn = ddt->ddt_object_dnode[type][class]; in ddt_object_contains()
571 dnode_t *dn = ddt->ddt_object_dnode[type][class]; in ddt_object_prefetch()
581 dnode_t *dn = ddt->ddt_object_dnode[type][class]; in ddt_object_prefetch_all()
592 dnode_t *dn = ddt->ddt_object_dnode[type][class]; in ddt_object_update()
603 dnode_t *dn = ddt->ddt_object_dnode[type][class]; in ddt_object_remove()
613 dnode_t *dn = ddt->ddt_object_dnode[type][class]; in ddt_object_walk()
630 dnode_t *dn = ddt->ddt_object_dnode[type][class]; in ddt_object_count()
/freebsd/sys/contrib/openzfs/include/os/linux/zfs/sys/
H A Dtrace_dnode.h48 TP_PROTO(dnode_t *dn, int64_t refcount, uint32_t dbufs),
111 TP_PROTO(dnode_t *dn, int64_t refcount, uint32_t dbufs), \

12