Home
last modified time | relevance | path

Searched refs:dnode (Results 1 – 20 of 20) sorted by relevance

/freebsd-13-stable/sys/compat/lindebugfs/
HDlindebugfs.c185 struct dentry *dnode; in debugfs_create_file() local
192 dnode = &dm->dm_dnode; in debugfs_create_file()
203 dnode->d_pfs_node = pfs_create_file(pnode, name, debugfs_fill, in debugfs_create_file()
205 if (dnode->d_pfs_node == NULL) { in debugfs_create_file()
209 dnode->d_pfs_node->pn_data = dm; in debugfs_create_file()
211 return (dnode); in debugfs_create_file()
266 struct dentry *dnode; in debugfs_create_dir() local
272 dnode = &dm->dm_dnode; in debugfs_create_dir()
280dnode->d_pfs_node = pfs_create_dir(pnode, name, debugfs_attr, NULL, debugfs_destroy, PFS_RD | PFS_… in debugfs_create_dir()
281 if (dnode->d_pfs_node == NULL) { in debugfs_create_dir()
[all …]
/freebsd-13-stable/sys/contrib/openzfs/include/sys/
HDdbuf.h94 struct dnode;
335 uint64_t dbuf_whichblock(const struct dnode *di, const int64_t level,
338 void dbuf_create_bonus(struct dnode *dn);
341 void dbuf_rm_spill(struct dnode *dn, dmu_tx_t *tx);
343 dmu_buf_impl_t *dbuf_hold(struct dnode *dn, uint64_t blkid, void *tag);
344 dmu_buf_impl_t *dbuf_hold_level(struct dnode *dn, int level, uint64_t blkid,
346 int dbuf_hold_impl(struct dnode *dn, uint8_t level, uint64_t blkid,
350 int dbuf_prefetch_impl(struct dnode *dn, int64_t level, uint64_t blkid,
353 int dbuf_prefetch(struct dnode *dn, int64_t level, uint64_t blkid,
392 void dbuf_free_range(struct dnode *dn, uint64_t start, uint64_t end,
HDdmu_zfetch.h41 struct dnode; /* so we can reference dnode */
46 struct dnode *zf_dnode; /* dnode that owns this zfetch */
75 void dmu_zfetch_init(zfetch_t *, struct dnode *);
HDdmu_tx.h45 struct dnode;
100 struct dnode *txh_dnode;
HDMakefile.am30 dnode.h \
HDdmu.h68 struct dnode;
83 typedef struct dnode dnode_t;
927 void __dmu_object_info_from_dnode(struct dnode *dn, dmu_object_info_t *doi);
HDdnode.h283 struct dnode { struct
/freebsd-13-stable/sys/fs/tmpfs/
HDtmpfs_subr.c1166 struct tmpfs_node *dnode; in tmpfs_alloc_file() local
1174 dnode = VP_TO_TMPFS_DIR(dvp); in tmpfs_alloc_file()
1183 MPASS(dnode->tn_links <= TMPFS_LINK_MAX); in tmpfs_alloc_file()
1184 if (dnode->tn_links == TMPFS_LINK_MAX) { in tmpfs_alloc_file()
1188 parent = dnode; in tmpfs_alloc_file()
1195 cnp->cn_cred->cr_uid, dnode->tn_gid, vap->va_mode, parent, in tmpfs_alloc_file()
1226 tmpfs_dir_first(struct tmpfs_node *dnode, struct tmpfs_dir_cursor *dc) in tmpfs_dir_first() argument
1230 de = RB_MIN(tmpfs_dir, &dnode->tn_dir.tn_dirhead); in tmpfs_dir_first()
1240 tmpfs_dir_next(struct tmpfs_node *dnode, struct tmpfs_dir_cursor *dc) in tmpfs_dir_next() argument
1251 &dnode->tn_dir.tn_dirhead, dc->tdc_tree); in tmpfs_dir_next()
[all …]
HDtmpfs_vnops.c92 struct tmpfs_node *dnode, *pnode; in tmpfs_lookup1() local
97 dnode = VP_TO_TMPFS_DIR(dvp); in tmpfs_lookup1()
101 MPASS(IMPLIES(dnode->tn_type == VDIR && in tmpfs_lookup1()
102 dnode->tn_dir.tn_parent == dnode, in tmpfs_lookup1()
105 TMPFS_ASSERT_LOCKED(dnode); in tmpfs_lookup1()
106 if (dnode->tn_dir.tn_parent == NULL) { in tmpfs_lookup1()
112 pnode = dnode->tn_dir.tn_parent; in tmpfs_lookup1()
124 de = tmpfs_dir_lookup(dnode, NULL, cnp); in tmpfs_lookup1()
195 if ((dnode->tn_mode & S_ISTXT) && in tmpfs_lookup1()
743 struct tmpfs_node *dnode; in tmpfs_remove() local
[all …]
HDtmpfs.h479 struct tmpfs_dirent *tmpfs_dir_first(struct tmpfs_node *dnode,
481 struct tmpfs_dirent *tmpfs_dir_next(struct tmpfs_node *dnode,
/freebsd-13-stable/stand/libsa/zfs/
HDzfsimpl.c156 static int zap_lookup(const spa_t *spa, const dnode_phys_t *dnode,
2337 dnode_read(const spa_t *spa, const dnode_phys_t *dnode, off_t offset, in dnode_read() argument
2340 int ibshift = dnode->dn_indblkshift - SPA_BLKPTRSHIFT; in dnode_read()
2341 int bsize = dnode->dn_datablkszsec << SPA_MINBLOCKSHIFT; in dnode_read()
2342 int nlevels = dnode->dn_nlevels; in dnode_read()
2356 if (dnode->dn_maxblkid == 0) { in dnode_read()
2375 if (bn > dnode->dn_maxblkid) in dnode_read()
2378 if (dnode == dnode_cache_obj && bn == dnode_cache_bn) in dnode_read()
2381 indbp = dnode->dn_blkptr; in dnode_read()
2400 dnode_cache_obj = dnode; in dnode_read()
[all …]
/freebsd-13-stable/sys/cddl/contrib/opensolaris/uts/common/
HDMakefile.files85 dnode.o \
/freebsd-13-stable/sys/contrib/openzfs/lib/libzpool/
HDMakefile.am78 dnode.c \
/freebsd-13-stable/cddl/lib/libzpool/
HDMakefile78 dnode.c \
/freebsd-13-stable/sys/contrib/openzfs/module/zfs/
HDMakefile.in40 $(MODULE)-objs += dnode.o
HDdmu_tx.c42 typedef void (*dmu_tx_hold_func_t)(dmu_tx_t *tx, struct dnode *dn,
HDdbuf.c2438 struct dnode *dn = dr->dr_dnode; in dbuf_undirty_bonus()
/freebsd-13-stable/sys/contrib/openzfs/module/
HDMakefile.bsd208 dnode.c \
/freebsd-13-stable/sys/modules/zfs/
HDMakefile179 dnode.c \
/freebsd-13-stable/sys/conf/
HDfiles270 contrib/openzfs/module/zfs/dnode.c optional zfs compile-with "${ZFS_C}" \