Lines Matching refs:err
171 int err; in add_to_swap() local
197 err = add_to_swap_cache(page, entry, in add_to_swap()
200 if (!err) { /* Success */ in add_to_swap()
308 int err; in read_swap_cache_async() local
333 err = radix_tree_maybe_preload(gfp_mask & GFP_KERNEL); in read_swap_cache_async()
334 if (err) in read_swap_cache_async()
340 err = swapcache_prepare(entry); in read_swap_cache_async()
341 if (err == -EEXIST) { in read_swap_cache_async()
361 if (err) { /* swp entry is obsolete ? */ in read_swap_cache_async()
369 err = __add_to_swap_cache(new_page, entry); in read_swap_cache_async()
370 if (likely(!err)) { in read_swap_cache_async()
387 } while (err != -ENOMEM); in read_swap_cache_async()