Home
last modified time | relevance | path

Searched refs:DIRECT (Results 1 – 4 of 4) sorted by relevance

/fs/sysv/
Ditree.c13 enum {DIRECT = 10, DEPTH = 4}; /* Have triple indirect */ enumerator
33 } else if (block < DIRECT) { in block_to_path()
35 } else if ( (block -= DIRECT) < indirect_blocks) { in block_to_path()
36 offsets[n++] = DIRECT; in block_to_path()
39 offsets[n++] = DIRECT+1; in block_to_path()
43 offsets[n++] = DIRECT+2; in block_to_path()
389 free_data(inode, i_data+offsets[0], i_data + DIRECT); in sysv_truncate()
413 nr = i_data[DIRECT + n - 1]; in sysv_truncate()
415 i_data[DIRECT + n - 1] = 0; in sysv_truncate()
432 unsigned blocks, res, direct = DIRECT, i = DEPTH; in sysv_nblocks()
/fs/minix/
Ditree_common.c313 free_data(inode, idata+offsets[0], idata + DIRECT); in truncate()
318 first_whole = offsets[0] + 1 - DIRECT; in truncate()
338 nr = idata[DIRECT+first_whole]; in truncate()
340 idata[DIRECT+first_whole] = 0; in truncate()
353 unsigned blocks, res, direct = DIRECT, i = DEPTH; in nblocks()
Ditree_v1.c5 enum {DEPTH = 3, DIRECT = 7}; /* Only double indirect */ enumerator
Ditree_v2.c4 enum {DIRECT = 7, DEPTH = 4}; /* Have triple indirect */ enumerator