Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_hash.h216 struct cfs_hash_ops *hs_ops; member
460 return hs->hs_ops->hs_hash(hs, key, mask); in cfs_hash_id()
466 return hs->hs_ops->hs_key(hnode); in cfs_hash_key()
472 if (hs->hs_ops->hs_keycpy) in cfs_hash_keycpy()
473 hs->hs_ops->hs_keycpy(hnode, key); in cfs_hash_keycpy()
482 return hs->hs_ops->hs_keycmp(key, hnode); in cfs_hash_keycmp()
488 return hs->hs_ops->hs_object(hnode); in cfs_hash_object()
494 return hs->hs_ops->hs_get(hs, hnode); in cfs_hash_get()
500 return hs->hs_ops->hs_put_locked(hs, hnode); in cfs_hash_put_locked()
506 return hs->hs_ops->hs_put(hs, hnode); in cfs_hash_put()
[all …]
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/
Dhash.c1071 hs->hs_ops = ops; in cfs_hash_create()
1587 hs->hs_ops->hs_put_locked == NULL; in cfs_hash_for_each_relax()
1642 if (hs->hs_ops->hs_get == NULL || in cfs_hash_for_each_nolock()
1643 (hs->hs_ops->hs_put == NULL && in cfs_hash_for_each_nolock()
1644 hs->hs_ops->hs_put_locked == NULL)) in cfs_hash_for_each_nolock()
1674 if (hs->hs_ops->hs_get == NULL || in cfs_hash_for_each_empty()
1675 (hs->hs_ops->hs_put == NULL && in cfs_hash_for_each_empty()
1676 hs->hs_ops->hs_put_locked == NULL)) in cfs_hash_for_each_empty()