Home
last modified time | relevance | path

Searched refs:rhead (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/gpu/drm/vmwgfx/
H A Dttm_object.h103 struct rcu_head rhead; member
286 kfree_rcu(__object, __base.rhead)
309 kfree_rcu(__obj, __prime.base.rhead)
/linux/include/linux/
H A Drhashtable.h734 return he ? container_of(he, struct rhlist_head, rhead) : NULL; in rhltable_lookup()
744 return likely(he) ? container_of(he, struct rhlist_head, rhead) : NULL; in rhltable_lookup_likely()
806 list = container_of(obj, struct rhlist_head, rhead); in __rhashtable_insert_fast()
807 plist = container_of(head, struct rhlist_head, rhead); in __rhashtable_insert_fast()
811 RCU_INIT_POINTER(list->rhead.next, head); in __rhashtable_insert_fast()
838 list = container_of(obj, struct rhlist_head, rhead); in __rhashtable_insert_fast()
907 return PTR_ERR(__rhashtable_insert_fast(&hlt->ht, key, &list->rhead, in rhltable_insert_key()
930 const char *key = rht_obj(&hlt->ht, &list->rhead); in rhltable_insert()
1063 list = container_of(he, struct rhlist_head, rhead); in __rhashtable_remove_fast_one()
1077 } while (list && obj != &list->rhead); in __rhashtable_remove_fast_one()
[all …]
/linux/lib/
H A Drhashtable.c524 list = container_of(obj, struct rhlist_head, rhead); in rhashtable_lookup_one()
525 plist = container_of(head, struct rhlist_head, rhead); in rhashtable_lookup_one()
529 RCU_INIT_POINTER(list->rhead.next, head); in rhashtable_lookup_one()
578 list = container_of(obj, struct rhlist_head, rhead); in rhashtable_insert_one()
771 for (list = container_of(p, struct rhlist_head, rhead); in rhashtable_walk_start_check()
816 rhead); in __rhashtable_walk_find_next()
836 return rht_obj(ht, rhlist ? &list->rhead : p); in __rhashtable_walk_find_next()
881 list = container_of(p, struct rhlist_head, rhead); in rhashtable_walk_next()
887 return rht_obj(ht, rhlist ? &list->rhead : p); in rhashtable_walk_next()
917 return rht_obj(ht, ht->rhlist ? &list->rhead : p); in rhashtable_walk_peek()
[all …]
H A Dtest_rhashtable.c494 struct rhlist_head *list = container_of(pos, struct rhlist_head, rhead); in print_ht()
497 pos = &list->rhead; in print_ht()
539 key = rht_obj(&rhlt->ht, &rhl_test_objects[i].list_node.rhead); in test_insert_dup()
544 &rhl_test_objects[i].list_node.rhead)); in test_insert_dup()
/linux/Documentation/translations/zh_CN/core-api/
H A Dkref.rst274 struct rcu_head rhead;
301 kfree_rcu(entry, rhead);
310 宽限期。这可以通过使用上面的kfree_rcu(entry, rhead)来实现,或者在使用kfree之前
/linux/net/mac80211/
H A Dmesh_pathtbl.c98 WARN_ON(rhashtable_init(&tbl->rhead, &mesh_rht_params)); in mesh_table_init()
103 rhashtable_free_and_destroy(&tbl->rhead, in mesh_table_free()
248 mpath = rhashtable_lookup(&tbl->rhead, dst, mesh_rht_params); in mpath_lookup()
702 mpath = rhashtable_lookup_get_insert_fast(&tbl->rhead, in mesh_path_add()
745 ret = rhashtable_lookup_insert_fast(&tbl->rhead, in mpp_path_add()
814 rhashtable_remove_fast(&tbl->rhead, &mpath->rhash, mesh_rht_params); in __mesh_path_del()
904 mpath = rhashtable_lookup_fast(&tbl->rhead, addr, mesh_rht_params); in table_path_del()
H A Dieee80211_i.h739 struct rhashtable rhead; member
/linux/drivers/net/wireless/ath/ath11k/
H A Dpeer.c172 struct rhash_head *rhead, in ath11k_peer_rhash_insert() argument
180 tmp = rhashtable_lookup_get_insert_fast(rtbl, rhead, *params); in ath11k_peer_rhash_insert()
192 struct rhash_head *rhead, in ath11k_peer_rhash_remove() argument
199 ret = rhashtable_remove_fast(rtbl, rhead, *params); in ath11k_peer_rhash_remove()
/linux/fs/xfs/
H A Dxfs_log.c1521 struct xlog_rec_header *rhead = iclog->ic_header; in xlog_pack_data() local
1522 __be32 cycle_lsn = CYCLE_LSN_DISK(rhead->h_lsn); in xlog_pack_data()
1527 *xlog_cycle_data(rhead, i) = *(__be32 *)dp; in xlog_pack_data()
1533 rhead->h_ext[i].xh_cycle = cycle_lsn; in xlog_pack_data()
1545 struct xlog_rec_header *rhead, in xlog_cksum() argument
1553 crc = xfs_start_cksum_update((char *)rhead, hdrsize, in xlog_cksum()
1562 crc = crc32c(crc, &rhead->h_ext[i], XLOG_REC_EXT_SIZE); in xlog_cksum()
3297 struct xlog_rec_header *rhead = iclog->ic_header; in xlog_verify_iclog() local
3316 if (rhead->h_magicno != cpu_to_be32(XLOG_HEADER_MAGIC_NUM)) in xlog_verify_iclog()
3319 base_ptr = ptr = rhead; in xlog_verify_iclog()
[all …]
/linux/security/selinux/
H A Davc.c59 struct rcu_head rhead; member
429 static void avc_node_free(struct rcu_head *rhead) in avc_node_free() argument
431 struct avc_node *node = container_of(rhead, struct avc_node, rhead); in avc_node_free()
440 call_rcu(&node->rhead, avc_node_free); in avc_node_delete()
455 call_rcu(&old->rhead, avc_node_free); in avc_node_replace()