Home
last modified time | relevance | path

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

/freebsd-12.1/sys/compat/lindebugfs/
H A Dlindebugfs.c180 struct dentry *dnode; in debugfs_create_file() local
187 dnode = &dm->dm_dnode; in debugfs_create_file()
206 return (dnode); in debugfs_create_file()
213 struct dentry *dnode; in debugfs_create_dir() local
219 dnode = &dm->dm_dnode; in debugfs_create_dir()
233 return (dnode); in debugfs_create_dir()
241 struct dentry *dnode; in debugfs_create_symlink() local
251 dnode = &dm->dm_dnode; in debugfs_create_symlink()
264 return (dnode); in debugfs_create_symlink()
275 if (dnode == NULL) in debugfs_remove()
[all …]
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Ddbuf.h93 struct dnode;
281 uint64_t dbuf_whichblock(struct dnode *di, int64_t level, uint64_t offset);
283 dmu_buf_impl_t *dbuf_create_tlib(struct dnode *dn, char *data);
284 void dbuf_create_bonus(struct dnode *dn);
286 void dbuf_spill_hold(struct dnode *dn, dmu_buf_impl_t **dbp, void *tag);
288 void dbuf_rm_spill(struct dnode *dn, dmu_tx_t *tx);
290 dmu_buf_impl_t *dbuf_hold(struct dnode *dn, uint64_t blkid, void *tag);
291 dmu_buf_impl_t *dbuf_hold_level(struct dnode *dn, int level, uint64_t blkid,
293 int dbuf_hold_impl(struct dnode *dn, uint8_t level, uint64_t blkid,
297 void dbuf_prefetch(struct dnode *dn, int64_t level, uint64_t blkid,
[all …]
H A Ddmu_zfetch.h41 struct dnode; /* so we can reference dnode */
61 struct dnode *zf_dnode; /* dnode that owns this zfetch */
67 void dmu_zfetch_init(zfetch_t *, struct dnode *);
H A Ddmu_tx.h44 struct dnode;
98 struct dnode *txh_dnode;
H A Ddmu.h68 struct dnode;
82 typedef struct dnode dnode_t;
858 void __dmu_object_info_from_dnode(struct dnode *dn, dmu_object_info_t *doi);
H A Ddnode.h206 struct dnode { struct
/freebsd-12.1/sys/fs/tmpfs/
H A Dtmpfs_subr.c722 struct tmpfs_node *dnode; in tmpfs_alloc_file() local
730 dnode = VP_TO_TMPFS_DIR(dvp); in tmpfs_alloc_file()
744 parent = dnode; in tmpfs_alloc_file()
937 dupindex = &dnode->tn_dir.tn_dupindex; in tmpfs_dir_attach_dup()
1001 struct tmpfs_node *dnode; in tmpfs_dir_attach() local
1009 dnode = VP_TO_TMPFS_DIR(vp); in tmpfs_dir_attach()
1010 dnode->tn_dir.tn_readdir_lastn = 0; in tmpfs_dir_attach()
1050 struct tmpfs_node *dnode; in tmpfs_dir_detach() local
1055 dnode = VP_TO_TMPFS_DIR(vp); in tmpfs_dir_detach()
1056 head = &dnode->tn_dir.tn_dirhead; in tmpfs_dir_detach()
[all …]
H A Dtmpfs_vnops.c87 struct tmpfs_node *dnode, *pnode; in tmpfs_lookup1() local
91 dnode = VP_TO_TMPFS_DIR(dvp); in tmpfs_lookup1()
101 dnode->tn_dir.tn_parent == dnode, in tmpfs_lookup1()
104 TMPFS_ASSERT_LOCKED(dnode); in tmpfs_lookup1()
561 struct tmpfs_node *dnode; in tmpfs_remove() local
572 dnode = VP_TO_TMPFS_DIR(dvp); in tmpfs_remove()
1088 struct tmpfs_node *dnode; in tmpfs_rmdir() local
1095 dnode = VP_TO_TMPFS_DIR(dvp); in tmpfs_rmdir()
1144 TMPFS_NODE_LOCK(dnode); in tmpfs_rmdir()
1145 dnode->tn_links--; in tmpfs_rmdir()
[all …]
H A Dtmpfs.h459 struct tmpfs_dirent *tmpfs_dir_first(struct tmpfs_node *dnode,
461 struct tmpfs_dirent *tmpfs_dir_next(struct tmpfs_node *dnode,
/freebsd-12.1/stand/libsa/zfs/
H A Dzfsimpl.c1897 int nlevels = dnode->dn_nlevels; in dnode_read()
1917 if (bn > dnode->dn_maxblkid) in dnode_read()
1923 indbp = dnode->dn_blkptr; in dnode_read()
1942 dnode_cache_obj = dnode; in dnode_read()
1977 size = dnode->dn_datablkszsec * 512; in mzap_lookup()
2202 return mzap_lookup(dnode, name, value); in zap_lookup()
2227 size = dnode->dn_datablkszsec * 512; in mzap_list()
2342 return mzap_list(dnode, zfs_printf); in zap_list()
2354 dnode, sizeof(dnode_phys_t)); in objset_get_dnode()
2369 size = dnode->dn_datablkszsec * 512; in mzap_rlookup()
[all …]
/freebsd-12.1/sys/fs/nandfs/
H A Dnandfs_vnops.c1276 struct nandfs_node *dnode = VTON(dvp); in nandfs_dirempty() local
1278 uint64_t file_size = dnode->nn_inode.i_size; in nandfs_dirempty()
1323 KASSERT(dirent->inode == dnode->nn_ino, in nandfs_dirempty()
1432 struct nandfs_node *dnode = VTON(dvp); in nandfs_remove() local
1444 (dnode->nn_inode.i_flags & APPEND)) in nandfs_remove()
1968 struct nandfs_node *node, *dnode; in nandfs_rmdir() local
1973 dnode = VTON(dvp); in nandfs_rmdir()
1977 (dnode->nn_inode.i_flags & APPEND)) in nandfs_rmdir()
1990 dflag = dnode->nn_inode.i_flags; in nandfs_rmdir()
2001 dnode->nn_inode.i_links_count -= 1; in nandfs_rmdir()
[all …]
/freebsd-12.1/stand/i386/zfsboot/
H A Dzfsboot.c165 zfs_read(spa_t *spa, const dnode_phys_t *dnode, off_t *offp, void *start, size_t size) in zfs_read() argument
167 const znode_phys_t *zp = (const znode_phys_t *) dnode->dn_bonus; in zfs_read()
175 rc = dnode_read(spa, dnode, *offp, start, n); in zfs_read()
303 xfsread(const dnode_phys_t *dnode, off_t *offp, void *buf, size_t nbyte) in xfsread() argument
305 if ((size_t)zfs_read(spa, dnode, offp, buf, nbyte) != nbyte) { in xfsread()
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/
H A DMakefile.files85 dnode.o \
/freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Ddmu_tx.c43 typedef void (*dmu_tx_hold_func_t)(dmu_tx_t *tx, struct dnode *dn,
/freebsd-12.1/sys/conf/
H A Dfiles177 cddl/contrib/opensolaris/uts/common/fs/zfs/dnode.c optional zfs compile-with "${ZFS_C}" \