Lines Matching refs:err
71 int err; in do_readahead() local
89 err = journal_bmap(journal, next, &blocknr); in do_readahead()
91 if (err) { in do_readahead()
99 err = -ENOMEM; in do_readahead()
116 err = 0; in do_readahead()
121 return err; in do_readahead()
134 int err; in jread() local
145 err = journal_bmap(journal, offset, &blocknr); in jread()
147 if (err) { in jread()
150 return err; in jread()
226 int err, err2; in journal_recover() local
247 err = do_one_pass(journal, &info, PASS_SCAN); in journal_recover()
248 if (!err) in journal_recover()
249 err = do_one_pass(journal, &info, PASS_REVOKE); in journal_recover()
250 if (!err) in journal_recover()
251 err = do_one_pass(journal, &info, PASS_REPLAY); in journal_recover()
255 err, info.start_transaction, info.end_transaction); in journal_recover()
265 if (!err) in journal_recover()
266 err = err2; in journal_recover()
268 return err; in journal_recover()
286 int err; in journal_skip_recovery() local
294 err = do_one_pass(journal, &info, PASS_SCAN); in journal_skip_recovery()
296 if (err) { in journal_skip_recovery()
297 printk(KERN_ERR "JBD: error %d scanning journal\n", err); in journal_skip_recovery()
310 return err; in journal_skip_recovery()
318 int err, success = 0; in do_one_pass() local
378 err = jread(&bh, journal, next_log_block); in do_one_pass()
379 if (err) in do_one_pass()
439 err = jread(&obh, journal, io_block); in do_one_pass()
440 if (err) { in do_one_pass()
443 success = err; in do_one_pass()
447 err, io_block); in do_one_pass()
474 err = -ENOMEM; in do_one_pass()
527 err = scan_revoke_records(journal, bh, in do_one_pass()
530 if (err) in do_one_pass()
567 return err; in do_one_pass()
585 int err; in scan_revoke_records() local
589 err = journal_set_revoke(journal, blocknr, sequence); in scan_revoke_records()
590 if (err) in scan_revoke_records()
591 return err; in scan_revoke_records()