Searched refs:memlimit (Results 1 – 2 of 2) sorted by relevance
471 unsigned int memlimit = 2 * 1024 * 1024; /* 2MB max response size */ in item_cachedump() local486 buffer = malloc((size_t)memlimit); in item_cachedump()505 if (bufcurr + len + 6 > memlimit) /* 6 is END\r\n\0 */ in item_cachedump()
3759 uint32_t memlimit; in process_memlimit_command() local3764 if (!safe_strtoul(tokens[1].value, &memlimit)) { in process_memlimit_command()3767 if (memlimit < 8) { in process_memlimit_command()3770 if (slabs_adjust_mem_limit(memlimit * 1024 * 1024)) { in process_memlimit_command()3772 fprintf(stderr, "maxbytes adjusted to %llum\n", (unsigned long long)memlimit); in process_memlimit_command()