• Home
  • Raw
  • Download

Lines Matching refs:ret

1384 	int ret;  in compact_finished()  local
1386 ret = __compact_finished(zone, cc); in compact_finished()
1387 trace_mm_compaction_finished(zone, cc->order, ret); in compact_finished()
1388 if (ret == COMPACT_NO_SUITABLE_PAGE) in compact_finished()
1389 ret = COMPACT_CONTINUE; in compact_finished()
1391 return ret; in compact_finished()
1448 enum compact_result ret; in compaction_suitable() local
1451 ret = __compaction_suitable(zone, order, alloc_flags, classzone_idx, in compaction_suitable()
1469 if (ret == COMPACT_CONTINUE && (order > PAGE_ALLOC_COSTLY_ORDER)) { in compaction_suitable()
1472 ret = COMPACT_NOT_SUITABLE_ZONE; in compaction_suitable()
1475 trace_mm_compaction_suitable(zone, order, ret); in compaction_suitable()
1476 if (ret == COMPACT_NOT_SUITABLE_ZONE) in compaction_suitable()
1477 ret = COMPACT_SKIPPED; in compaction_suitable()
1479 return ret; in compaction_suitable()
1516 enum compact_result ret; in compact_zone() local
1533 ret = compaction_suitable(zone, cc->order, cc->alloc_flags, in compact_zone()
1536 if (ret == COMPACT_SUCCESS || ret == COMPACT_SKIPPED) in compact_zone()
1537 return ret; in compact_zone()
1540 VM_BUG_ON(ret != COMPACT_CONTINUE); in compact_zone()
1582 while ((ret = compact_finished(zone, cc)) == COMPACT_CONTINUE) { in compact_zone()
1587 ret = COMPACT_CONTENDED; in compact_zone()
1618 ret = COMPACT_CONTENDED; in compact_zone()
1684 cc->free_pfn, end_pfn, sync, ret); in compact_zone()
1686 return ret; in compact_zone()
1693 enum compact_result ret; in compact_zone_order() local
1708 ret = compact_zone(zone, &cc); in compact_zone_order()
1713 return ret; in compact_zone_order()
2054 int ret = 0; in kcompactd_run() local
2062 ret = PTR_ERR(pgdat->kcompactd); in kcompactd_run()
2065 return ret; in kcompactd_run()
2108 int ret; in kcompactd_init() local
2110 ret = cpuhp_setup_state_nocalls(CPUHP_AP_ONLINE_DYN, in kcompactd_init()
2113 if (ret < 0) { in kcompactd_init()
2115 return ret; in kcompactd_init()