• Home
  • Raw
  • Download

Lines Matching refs:error

842 	int error;  in __add_to_page_cache_locked()  local
854 error = mem_cgroup_charge(page, current->mm, gfp); in __add_to_page_cache_locked()
855 if (error) in __add_to_page_cache_locked()
856 goto error; in __add_to_page_cache_locked()
905 error = xas_error(&xas); in __add_to_page_cache_locked()
908 goto error; in __add_to_page_cache_locked()
913 error: in __add_to_page_cache_locked()
917 return error; in __add_to_page_cache_locked()
2210 int error = 0; in generic_file_buffered_read() local
2242 error = -EINTR; in generic_file_buffered_read()
2277 error = wait_on_page_locked_async(page, in generic_file_buffered_read()
2284 error = wait_on_page_locked_killable(page); in generic_file_buffered_read()
2286 if (unlikely(error)) in generic_file_buffered_read()
2366 error = -EFAULT; in generic_file_buffered_read()
2378 error = lock_page_async(page, iocb->ki_waitq); in generic_file_buffered_read()
2380 error = lock_page_killable(page); in generic_file_buffered_read()
2382 if (unlikely(error)) in generic_file_buffered_read()
2412 error = mapping->a_ops->readpage(filp, page); in generic_file_buffered_read()
2414 if (unlikely(error)) { in generic_file_buffered_read()
2415 if (error == AOP_TRUNCATED_PAGE) { in generic_file_buffered_read()
2417 error = 0; in generic_file_buffered_read()
2429 error = lock_page_async(page, iocb->ki_waitq); in generic_file_buffered_read()
2431 error = lock_page_killable(page); in generic_file_buffered_read()
2434 if (unlikely(error)) in generic_file_buffered_read()
2447 error = -EIO; in generic_file_buffered_read()
2467 error = -ENOMEM; in generic_file_buffered_read()
2470 error = add_to_page_cache_lru(page, mapping, index, in generic_file_buffered_read()
2472 if (error) { in generic_file_buffered_read()
2474 if (error == -EEXIST) { in generic_file_buffered_read()
2475 error = 0; in generic_file_buffered_read()
2484 error = -EAGAIN; in generic_file_buffered_read()
2492 return written ? written : error; in generic_file_buffered_read()
2730 int error; in filemap_fault() local
2877 error = mapping->a_ops->readpage(file, page); in filemap_fault()
2878 if (!error) { in filemap_fault()
2881 error = -EIO; in filemap_fault()
2887 if (!error || error == AOP_TRUNCATED_PAGE) in filemap_fault()