Lines Matching full:indirect
5 * Handling of indirect blocks' trees.
15 enum {DIRECT = 10, DEPTH = 4}; /* Have triple indirect */
64 } Indirect; typedef
68 static inline void add_chain(Indirect *p, struct buffer_head *bh, sysv_zone_t *v) in add_chain()
74 static inline int verify_chain(Indirect *from, Indirect *to) in verify_chain()
89 static Indirect *get_branch(struct inode *inode, in get_branch()
92 Indirect chain[], in get_branch()
96 Indirect *p = chain; in get_branch()
129 Indirect *branch) in alloc_branch()
174 Indirect chain[], in splice_branch()
175 Indirect *where, in splice_branch()
189 /* had we spliced it onto indirect block? */ in splice_branch()
212 Indirect chain[DEPTH]; in get_block()
214 Indirect *partial; in get_block()
236 /* Next simple case - plain lookup or failed read of indirect block */ in get_block()
248 * Indirect block might be removed by truncate while we were in get_block()
282 static Indirect *find_shared(struct inode *inode, in find_shared()
285 Indirect chain[], in find_shared()
288 Indirect *partial, *p; in find_shared()
373 Indirect chain[DEPTH]; in sysv_truncate()
374 Indirect *partial; in sysv_truncate()
408 /* Clear the ends of indirect blocks on the shared branch */ in sysv_truncate()