• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/gfs2/

Lines Matching refs:to

5  * This copyrighted material is made available to anyone wishing to use,
6 * modify, copy, or redistribute it subject to the terms and conditions
40 unsigned int from, unsigned int to)
50 if (end <= from || start >= to)
59 * @lblock: The block number to look up
60 * @bh_result: The buffer head to return the result in
61 * @create: Non-zero if we may add block to the file
75 * @lblock: The block number to look up
76 * @bh_result: The buffer head to return the result in
77 * @create: Non-zero if we may add block to the file
103 * @page: Page to write
108 * call it to do most of the work.
161 * gfs2_writepages - Write a bunch of dirty pages back to disk
162 * @mapping: The mapping to write
165 * For journaled files and/or ordered writes this just falls back to the
166 * kernel's default writepages path for now. We will probably want to change
201 * Due to the order of unstuffing files and ->nopage(), we can be
203 * so we need to supply one here. It doesn't happen often.
233 * @file: The file to read a page for. N.B. This may be NULL if we are
235 * @page: The page to read
297 * obviously not something we'd want to do on too regular a basis.
301 * 4. gfs2_get_block() is relied upon to set BH_Boundary in the right places.
351 * gfs2_prepare_write - Prepare to write a page to a file
352 * @file: The file to write to
353 * @page: The page which is to be prepared for writing
355 * @to: To (byte range within page)
361 unsigned from, unsigned to)
369 loff_t end = ((loff_t)page->index << PAGE_CACHE_SHIFT) + to;
371 unsigned int write_len = to - from;
431 error = block_prepare_write(page, from, to, gfs2_get_block);
453 * gfs2_commit_write - Commit write to a file
454 * @file: The file to write to
457 * @to: To (byte range within page)
463 unsigned from, unsigned to)
487 file_size = ((u64)page->index << PAGE_CACHE_SHIFT) + to;
491 kaddr + from, to - from);
503 gfs2_page_add_databufs(ip, page, from, to);
504 error = generic_commit_write(file, page, from, to);
548 * @lblock: The block to map
628 * Returns: 0 (to ignore the i/o request and thus fall back to buffered i/o)
629 * 1 (to accept the i/o request)
636 * back to buffered I/O, likewise we do the same for stuffed
676 goto out; /* dio not valid, fall back to buffered i/o */