Home
last modified time | relevance | path

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

/Linux-v4.19/net/mac80211/
Dmesh_pathtbl.c70 rhashtable_free_and_destroy(&tbl->rhead, in mesh_table_free()
218 mpath = rhashtable_lookup_fast(&tbl->rhead, dst, mesh_rht_params); in mpath_lookup()
256 ret = rhashtable_walk_init(&tbl->rhead, &iter, GFP_ATOMIC); in __mesh_path_lookup_by_idx()
436 ret = rhashtable_lookup_insert_fast(&tbl->rhead, in mesh_path_add()
441 mpath = rhashtable_lookup_fast(&tbl->rhead, in mesh_path_add()
483 ret = rhashtable_lookup_insert_fast(&tbl->rhead, in mpp_path_add()
509 ret = rhashtable_walk_init(&tbl->rhead, &iter, GFP_ATOMIC); in mesh_plink_broken()
554 rhashtable_remove_fast(&tbl->rhead, &mpath->rhash, mesh_rht_params); in __mesh_path_del()
577 ret = rhashtable_walk_init(&tbl->rhead, &iter, GFP_ATOMIC); in mesh_path_flush_by_nexthop()
605 ret = rhashtable_walk_init(&tbl->rhead, &iter, GFP_ATOMIC); in mpp_flush_by_proxy()
[all …]
Dmesh.h141 struct rhashtable rhead; member
/Linux-v4.19/fs/xfs/
Dxfs_log_recover.c900 struct xlog_rec_header **rhead, in xlog_rseek_logrec_hdr() argument
923 *rhead = (struct xlog_rec_header *) offset; in xlog_rseek_logrec_hdr()
944 *rhead = (struct xlog_rec_header *) offset; in xlog_rseek_logrec_hdr()
974 struct xlog_rec_header **rhead, in xlog_seek_logrec_hdr() argument
997 *rhead = (struct xlog_rec_header *) offset; in xlog_seek_logrec_hdr()
1017 *rhead = (struct xlog_rec_header *) offset; in xlog_seek_logrec_hdr()
1156 struct xlog_rec_header **rhead, /* ptr to last record */ in xlog_verify_head() argument
1209 rhead_blk, rhead, wrapped); in xlog_verify_head()
1225 *tail_blk = BLOCK_LSN(be64_to_cpu((*rhead)->h_tail_lsn)); in xlog_verify_head()
1235 be32_to_cpu((*rhead)->h_size)); in xlog_verify_head()
[all …]
Dxfs_log_priv.h424 extern __le32 xlog_cksum(struct xlog *log, struct xlog_rec_header *rhead,
Dxfs_trace.h1950 TP_PROTO(struct xlog *log, struct xlog_rec_header *rhead, int pass),
1951 TP_ARGS(log, rhead, pass),
1961 __entry->lsn = be64_to_cpu(rhead->h_lsn);
1962 __entry->len = be32_to_cpu(rhead->h_len);
1963 __entry->num_logops = be32_to_cpu(rhead->h_num_logops);
Dxfs_log.c1735 struct xlog_rec_header *rhead, in xlog_cksum() argument
1742 crc = xfs_start_cksum_update((char *)rhead, in xlog_cksum()
1748 union xlog_in_core2 *xhdr = (union xlog_in_core2 *)rhead; in xlog_cksum()
/Linux-v4.19/include/drm/ttm/
Dttm_object.h127 struct rcu_head rhead; member
326 kfree_rcu(__object, __base.rhead)
353 kfree_rcu(__obj, __prime.base.rhead)
/Linux-v4.19/include/linux/
Drhashtable.h568 return he ? container_of(he, struct rhlist_head, rhead) : NULL; in rhltable_lookup()
630 list = container_of(obj, struct rhlist_head, rhead); in __rhashtable_insert_fast()
631 plist = container_of(head, struct rhlist_head, rhead); in __rhashtable_insert_fast()
635 RCU_INIT_POINTER(list->rhead.next, head); in __rhashtable_insert_fast()
657 list = container_of(obj, struct rhlist_head, rhead); in __rhashtable_insert_fast()
725 return PTR_ERR(__rhashtable_insert_fast(&hlt->ht, key, &list->rhead, in rhltable_insert_key()
748 const char *key = rht_obj(&hlt->ht, &list->rhead); in rhltable_insert()
891 list = container_of(he, struct rhlist_head, rhead); in __rhashtable_remove_fast_one()
905 } while (list && obj != &list->rhead); in __rhashtable_remove_fast_one()
922 RCU_INIT_POINTER(list->rhead.next, obj); in __rhashtable_remove_fast_one()
[all …]
Drhashtable-types.h22 struct rhash_head rhead; member
/Linux-v4.19/lib/
Drhashtable.c506 list = container_of(obj, struct rhlist_head, rhead); in rhashtable_lookup_one()
507 plist = container_of(head, struct rhlist_head, rhead); in rhashtable_lookup_one()
511 RCU_INIT_POINTER(list->rhead.next, head); in rhashtable_lookup_one()
562 list = container_of(obj, struct rhlist_head, rhead); in rhashtable_insert_one()
759 for (list = container_of(p, struct rhlist_head, rhead); in rhashtable_walk_start_check()
804 rhead); in __rhashtable_walk_find_next()
824 return rht_obj(ht, rhlist ? &list->rhead : p); in __rhashtable_walk_find_next()
869 list = container_of(p, struct rhlist_head, rhead); in rhashtable_walk_next()
875 return rht_obj(ht, rhlist ? &list->rhead : p); in rhashtable_walk_next()
905 return rht_obj(ht, ht->rhlist ? &list->rhead : p); in rhashtable_walk_peek()
[all …]
Dtest_rhashtable.c516 struct rhlist_head *list = container_of(pos, struct rhlist_head, rhead); in print_ht()
519 pos = &list->rhead; in print_ht()
555 key = rht_obj(&rhlt.ht, &rhl_test_objects[i].list_node.rhead); in test_insert_dup()
560 &rhl_test_objects[i].list_node.rhead)); in test_insert_dup()
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/
Damdgpu_bo_list.h44 struct rcu_head rhead; member
Damdgpu_bo_list.c41 rhead); in amdgpu_bo_list_free_rcu()
55 call_rcu(&list->rhead, amdgpu_bo_list_free_rcu); in amdgpu_bo_list_free()
/Linux-v4.19/security/selinux/
Davc.c58 struct rcu_head rhead; member
502 static void avc_node_free(struct rcu_head *rhead) in avc_node_free() argument
504 struct avc_node *node = container_of(rhead, struct avc_node, rhead); in avc_node_free()
513 call_rcu(&node->rhead, avc_node_free); in avc_node_delete()
529 call_rcu(&old->rhead, avc_node_free); in avc_node_replace()
/Linux-v4.19/Documentation/
Dkref.txt280 struct rcu_head rhead;
307 kfree_rcu(entry, rhead);
317 by using kfree_rcu(entry, rhead) as done above, or by calling synchronize_rcu()
/Linux-v4.19/fs/ceph/
Dmds_client.c2178 struct ceph_mds_request_head *rhead; in __prepare_send_request() local
2204 rhead = msg->front.iov_base; in __prepare_send_request()
2206 flags = le32_to_cpu(rhead->flags); in __prepare_send_request()
2208 rhead->flags = cpu_to_le32(flags); in __prepare_send_request()
2211 rhead->ino = cpu_to_le64(ceph_ino(req->r_target_inode)); in __prepare_send_request()
2213 rhead->num_retry = req->r_attempts - 1; in __prepare_send_request()
2216 rhead->num_releases = 0; in __prepare_send_request()
2242 rhead = msg->front.iov_base; in __prepare_send_request()
2243 rhead->oldest_client_tid = cpu_to_le64(__get_oldest_tid(mdsc)); in __prepare_send_request()
2248 rhead->flags = cpu_to_le32(flags); in __prepare_send_request()
[all …]
Dinode.c1524 struct ceph_mds_request_head *rhead = req->r_request->front.iov_base; in ceph_readdir_prepopulate() local
1525 u32 frag = le32_to_cpu(rhead->args.readdir.frag); in ceph_readdir_prepopulate()
1542 last_hash = le32_to_cpu(rhead->args.readdir.offset_hash); in ceph_readdir_prepopulate()
/Linux-v4.19/drivers/base/
Dcore.c321 static void __device_link_free_srcu(struct rcu_head *rhead) in __device_link_free_srcu() argument
323 device_link_free(container_of(rhead, struct device_link, rcu_head)); in __device_link_free_srcu()