Home
last modified time | relevance | path

Searched refs:cfs_hash (Results 1 – 16 of 16) sorted by relevance

/linux-4.4.14/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs_hash.h211 struct cfs_hash { struct
288 struct hlist_head *(*hop_hhead)(struct cfs_hash *hs, argument
291 int (*hop_hhead_size)(struct cfs_hash *hs);
293 int (*hop_hnode_add)(struct cfs_hash *hs, struct cfs_hash_bd *bd,
296 int (*hop_hnode_del)(struct cfs_hash *hs, struct cfs_hash_bd *bd,
302 unsigned (*hs_hash)(struct cfs_hash *hs, const void *key,
316 void (*hs_get)(struct cfs_hash *hs, struct hlist_node *hnode);
318 void (*hs_put)(struct cfs_hash *hs, struct hlist_node *hnode);
320 void (*hs_put_locked)(struct cfs_hash *hs,
323 void (*hs_exit)(struct cfs_hash *hs, struct hlist_node *hnode);
[all …]
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/
Dhash.c210 cfs_hash_lock_setup(struct cfs_hash *hs) in cfs_hash_lock_setup()
247 cfs_hash_hh_hhead_size(struct cfs_hash *hs) in cfs_hash_hh_hhead_size()
253 cfs_hash_hh_hhead(struct cfs_hash *hs, struct cfs_hash_bd *bd) in cfs_hash_hh_hhead()
262 cfs_hash_hh_hnode_add(struct cfs_hash *hs, struct cfs_hash_bd *bd, in cfs_hash_hh_hnode_add()
270 cfs_hash_hh_hnode_del(struct cfs_hash *hs, struct cfs_hash_bd *bd, in cfs_hash_hh_hnode_del()
287 cfs_hash_hd_hhead_size(struct cfs_hash *hs) in cfs_hash_hd_hhead_size()
293 cfs_hash_hd_hhead(struct cfs_hash *hs, struct cfs_hash_bd *bd) in cfs_hash_hd_hhead()
302 cfs_hash_hd_hnode_add(struct cfs_hash *hs, struct cfs_hash_bd *bd, in cfs_hash_hd_hnode_add()
314 cfs_hash_hd_hnode_del(struct cfs_hash *hs, struct cfs_hash_bd *bd, in cfs_hash_hd_hnode_del()
335 cfs_hash_dh_hhead_size(struct cfs_hash *hs) in cfs_hash_dh_hhead_size()
[all …]
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/
Dconnection.c44 static struct cfs_hash *conn_hash;
164 conn_hashfn(struct cfs_hash *hs, const void *key, unsigned mask) in conn_hashfn()
199 conn_get(struct cfs_hash *hs, struct hlist_node *hnode) in conn_get()
208 conn_put_locked(struct cfs_hash *hs, struct hlist_node *hnode) in conn_put_locked()
217 conn_exit(struct cfs_hash *hs, struct hlist_node *hnode) in conn_exit()
/linux-4.4.14/drivers/staging/lustre/lustre/osc/
Dosc_quota.c139 oqi_hashfn(struct cfs_hash *hs, const void *key, unsigned mask) in oqi_hashfn()
173 oqi_get(struct cfs_hash *hs, struct hlist_node *hnode) in oqi_get()
178 oqi_put_locked(struct cfs_hash *hs, struct hlist_node *hnode) in oqi_put_locked()
183 oqi_exit(struct cfs_hash *hs, struct hlist_node *hnode) in oqi_exit()
/linux-4.4.14/drivers/staging/lustre/lustre/include/
Dlustre_export.h163 struct cfs_hash *exp_lock_hash;
168 struct cfs_hash *exp_flock_hash;
Dobd.h363 struct cfs_hash *cl_quota_hash[MAXQUOTAS];
472 struct cfs_hash *lov_pools_hash_body; /* used for key access */
748 struct cfs_hash *obd_uuid_hash;
Dlu_object.h605 struct cfs_hash *ls_obj_hash;
Dlustre_dlm.h366 struct cfs_hash *ns_rs_hash;
/linux-4.4.14/drivers/staging/lustre/lustre/ldlm/
Dldlm_resource.c443 static unsigned ldlm_res_hop_hash(struct cfs_hash *hs, in ldlm_res_hop_hash()
455 static unsigned ldlm_res_hop_fid_hash(struct cfs_hash *hs, in ldlm_res_hop_fid_hash()
507 static void ldlm_res_hop_get_locked(struct cfs_hash *hs, in ldlm_res_hop_get_locked()
516 static void ldlm_res_hop_put_locked(struct cfs_hash *hs, in ldlm_res_hop_put_locked()
526 static void ldlm_res_hop_put(struct cfs_hash *hs, struct hlist_node *hnode) in ldlm_res_hop_put()
803 static int ldlm_resource_clean(struct cfs_hash *hs, struct cfs_hash_bd *bd, in ldlm_resource_clean()
815 static int ldlm_resource_complain(struct cfs_hash *hs, struct cfs_hash_bd *bd, in ldlm_resource_complain()
1322 static int ldlm_res_hash_dump(struct cfs_hash *hs, struct cfs_hash_bd *bd, in ldlm_res_hash_dump()
Dldlm_request.c1619 static int ldlm_cli_hash_cancel_unused(struct cfs_hash *hs, in ldlm_cli_hash_cancel_unused()
1710 static int ldlm_res_iter_helper(struct cfs_hash *hs, struct cfs_hash_bd *bd, in ldlm_res_iter_helper()
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
Dlu_object.c171 struct cfs_hash *obj_hash = site->ls_obj_hash; in lu_object_unhash()
589 struct cfs_hash *hs; in lu_object_new()
615 struct cfs_hash *hs; in lu_object_find_try()
781 lu_site_obj_print(struct cfs_hash *hs, struct cfs_hash_bd *bd, in lu_site_obj_print()
866 static unsigned lu_obj_hop_hash(struct cfs_hash *hs, in lu_obj_hop_hash()
906 static void lu_obj_hop_get(struct cfs_hash *hs, struct hlist_node *hnode) in lu_obj_hop_get()
914 static void lu_obj_hop_put_locked(struct cfs_hash *hs, struct hlist_node *hnode) in lu_obj_hop_put_locked()
1704 static void lu_site_stats_get(struct cfs_hash *hs, in lu_site_stats_get()
Dcl_object.c554 static struct cfs_hash *cl_env_hash;
556 static unsigned cl_env_hops_hash(struct cfs_hash *lh, in cl_env_hops_hash()
582 static void cl_env_hops_noop(struct cfs_hash *hs, struct hlist_node *hn) in cl_env_hops_noop()
Dobd_config.c1420 uuid_hash(struct cfs_hash *hs, const void *key, unsigned mask) in uuid_hash()
1459 uuid_export_get(struct cfs_hash *hs, struct hlist_node *hnode) in uuid_export_get()
1468 uuid_export_put_locked(struct cfs_hash *hs, struct hlist_node *hnode) in uuid_export_put_locked()
Dgenops.c726 struct cfs_hash *hash = NULL; in class_new_export()
/linux-4.4.14/drivers/staging/lustre/lustre/lov/
Dlov_pool.c89 static __u32 pool_hashfn(struct cfs_hash *hash_body, const void *key, unsigned mask) in pool_hashfn()
128 static void pool_hashrefcount_get(struct cfs_hash *hs, struct hlist_node *hnode) in pool_hashrefcount_get()
136 static void pool_hashrefcount_put_locked(struct cfs_hash *hs, in pool_hashrefcount_put_locked()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dvvp_dev.c299 static int vvp_pgcache_obj_get(struct cfs_hash *hs, struct cfs_hash_bd *bd, in vvp_pgcache_obj_get()