• Home
  • Raw
  • Download

Lines Matching refs:cell

55 	ckhc_t *cell;  in ckh_bucket_search()  local
59 cell = &ckh->tab[(bucket << LG_CKH_BUCKET_CELLS) + i]; in ckh_bucket_search()
60 if (cell->key != NULL && ckh->keycomp(key, cell->key)) in ckh_bucket_search()
73 size_t hashes[2], bucket, cell; in ckh_isearch() local
81 cell = ckh_bucket_search(ckh, bucket, key); in ckh_isearch()
82 if (cell != SIZE_T_MAX) in ckh_isearch()
83 return (cell); in ckh_isearch()
87 cell = ckh_bucket_search(ckh, bucket, key); in ckh_isearch()
88 return (cell); in ckh_isearch()
95 ckhc_t *cell; in ckh_try_bucket_insert() local
105 cell = &ckh->tab[(bucket << LG_CKH_BUCKET_CELLS) + in ckh_try_bucket_insert()
107 if (cell->key == NULL) { in ckh_try_bucket_insert()
108 cell->key = key; in ckh_try_bucket_insert()
109 cell->data = data; in ckh_try_bucket_insert()
129 ckhc_t *cell; in ckh_evict_reloc_insert() local
147 cell = &ckh->tab[(bucket << LG_CKH_BUCKET_CELLS) + i]; in ckh_evict_reloc_insert()
148 assert(cell->key != NULL); in ckh_evict_reloc_insert()
151 tkey = cell->key; tdata = cell->data; in ckh_evict_reloc_insert()
152 cell->key = key; cell->data = data; in ckh_evict_reloc_insert()
487 size_t cell; in ckh_remove() local
491 cell = ckh_isearch(ckh, searchkey); in ckh_remove()
492 if (cell != SIZE_T_MAX) { in ckh_remove()
494 *key = (void *)ckh->tab[cell].key; in ckh_remove()
496 *data = (void *)ckh->tab[cell].data; in ckh_remove()
497 ckh->tab[cell].key = NULL; in ckh_remove()
498 ckh->tab[cell].data = NULL; /* Not necessary. */ in ckh_remove()
518 size_t cell; in ckh_search() local
522 cell = ckh_isearch(ckh, searchkey); in ckh_search()
523 if (cell != SIZE_T_MAX) { in ckh_search()
525 *key = (void *)ckh->tab[cell].key; in ckh_search()
527 *data = (void *)ckh->tab[cell].data; in ckh_search()