/linux-4.1.27/fs/ocfs2/ |
H A D | Makefile | 40 uptodate.o \
|
H A D | uptodate.h | 4 * uptodate.h 6 * Cluster uptodate tracking
|
H A D | buffer_head_io.c | 37 #include "uptodate.h" 89 /* We don't need to remove the clustered uptodate ocfs2_write_block() 91 * uptodate. */ ocfs2_write_block() 243 * uptodate cache. The re-check from #2 catches the ocfs2_read_blocks() 329 * remove the clustered uptodate information ocfs2_read_blocks() 331 * uptodate. */ ocfs2_read_blocks()
|
H A D | buffer_head_io.h | 32 int uptodate);
|
H A D | uptodate.c | 4 * uptodate.c 26 * Standard buffer head caching flags (uptodate, etc) are insufficient 62 #include "uptodate.h" 277 * not marked uptodate then we know it can't have correct ocfs2_buffer_uptodate()
|
H A D | resize.c | 40 #include "uptodate.h"
|
H A D | journal.c | 51 #include "uptodate.h" 670 mlog(ML_ERROR, "giving me a buffer that's not uptodate!\n"); __ocfs2_journal_access() 1155 * be put in the uptodate cache */ ocfs2_force_read_journal()
|
H A D | move_extents.c | 34 #include "uptodate.h"
|
H A D | ocfs2.h | 93 * Need this prototype here instead of in uptodate.h because journal.h
|
H A D | aops.c | 179 * the buffers dirty and uptodate bits and let the buffer code ocfs2_get_block() 1312 * If a page has any new buffers, zero them out here, and mark them uptodate
|
H A D | quota_global.c | 26 #include "uptodate.h"
|
H A D | quota_local.c | 23 #include "uptodate.h"
|
H A D | ocfs2_trace.h | 2723 /* Trace events for fs/ocfs2/uptodate.c. */ 2761 /* End of trace events for fs/ocfs2/uptodate.c. */
|
H A D | inode.c | 52 #include "uptodate.h"
|
H A D | namei.c | 62 #include "uptodate.h"
|
H A D | super.c | 70 #include "uptodate.h"
|
H A D | suballoc.c | 45 #include "uptodate.h"
|
H A D | alloc.c | 50 #include "uptodate.h" 6607 * Need to set the buffers we zero'd into uptodate ocfs2_map_and_dirty_page()
|
H A D | dir.c | 62 #include "uptodate.h"
|
H A D | dlmglue.c | 54 #include "uptodate.h"
|
H A D | refcounttree.c | 25 #include "uptodate.h"
|
H A D | xattr.c | 53 #include "uptodate.h"
|
/linux-4.1.27/fs/logfs/ |
H A D | dev_bdev.c | 58 const int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); writeseg_end_io() local 64 BUG_ON(!uptodate); /* FIXME: Retry io or write elsewhere */ writeseg_end_io() 158 const int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); erase_end_io() local 162 BUG_ON(!uptodate); /* FIXME: Retry io or write elsewhere */ erase_end_io()
|
/linux-4.1.27/fs/ntfs/ |
H A D | file.c | 81 * disk (if relevant complete pages are already uptodate in the page cache then 89 * cache at all. This is because if the page cache page is not uptodate we 90 * bring it uptodate later, when doing the write to the mft record since we 91 * then already have the page mapped. And if the page is uptodate, the 93 * brought uptodate and the region may in fact already have been overwritten 571 * ensure all the buffers are mapped, and bring uptodate any buffers that are 629 * create_empty_buffers() will create uptodate/dirty buffers if ntfs_prepare_pages_for_non_resident_write() 630 * the page is uptodate/dirty. ntfs_prepare_pages_for_non_resident_write() 670 * The buffer is already mapped. If it is uptodate, ntfs_prepare_pages_for_non_resident_write() 676 * The buffer is not uptodate. If the page is uptodate ntfs_prepare_pages_for_non_resident_write() 677 * set the buffer uptodate and otherwise ignore it. ntfs_prepare_pages_for_non_resident_write() 684 * Neither the page nor the buffer are uptodate. If ntfs_prepare_pages_for_non_resident_write() 729 * If the page is uptodate so is the buffer. If the ntfs_prepare_pages_for_non_resident_write() 751 /* Page is _not_ uptodate. */ ntfs_prepare_pages_for_non_resident_write() 755 * uptodate and is only partially being written ntfs_prepare_pages_for_non_resident_write() 789 * set it uptodate, and mark it dirty so it gets ntfs_prepare_pages_for_non_resident_write() 826 * is outside allocated size and is not uptodate, zero it and ntfs_prepare_pages_for_non_resident_write() 827 * set it uptodate. ntfs_prepare_pages_for_non_resident_write() 950 * If the buffer is uptodate we skip it. If it ntfs_prepare_pages_for_non_resident_write() 951 * is not but the page is uptodate, we can set ntfs_prepare_pages_for_non_resident_write() 952 * the buffer uptodate. If the page is not ntfs_prepare_pages_for_non_resident_write() 953 * uptodate, we can clear the buffer and set it ntfs_prepare_pages_for_non_resident_write() 954 * uptodate. Whether this is worthwhile is ntfs_prepare_pages_for_non_resident_write() 1440 * If all buffers are now uptodate but the page is not, set the ntfs_commit_pages_after_non_resident_write() 1441 * page uptodate. ntfs_commit_pages_after_non_resident_write() 1531 * Need to set uptodate and mark dirty all buffers within the boundary of the 1532 * write. If all buffers in a page are uptodate we set the page uptodate, too. 1541 * buffers uptodate and dirty, sets the page uptodate if all buffers in the 1542 * page are uptodate, and updates i_size if the end of io is beyond i_size. In 1548 * attributes we need to do the uptodate bringing here which we combine with 1632 * If the page is not uptodate, bring the out of bounds area(s) ntfs_commit_pages_after_write() 1633 * uptodate by copying data from the mft record to the page. ntfs_commit_pages_after_write() 1670 ntfs_warning(vi->i_sb, "Page is uptodate, setting " ntfs_commit_pages_after_write() 1680 ntfs_error(vi->i_sb, "Page is not uptodate. Written " ntfs_commit_pages_after_write() 1864 * need to bring uptodate any buffers that are only partially ntfs_perform_write()
|
H A D | aops.c | 45 * @uptodate: whether @bh is now uptodate or not 52 * page has been completed and mark the page uptodate or set the error bit on 58 static void ntfs_end_buffer_async_read(struct buffer_head *bh, int uptodate) ntfs_end_buffer_async_read() argument 71 if (likely(uptodate)) { ntfs_end_buffer_async_read() 129 * If none of the buffers had errors then we can set the page uptodate, ntfs_end_buffer_async_read() 174 * applies the mst fixups to the page before finally marking it uptodate and 335 * of the page and set the buffer uptodate. ntfs_read_block() 683 * all non-uptodate buffers and set them uptodate (and ntfs_write_block() 684 * dirty?). Note, there aren't any non-uptodate buffers ntfs_write_block() 685 * if the page is uptodate. ntfs_write_block() 686 * FIXME: For an uptodate page, the buffers may need to ntfs_write_block() 692 // Zero any non-uptodate buffers up to i_size. ntfs_write_block() 693 // Set them uptodate and dirty. ntfs_write_block() 790 * uptodate so it can get discarded by the VM. ntfs_write_block() 823 int uptodate = 1; ntfs_write_block() local 826 uptodate = 0; ntfs_write_block() 831 if (uptodate) ntfs_write_block() 910 * We clear the page uptodate flag for the duration of the function to ensure 1120 /* Clear the page uptodate flag whilst the mst fixups are applied. */ ntfs_write_mst_block() 1227 * Set the buffer uptodate so the page and buffer ntfs_write_mst_block() 1724 * If the page does not have buffers, we create them and set them uptodate.
|
H A D | aops.h | 81 * The unlocked and uptodate page is returned on success or an encoded error
|
H A D | mft.h | 97 * uptodate.
|
H A D | compress.c | 698 "uptodate! Unplugging the disk queue " ntfs_read_compressed_block() 705 ntfs_warning(vol->sb, "Buffer is now uptodate. Good."); ntfs_read_compressed_block()
|
H A D | mft.c | 134 * we will not touch a page that has been locked or is not uptodate. The only 505 /* Create uptodate buffers if not present. */ ntfs_sync_mft_mirror() 605 * Set the buffer uptodate so the page and ntfs_sync_mft_mirror() 616 /* Current state: all buffers are clean, unlocked, and uptodate. */ ntfs_sync_mft_mirror() 801 * Set the buffer uptodate so the page and buffer write_mft_record_nolock() 831 * Current state: all buffers are clean, unlocked, and uptodate. write_mft_record_nolock() 862 * The caller has locked the page and cleared the uptodate flag on it which 2381 * The mft bitmap is now uptodate. Deal with mft data attribute now. ntfs_mft_record_alloc()
|
H A D | attrib.c | 1512 * inode i_size is that this is not necessarily uptodate. This happens when 1653 * If the page is not uptodate bring it uptodate by copying from the ntfs_attr_make_non_resident() 2568 * If the page has buffers, mark them uptodate since buffer ntfs_attr_set() 2579 /* Now that buffers are uptodate, set the page uptodate, too. */ ntfs_attr_set()
|
H A D | logfile.c | 804 /* Obtain the buffer, possibly not uptodate. */ ntfs_empty_logfile()
|
/linux-4.1.27/drivers/ide/ |
H A D | ide-cd.c | 527 int dma_error = 0, dma, thislen, uptodate = 0; cdrom_newpc_intr() local 566 uptodate = 1; cdrom_newpc_intr() 586 uptodate = 1; cdrom_newpc_intr() 593 uptodate = 0; cdrom_newpc_intr() 598 uptodate = cmd->nleft ? 0 : 1; cdrom_newpc_intr() 604 if (!(stat & ATA_ERR) && !uptodate && thislen) { cdrom_newpc_intr() 606 uptodate = cmd->nleft ? 0 : 1; cdrom_newpc_intr() 609 if (!uptodate) cdrom_newpc_intr() 671 if (sense && uptodate) cdrom_newpc_intr() 676 uptodate = 1; cdrom_newpc_intr() 678 if (uptodate <= 0 && rq->errors == 0) cdrom_newpc_intr() 682 if (uptodate == 0 && rq->bio) cdrom_newpc_intr() 689 if (uptodate == 0 && (cmd->tf_flags & IDE_TFLAG_WRITE)) cdrom_newpc_intr() 693 ide_complete_rq(drive, uptodate ? 0 : -EIO, blk_rq_bytes(rq)); cdrom_newpc_intr() 780 int uptodate = 0; ide_cd_do_request() local 804 uptodate = 1; ide_cd_do_request() 832 ide_complete_rq(drive, uptodate ? 0 : -EIO, nsectors << 9); ide_cd_do_request()
|
H A D | ide-floppy.c | 67 int uptodate = pc->error ? 0 : 1; ide_floppy_callback() local 76 uptodate = 1; /* FIXME */ ide_floppy_callback() 101 rq->errors = uptodate ? 0 : IDE_DRV_ERROR_GENERAL; ide_floppy_callback() 103 return uptodate; ide_floppy_callback()
|
H A D | ide-atapi.c | 429 int uptodate, error; ide_pc_intr() local 475 uptodate = drive->pc_callback(drive, dsc); ide_pc_intr() 477 if (uptodate == 0) ide_pc_intr() 485 if (rq->cmd_type != REQ_TYPE_FS && uptodate <= 0) { ide_pc_intr() 490 error = uptodate ? 0 : -EIO; ide_pc_intr()
|
H A D | ide-tape.c | 331 int uptodate = pc->error ? 0 : 1; ide_tape_callback() local 332 int err = uptodate ? 0 : IDE_DRV_ERROR_GENERAL; ide_tape_callback() 344 if (uptodate) ide_tape_callback() 365 uptodate = 0; ide_tape_callback() 371 return uptodate; ide_tape_callback()
|
/linux-4.1.27/fs/squashfs/ |
H A D | file_direct.c | 81 * and uptodate, or we're racing with another thread in squashfs_readpage_block() 106 /* Mark pages as uptodate, unlock and release */ squashfs_readpage_block()
|
/linux-4.1.27/mm/ |
H A D | page_io.c | 48 const int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); end_swap_bio_write() local 51 if (!uptodate) { end_swap_bio_write() 74 const int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); end_swap_bio_read() local 77 if (!uptodate) { end_swap_bio_read()
|
H A D | debug.c | 17 {1UL << PG_uptodate, "uptodate" },
|
H A D | mincore.c | 146 * uptodate mincore_pte_range()
|
H A D | readahead.c | 196 * uptodate then the caller will launch readpage again, and __do_page_cache_readahead()
|
H A D | filemap.c | 185 * if we're uptodate, flush out into the cleancache, otherwise __delete_from_page_cache() 2223 * If the page does not get brought uptodate, return -EIO. 2243 * If the page does not get brought uptodate, return -EIO.
|
H A D | migrate.c | 781 * marked uptodate and unlocked. However, the queueing __unmap_and_move()
|
/linux-4.1.27/include/linux/ |
H A D | buffer_head.h | 51 typedef void (bh_end_io_t)(struct buffer_head *bh, int uptodate); 116 BUFFER_FNS(Uptodate, uptodate) 161 void end_buffer_read_sync(struct buffer_head *bh, int uptodate); 162 void end_buffer_write_sync(struct buffer_head *bh, int uptodate); 163 void end_buffer_async_write(struct buffer_head *bh, int uptodate);
|
H A D | page-flags.h | 37 * completes, the page becomes uptodate, unless a disk I/O error happened. 342 * We can skip the barrier if the page is not uptodate, because PageUptodate() 364 * uptodate are actually visible before PageUptodate becomes true. SetPageUptodate() 370 CLEARPAGEFLAG(Uptodate, uptodate)
|
H A D | fs.h | 73 typedef void (dax_iodone_t)(struct buffer_head *bh_map, int uptodate);
|
/linux-4.1.27/fs/exofs/ |
H A D | ore_raid.c | 459 * @uptodate=true, so we don't need to read it, only unlock, after IO. 492 bool uptodate; _read_4_write_first_stripe() local 503 &uptodate); _read_4_write_first_stripe() 507 if (!uptodate) _read_4_write_first_stripe() 559 bool uptodate; _read_4_write_last_stripe() local 563 &uptodate); _read_4_write_last_stripe() 570 if (!uptodate) _read_4_write_last_stripe()
|
H A D | inode.c | 568 static struct page *__r4w_get_page(void *priv, u64 offset, bool *uptodate) __r4w_get_page() argument 579 *uptodate = true; __r4w_get_page() 596 *uptodate = true; __r4w_get_page() 598 *uptodate = PageUptodate(page); __r4w_get_page() 599 EXOFS_DBGMSG2("index=0x%lx uptodate=%d\n", index, *uptodate); __r4w_get_page() 604 *uptodate = true; __r4w_get_page()
|
/linux-4.1.27/fs/ |
H A D | buffer.c | 150 static void __end_buffer_read_notouch(struct buffer_head *bh, int uptodate) __end_buffer_read_notouch() argument 152 if (uptodate) { __end_buffer_read_notouch() 165 void end_buffer_read_sync(struct buffer_head *bh, int uptodate) end_buffer_read_sync() argument 167 __end_buffer_read_notouch(bh, uptodate); end_buffer_read_sync() 172 void end_buffer_write_sync(struct buffer_head *bh, int uptodate) end_buffer_write_sync() argument 174 if (uptodate) { end_buffer_write_sync() 279 static void end_buffer_async_read(struct buffer_head *bh, int uptodate) end_buffer_async_read() argument 290 if (uptodate) { end_buffer_async_read() 323 * uptodate then we can set the page uptodate. end_buffer_async_read() 340 void end_buffer_async_write(struct buffer_head *bh, int uptodate) end_buffer_async_write() argument 350 if (uptodate) { end_buffer_async_write() 624 * If warn is true, then emit a warning if the page is not uptodate and has 649 * If the page has buffers, the uptodate buffers are set dirty, to preserve 946 int uptodate = PageUptodate(page); init_page_buffers() local 954 if (uptodate) init_page_buffers() 1123 * individually become uptodate. But their backing page remains not 1124 * uptodate - even if all of its buffers are uptodate. A subsequent 1125 * block_read_full_page() against that page will discover all the uptodate 1126 * buffers, will set the page uptodate and will perform no I/O. 1599 * We don't even need to mark it not-uptodate - nobody can expect 1649 * NOTE! All mapped/uptodate combinations are valid: 1658 * "Dirty" is valid only with the last case (mapped+uptodate). 1841 * If a page has any new buffers, zero them out here, and mark them uptodate 1993 * uptodate then we can optimize away a bogus readpage() for __block_commit_write() 1995 * uptodate as a result of this (potentially partial) write. __block_commit_write() 2004 * bringing partial write blocks uptodate first. 2042 * The buffers that were written will now be uptodate, so we block_write_end() 2046 * will not be marked uptodate, so a readpage might come in and block_write_end() 2050 * non uptodate page as a zero-length write, and force the block_write_end() 2109 * uptodate or not. 2112 * we want to read are uptodate. 2213 * All buffers are uptodate - we can set the page uptodate block_read_full_page() 2232 * the underlying blockdev brought it uptodate (the sct fix). block_read_full_page() 2466 static void end_buffer_read_nobh(struct buffer_head *bh, int uptodate) end_buffer_read_nobh() argument 2468 __end_buffer_read_notouch(bh, uptodate); end_buffer_read_nobh() 2496 * On entry, the page is fully not uptodate. 2497 * On exit the page is fully uptodate in the areas outside (from,to) 3370 * bh_uptodate_or_lock - Test whether the buffer is uptodate
|
H A D | direct-io.c | 460 const int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); dio_bio_complete() local 464 if (!uptodate) dio_bio_complete() 479 return uptodate ? 0 : -EIO;
|
H A D | mpage.c | 454 * we cannot drop the bh if the page is not uptodate or a concurrent clean_buffers()
|
H A D | dax.c | 424 * indicate what the callback should do via the uptodate variable, same do_dax_fault()
|
H A D | splice.c | 407 * If the page isn't uptodate, we may need to start io on it __generic_file_splice_read()
|
/linux-4.1.27/fs/nfs/objlayout/ |
H A D | objio_osd.c | 454 static struct page *__r4w_get_page(void *priv, u64 offset, bool *uptodate) __r4w_get_page() argument 464 *uptodate = true; __r4w_get_page() 480 *uptodate = true; __r4w_get_page() 482 *uptodate = PageUptodate(page); __r4w_get_page() 483 dprintk("%s: index=0x%lx uptodate=%d\n", __func__, index, *uptodate); __r4w_get_page()
|
/linux-4.1.27/fs/reiserfs/ |
H A D | file.c | 236 * uptodate then we can optimize away a bogus readpage() for reiserfs_commit_page() 238 * uptodate as a result of this (potentially partial) write. reiserfs_commit_page()
|
H A D | journal.c | 619 static void reiserfs_end_buffer_io_sync(struct buffer_head *bh, int uptodate) reiserfs_end_buffer_io_sync() argument 628 if (uptodate) reiserfs_end_buffer_io_sync() 637 static void reiserfs_end_ordered_io(struct buffer_head *bh, int uptodate) reiserfs_end_ordered_io() argument 639 if (uptodate) reiserfs_end_ordered_io() 826 * in theory, dirty non-uptodate buffers should never get here, write_ordered_buffers()
|
H A D | stree.c | 228 "PAP-5020: parent is not uptodate"); get_lkey() 274 "PAP-5040: parent is not uptodate"); get_rkey()
|
H A D | inode.c | 313 * uptodate, because it means that there is some MMAPED data _get_block_create_0() 344 * page is uptodate, because it means that there is _get_block_create_0() 371 * if we've got a direct item, and the buffer or page was uptodate, _get_block_create_0()
|
H A D | fix_node.c | 2598 "not uptodate at the beginning of fix_nodes " fix_nodes()
|
/linux-4.1.27/fs/btrfs/ |
H A D | ordered-data.h | 169 u64 file_offset, u64 io_size, int uptodate); 173 int uptodate);
|
H A D | extent_io.c | 2453 int uptodate = (err == 0); end_extent_writepage() local 2461 end, NULL, uptodate); end_extent_writepage() 2463 uptodate = 0; end_extent_writepage() 2466 if (!uptodate) { end_extent_writepage() 2477 * clear the uptodate bits on error 2525 int uptodate) endio_readpage_release_extent() 2530 if (uptodate && tree->track_uptodate) endio_readpage_release_extent() 2537 * clear the uptodate bits on error 2538 * set the uptodate bits if things worked 2539 * set the page up to date if all extents in the tree are uptodate 2549 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); end_bio_extent_readpage() local 2563 uptodate = 0; end_bio_extent_readpage() 2596 if (likely(uptodate && tree->ops && bio_for_each_segment_all() 2602 uptodate = 0; bio_for_each_segment_all() 2607 if (likely(uptodate)) bio_for_each_segment_all() 2614 uptodate = 1; bio_for_each_segment_all() 2621 * in the !uptodate case). In that case it returns 0 and bio_for_each_segment_all() 2629 uptodate = bio_for_each_segment_all() 2632 uptodate = 0; bio_for_each_segment_all() 2638 if (likely(uptodate)) { bio_for_each_segment_all() 2655 if (unlikely(!uptodate)) { bio_for_each_segment_all() 2672 extent_len, uptodate); bio_for_each_segment_all() 2680 uptodate); 4912 int uptodate = 1; alloc_extent_buffer() local 4960 uptodate = 0; alloc_extent_buffer() 4967 if (uptodate) alloc_extent_buffer() 5090 * the uptodate bits and such for the extent buffers. free_extent_buffer() 2524 endio_readpage_release_extent(struct extent_io_tree *tree, u64 start, u64 len, int uptodate) endio_readpage_release_extent() argument
|
H A D | ordered-data.c | 310 u64 *file_offset, u64 io_size, int uptodate) btrfs_dec_test_first_ordered_pending() 350 if (!uptodate) btrfs_dec_test_first_ordered_pending() 380 u64 file_offset, u64 io_size, int uptodate) btrfs_dec_test_ordered_pending() 414 if (!uptodate) btrfs_dec_test_ordered_pending() 308 btrfs_dec_test_first_ordered_pending(struct inode *inode, struct btrfs_ordered_extent **cached, u64 *file_offset, u64 io_size, int uptodate) btrfs_dec_test_first_ordered_pending() argument 378 btrfs_dec_test_ordered_pending(struct inode *inode, struct btrfs_ordered_extent **cached, u64 file_offset, u64 io_size, int uptodate) btrfs_dec_test_ordered_pending() argument
|
H A D | raid56.c | 248 * use the page uptodate bit in the stripe cache array 300 * stealing an rbio means taking all the uptodate pages from the stripe 854 static void rbio_orig_end_io(struct btrfs_raid_bio *rbio, int err, int uptodate) rbio_orig_end_io() argument 867 if (uptodate) rbio_orig_end_io() 1422 * this sets each page in the bio uptodate. It should only be used on private 1535 * the bio cache may have handed us an uptodate raid56_rmw_stripe() 1925 * failed stripes as uptodate. This way finish_rmw will __raid_recover_end_io() 1927 * other endio functions will fiddle the uptodate bits __raid_recover_end_io() 2039 * pages are going to be uptodate. __raid56_parity_recover() 2595 * the bio cache may have handed us an uptodate raid56_parity_scrub_stripe()
|
H A D | extent_io.h | 82 struct extent_state *state, int uptodate);
|
H A D | inode.c | 2985 struct extent_state *state, int uptodate) btrfs_writepage_end_io_hook() 2993 trace_btrfs_writepage_end_io_hook(page, start, end, uptodate); btrfs_writepage_end_io_hook() 2997 end - start + 1, uptodate)) btrfs_writepage_end_io_hook() 7736 int uptodate; member in struct:btrfs_retry_complete 7748 done->uptodate = 1; btrfs_retry_endio_nocsum() 7770 done.uptodate = 0; __btrfs_correct_data_nocsum() 7783 if (!done.uptodate) { __btrfs_correct_data_nocsum() 7799 int uptodate; btrfs_retry_endio() local 7806 uptodate = 1; bio_for_each_segment_all() 7815 uptodate = 0; bio_for_each_segment_all() 7818 done->uptodate = uptodate; 7844 done.uptodate = 0; __btrfs_subio_endio_read() 7859 if (!done.uptodate) { __btrfs_subio_endio_read() 7902 /* If we had a csum failure make sure to clear the uptodate flag */ btrfs_endio_direct_read() 7952 /* If we had an error make sure to clear the uptodate flag */ btrfs_endio_direct_write() 2984 btrfs_writepage_end_io_hook(struct page *page, u64 start, u64 end, struct extent_state *state, int uptodate) btrfs_writepage_end_io_hook() argument
|
H A D | ctree.c | 1635 int uptodate; btrfs_realloc_node() local 1682 uptodate = btrfs_buffer_uptodate(cur, gen, 0); btrfs_realloc_node() 1684 uptodate = 0; btrfs_realloc_node() 1685 if (!cur || !uptodate) { btrfs_realloc_node() 1692 } else if (!uptodate) { btrfs_realloc_node() 2454 /* first we do an atomic uptodate check */ read_block_for_search() 2468 /* now we're allowed to do a blocking uptodate check */ read_block_for_search()
|
H A D | check-integrity.c | 347 static void btrfsic_bh_end_io(struct buffer_head *bh, int uptodate); 2258 static void btrfsic_bh_end_io(struct buffer_head *bh, int uptodate) btrfsic_bh_end_io() argument 2261 int iodone_w_error = !uptodate; btrfsic_bh_end_io() 2289 bh->b_end_io(bh, uptodate); btrfsic_bh_end_io()
|
H A D | free-space-cache.c | 380 int uptodate) io_ctl_prepare_pages() 393 if (uptodate && !PageUptodate(page)) { io_ctl_prepare_pages() 379 io_ctl_prepare_pages(struct btrfs_io_ctl *io_ctl, struct inode *inode, int uptodate) io_ctl_prepare_pages() argument
|
H A D | disk-io.c | 380 * block that has been free'd and re-allocated. So don't clear uptodate verify_parent_transid() 3138 static void btrfs_end_buffer_write_sync(struct buffer_head *bh, int uptodate) btrfs_end_buffer_write_sync() argument 3140 if (uptodate) { btrfs_end_buffer_write_sync()
|
H A D | qgroup.c | 2626 "qgroups not uptodate in trans handle %p: list is%s empty, " assert_qgroups_uptodate()
|
H A D | relocation.c | 51 /* objectid of tree block owner, can be not uptodate */
|
H A D | tree-log.c | 4517 * a brute force approach to making sure we get the most uptodate btrfs_log_inode()
|
/linux-4.1.27/include/trace/events/ |
H A D | btrfs.h | 364 TP_PROTO(struct page *page, u64 start, u64 end, int uptodate), 366 TP_ARGS(page, start, end, uptodate), 373 __field( int, uptodate ) 382 __entry->uptodate = uptodate; 388 "end = %llu, uptodate = %d", 392 (unsigned long long)__entry->end, __entry->uptodate)
|
H A D | f2fs.h | 862 __field(int, uptodate) 872 __entry->uptodate = PageUptodate(page); 876 "dirty = %d, uptodate = %d", 882 __entry->uptodate)
|
/linux-4.1.27/drivers/staging/lustre/lnet/selftest/ |
H A D | conrpc.h | 85 /* features mask is uptodate */
|
/linux-4.1.27/drivers/md/ |
H A D | raid1.c | 317 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); raid1_end_read_request() local 328 if (uptodate) raid1_end_read_request() 333 * Here we redefine "uptodate" to mean "Don't want to retry" raid1_end_read_request() 340 uptodate = 1; raid1_end_read_request() 344 if (uptodate) { raid1_end_read_request() 402 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); raid1_end_write_request() local 413 if (!uptodate) { raid1_end_write_request() 1759 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); end_sync_write() local 1769 if (!uptodate) { end_sync_write() 1805 md_done_sync(mddev, s, uptodate); end_sync_write() 1970 int uptodate; process_checks() local 1975 uptodate = test_bit(BIO_UPTODATE, &b->bi_flags); process_checks() 1977 if (!uptodate) process_checks() 2011 int uptodate = test_bit(BIO_UPTODATE, &sbio->bi_flags); process_checks() local 2018 if (uptodate) { process_checks() 2033 && uptodate)) { process_checks()
|
H A D | raid5.c | 1261 /* mark the computed target(s) as uptodate */ ops_complete_compute() 1559 /* Only process blocks that are known to be uptodate */ ops_run_prexor5() 2291 int uptodate = test_bit(BIO_UPTODATE, &bi->bi_flags); raid5_end_read_request() local 2300 pr_debug("end_read_request %llu/%d, count: %d, uptodate %d.\n", raid5_end_read_request() 2302 uptodate); raid5_end_read_request() 2321 if (uptodate) { raid5_end_read_request() 2415 int uptodate = test_bit(BIO_UPTODATE, &bi->bi_flags); raid5_end_write_request() local 2438 pr_debug("end_write_request %llu/%d, count %d, uptodate: %d.\n", raid5_end_write_request() 2440 uptodate); raid5_end_write_request() 2447 if (!uptodate) raid5_end_write_request() 2454 if (!uptodate) { raid5_end_write_request() 2475 if (sh->batch_head && !uptodate && !replacement) raid5_end_write_request() 3360 if ((s->uptodate == disks - 1) && fetch_block() 3374 /* Careful: from this point on 'uptodate' is in the eye fetch_block() 3380 s->uptodate++; fetch_block() 3382 } else if (s->uptodate == disks-2 && s->failed >= 2) { fetch_block() 3404 s->uptodate += 2; fetch_block() 3443 * any written block on an uptodate or failed drive can be returned. 3693 BUG_ON(s->uptodate != disks); handle_parity_checks5() 3697 s->uptodate--; handle_parity_checks5() 3713 BUG_ON(s->uptodate != disks); handle_parity_checks5() 3755 s->uptodate++; handle_parity_checks5() 3814 s->uptodate--; handle_parity_checks6() 3819 * no need to mark them !uptodate here handle_parity_checks6() 3838 BUG_ON(s->uptodate < disks - 1); /* We don't need Q to recover */ handle_parity_checks6() 3889 * off and bring p and/or q uptodate again so handle_parity_checks6() 3912 s->uptodate++; handle_parity_checks6() 3918 s->uptodate++; handle_parity_checks6() 4045 s->uptodate++; analyse_stripe() 4349 pr_debug("locked=%d uptodate=%d to_read=%d" handle_stripe() 4351 s.locked, s.uptodate, s.to_read, s.to_write, s.failed, handle_stripe() 4434 || (s.syncing && (s.uptodate + s.compute < disks)) handle_stripe() 4765 int uptodate = test_bit(BIO_UPTODATE, &bi->bi_flags); raid5_align_endio() local 4777 if (!error && uptodate) { raid5_align_endio()
|
H A D | multipath.c | 86 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); multipath_end_request() local 91 if (uptodate) multipath_end_request()
|
H A D | raid10.c | 363 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); raid10_end_read_request() local 377 if (uptodate) { raid10_end_read_request() 392 * "uptodate" to mean "Don't want to retry" raid10_end_read_request() 396 uptodate = 1; raid10_end_read_request() 398 if (uptodate) { raid10_end_read_request() 443 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); raid10_end_write_request() local 463 if (!uptodate) { raid10_end_write_request() 1982 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); end_sync_write() local 1999 if (!uptodate) { end_sync_write() 4619 int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); end_reshape_write() local 4636 if (!uptodate) { end_reshape_write()
|
H A D | raid5.h | 261 int locked, uptodate, to_read, to_write, failed, written; member in struct:stripe_head_state 291 * uptodate
|
H A D | bitmap.c | 314 static void end_bitmap_write(struct buffer_head *bh, int uptodate) end_bitmap_write() argument 318 if (!uptodate) end_bitmap_write()
|
H A D | md.c | 739 printk("md: super_written gets error=%d, uptodate=%d\n", super_written()
|
/linux-4.1.27/include/scsi/ |
H A D | osd_ore.h | 112 struct page * (*get_page)(void *priv, u64 page_index, bool *uptodate);
|
/linux-4.1.27/arch/s390/kernel/ |
H A D | time.c | 957 * port is not uptodate toggle dp bit. etr_handle_update() 1038 * 1) The port needs to be online and uptodate. A port is not etr_work_fn() 1039 * disabled just because it is not uptodate, but it is only etr_work_fn() 1040 * enabled if it is uptodate. etr_work_fn() 1055 // FIXME: uptodate checks ? etr_work_fn() 1254 /* Status word is not uptodate if both ports are offline. */ etr_mode_code_show()
|
/linux-4.1.27/drivers/staging/lustre/lustre/llite/ |
H A D | vvp_page.c | 199 int uptodate) vvp_page_export() 205 if (uptodate) vvp_page_export() 197 vvp_page_export(const struct lu_env *env, const struct cl_page_slice *slice, int uptodate) vvp_page_export() argument
|
H A D | rw26.c | 293 * may reread a ra page which has NOT uptodate ll_direct_rw_pages()
|
H A D | vvp_dev.c | 425 seq_page_flag(seq, vmpage, uptodate, has_flags); vvp_pgcache_page_show()
|
H A D | xattr.c | 338 * chance that cached ACL is uptodate. ll_getxattr_common()
|
H A D | vvp_io.c | 853 * Add page into the queue even when it is marked uptodate above. vvp_io_read_page() 965 CL_PAGE_HEADER(D_PAGE, env, pg, "uptodate\n"); vvp_io_prepare_write()
|
H A D | file.c | 3513 * This function should be called before lov_io_init() to get an uptodate
|
/linux-4.1.27/fs/xfs/ |
H A D | xfs_aops.c | 696 int count = 0, done = 0, uptodate = 1; xfs_convert_page() local 766 uptodate = 0; xfs_convert_page() 801 if (uptodate && bh == head) xfs_convert_page() 951 int err, imap_valid = 0, uptodate = 1; xfs_vm_writepage() local 1062 uptodate = 0; xfs_vm_writepage() 1067 * meaningless for holes (!mapped && uptodate), so skip xfs_vm_writepage() 1094 * This buffer is not uptodate and will not be xfs_vm_writepage() 1135 if (uptodate && bh == head) xfs_vm_writepage()
|
H A D | xfs_buf.h | 46 #define XBF_DONE (1 << 5) /* all pages in the buffer uptodate */
|
H A D | xfs_inode.h | 87 * is uptodate.
|
/linux-4.1.27/fs/nilfs2/ |
H A D | segbuf.c | 343 const int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); nilfs_end_bio_write() local 351 if (!uptodate) nilfs_end_bio_write()
|
/linux-4.1.27/drivers/staging/lustre/lustre/lov/ |
H A D | lov_merge.c | 47 * uptodate time on the local client.
|
/linux-4.1.27/fs/jffs2/ |
H A D | file.c | 323 jffs2_dbg(1, "%s(): Not all bytes written. Marking page !uptodate\n", jffs2_write_end()
|
/linux-4.1.27/fs/cachefiles/ |
H A D | rdwr.c | 46 /* unlocked, not uptodate and not erronous? */ cachefiles_read_waiter() 331 _debug("- uptodate"); cachefiles_read_backing_file_one() 600 _debug("uptodate %lx", backpage->flags); list_for_each_entry_safe() 603 _debug("- uptodate"); list_for_each_entry_safe()
|
/linux-4.1.27/fs/ext4/ |
H A D | ialloc.c | 105 void ext4_end_bitmap_read(struct buffer_head *bh, int uptodate) ext4_end_bitmap_read() argument 107 if (uptodate) { ext4_end_bitmap_read() 165 * if not uninit if bh is uptodate, ext4_read_inode_bitmap() 166 * bitmap is also uptodate ext4_read_inode_bitmap()
|
H A D | file.c | 195 static void ext4_end_io_unwritten(struct buffer_head *bh, int uptodate) ext4_end_io_unwritten() argument 201 if (!uptodate) ext4_end_io_unwritten()
|
H A D | move_extent.c | 178 /* Force page buffers uptodate w/o dropping page's lock */ 365 /* At this point all buffers in range are uptodate, old mapping layout move_extent_per_page()
|
H A D | mmp.c | 66 * uptodate flag on the buffer.
|
H A D | balloc.c | 454 * if not uninit if bh is uptodate, ext4_read_block_bitmap_nowait() 455 * bitmap is also uptodate ext4_read_block_bitmap_nowait()
|
H A D | inline.c | 506 * So for all the other pages, just set them uptodate. ext4_readpage_inline() 840 * the page and make it uptodate, and start the journal.
|
H A D | mballoc.c | 240 * we need to make sure that either on-disk bitmap or PA has uptodate data 867 * If page is uptodate then we came here after online resize ext4_mb_init_cache() 869 * we must skip all initialized uptodate buddies on the page, ext4_mb_init_cache() 898 /* skip initialized uptodate buddy */ ext4_mb_init_cache() 1154 * are not uptodate that implies ext4_mb_load_buddy()
|
H A D | indirect.c | 369 BUFFER_TRACE(bh, "marking uptodate"); ext4_alloc_branch()
|
H A D | ext4.h | 2250 extern void ext4_end_bitmap_read(struct buffer_head *bh, int uptodate); 2988 * to mark the bitmap uptodate. We need to also zero-out the bitmap
|
H A D | inode.c | 3917 /* someone brought it uptodate while we waited */ __ext4_get_inode_loc()
|
/linux-4.1.27/drivers/block/drbd/ |
H A D | drbd_worker.c | 177 int uptodate = bio_flagged(bio, BIO_UPTODATE); drbd_peer_request_endio() local 186 if (!error && !uptodate) { drbd_peer_request_endio() 192 * fail the request by clearing the uptodate flag, drbd_peer_request_endio() 218 int uptodate = bio_flagged(bio, BIO_UPTODATE); drbd_request_endio() local 220 if (!error && !uptodate) { drbd_request_endio() 224 * fail the request by clearing the uptodate flag, drbd_request_endio()
|
H A D | drbd_bitmap.c | 950 int uptodate = bio_flagged(bio, BIO_UPTODATE); drbd_bm_endio() local 954 * fail the request by clearing the uptodate flag, drbd_bm_endio() 957 if (!error && !uptodate) drbd_bm_endio()
|
H A D | drbd_receiver.c | 4074 * preparation, ignore its uptodate-ness to avoid flapping, it receive_state() 4102 /* peer says his disk is inconsistent, while we think it is uptodate, receive_state()
|
/linux-4.1.27/fs/nfs/blocklayout/ |
H A D | blocklayout.c | 322 const int uptodate = test_bit(BIO_UPTODATE, &bio->bi_flags); bl_end_io_write() local 325 if (!uptodate) { bl_end_io_write()
|
/linux-4.1.27/fs/isofs/ |
H A D | compress.c | 196 * Uncompress data so that pages[full_page] is fully uptodate and possibly
|
H A D | rock.c | 690 * makes it uptodate and returns 0 or returns error (-EIO)
|
/linux-4.1.27/drivers/block/ |
H A D | pktcdvd.c | 1342 static void pkt_finish_packet(struct packet_data *pkt, int uptodate) pkt_finish_packet() argument 1346 if (!uptodate) pkt_finish_packet() 1351 bio_endio(bio, uptodate ? 0 : -EIO); pkt_finish_packet() 1356 int uptodate; pkt_run_state_machine() local 1403 uptodate = test_bit(BIO_UPTODATE, &pkt->w_bio->bi_flags); pkt_run_state_machine() 1404 pkt_finish_packet(pkt, uptodate); pkt_run_state_machine()
|
H A D | floppy.c | 2223 static void request_done(int uptodate) request_done() argument 2232 snprintf(msg, sizeof(msg), "request done %d", uptodate); request_done() 2242 if (uptodate) { request_done()
|
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/ |
H A D | cl_page.c | 1131 * by the \a uptodate argument. 1135 void cl_page_export(const struct lu_env *env, struct cl_page *pg, int uptodate) cl_page_export() argument 1140 const struct cl_page_slice *, int), uptodate); cl_page_export()
|
/linux-4.1.27/fs/romfs/ |
H A D | super.c | 43 * (error, uptodate, locking) in
|
/linux-4.1.27/fs/jbd/ |
H A D | recovery.c | 490 BUFFER_TRACE(nbh, "marking uptodate"); do_one_pass()
|
H A D | commit.c | 29 static void journal_end_buffer_io_sync(struct buffer_head *bh, int uptodate) journal_end_buffer_io_sync() argument 32 if (uptodate) journal_end_buffer_io_sync()
|
H A D | journal.c | 1028 BUFFER_TRACE(bh, "marking uptodate"); journal_create()
|
/linux-4.1.27/drivers/staging/lustre/lustre/include/ |
H A D | lustre_sec.h | 375 * To bring the \a ctx uptodate. 487 #define PTLRPC_CTX_UPTODATE_BIT (1) /* uptodate */
|
H A D | cl_object.h | 885 * Announces whether the page contains valid data or not by \a uptodate. 891 const struct cl_page_slice *slice, int uptodate); 2881 struct cl_page *pg, int uptodate);
|
/linux-4.1.27/block/ |
H A D | bsg.c | 302 static void bsg_rq_end_io(struct request *rq, int uptodate) bsg_rq_end_io() argument 309 bd->name, rq, bc, bc->bio, uptodate); bsg_rq_end_io()
|
/linux-4.1.27/fs/jbd2/ |
H A D | commit.c | 35 static void journal_end_buffer_io_sync(struct buffer_head *bh, int uptodate) journal_end_buffer_io_sync() argument 40 if (uptodate) journal_end_buffer_io_sync()
|
H A D | recovery.c | 640 BUFFER_TRACE(nbh, "marking uptodate"); do_one_pass()
|
/linux-4.1.27/tools/vm/ |
H A D | page-types.c | 114 [KPF_UPTODATE] = "U:uptodate",
|
/linux-4.1.27/fs/ceph/ |
H A D | addr.c | 282 dout("finish_read %p uptodate %p idx %lu\n", inode, page, finish_read() 1092 dout(" page %p already uptodate\n", page); ceph_update_writeable_page()
|
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/ |
H A D | sec.c | 700 * Commonly the original context should be uptodate because we sptlrpc_req_refresh_ctx() 942 * the context is uptodate. sptlrpc_cli_wrap_request()
|
/linux-4.1.27/fs/udf/ |
H A D | super.c | 2021 * We set buffer uptodate unconditionally here to avoid spurious udf_close_lvid() 2023 * the buffer as !uptodate udf_close_lvid()
|
/linux-4.1.27/drivers/target/ |
H A D | target_core_pscsi.c | 1090 static void pscsi_req_done(struct request *req, int uptodate) pscsi_req_done() argument
|
/linux-4.1.27/arch/sparc/include/asm/ |
H A D | pgtable_64.h | 112 #define _PAGE_R _AC(0x8000000000000000,UL) /* Keep ref bit uptodate*/
|
/linux-4.1.27/fs/gfs2/ |
H A D | file.c | 578 * files to ensure that we have the file size uptodate for the large
|
/linux-4.1.27/fs/affs/ |
H A D | file.c | 685 * we don't have to, because the page should always be uptodate here, affs_write_end_ofs()
|
/linux-4.1.27/drivers/scsi/ |
H A D | sg.c | 191 static void sg_rq_end_io(struct request *rq, int uptodate); 1280 sg_rq_end_io(struct request *rq, int uptodate) sg_rq_end_io() argument
|
H A D | scsi_error.c | 1942 static void eh_lock_door_done(struct request *req, int uptodate) eh_lock_door_done() argument
|
H A D | st.c | 476 static void st_scsi_execute_end(struct request *req, int uptodate) st_scsi_execute_end() 474 st_scsi_execute_end(struct request *req, int uptodate) st_scsi_execute_end() argument
|
/linux-4.1.27/fs/ext3/ |
H A D | inode.c | 709 BUFFER_TRACE(bh, "marking uptodate"); ext3_alloc_branch() 2718 /* someone brought it uptodate while we waited */ __ext3_get_inode_loc()
|
/linux-4.1.27/fs/cifs/ |
H A D | file.c | 3726 * page, it can be set uptodate. cifs_write_begin()
|
/linux-4.1.27/kernel/sched/ |
H A D | core.c | 594 * (as that cpu's timer base may not be uptodate wrt jiffies etc).
|