/drivers/staging/lustre/lustre/libcfs/ |
D | hash.c | 263 struct hlist_node *hnode) in cfs_hash_hh_hnode_add() argument 265 hlist_add_head(hnode, cfs_hash_hh_hhead(hs, bd)); in cfs_hash_hh_hnode_add() 271 struct hlist_node *hnode) in cfs_hash_hh_hnode_del() argument 273 hlist_del_init(hnode); in cfs_hash_hh_hnode_del() 303 struct hlist_node *hnode) in cfs_hash_hd_hnode_add() argument 309 hlist_add_head(hnode, &hh->hd_head); in cfs_hash_hd_hnode_add() 315 struct hlist_node *hnode) in cfs_hash_hd_hnode_del() argument 321 hlist_del_init(hnode); in cfs_hash_hd_hnode_del() 351 struct hlist_node *hnode) in cfs_hash_dh_hnode_add() argument 358 hlist_add_behind(hnode, dh->dh_tail); in cfs_hash_dh_hnode_add() [all …]
|
/drivers/staging/lustre/include/linux/libcfs/ |
D | libcfs_hash.h | 294 struct hlist_node *hnode); 297 struct hlist_node *hnode); 305 void * (*hs_key)(struct hlist_node *hnode); 307 void (*hs_keycpy)(struct hlist_node *hnode, void *key); 312 int (*hs_keycmp)(const void *key, struct hlist_node *hnode); 314 void * (*hs_object)(struct hlist_node *hnode); 316 void (*hs_get)(struct cfs_hash *hs, struct hlist_node *hnode); 318 void (*hs_put)(struct cfs_hash *hs, struct hlist_node *hnode); 321 struct hlist_node *hnode); 323 void (*hs_exit)(struct cfs_hash *hs, struct hlist_node *hnode); [all …]
|
/drivers/staging/lustre/lustre/ptlrpc/ |
D | connection.c | 170 conn_keycmp(const void *key, struct hlist_node *hnode) in conn_keycmp() argument 177 conn = hlist_entry(hnode, struct ptlrpc_connection, c_hash); in conn_keycmp() 184 conn_key(struct hlist_node *hnode) in conn_key() argument 188 conn = hlist_entry(hnode, struct ptlrpc_connection, c_hash); in conn_key() 193 conn_object(struct hlist_node *hnode) in conn_object() argument 195 return hlist_entry(hnode, struct ptlrpc_connection, c_hash); in conn_object() 199 conn_get(struct cfs_hash *hs, struct hlist_node *hnode) in conn_get() argument 203 conn = hlist_entry(hnode, struct ptlrpc_connection, c_hash); in conn_get() 208 conn_put_locked(struct cfs_hash *hs, struct hlist_node *hnode) in conn_put_locked() argument 212 conn = hlist_entry(hnode, struct ptlrpc_connection, c_hash); in conn_put_locked() [all …]
|
/drivers/staging/lustre/lustre/osc/ |
D | osc_quota.c | 145 oqi_keycmp(const void *key, struct hlist_node *hnode) in oqi_keycmp() argument 152 oqi = hlist_entry(hnode, struct osc_quota_info, oqi_hash); in oqi_keycmp() 158 oqi_key(struct hlist_node *hnode) in oqi_key() argument 162 oqi = hlist_entry(hnode, struct osc_quota_info, oqi_hash); in oqi_key() 167 oqi_object(struct hlist_node *hnode) in oqi_object() argument 169 return hlist_entry(hnode, struct osc_quota_info, oqi_hash); in oqi_object() 173 oqi_get(struct cfs_hash *hs, struct hlist_node *hnode) in oqi_get() argument 178 oqi_put_locked(struct cfs_hash *hs, struct hlist_node *hnode) in oqi_put_locked() argument 183 oqi_exit(struct cfs_hash *hs, struct hlist_node *hnode) in oqi_exit() argument 187 oqi = hlist_entry(hnode, struct osc_quota_info, oqi_hash); in oqi_exit()
|
/drivers/staging/lustre/lustre/ldlm/ |
D | ldlm_resource.c | 485 static void *ldlm_res_hop_key(struct hlist_node *hnode) in ldlm_res_hop_key() argument 489 res = hlist_entry(hnode, struct ldlm_resource, lr_hash); in ldlm_res_hop_key() 493 static int ldlm_res_hop_keycmp(const void *key, struct hlist_node *hnode) in ldlm_res_hop_keycmp() argument 497 res = hlist_entry(hnode, struct ldlm_resource, lr_hash); in ldlm_res_hop_keycmp() 502 static void *ldlm_res_hop_object(struct hlist_node *hnode) in ldlm_res_hop_object() argument 504 return hlist_entry(hnode, struct ldlm_resource, lr_hash); in ldlm_res_hop_object() 508 struct hlist_node *hnode) in ldlm_res_hop_get_locked() argument 512 res = hlist_entry(hnode, struct ldlm_resource, lr_hash); in ldlm_res_hop_get_locked() 517 struct hlist_node *hnode) in ldlm_res_hop_put_locked() argument 521 res = hlist_entry(hnode, struct ldlm_resource, lr_hash); in ldlm_res_hop_put_locked() [all …]
|
D | ldlm_request.c | 1621 struct hlist_node *hnode, void *arg) in ldlm_cli_hash_cancel_unused() argument 1623 struct ldlm_resource *res = cfs_hash_object(hs, hnode); in ldlm_cli_hash_cancel_unused() 1711 struct hlist_node *hnode, void *arg) in ldlm_res_iter_helper() argument 1714 struct ldlm_resource *res = cfs_hash_object(hs, hnode); in ldlm_res_iter_helper()
|
/drivers/staging/lustre/lustre/lov/ |
D | lov_pool.c | 105 static void *pool_key(struct hlist_node *hnode) in pool_key() argument 109 pool = hlist_entry(hnode, struct pool_desc, pool_hash); in pool_key() 123 static void *pool_hashobject(struct hlist_node *hnode) in pool_hashobject() argument 125 return hlist_entry(hnode, struct pool_desc, pool_hash); in pool_hashobject() 128 static void pool_hashrefcount_get(struct cfs_hash *hs, struct hlist_node *hnode) in pool_hashrefcount_get() argument 132 pool = hlist_entry(hnode, struct pool_desc, pool_hash); in pool_hashrefcount_get() 137 struct hlist_node *hnode) in pool_hashrefcount_put_locked() argument 141 pool = hlist_entry(hnode, struct pool_desc, pool_hash); in pool_hashrefcount_put_locked()
|
/drivers/staging/lustre/lustre/obdclass/ |
D | lu_object.c | 529 struct hlist_node *hnode; in htable_lookup() local 539 hnode = cfs_hash_bd_peek_locked(s->ls_obj_hash, bd, (void *)f); in htable_lookup() 540 if (hnode == NULL) { in htable_lookup() 545 h = container_of0(hnode, struct lu_object_header, loh_hash); in htable_lookup() 547 cfs_hash_get(s->ls_obj_hash, hnode); in htable_lookup() 782 struct hlist_node *hnode, void *data) in lu_site_obj_print() argument 787 h = hlist_entry(hnode, struct lu_object_header, loh_hash); in lu_site_obj_print() 885 static void *lu_obj_hop_object(struct hlist_node *hnode) in lu_obj_hop_object() argument 887 return hlist_entry(hnode, struct lu_object_header, loh_hash); in lu_obj_hop_object() 890 static void *lu_obj_hop_key(struct hlist_node *hnode) in lu_obj_hop_key() argument [all …]
|
D | obd_config.c | 1427 uuid_key(struct hlist_node *hnode) in uuid_key() argument 1431 exp = hlist_entry(hnode, struct obd_export, exp_uuid_hash); in uuid_key() 1441 uuid_keycmp(const void *key, struct hlist_node *hnode) in uuid_keycmp() argument 1446 exp = hlist_entry(hnode, struct obd_export, exp_uuid_hash); in uuid_keycmp() 1453 uuid_export_object(struct hlist_node *hnode) in uuid_export_object() argument 1455 return hlist_entry(hnode, struct obd_export, exp_uuid_hash); in uuid_export_object() 1459 uuid_export_get(struct cfs_hash *hs, struct hlist_node *hnode) in uuid_export_get() argument 1463 exp = hlist_entry(hnode, struct obd_export, exp_uuid_hash); in uuid_export_get() 1468 uuid_export_put_locked(struct cfs_hash *hs, struct hlist_node *hnode) in uuid_export_put_locked() argument 1472 exp = hlist_entry(hnode, struct obd_export, exp_uuid_hash); in uuid_export_put_locked()
|
/drivers/staging/lustre/lustre/llite/ |
D | vvp_dev.c | 300 struct hlist_node *hnode, void *data) in vvp_pgcache_obj_get() argument 303 struct lu_object_header *hdr = cfs_hash_object(hs, hnode); in vvp_pgcache_obj_get() 311 cfs_hash_get(hs, hnode); in vvp_pgcache_obj_get()
|
/drivers/s390/net/ |
D | qeth_l2_main.c | 226 hash_for_each_safe(card->mac_htable, i, tmp, mac, hnode) { in qeth_l2_del_all_macs() 234 hash_del(&mac->hnode); in qeth_l2_del_all_macs() 779 hash_for_each_possible(card->mac_htable, mac, hnode, in qeth_l2_add_mac() 797 hash_add(card->mac_htable, &mac->hnode, in qeth_l2_add_mac() 827 hash_for_each_safe(card->mac_htable, i, tmp, mac, hnode) { in qeth_l2_set_rx_mode() 837 hash_del(&mac->hnode); in qeth_l2_set_rx_mode() 843 hash_del(&mac->hnode); in qeth_l2_set_rx_mode()
|
D | qeth_core.h | 759 struct hlist_node hnode; member
|