Lines Matching refs:prefix

145 int oomd_sort_cgroup_contexts(Hashmap *h, oomd_compare_t compare_func, const char *prefix, OomdCGro…  in oomd_sort_cgroup_contexts()  argument
160 …if ((item->path && prefix && !path_startswith(item->path, prefix)) || item->preference == MANAGED_… in oomd_sort_cgroup_contexts()
223 typedef void (*dump_candidate_func)(const OomdCGroupContext *ctx, FILE *f, const char *prefix);
247 int oomd_kill_by_pgscan_rate(Hashmap *h, const char *prefix, bool dry_run, char **ret_selected) { in oomd_kill_by_pgscan_rate() argument
255 n = oomd_sort_cgroup_contexts(h, compare_pgscan_rate_and_memory_usage, prefix, &sorted); in oomd_kill_by_pgscan_rate()
551 void oomd_dump_swap_cgroup_context(const OomdCGroupContext *ctx, FILE *f, const char *prefix) { in oomd_dump_swap_cgroup_context() argument
559 strempty(prefix), ctx->path, in oomd_dump_swap_cgroup_context()
560 strempty(prefix), FORMAT_BYTES(ctx->swap_usage)); in oomd_dump_swap_cgroup_context()
565 strempty(prefix), ctx->path, in oomd_dump_swap_cgroup_context()
566 strempty(prefix)); in oomd_dump_swap_cgroup_context()
569 …md_dump_memory_pressure_cgroup_context(const OomdCGroupContext *ctx, FILE *f, const char *prefix) { in oomd_dump_memory_pressure_cgroup_context() argument
578 strempty(prefix), ctx->path, in oomd_dump_memory_pressure_cgroup_context()
579 …strempty(prefix), LOADAVG_INT_SIDE(ctx->mem_pressure_limit), LOADAVG_DECIMAL_SIDE(ctx->mem_pressur… in oomd_dump_memory_pressure_cgroup_context()
580 strempty(prefix), in oomd_dump_memory_pressure_cgroup_context()
585 strempty(prefix), FORMAT_BYTES(ctx->current_memory_usage)); in oomd_dump_memory_pressure_cgroup_context()
593 strempty(prefix), FORMAT_BYTES_CGROUP_PROTECTION(ctx->memory_min), in oomd_dump_memory_pressure_cgroup_context()
594 strempty(prefix), FORMAT_BYTES_CGROUP_PROTECTION(ctx->memory_low), in oomd_dump_memory_pressure_cgroup_context()
595 strempty(prefix), ctx->pgscan, in oomd_dump_memory_pressure_cgroup_context()
596 strempty(prefix), ctx->last_pgscan); in oomd_dump_memory_pressure_cgroup_context()
599 void oomd_dump_system_context(const OomdSystemContext *ctx, FILE *f, const char *prefix) { in oomd_dump_system_context() argument
606 strempty(prefix), in oomd_dump_system_context()
609 strempty(prefix), in oomd_dump_system_context()