Lines Matching defs:znode
31 * ubifs_zn_dirty - check if znode is dirty.
32 * @znode: znode to check
34 * This helper function returns %1 if @znode is dirty and %0 otherwise.
36 static inline int ubifs_zn_dirty(const struct ubifs_znode *znode)
38 return !!test_bit(DIRTY_ZNODE, &znode->flags);
54 * ubifs_tnc_find_child - find next child in znode.
55 * @znode: znode to search at
58 * This helper function looks for znode child starting at index @start. Returns
62 ubifs_tnc_find_child(struct ubifs_znode *znode, int start)
64 while (start < znode->child_cnt) {
65 if (znode->zbranch[start].znode)
66 return znode->zbranch[start].znode;