/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/ |
D | libcfs_hash.h | 211 struct cfs_hash { struct 288 struct hlist_head *(*hop_hhead)(struct cfs_hash *hs, struct cfs_hash_bd *bd); argument 290 int (*hop_hhead_size)(struct cfs_hash *hs); 292 int (*hop_hnode_add)(struct cfs_hash *hs, 295 int (*hop_hnode_del)(struct cfs_hash *hs, 301 unsigned (*hs_hash)(struct cfs_hash *hs, const void *key, unsigned mask); 314 void (*hs_get)(struct cfs_hash *hs, struct hlist_node *hnode); 316 void (*hs_put)(struct cfs_hash *hs, struct hlist_node *hnode); 318 void (*hs_put_locked)(struct cfs_hash *hs, struct hlist_node *hnode); 320 void (*hs_exit)(struct cfs_hash *hs, struct hlist_node *hnode); [all …]
|
/linux-4.1.27/drivers/staging/lustre/lustre/libcfs/ |
D | hash.c | 210 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() 261 cfs_hash_hh_hnode_add(struct cfs_hash *hs, struct cfs_hash_bd *bd, in cfs_hash_hh_hnode_add() 269 cfs_hash_hh_hnode_del(struct cfs_hash *hs, struct cfs_hash_bd *bd, in cfs_hash_hh_hnode_del() 286 cfs_hash_hd_hhead_size(struct cfs_hash *hs) in cfs_hash_hd_hhead_size() 292 cfs_hash_hd_hhead(struct cfs_hash *hs, struct cfs_hash_bd *bd) in cfs_hash_hd_hhead() 301 cfs_hash_hd_hnode_add(struct cfs_hash *hs, struct cfs_hash_bd *bd, in cfs_hash_hd_hnode_add() 311 cfs_hash_hd_hnode_del(struct cfs_hash *hs, struct cfs_hash_bd *bd, in cfs_hash_hd_hnode_del() 330 cfs_hash_dh_hhead_size(struct cfs_hash *hs) in cfs_hash_dh_hhead_size() [all …]
|
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/ |
D | connection.c | 44 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.1.27/drivers/staging/lustre/lustre/osc/ |
D | osc_quota.c | 139 oqi_hashfn(struct cfs_hash *hs, const void *key, unsigned mask) in oqi_hashfn() 172 oqi_get(struct cfs_hash *hs, struct hlist_node *hnode) in oqi_get() 177 oqi_put_locked(struct cfs_hash *hs, struct hlist_node *hnode) in oqi_put_locked() 182 oqi_exit(struct cfs_hash *hs, struct hlist_node *hnode) in oqi_exit()
|
/linux-4.1.27/drivers/staging/lustre/lustre/ldlm/ |
D | ldlm_resource.c | 394 static unsigned ldlm_res_hop_hash(struct cfs_hash *hs, in ldlm_res_hop_hash() 406 static unsigned ldlm_res_hop_fid_hash(struct cfs_hash *hs, in ldlm_res_hop_fid_hash() 458 static void ldlm_res_hop_get_locked(struct cfs_hash *hs, in ldlm_res_hop_get_locked() 467 static void ldlm_res_hop_put_locked(struct cfs_hash *hs, in ldlm_res_hop_put_locked() 477 static void ldlm_res_hop_put(struct cfs_hash *hs, struct hlist_node *hnode) in ldlm_res_hop_put() 748 static int ldlm_resource_clean(struct cfs_hash *hs, struct cfs_hash_bd *bd, in ldlm_resource_clean() 761 static int ldlm_resource_complain(struct cfs_hash *hs, struct cfs_hash_bd *bd, in ldlm_resource_complain() 1348 static int ldlm_res_hash_dump(struct cfs_hash *hs, struct cfs_hash_bd *bd, in ldlm_res_hash_dump()
|
D | ldlm_flock.c | 763 ldlm_export_flock_hash(struct cfs_hash *hs, const void *key, unsigned mask) in ldlm_export_flock_hash() 790 ldlm_export_flock_get(struct cfs_hash *hs, struct hlist_node *hnode) in ldlm_export_flock_get() 805 ldlm_export_flock_put(struct cfs_hash *hs, struct hlist_node *hnode) in ldlm_export_flock_put()
|
D | ldlm_lockd.c | 904 ldlm_export_lock_hash(struct cfs_hash *hs, const void *key, unsigned mask) in ldlm_export_lock_hash() 940 ldlm_export_lock_get(struct cfs_hash *hs, struct hlist_node *hnode) in ldlm_export_lock_get() 949 ldlm_export_lock_put(struct cfs_hash *hs, struct hlist_node *hnode) in ldlm_export_lock_put()
|
D | ldlm_request.c | 1919 static int ldlm_cli_hash_cancel_unused(struct cfs_hash *hs, in ldlm_cli_hash_cancel_unused() 2020 static int ldlm_res_iter_helper(struct cfs_hash *hs, struct cfs_hash_bd *bd, in ldlm_res_iter_helper()
|
D | ldlm_lock.c | 1870 static int ldlm_reprocess_res(struct cfs_hash *hs, struct cfs_hash_bd *bd, in ldlm_reprocess_res() 2018 int ldlm_cancel_locks_for_export_cb(struct cfs_hash *hs, struct cfs_hash_bd *bd, in ldlm_cancel_locks_for_export_cb()
|
/linux-4.1.27/drivers/staging/lustre/lustre/include/ |
D | lustre_export.h | 200 struct cfs_hash *exp_lock_hash; 205 struct cfs_hash *exp_flock_hash;
|
D | obd.h | 439 struct cfs_hash *cl_quota_hash[MAXQUOTAS]; 566 struct cfs_hash *lov_pools_hash_body; /* used for key access */ 841 struct cfs_hash *obd_uuid_hash; 843 struct cfs_hash *obd_nid_hash; 845 struct cfs_hash *obd_nid_stats_hash;
|
D | lu_object.h | 606 struct cfs_hash *ls_obj_hash;
|
D | lustre_dlm.h | 376 struct cfs_hash *ns_rs_hash;
|
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/ |
D | lu_object.c | 178 struct cfs_hash *obj_hash = o->lo_dev->ld_site->ls_obj_hash; in lu_object_unhash() 600 struct cfs_hash *hs; in lu_object_new() 629 struct cfs_hash *hs; in lu_object_find_try() 799 lu_site_obj_print(struct cfs_hash *hs, struct cfs_hash_bd *bd, in lu_site_obj_print() 884 static unsigned lu_obj_hop_hash(struct cfs_hash *hs, in lu_obj_hop_hash() 924 static void lu_obj_hop_get(struct cfs_hash *hs, struct hlist_node *hnode) in lu_obj_hop_get() 939 static void lu_obj_hop_put_locked(struct cfs_hash *hs, struct hlist_node *hnode) in lu_obj_hop_put_locked() 1794 static void lu_site_stats_get(struct cfs_hash *hs, in lu_site_stats_get() 2079 struct cfs_hash *hs; in lu_object_assign_fid()
|
D | obd_config.c | 1766 uuid_hash(struct cfs_hash *hs, const void *key, unsigned mask) in uuid_hash() 1805 uuid_export_get(struct cfs_hash *hs, struct hlist_node *hnode) in uuid_export_get() 1814 uuid_export_put_locked(struct cfs_hash *hs, struct hlist_node *hnode) in uuid_export_put_locked() 1837 nid_hash(struct cfs_hash *hs, const void *key, unsigned mask) in nid_hash() 1875 nid_export_get(struct cfs_hash *hs, struct hlist_node *hnode) in nid_export_get() 1884 nid_export_put_locked(struct cfs_hash *hs, struct hlist_node *hnode) in nid_export_put_locked() 1929 nidstats_get(struct cfs_hash *hs, struct hlist_node *hnode) in nidstats_get() 1938 nidstats_put_locked(struct cfs_hash *hs, struct hlist_node *hnode) in nidstats_put_locked()
|
D | cl_object.c | 581 static struct cfs_hash *cl_env_hash; 583 static unsigned cl_env_hops_hash(struct cfs_hash *lh, in cl_env_hops_hash() 608 static void cl_env_hops_noop(struct cfs_hash *hs, struct hlist_node *hn) in cl_env_hops_noop()
|
D | genops.c | 819 struct cfs_hash *hash = NULL; in class_new_export() 1395 struct cfs_hash *nid_hash; in obd_export_evict_by_nid() 1444 struct cfs_hash *uuid_hash; in obd_export_evict_by_uuid()
|
D | lprocfs_status.c | 1016 struct cfs_hash *hash = obd->obd_nid_stats_hash; in lprocfs_free_per_client_stats() 1546 int lprocfs_exp_print_uuid(struct cfs_hash *hs, struct cfs_hash_bd *bd, in lprocfs_exp_print_uuid() 1577 int lprocfs_exp_print_hash(struct cfs_hash *hs, struct cfs_hash_bd *bd, in lprocfs_exp_print_hash()
|
/linux-4.1.27/drivers/staging/lustre/lustre/lov/ |
D | lov_pool.c | 89 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.1.27/drivers/staging/lustre/lustre/llite/ |
D | vvp_dev.c | 302 static int vvp_pgcache_obj_get(struct cfs_hash *hs, struct cfs_hash_bd *bd, in vvp_pgcache_obj_get()
|