/src/sys/netatalk/ |
ddp_output.c | 131 uint8_t dnode = dst->sat_addr.s_node; local in function:ddp_route 139 dnode == aa->aa_addr.sat_addr.s_node) { 145 dnode == 255) {
|
/src/sys/fs/tmpfs/ |
tmpfs_rename.c | 388 tmpfs_node_t *dnode = VP_TO_TMPFS_DIR(dvp); local in function:tmpfs_gro_remove 407 tmpfs_dir_detach(dnode, *dep); 475 struct tmpfs_node *dnode; local in function:tmpfs_gro_genealogy 507 dnode = VP_TO_TMPFS_NODE(vp)->tn_spec.tn_dir.tn_parent; 510 * If dnode is null then vp has been rmdir'd, which is 513 KASSERT(dnode != NULL); 516 if (dnode == VP_TO_TMPFS_NODE(vp)) { 523 if (dnode == VP_TO_TMPFS_NODE(fdvp)) { 524 KASSERT(dnode->tn_vnode == fdvp); 534 error = vcache_get(mp, &dnode, sizeof(dnode), &vp) [all...] |
tmpfs_subr.c | 188 tmpfs_node_t *node, *dnode; local in function:tmpfs_newvnode 192 dnode = VP_TO_TMPFS_DIR(dvp); 193 if (dnode->tn_links == 0) 197 if (dnode->tn_links == LINK_MAX) 199 KASSERT(dnode->tn_links < LINK_MAX); 202 dnode = NULL; 248 KASSERT(dnode != NULL); 250 node->tn_gid = dnode->tn_gid; 372 tmpfs_node_t *dnode = VP_TO_TMPFS_DIR(dvp), *node; local in function:tmpfs_construct_node 426 wde = tmpfs_dir_lookup(dnode, cnp) [all...] |
tmpfs_vnops.c | 139 tmpfs_node_t *dnode, *tnode; local in function:tmpfs_lookup 146 dnode = VP_TO_TMPFS_DIR(dvp); 187 if (dnode->tn_links == 0) { 188 KASSERT(dnode->tn_size == 0); 203 KASSERT(dnode->tn_type == VDIR); 204 pnode = dnode->tn_spec.tn_dir.tn_parent; 229 de = tmpfs_dir_lookup(dnode, cnp); 271 if ((dnode->tn_mode & S_ISTXT) != 0) { 274 dnode->tn_vnode, genfs_can_sticky(dvp, cnp->cn_cred, 275 dnode->tn_uid, tnode->tn_uid)) 696 tmpfs_node_t *dnode, *node; local in function:tmpfs_remove 779 tmpfs_node_t *dnode, *node; local in function:tmpfs_link 862 tmpfs_node_t *dnode = VP_TO_TMPFS_DIR(dvp); local in function:tmpfs_rmdir 1328 tmpfs_node_t *dnode = VP_TO_TMPFS_DIR(dvp); local in function:tmpfs_whiteout [all...] |
/src/sys/ufs/chfs/ |
chfs_write.c | 286 struct chfs_flash_data_node *dnode; local in function:chfs_write_flash_dnode 295 dnode = chfs_alloc_flash_dnode(); 296 if (!dnode) 302 size = sizeof(*dnode) + len; 304 dnode->magic = htole16(CHFS_FS_MAGIC_BITMASK); 305 dnode->type = htole16(CHFS_NODETYPE_DATA); 306 dnode->length = htole32(CHFS_PAD(size)); 307 dnode->hdr_crc = htole32(crc32(0, (uint8_t *)dnode, 309 dnode->vno = htole64(ip->ino) [all...] |
chfs_scan.c | 359 struct chfs_flash_data_node *dnode = buf; local in function:chfs_scan_check_data_node 362 crc = crc32(0, (uint8_t *)dnode, sizeof(struct chfs_flash_data_node) - 4); 363 if (crc != le32toh(dnode->node_crc)) { 364 err = chfs_update_eb_dirty(chmp, cheb, le32toh(dnode->length)); 381 vno = le64toh(dnode->vno); 391 chfs_add_node_to_list(chmp, vc, nref, &vc->dnode); 394 dbg("chmpfree: %u, chebfree: %u, dnode: %u\n", chmp->chm_free_size, cheb->free_size, dnode->length); 398 chfs_change_size_free(chmp, cheb, -dnode->length); 399 chfs_change_size_unchecked(chmp, cheb, dnode->length) [all...] |
chfs_readinode.c | 290 chfs_remove_and_obsolete(chmp, vc, td->node->nref, &vc->dnode); 724 chfs_remove_and_obsolete(chmp, vc, this->node->nref, &vc->dnode); 792 struct chfs_flash_data_node *dnode; local in function:chfs_get_data_nodes 798 dnode = kmem_alloc(len, KM_SLEEP); 799 nref = chfs_first_valid_data_ref(ip->chvc->dnode); 808 dnode = (struct chfs_flash_data_node*)buf; 811 crc = crc32(0, (uint8_t *)dnode, CHFS_NODE_HDR_SIZE - 4); 812 if (crc != le32toh(dnode->hdr_crc)) { 813 chfs_err("CRC check failed. calc: 0x%x orig: 0x%x\n", crc, le32toh(dnode->hdr_crc)); 818 if (le16toh(dnode->magic) != CHFS_FS_MAGIC_BITMASK) 1109 struct chfs_flash_data_node *dnode; local in function:chfs_read_data [all...] |
chfs.h | 204 struct chfs_full_dnode *node; /* associated full dnode */ 236 struct chfs_full_dnode *node; /* associated full dnode */ 278 struct chfs_node_ref *dnode; /* list of data nodes */ member in struct:chfs_vnode_cache
|
/src/sys/kern/ |
kern_sysctl.c | 1708 struct sysctlnode dnode; local in function:sysctl_describe 1737 error = sysctl_cvt_in(l, &v, newp, newlen, &dnode); 1740 if (dnode.sysctl_desc != NULL) { 1765 if (node[i].sysctl_num == dnode.sysctl_num) 1776 if (dnode.sysctl_ver != 0 && 1777 dnode.sysctl_ver != node->sysctl_ver) { 1819 dnode.sysctl_flags & CTLFLAG_OWNDESC) { 1827 error = sysctl_copyinstr(l, dnode.sysctl_desc, 1840 dnode.sysctl_flags |= CTLFLAG_OWNDESC; 1841 dnode.sysctl_desc = nd 1966 struct sysctlnode nnode, onode, *dnode; local in function:sysctl_createv 2212 struct sysctlnode dnode, *onode; local in function:sysctl_destroyv [all...] |