Home
last modified time | relevance | path

Searched refs:uptodate (Results 1 – 55 of 55) sorted by relevance

/linux-4.4.14/include/linux/
Dbuffer_head.h51 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);
Dpage-flags.h376 CLEARPAGEFLAG(Uptodate, uptodate)
Dfs.h74 typedef void (dax_iodone_t)(struct buffer_head *bh_map, int uptodate);
/linux-4.4.14/drivers/ide/
Dide-cd.c527 int dma_error = 0, dma, thislen, uptodate = 0; in cdrom_newpc_intr() local
566 uptodate = 1; in cdrom_newpc_intr()
586 uptodate = 1; in cdrom_newpc_intr()
593 uptodate = 0; in cdrom_newpc_intr()
598 uptodate = cmd->nleft ? 0 : 1; in cdrom_newpc_intr()
604 if (!(stat & ATA_ERR) && !uptodate && thislen) { in cdrom_newpc_intr()
606 uptodate = cmd->nleft ? 0 : 1; in cdrom_newpc_intr()
609 if (!uptodate) in cdrom_newpc_intr()
671 if (sense && uptodate) in cdrom_newpc_intr()
676 uptodate = 1; in cdrom_newpc_intr()
[all …]
Dide-floppy.c67 int uptodate = pc->error ? 0 : 1; in ide_floppy_callback() local
76 uptodate = 1; /* FIXME */ in ide_floppy_callback()
101 rq->errors = uptodate ? 0 : IDE_DRV_ERROR_GENERAL; in ide_floppy_callback()
103 return uptodate; in ide_floppy_callback()
Dide-atapi.c429 int uptodate, error; in ide_pc_intr() local
475 uptodate = drive->pc_callback(drive, dsc); in ide_pc_intr()
477 if (uptodate == 0) in ide_pc_intr()
485 if (rq->cmd_type != REQ_TYPE_FS && uptodate <= 0) { in ide_pc_intr()
490 error = uptodate ? 0 : -EIO; in ide_pc_intr()
Dide-tape.c331 int uptodate = pc->error ? 0 : 1; in ide_tape_callback() local
332 int err = uptodate ? 0 : IDE_DRV_ERROR_GENERAL; in ide_tape_callback()
344 if (uptodate) in ide_tape_callback()
365 uptodate = 0; in ide_tape_callback()
371 return uptodate; in ide_tape_callback()
/linux-4.4.14/fs/btrfs/
Dordered-data.h168 u64 file_offset, u64 io_size, int uptodate);
172 int uptodate);
Dextent_io.c2521 int uptodate = (err == 0); in end_extent_writepage() local
2529 end, NULL, uptodate); in end_extent_writepage()
2531 uptodate = 0; in end_extent_writepage()
2534 if (!uptodate) { in end_extent_writepage()
2593 int uptodate) in endio_readpage_release_extent() argument
2598 if (uptodate && tree->track_uptodate) in endio_readpage_release_extent()
2617 int uptodate = !bio->bi_error; in end_bio_extent_readpage() local
2661 if (likely(uptodate && tree->ops && in end_bio_extent_readpage()
2667 uptodate = 0; in end_bio_extent_readpage()
2672 if (likely(uptodate)) in end_bio_extent_readpage()
[all …]
Dordered-data.c303 u64 *file_offset, u64 io_size, int uptodate) in btrfs_dec_test_first_ordered_pending() argument
343 if (!uptodate) in btrfs_dec_test_first_ordered_pending()
376 u64 file_offset, u64 io_size, int uptodate) in btrfs_dec_test_ordered_pending() argument
410 if (!uptodate) in btrfs_dec_test_ordered_pending()
Dextent_io.h84 struct extent_state *state, int uptodate);
Dinode.c3014 struct extent_state *state, int uptodate) in btrfs_writepage_end_io_hook() argument
3022 trace_btrfs_writepage_end_io_hook(page, start, end, uptodate); in btrfs_writepage_end_io_hook()
3026 end - start + 1, uptodate)) in btrfs_writepage_end_io_hook()
7831 int uptodate; member
7843 done->uptodate = 1; in btrfs_retry_endio_nocsum()
7865 done.uptodate = 0; in __btrfs_correct_data_nocsum()
7878 if (!done.uptodate) { in __btrfs_correct_data_nocsum()
7894 int uptodate; in btrfs_retry_endio() local
7901 uptodate = 1; in btrfs_retry_endio()
7910 uptodate = 0; in btrfs_retry_endio()
[all …]
Dcheck-integrity.c347 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) in btrfsic_bh_end_io() argument
2261 int iodone_w_error = !uptodate; in btrfsic_bh_end_io()
2289 bh->b_end_io(bh, uptodate); in btrfsic_bh_end_io()
Dctree.c1638 int uptodate; in btrfs_realloc_node() local
1685 uptodate = btrfs_buffer_uptodate(cur, gen, 0); in btrfs_realloc_node()
1687 uptodate = 0; in btrfs_realloc_node()
1688 if (!cur || !uptodate) { in btrfs_realloc_node()
1697 } else if (!uptodate) { in btrfs_realloc_node()
Dfree-space-cache.c378 int uptodate) in io_ctl_prepare_pages() argument
391 if (uptodate && !PageUptodate(page)) { in io_ctl_prepare_pages()
Ddisk-io.c3207 static void btrfs_end_buffer_write_sync(struct buffer_head *bh, int uptodate) in btrfs_end_buffer_write_sync() argument
3209 if (uptodate) { in btrfs_end_buffer_write_sync()
/linux-4.4.14/fs/exofs/
Dore_raid.c492 bool uptodate; in _read_4_write_first_stripe() local
503 &uptodate); in _read_4_write_first_stripe()
507 if (!uptodate) in _read_4_write_first_stripe()
559 bool uptodate; in _read_4_write_last_stripe() local
563 &uptodate); in _read_4_write_last_stripe()
570 if (!uptodate) in _read_4_write_last_stripe()
Dinode.c568 static struct page *__r4w_get_page(void *priv, u64 offset, bool *uptodate) in __r4w_get_page() argument
579 *uptodate = true; in __r4w_get_page()
595 *uptodate = PageUptodate(page); in __r4w_get_page()
596 EXOFS_DBGMSG2("index=0x%lx uptodate=%d\n", index, *uptodate); in __r4w_get_page()
601 *uptodate = true; in __r4w_get_page()
/linux-4.4.14/fs/ocfs2/
Dbuffer_head_io.h32 int uptodate);
DMakefile40 uptodate.o \
/linux-4.4.14/fs/
Dbuffer.c154 static void __end_buffer_read_notouch(struct buffer_head *bh, int uptodate) in __end_buffer_read_notouch() argument
156 if (uptodate) { in __end_buffer_read_notouch()
169 void end_buffer_read_sync(struct buffer_head *bh, int uptodate) in end_buffer_read_sync() argument
171 __end_buffer_read_notouch(bh, uptodate); in end_buffer_read_sync()
176 void end_buffer_write_sync(struct buffer_head *bh, int uptodate) in end_buffer_write_sync() argument
178 if (uptodate) { in end_buffer_write_sync()
283 static void end_buffer_async_read(struct buffer_head *bh, int uptodate) in end_buffer_async_read() argument
294 if (uptodate) { in end_buffer_async_read()
344 void end_buffer_async_write(struct buffer_head *bh, int uptodate) in end_buffer_async_write() argument
354 if (uptodate) { in end_buffer_async_write()
[all …]
/linux-4.4.14/fs/nfs/objlayout/
Dobjio_osd.c454 static struct page *__r4w_get_page(void *priv, u64 offset, bool *uptodate) in __r4w_get_page() argument
464 *uptodate = true; in __r4w_get_page()
479 *uptodate = PageUptodate(page); in __r4w_get_page()
480 dprintk("%s: index=0x%lx uptodate=%d\n", __func__, index, *uptodate); in __r4w_get_page()
/linux-4.4.14/include/trace/events/
Dbtrfs.h364 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;
392 (unsigned long long)__entry->end, __entry->uptodate)
Df2fs.h895 __field(int, uptodate)
905 __entry->uptodate = PageUptodate(page);
915 __entry->uptodate)
/linux-4.4.14/include/scsi/
Dosd_ore.h112 struct page * (*get_page)(void *priv, u64 page_index, bool *uptodate);
/linux-4.4.14/fs/ntfs/
Daops.c58 static void ntfs_end_buffer_async_read(struct buffer_head *bh, int uptodate) in ntfs_end_buffer_async_read() argument
71 if (likely(uptodate)) { in ntfs_end_buffer_async_read()
823 int uptodate = 1; in ntfs_write_block() local
826 uptodate = 0; in ntfs_write_block()
831 if (uptodate) in ntfs_write_block()
/linux-4.4.14/fs/xfs/
Dxfs_aops.c701 int count = 0, done = 0, uptodate = 1; in xfs_convert_page() local
771 uptodate = 0; in xfs_convert_page()
806 if (uptodate && bh == head) in xfs_convert_page()
956 int err, imap_valid = 0, uptodate = 1; in xfs_vm_writepage() local
1067 uptodate = 0; in xfs_vm_writepage()
1140 if (uptodate && bh == head) in xfs_vm_writepage()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dvvp_page.c198 int uptodate) in vvp_page_export() argument
204 if (uptodate) in vvp_page_export()
Dvvp_dev.c422 seq_page_flag(seq, vmpage, uptodate, has_flags); in vvp_pgcache_page_show()
/linux-4.4.14/drivers/md/
Draid5.h265 int locked, uptodate, to_read, to_write, failed, written; member
Draid1.c320 int uptodate = !bio->bi_error; in raid1_end_read_request() local
331 if (uptodate) in raid1_end_read_request()
343 uptodate = 1; in raid1_end_read_request()
347 if (uptodate) { in raid1_end_read_request()
1720 int uptodate = !bio->bi_error; in end_sync_write() local
1730 if (!uptodate) { in end_sync_write()
1766 md_done_sync(mddev, s, uptodate); in end_sync_write()
Draid5.c3364 if ((s->uptodate == disks - 1) && in fetch_block()
3384 s->uptodate++; in fetch_block()
3386 } else if (s->uptodate == disks-2 && s->failed >= 2) { in fetch_block()
3408 s->uptodate += 2; in fetch_block()
3699 BUG_ON(s->uptodate != disks); in handle_parity_checks5()
3703 s->uptodate--; in handle_parity_checks5()
3719 BUG_ON(s->uptodate != disks); in handle_parity_checks5()
3761 s->uptodate++; in handle_parity_checks5()
3820 s->uptodate--; in handle_parity_checks6()
3844 BUG_ON(s->uptodate < disks - 1); /* We don't need Q to recover */ in handle_parity_checks6()
[all …]
Dbitmap.c314 static void end_bitmap_write(struct buffer_head *bh, int uptodate) in end_bitmap_write() argument
318 if (!uptodate) in end_bitmap_write()
Draid10.c364 int uptodate = !bio->bi_error; in raid10_end_read_request() local
378 if (uptodate) { in raid10_end_read_request()
397 uptodate = 1; in raid10_end_read_request()
399 if (uptodate) { in raid10_end_read_request()
/linux-4.4.14/fs/ext4/
Dfile.c196 static void ext4_end_io_unwritten(struct buffer_head *bh, int uptodate) in ext4_end_io_unwritten() argument
202 if (!uptodate) in ext4_end_io_unwritten()
Dialloc.c104 void ext4_end_bitmap_read(struct buffer_head *bh, int uptodate) in ext4_end_bitmap_read() argument
106 if (uptodate) { in ext4_end_bitmap_read()
Dext4.h2444 extern void ext4_end_bitmap_read(struct buffer_head *bh, int uptodate);
/linux-4.4.14/fs/jbd2/
Dcommit.c35 static void journal_end_buffer_io_sync(struct buffer_head *bh, int uptodate) in journal_end_buffer_io_sync() argument
40 if (uptodate) in journal_end_buffer_io_sync()
/linux-4.4.14/block/
Dbsg.c302 static void bsg_rq_end_io(struct request *rq, int uptodate) in bsg_rq_end_io() argument
309 bd->name, rq, bc, bc->bio, uptodate); in bsg_rq_end_io()
/linux-4.4.14/drivers/staging/lustre/lustre/include/
Dcl_object.h891 const struct cl_page_slice *slice, int uptodate);
2873 struct cl_page *pg, int uptodate);
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
Dcl_page.c1117 void cl_page_export(const struct lu_env *env, struct cl_page *pg, int uptodate) in cl_page_export() argument
1122 const struct cl_page_slice *, int), uptodate); in cl_page_export()
/linux-4.4.14/Documentation/networking/
Dxfrm_sync.txt16 This way a backup stays as closely uptodate as an active member.
/linux-4.4.14/Documentation/vm/
Dpage_migration96 this (not yet uptodate) page immediately lock while the move is in progress.
/linux-4.4.14/Documentation/DocBook/
Dfilesystems.xml.db110 API-bh-uptodate-or-lock
/linux-4.4.14/fs/reiserfs/
Djournal.c619 static void reiserfs_end_buffer_io_sync(struct buffer_head *bh, int uptodate) in reiserfs_end_buffer_io_sync() argument
628 if (uptodate) in reiserfs_end_buffer_io_sync()
637 static void reiserfs_end_ordered_io(struct buffer_head *bh, int uptodate) in reiserfs_end_ordered_io() argument
639 if (uptodate) in reiserfs_end_ordered_io()
/linux-4.4.14/Documentation/filesystems/nfs/
Drpc-cache.txt113 done when the found cache item is not uptodate, but the is reason to
/linux-4.4.14/Documentation/filesystems/
Dgfs2-glocks.txt99 indicates that it is caching uptodate data.
DLocking386 void (*b_end_io)(struct buffer_head *bh, int uptodate);
Dvfs.txt627 unlocked and marked uptodate once the read completes.
/linux-4.4.14/drivers/target/
Dtarget_core_pscsi.c1095 static void pscsi_req_done(struct request *req, int uptodate) in pscsi_req_done() argument
/linux-4.4.14/drivers/block/
Dfloppy.c2223 static void request_done(int uptodate) in request_done() argument
2232 snprintf(msg, sizeof(msg), "request done %d", uptodate); in request_done()
2242 if (uptodate) { in request_done()
/linux-4.4.14/drivers/scsi/
Dsg.c191 static void sg_rq_end_io(struct request *rq, int uptodate);
1286 sg_rq_end_io(struct request *rq, int uptodate) in sg_rq_end_io() argument
Dscsi_error.c1952 static void eh_lock_door_done(struct request *req, int uptodate) in eh_lock_door_done() argument
Dst.c514 static void st_scsi_execute_end(struct request *req, int uptodate) in st_scsi_execute_end() argument
/linux-4.4.14/Documentation/sysctl/
Dvm.txt393 no other uptodate copy of the data it will kill to prevent any data