Пример #1
0
static int hfs_prepare_write(struct file *file, struct page *page, unsigned from, unsigned to)
{
    return cont_prepare_write(page,from,to,hfs_get_block,
                              &HFS_I(page->mapping->host)->mmu_private);
}
Пример #2
0
static int hfsplus_prepare_write(struct file *file, struct page *page, unsigned from, unsigned to)
{
	return cont_prepare_write(page, from, to, hfsplus_get_block,
		&HFSPLUS_I(page->mapping->host).phys_size);
}
Пример #3
0
static int adfs_prepare_write(struct file *file, struct page *page, unsigned int from, unsigned int to)
{
	return cont_prepare_write(page, from, to, adfs_get_block,
		&page->mapping->host->u.adfs_i.mmu_private);
}