Home
last modified time | relevance | path

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

/Linux-v6.1/fs/xfs/
Dxfs_log_recover.c770 struct xlog_rec_header **rhead, in xlog_rseek_logrec_hdr() argument
793 *rhead = (struct xlog_rec_header *) offset; in xlog_rseek_logrec_hdr()
814 *rhead = (struct xlog_rec_header *) offset; in xlog_rseek_logrec_hdr()
844 struct xlog_rec_header **rhead, in xlog_seek_logrec_hdr() argument
867 *rhead = (struct xlog_rec_header *) offset; in xlog_seek_logrec_hdr()
887 *rhead = (struct xlog_rec_header *) offset; in xlog_seek_logrec_hdr()
1026 struct xlog_rec_header **rhead, /* ptr to last record */ in xlog_verify_head() argument
1079 buffer, rhead_blk, rhead, wrapped); in xlog_verify_head()
1095 *tail_blk = BLOCK_LSN(be64_to_cpu((*rhead)->h_tail_lsn)); in xlog_verify_head()
1105 be32_to_cpu((*rhead)->h_size)); in xlog_verify_head()
[all …]
Dxfs_log_priv.h501 extern __le32 xlog_cksum(struct xlog *log, struct xlog_rec_header *rhead,
Dxfs_log.c1814 struct xlog_rec_header *rhead, in xlog_cksum() argument
1821 crc = xfs_start_cksum_update((char *)rhead, in xlog_cksum()
1827 union xlog_in_core2 *xhdr = (union xlog_in_core2 *)rhead; in xlog_cksum()
Dxfs_trace.h2217 TP_PROTO(struct xlog *log, struct xlog_rec_header *rhead, int pass),
2218 TP_ARGS(log, rhead, pass),
2228 __entry->lsn = be64_to_cpu(rhead->h_lsn);
2229 __entry->len = be32_to_cpu(rhead->h_len);
2230 __entry->num_logops = be32_to_cpu(rhead->h_num_logops);
/Linux-v6.1/drivers/gpu/drm/vmwgfx/
Dttm_object.h103 struct rcu_head rhead; member
290 kfree_rcu(__object, __base.rhead)
314 kfree_rcu(__obj, __prime.base.rhead)
/Linux-v6.1/include/linux/
Drhashtable.h690 return he ? container_of(he, struct rhlist_head, rhead) : NULL; in rhltable_lookup()
751 list = container_of(obj, struct rhlist_head, rhead); in __rhashtable_insert_fast()
752 plist = container_of(head, struct rhlist_head, rhead); in __rhashtable_insert_fast()
756 RCU_INIT_POINTER(list->rhead.next, head); in __rhashtable_insert_fast()
783 list = container_of(obj, struct rhlist_head, rhead); in __rhashtable_insert_fast()
852 return PTR_ERR(__rhashtable_insert_fast(&hlt->ht, key, &list->rhead, in rhltable_insert_key()
875 const char *key = rht_obj(&hlt->ht, &list->rhead); in rhltable_insert()
1007 list = container_of(he, struct rhlist_head, rhead); in __rhashtable_remove_fast_one()
1021 } while (list && obj != &list->rhead); in __rhashtable_remove_fast_one()
1038 RCU_INIT_POINTER(list->rhead.next, obj); in __rhashtable_remove_fast_one()
[all …]
Drhashtable-types.h22 struct rhash_head rhead; member
/Linux-v6.1/lib/
Drhashtable.c517 list = container_of(obj, struct rhlist_head, rhead); in rhashtable_lookup_one()
518 plist = container_of(head, struct rhlist_head, rhead); in rhashtable_lookup_one()
522 RCU_INIT_POINTER(list->rhead.next, head); in rhashtable_lookup_one()
571 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.c495 struct rhlist_head *list = container_of(pos, struct rhlist_head, rhead); in print_ht()
498 pos = &list->rhead; in print_ht()
540 key = rht_obj(&rhlt->ht, &rhl_test_objects[i].list_node.rhead); in test_insert_dup()
545 &rhl_test_objects[i].list_node.rhead)); in test_insert_dup()
/Linux-v6.1/net/mac80211/
Dmesh_pathtbl.c61 WARN_ON(rhashtable_init(&tbl->rhead, &mesh_rht_params)); in mesh_table_init()
66 rhashtable_free_and_destroy(&tbl->rhead, in mesh_table_free()
211 mpath = rhashtable_lookup(&tbl->rhead, dst, mesh_rht_params); in mpath_lookup()
415 mpath = rhashtable_lookup_get_insert_fast(&tbl->rhead, in mesh_path_add()
458 ret = rhashtable_lookup_insert_fast(&tbl->rhead, in mpp_path_add()
525 rhashtable_remove_fast(&tbl->rhead, &mpath->rhash, mesh_rht_params); in __mesh_path_del()
612 mpath = rhashtable_lookup_fast(&tbl->rhead, addr, mesh_rht_params); in table_path_del()
Dieee80211_i.h651 struct rhashtable rhead; member
/Linux-v6.1/Documentation/translations/zh_CN/core-api/
Dkref.rst274 struct rcu_head rhead;
301 kfree_rcu(entry, rhead);
310 宽限期。这可以通过使用上面的kfree_rcu(entry, rhead)来实现,或者在使用kfree之前
/Linux-v6.1/drivers/net/wireless/ath/ath11k/
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-v6.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_bo_list.h46 struct rcu_head rhead; member
Damdgpu_bo_list.c42 rhead); in amdgpu_bo_list_free_rcu()
59 call_rcu(&list->rhead, amdgpu_bo_list_free_rcu); in amdgpu_bo_list_free()
/Linux-v6.1/security/selinux/
Davc.c58 struct rcu_head rhead; member
434 static void avc_node_free(struct rcu_head *rhead) in avc_node_free() argument
436 struct avc_node *node = container_of(rhead, struct avc_node, rhead); in avc_node_free()
445 call_rcu(&node->rhead, avc_node_free); in avc_node_delete()
461 call_rcu(&old->rhead, avc_node_free); in avc_node_replace()
/Linux-v6.1/Documentation/core-api/
Dkref.rst284 struct rcu_head rhead;
311 kfree_rcu(entry, rhead);
321 by using kfree_rcu(entry, rhead) as done above, or by calling synchronize_rcu()
/Linux-v6.1/fs/ceph/
Dmds_client.c2729 struct ceph_mds_request_head_old *rhead; in __prepare_send_request() local
2777 rhead = find_old_request_head(msg->front.iov_base, in __prepare_send_request()
2780 flags = le32_to_cpu(rhead->flags); in __prepare_send_request()
2782 rhead->flags = cpu_to_le32(flags); in __prepare_send_request()
2785 rhead->ino = cpu_to_le64(ceph_ino(req->r_target_inode)); in __prepare_send_request()
2787 rhead->num_retry = req->r_attempts - 1; in __prepare_send_request()
2790 rhead->num_releases = 0; in __prepare_send_request()
2811 rhead = find_old_request_head(msg->front.iov_base, in __prepare_send_request()
2813 rhead->oldest_client_tid = cpu_to_le64(__get_oldest_tid(mdsc)); in __prepare_send_request()
2820 rhead->flags = cpu_to_le32(flags); in __prepare_send_request()
[all …]