Lines Matching full:offsets
32 int *offsets, in get_branch() argument
42 add_chain (chain, NULL, i_data(inode) + *offsets); in get_branch()
52 add_chain(++p, bh, (block_t *)bh->b_data + *++offsets); in get_branch()
72 int *offsets, in alloc_branch() argument
97 branch[n].p = (block_t*) bh->b_data + offsets[n]; in alloc_branch()
156 int offsets[DEPTH]; in get_block() local
160 int depth = block_to_path(inode, block, offsets); in get_block()
166 partial = get_branch(inode, depth, offsets, chain, &err); in get_block()
197 err = alloc_branch(inode, left, offsets+(partial-chain), partial); in get_block()
225 int offsets[DEPTH], in find_shared()
233 for (k = depth; k > 1 && !offsets[k-1]; k--) in find_shared()
235 partial = get_branch(inode, k, offsets, chain, &err); in find_shared()
304 int offsets[DEPTH]; in truncate() local
315 n = block_to_path(inode, iblock, offsets); in truncate()
320 free_data(inode, idata+offsets[0], idata + DIRECT); in truncate()
325 first_whole = offsets[0] + 1 - DIRECT; in truncate()
326 partial = find_shared(inode, n, offsets, chain, &nr); in truncate()