Lines Matching refs:res
335 int res; in swsusp_swap_check() local
337 res = swap_type_of(swsusp_resume_device, swsusp_resume_block, in swsusp_swap_check()
339 if (res < 0) in swsusp_swap_check()
340 return res; in swsusp_swap_check()
342 root_swap = res; in swsusp_swap_check()
343 res = blkdev_get(hib_resume_bdev, FMODE_WRITE, NULL); in swsusp_swap_check()
344 if (res) in swsusp_swap_check()
345 return res; in swsusp_swap_check()
347 res = set_blocksize(hib_resume_bdev, PAGE_SIZE); in swsusp_swap_check()
348 if (res < 0) in swsusp_swap_check()
351 return res; in swsusp_swap_check()