Home
last modified time | relevance | path

Searched refs:hs_ops (Results 1 – 2 of 2) sorted by relevance

/linux-4.4.14/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_hash.h216 struct cfs_hash_ops *hs_ops; member
463 return hs->hs_ops->hs_hash(hs, key, mask); in cfs_hash_id()
469 return hs->hs_ops->hs_key(hnode); in cfs_hash_key()
475 if (hs->hs_ops->hs_keycpy) in cfs_hash_keycpy()
476 hs->hs_ops->hs_keycpy(hnode, key); in cfs_hash_keycpy()
485 return hs->hs_ops->hs_keycmp(key, hnode); in cfs_hash_keycmp()
491 return hs->hs_ops->hs_object(hnode); in cfs_hash_object()
497 return hs->hs_ops->hs_get(hs, hnode); in cfs_hash_get()
503 return hs->hs_ops->hs_put_locked(hs, hnode); in cfs_hash_put_locked()
509 return hs->hs_ops->hs_put(hs, hnode); in cfs_hash_put()
[all …]
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/
Dhash.c1080 hs->hs_ops = ops; in cfs_hash_create()
1596 hs->hs_ops->hs_put_locked == NULL; in cfs_hash_for_each_relax()
1655 if (hs->hs_ops->hs_get == NULL || in cfs_hash_for_each_nolock()
1656 (hs->hs_ops->hs_put == NULL && in cfs_hash_for_each_nolock()
1657 hs->hs_ops->hs_put_locked == NULL)) in cfs_hash_for_each_nolock()
1687 if (hs->hs_ops->hs_get == NULL || in cfs_hash_for_each_empty()
1688 (hs->hs_ops->hs_put == NULL && in cfs_hash_for_each_empty()
1689 hs->hs_ops->hs_put_locked == NULL)) in cfs_hash_for_each_empty()