Lines Matching refs:err
118 int err = 0; in page_reporting_cycle() local
125 return err; in page_reporting_cycle()
188 err = prdev->report(prdev, sgl, PAGE_REPORTING_CAPACITY); in page_reporting_cycle()
200 page_reporting_drain(prdev, sgl, PAGE_REPORTING_CAPACITY, !err); in page_reporting_cycle()
209 if (err) in page_reporting_cycle()
219 return err; in page_reporting_cycle()
228 int err = 0; in page_reporting_process_zone() local
239 return err; in page_reporting_process_zone()
248 err = page_reporting_cycle(prdev, zone, order, mt, in page_reporting_process_zone()
250 if (err) in page_reporting_process_zone()
251 return err; in page_reporting_process_zone()
259 err = prdev->report(prdev, sgl, leftover); in page_reporting_process_zone()
263 page_reporting_drain(prdev, sgl, leftover, !err); in page_reporting_process_zone()
267 return err; in page_reporting_process_zone()
275 int err = 0, state = PAGE_REPORTING_ACTIVE; in page_reporting_process() local
295 err = page_reporting_process_zone(prdev, sgl, zone); in page_reporting_process()
296 if (err) in page_reporting_process()
317 int err = 0; in page_reporting_register() local
323 err = -EBUSY; in page_reporting_register()
345 return err; in page_reporting_register()