Searched refs:memlimit (Results 1 – 2 of 2) sorted by relevance
2401 uint32_t memlimit; in process_memlimit_command() local2406 if (!safe_strtoul(tokens[1].value, &memlimit)) { in process_memlimit_command()2409 if (memlimit < 8) { in process_memlimit_command()2412 if (memlimit > 1000000000) { in process_memlimit_command()2414 } else if (slabs_adjust_mem_limit((size_t) memlimit * 1024 * 1024)) { in process_memlimit_command()2416 fprintf(stderr, "maxbytes adjusted to %llum\n", (unsigned long long)memlimit); in process_memlimit_command()
646 unsigned int memlimit = 2 * 1024 * 1024; /* 2MB max response size */ in item_cachedump() local660 buffer = malloc((size_t)memlimit); in item_cachedump()681 if (bufcurr + len + 6 > memlimit) /* 6 is END\r\n\0 */ in item_cachedump()