Lines Matching refs:hv
468 uint32_t hv; in process_delete_cmd() local
483 it = item_get_locked(key, nkey, t, DONT_UPDATE, &hv); in process_delete_cmd()
491 do_item_unlink(it, hv); in process_delete_cmd()
502 item_unlock(hv); in process_delete_cmd()
753 uint32_t hv; // cached hash value for unlocking an item. in process_mget_cmd() local
789 it = limited_get_locked(key, nkey, t, DONT_UPDATE, &hv, &overflow); in process_mget_cmd()
813 do_item_link(it, hv, of.has_cas_in ? of.cas_id_in : get_cas_id()); in process_mget_cmd()
988 do_item_bump(t, it, hv); in process_mget_cmd()
990 item_unlock(hv); in process_mget_cmd()
1049 item_unlock(hv); in process_mget_cmd()
1064 uint32_t hv; // cached hash value. in process_mset_cmd() local
1151 it = item_get_locked(key, nkey, t, DONT_UPDATE, &hv); in process_mset_cmd()
1153 do_item_unlink(it, hv); in process_mset_cmd()
1157 item_unlock(hv); in process_mset_cmd()
1270 uint32_t hv; in process_mdelete_cmd() local
1318 it = item_get_locked(key, nkey, t, DONT_UPDATE, &hv); in process_mdelete_cmd()
1335 if (do_store_item(new_it, NREAD_SET, t, hv, NULL, NULL, in process_mdelete_cmd()
1373 do_item_unlink(it, hv); in process_mdelete_cmd()
1394 item_unlock(hv); in process_mdelete_cmd()
1405 item_unlock(hv); in process_mdelete_cmd()
1426 uint32_t hv = 0; in process_marithmetic_cmd() local
1470 hv = hash(key, nkey); in process_marithmetic_cmd()
1471 item_lock(hv); in process_marithmetic_cmd()
1479 switch(do_add_delta(t, key, nkey, incr, of.delta, tmpbuf, &of.req_cas_id, hv, &it)) { in process_marithmetic_cmd()
1508 if (do_store_item(it, NREAD_ADD, t, hv, NULL, &cas, in process_marithmetic_cmd()
1622 item_unlock(hv); in process_marithmetic_cmd()
1633 item_unlock(hv); in process_marithmetic_cmd()