Home
last modified time | relevance | path

Searched refs:fileblock (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/tools/testing/selftests/powerpc/mm/
H A Dsubpage_prot.c191 void *fileblock; in test_file() local
208 fileblock = mmap(NULL, filesize, PROT_READ | PROT_WRITE, in test_file()
210 if (fileblock == MAP_FAILED) { in test_file()
215 file_name, filesize, fileblock); in test_file()
219 return run_test(fileblock, filesize); in test_file()
/openbmc/u-boot/fs/ext4/
H A Dext4_common.c1527 uint32_t fileblock, int log2_blksz) in ext4fs_get_extent_block() argument
1547 } while (fileblock >= le32_to_cpu(index[i].ei_block)); in ext4fs_get_extent_block()
1616 long int read_allocated_block(struct ext2_inode *inode, int fileblock) in read_allocated_block() argument
1643 fileblock, log2_blksz); in read_allocated_block()
1656 if (startblock > fileblock) { in read_allocated_block()
1661 } else if (fileblock < endblock) { in read_allocated_block()
1666 return (fileblock - startblock) + start; in read_allocated_block()
1675 if (fileblock < INDIRECT_BLOCKS) in read_allocated_block()
1676 blknr = le32_to_cpu(inode->b.blocks.dir_blocks[fileblock]); in read_allocated_block()
1679 else if (fileblock < (INDIRECT_BLOCKS + (blksz / 4))) { in read_allocated_block()
[all …]
/openbmc/u-boot/include/
H A Dext4fs.h149 long int read_allocated_block(struct ext2_inode *inode, int fileblock);