Lines Matching refs:flags
157 static size_t item_make_header(const uint8_t nkey, const client_flags_t flags, const int nbytes, in item_make_header() argument
159 if (flags == 0) { in item_make_header()
162 *nsuffix = sizeof(flags); in item_make_header()
254 item *do_item_alloc(const char *key, const size_t nkey, const client_flags_t flags, in do_item_alloc() argument
263 size_t ntotal = item_make_header(nkey + 1, flags, nbytes, suffix, &nsuffix); in do_item_alloc()
336 memcpy(ITEM_suffix(it), &flags, sizeof(flags)); in do_item_alloc()
373 bool item_size_ok(const size_t nkey, const client_flags_t flags, const int nbytes) { in item_size_ok() argument
379 size_t ntotal = item_make_header(nkey + 1, flags, nbytes, in item_size_ok()
1106 const uint64_t total_bytes, const uint8_t flags, const rel_time_t max_age, in lru_pull_tail() argument
1130 if (flags & LRU_PULL_CRAWL_BLOCKS) { in lru_pull_tail()
1221 if (flags & LRU_PULL_EVICT) { in lru_pull_tail()
1243 } else if (flags & LRU_PULL_RETURN_ITEM) { in lru_pull_tail()
1272 if ((flags & LRU_PULL_RETURN_ITEM) == 0) { in lru_pull_tail()