#define LIBMEM_KB  )     ((X)*1024)
 

Convert kilobytes to bytes, e.g. LIBMEM_KB(10) = 10*1024.