Searched refs:dnode (Results 1 - 25 of 40) sorted by relevance

12

/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/uts/common/fs/zfs/sys/
H A Ddmu_zfetch.h37 struct dnode; /* so we can reference dnode */
59 struct dnode *zf_dnode; /* dnode that owns this zfetch */
67 void dmu_zfetch_init(zfetch_t *, struct dnode *);
H A Ddbuf.h78 struct dnode;
154 * the dnode we belong to (NULL when evicted)
156 struct dnode *db_dnode;
159 * our parent buffer; if the dnode points to us directly,
241 uint64_t dbuf_whichblock(struct dnode *di, uint64_t offset);
243 dmu_buf_impl_t *dbuf_create_tlib(struct dnode *dn, char *data);
244 void dbuf_create_bonus(struct dnode *dn);
246 dmu_buf_impl_t *dbuf_hold(struct dnode *dn, uint64_t blkid, void *tag);
247 dmu_buf_impl_t *dbuf_hold_level(struct dnode *dn, int level, uint64_t blkid,
249 int dbuf_hold_impl(struct dnode *d
[all...]
H A Ddmu_impl.h31 #include <sys/dnode.h>
75 * protects structure of dnode (eg. nlevels)
H A Ddmu_tx.h42 struct dnode;
86 struct dnode *txh_dnode;
H A Ddmu_objset.h33 #include <sys/dnode.h>
H A Ddsl_pool.h34 #include <sys/dnode.h>
H A Ddmu.h58 struct dnode;
232 * available is (0, DN_MAX_OBJECT). Object 0 is the meta-dnode.
299 * Set the checksum property on a dnode. The new checksum algorithm will
306 * Set the compress property on a dnode. The new compression algorithm will
318 void dmu_write_policy(objset_t *os, struct dnode *dn, int level, int wp,
529 uint8_t doi_indirection; /* 2 = dnode->indirect->data */
556 void dmu_object_info_from_dnode(struct dnode *dn, dmu_object_info_t *doi);
H A Ddnode.h61 #define DNODE_CORE_SIZE 64 /* 64 bytes for dnode sans blkptrs */
63 #define DN_MAX_OFFSET_SHIFT 64 /* 2^64 bytes in a dnode */
128 typedef struct dnode { struct
130 * dn_struct_rwlock protects the structure of the dnode,
147 * context (eg. even before the dnode is first synced).
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/libdm/
H A Dlibdm-deptree.c514 static int _node_clear_table(struct dm_tree_node *dnode) argument
521 if (!(info = &dnode->info)) {
526 if (!(name = dm_tree_node_get_name(dnode))) {
571 struct dm_tree_node *dnode; local
577 if (!(dnode = dm_tree_find_node_by_uuid(dtree, uuid))) {
594 if (!(dnode = _create_dm_tree_node(dtree, name2, uuid2, &info,
599 if (!_add_to_toplevel(dnode) || !_add_to_bottomlevel(dnode))
602 dnode->props.major = major;
603 dnode
647 dm_tree_node_set_read_ahead(struct dm_tree_node *dnode, uint32_t read_ahead, uint32_t read_ahead_flags) argument
680 dm_tree_node_size_changed(struct dm_tree_node *dnode) argument
1007 dm_tree_deactivate_children(struct dm_tree_node *dnode, const char *uuid_prefix, size_t uuid_prefix_len) argument
1058 dm_tree_skip_lockfs(struct dm_tree_node *dnode) argument
1063 dm_tree_use_no_flush_suspend(struct dm_tree_node *dnode) argument
1068 dm_tree_suspend_children(struct dm_tree_node *dnode, const char *uuid_prefix, size_t uuid_prefix_len) argument
1141 dm_tree_activate_children(struct dm_tree_node *dnode, const char *uuid_prefix, size_t uuid_prefix_len) argument
1222 _create_node(struct dm_tree_node *dnode) argument
1547 _load_node(struct dm_tree_node *dnode) argument
1606 dm_tree_preload_children(struct dm_tree_node *dnode, const char *uuid_prefix, size_t uuid_prefix_len) argument
1675 dm_tree_children_use_uuid(struct dm_tree_node *dnode, const char *uuid_prefix, size_t uuid_prefix_len) argument
1702 _add_segment(struct dm_tree_node *dnode, unsigned type, uint64_t size) argument
1727 dm_tree_node_add_snapshot_origin_target(struct dm_tree_node *dnode, uint64_t size, const char *origin_uuid) argument
[all...]
H A Dlibdevmapper.h320 int dm_tree_node_size_changed(struct dm_tree_node *dnode);
332 int dm_tree_deactivate_children(struct dm_tree_node *dnode,
339 int dm_tree_preload_children(struct dm_tree_node *dnode,
347 int dm_tree_activate_children(struct dm_tree_node *dnode,
355 int dm_tree_suspend_children(struct dm_tree_node *dnode,
364 void dm_tree_skip_lockfs(struct dm_tree_node *dnode);
374 void dm_tree_use_no_flush_suspend(struct dm_tree_node *dnode);
381 int dm_tree_children_use_uuid(struct dm_tree_node *dnode,
388 int dm_tree_node_add_snapshot_origin_target(struct dm_tree_node *dnode,
444 void dm_tree_node_set_read_ahead(struct dm_tree_node *dnode,
[all...]
/netbsd-6-1-5-RELEASE/sys/ufs/chfs/
H A Dchfs_write.c276 struct chfs_flash_data_node *dnode; local
285 dnode = chfs_alloc_flash_dnode();
286 if (!dnode)
297 size = sizeof(*dnode) + len;
299 dnode->magic = htole16(CHFS_FS_MAGIC_BITMASK);
300 dnode->type = htole16(CHFS_NODETYPE_DATA);
301 dnode->length = htole32(CHFS_PAD(size));
302 dnode->hdr_crc = htole32(crc32(0, (uint8_t *)dnode,
304 dnode
[all...]
H A Dchfs_readinode.c678 if (vc->dnode == this->node->nref) {
679 vc->dnode = this->node->nref->nref_next;
681 struct chfs_node_ref *tmp = vc->dnode;
759 struct chfs_flash_data_node *dnode; local
766 dnode = kmem_alloc(len, KM_SLEEP);
767 if (!dnode)
770 nref = chfs_first_valid_data_ref(ip->chvc->dnode);
778 dnode = (struct chfs_flash_data_node*)buf;
781 crc = crc32(0, (uint8_t *)dnode, CHFS_NODE_HDR_SIZE - 4);
782 if (crc != le32toh(dnode
1067 struct chfs_flash_data_node *dnode; local
[all...]
H A Dchfs_scan.c489 struct chfs_flash_data_node *dnode = buf; local
491 crc = crc32(0, (uint8_t *)dnode, sizeof(struct chfs_flash_data_node) - 4);
492 if (crc != le32toh(dnode->node_crc)) {
493 err = chfs_update_eb_dirty(chmp, cheb, le32toh(dnode->length));
510 vno = le64toh(dnode->vno);
519 chfs_add_node_to_list(chmp, vc, nref, &vc->dnode);
521 dbg("chmpfree: %u, chebfree: %u, dnode: %u\n", chmp->chm_free_size, cheb->free_size, dnode->length);
524 chfs_change_size_free(chmp, cheb, -dnode->length);
525 chfs_change_size_unchecked(chmp, cheb, dnode
[all...]
H A Dchfs_gc.c331 (struct chfs_vnode_cache *)chvc->dnode == chvc)
854 dbg_gc("find full dnode\n");
867 /* It's a pristine node, or dnode (or hole? XXX have we hole nodes?) */
1216 //TODO should we remove fd from dnode list?
1218 prev = ip->chvc->dnode;
1220 ip->chvc->dnode = prev->nref_next;
1233 ip->chvc, newfn->nref, &ip->chvc->dnode);
H A Dchfs_malloc.c158 vc->dnode = (void *)vc;
H A Dchfs_build.c125 nref = vc->dnode;
130 dbg("mark dnode\n");
/netbsd-6-1-5-RELEASE/sys/fs/tmpfs/
H A Dtmpfs_subr.c345 tmpfs_node_t *dnode = VP_TO_TMPFS_DIR(dvp), *node; local
355 if (dnode->tn_links == LINK_MAX) {
359 KASSERT(dnode->tn_links < LINK_MAX);
364 dnode->tn_gid, vap->va_mode, target, vap->va_rdev, &node);
386 wde = tmpfs_dir_lookup(dnode, cnp);
453 tmpfs_node_t *dnode = VP_TO_TMPFS_DIR(dvp); local
469 TAILQ_INSERT_TAIL(&dnode->tn_spec.tn_dir.tn_dir, de, td_entries);
470 dnode->tn_size += sizeof(tmpfs_dirent_t);
471 dnode->tn_status |= TMPFS_NODE_STATUSALL;
472 uvm_vnp_setsize(dvp, dnode
500 tmpfs_node_t *dnode = VP_TO_TMPFS_DIR(dvp); local
[all...]
H A Dtmpfs_vnops.c134 tmpfs_node_t *dnode, *tnode; local
140 dnode = VP_TO_TMPFS_DIR(dvp);
179 KASSERT(dnode->tn_type == VDIR);
180 pnode = dnode->tn_spec.tn_dir.tn_parent;
218 de = tmpfs_dir_lookup(dnode, cnp);
259 if ((dnode->tn_mode & S_ISTXT) != 0 &&
260 kauth_cred_geteuid(cnp->cn_cred) != dnode->tn_uid &&
694 tmpfs_node_t *dnode = VP_TO_TMPFS_DIR(dvp); local
696 de = tmpfs_dir_lookup(dnode, cnp);
737 tmpfs_node_t *dnode, *nod local
1227 tmpfs_rename_enter_common(struct mount *mount, struct tmpfs_mount *tmpfs, kauth_cred_t cred, struct vnode *dvp, struct tmpfs_node *dnode, struct componentname *fcnp, struct tmpfs_dirent **fde_ret, struct vnode **fvp_ret, struct componentname *tcnp, struct tmpfs_dirent **tde_ret, struct vnode **tvp_ret) argument
1808 tmpfs_do_remove(struct tmpfs_mount *tmpfs, struct vnode *dvp, struct tmpfs_node *dnode, struct tmpfs_dirent *de, struct vnode *vp, kauth_cred_t cred) argument
1968 tmpfs_remove_check_possible(struct tmpfs_node *dnode, struct tmpfs_node *node) argument
1999 tmpfs_remove_check_permitted(kauth_cred_t cred, struct tmpfs_node *dnode, struct tmpfs_node *node) argument
2034 tmpfs_check_sticky(kauth_cred_t cred, struct tmpfs_node *dnode, struct tmpfs_node *node) argument
2086 tmpfs_node_t *dnode = VP_TO_TMPFS_DIR(dvp); local
[all...]
/netbsd-6-1-5-RELEASE/external/gpl2/xcvs/dist/src/
H A Dfind_names.c130 Node *dnode; local
135 dnode = getnode ();
136 dnode->type = DIRS;
137 dnode->key = xstrdup (entnode->user);
138 if (addnode (dirlist, dnode) != 0)
139 freenode (dnode);
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/include/
H A Dlibdevmapper.h320 int dm_tree_node_size_changed(struct dm_tree_node *dnode);
332 int dm_tree_deactivate_children(struct dm_tree_node *dnode,
339 int dm_tree_preload_children(struct dm_tree_node *dnode,
347 int dm_tree_activate_children(struct dm_tree_node *dnode,
355 int dm_tree_suspend_children(struct dm_tree_node *dnode,
364 void dm_tree_skip_lockfs(struct dm_tree_node *dnode);
374 void dm_tree_use_no_flush_suspend(struct dm_tree_node *dnode);
381 int dm_tree_children_use_uuid(struct dm_tree_node *dnode,
388 int dm_tree_node_add_snapshot_origin_target(struct dm_tree_node *dnode,
444 void dm_tree_node_set_read_ahead(struct dm_tree_node *dnode,
[all...]
/netbsd-6-1-5-RELEASE/sys/kern/
H A Dkern_sysctl.c1672 struct sysctlnode dnode; local
1701 error = sysctl_cvt_in(l, &v, newp, newlen, &dnode);
1704 if (dnode.sysctl_desc != NULL) {
1729 if (node[i].sysctl_num == dnode.sysctl_num)
1740 if (dnode.sysctl_ver != 0 &&
1741 dnode.sysctl_ver != node->sysctl_ver) {
1783 dnode.sysctl_flags & CTLFLAG_OWNDESC) {
1792 error = sysctl_copyinstr(l, dnode.sysctl_desc,
1806 dnode.sysctl_flags |= CTLFLAG_OWNDESC;
1807 dnode
1931 struct sysctlnode nnode, onode, *dnode; local
2160 struct sysctlnode dnode, *onode; local
[all...]
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/lib/activate/
H A Ddev_manager.c867 struct dm_tree_node *dnode,
875 if (!dm_tree_node_add_snapshot_origin_target(dnode, lv->size, real_dlid))
882 struct dm_tree_node *dnode,
903 if (!dm_tree_node_add_snapshot_target(dnode, size, origin_dlid, cow_dlid, 1, snap_seg->chunk_size))
910 struct dm_tree_node *dnode,
923 dnode,
933 struct dm_tree_node *dnode,
982 if (!_add_origin_target_to_dtree(dm, dnode, seg->lv))
985 if (!_add_snapshot_target_to_dtree(dm, dnode, seg->lv))
987 } else if (!_add_target_to_dtree(dm, dnode, se
866 _add_origin_target_to_dtree(struct dev_manager *dm, struct dm_tree_node *dnode, struct logical_volume *lv) argument
881 _add_snapshot_target_to_dtree(struct dev_manager *dm, struct dm_tree_node *dnode, struct logical_volume *lv) argument
909 _add_target_to_dtree(struct dev_manager *dm, struct dm_tree_node *dnode, struct lv_segment *seg) argument
931 _add_segment_to_dtree(struct dev_manager *dm, struct dm_tree *dtree, struct dm_tree_node *dnode, struct lv_segment *seg, const char *layer) argument
1004 struct dm_tree_node *dnode; local
[all...]
/netbsd-6-1-5-RELEASE/sys/netatalk/
H A Dddp_output.c136 uint8_t dnode = dst->sat_addr.s_node; local
145 dnode == aa->aa_addr.sat_addr.s_node) {
151 dnode == 255) {
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Ddmu_object.c29 #include <sys/dnode.h>
135 * contents before we can change this type of metadata in the dnode.
/netbsd-6-1-5-RELEASE/sys/modules/zfs/
H A DMakefile.zfsmod37 SRCS+= dnode.c

Completed in 286 milliseconds

12