Searched refs:lastnode (Results 1 – 6 of 6) sorted by relevance
72 static phandle_t lastnode; /* speed hack */ variable141 if (node != 0 && node != lastnode) { in openfirm_ioctl()146 lastnode = node; in openfirm_ioctl()243 *(phandle_t *)data = lastnode = node; in openfirm_ioctl()250 *(phandle_t *)data = lastnode = node; in openfirm_ioctl()262 of->of_nodeid = lastnode = node; in openfirm_ioctl()
141 tnp->dir.lastnode != NULL) { in tarfs_lookup_dir()143 "cookie %jd\n", __func__, tnp->dir.lastnode, in tarfs_lookup_dir()145 return (tnp->dir.lastnode); in tarfs_lookup_dir()
89 struct tarfs_node *lastnode; member
460 tnp->dir.lastnode = NULL; in tarfs_readdir()463 tnp->dir.lastnode = current; in tarfs_readdir()
2673 int lastnode, bitpos, bit; in add_value() local2698 lastnode = 0; in add_value()2704 if (code->tree[lastnode].branches[0] == in add_value()2705 code->tree[lastnode].branches[1]) in add_value()2748 if (code->tree[lastnode].branches[bit] < 0) in add_value()2755 code->tree[lastnode].branches[bit] = code->numentries++; in add_value()2759 lastnode = code->tree[lastnode].branches[bit]; in add_value()2763 if (!(code->tree[lastnode].branches[0] == -1 in add_value()2764 && code->tree[lastnode].branches[1] == -2)) in add_value()2772 code->tree[lastnode].branches[0] = value; in add_value()[all …]
197 uint32_t lastnode, i; in treehash_setup() local203 lastnode = idx+(1<<height); in treehash_setup()212 for (; idx < lastnode; idx++) { in treehash_setup()