Home
last modified time | relevance | path

Searched refs:rem_info (Results 1 – 5 of 5) sorted by relevance

/drivers/infiniband/core/
Diwpm_util.c214 struct iwpm_remote_info *rem_info; in free_reminfo_bucket() local
221 hlist_for_each_entry_safe(rem_info, tmp_hlist_node, in free_reminfo_bucket()
224 hlist_del_init(&rem_info->hlist_node); in free_reminfo_bucket()
225 kfree(rem_info); in free_reminfo_bucket()
237 void iwpm_add_remote_info(struct iwpm_remote_info *rem_info) in iwpm_add_remote_info() argument
245 &rem_info->mapped_loc_sockaddr, in iwpm_add_remote_info()
246 &rem_info->mapped_rem_sockaddr); in iwpm_add_remote_info()
248 hlist_add_head(&rem_info->hlist_node, hash_bucket_head); in iwpm_add_remote_info()
271 struct iwpm_remote_info *rem_info = NULL; in iwpm_get_remote_info() local
282 hlist_for_each_entry_safe(rem_info, tmp_hlist_node, in iwpm_get_remote_info()
[all …]
Diwpm_msg.c624 struct iwpm_remote_info *rem_info; in iwpm_remote_info_cb() local
652 rem_info = kzalloc(sizeof(struct iwpm_remote_info), GFP_ATOMIC); in iwpm_remote_info_cb()
653 if (!rem_info) { in iwpm_remote_info_cb()
657 memcpy(&rem_info->mapped_loc_sockaddr, mapped_loc_sockaddr, in iwpm_remote_info_cb()
659 memcpy(&rem_info->remote_sockaddr, remote_sockaddr, in iwpm_remote_info_cb()
661 memcpy(&rem_info->mapped_rem_sockaddr, mapped_rem_sockaddr, in iwpm_remote_info_cb()
663 rem_info->nl_client = nl_client; in iwpm_remote_info_cb()
665 iwpm_add_remote_info(rem_info); in iwpm_remote_info_cb()
/drivers/gpu/drm/i915/gt/
Dintel_ggtt.c1435 intel_remap_pages(struct intel_remapped_info *rem_info, in intel_remap_pages() argument
1438 unsigned int size = intel_remapped_info_size(rem_info); in intel_remap_pages()
1457 for (i = 0 ; i < ARRAY_SIZE(rem_info->plane); i++) { in intel_remap_pages()
1458 sg = remap_pages(obj, rem_info->plane[i].offset, in intel_remap_pages()
1459 rem_info->plane[i].width, rem_info->plane[i].height, in intel_remap_pages()
1460 rem_info->plane[i].src_stride, rem_info->plane[i].dst_stride, in intel_remap_pages()
1473 obj->base.size, rem_info->plane[0].width, in intel_remap_pages()
1474 rem_info->plane[0].height, size); in intel_remap_pages()
/drivers/gpu/drm/i915/display/
Dintel_display.h556 unsigned int intel_remapped_info_size(const struct intel_remapped_info *rem_info);
Dintel_display.c955 unsigned int intel_remapped_info_size(const struct intel_remapped_info *rem_info) in intel_remapped_info_size() argument
960 for (i = 0 ; i < ARRAY_SIZE(rem_info->plane); i++) in intel_remapped_info_size()
961 size += rem_info->plane[i].dst_stride * rem_info->plane[i].height; in intel_remapped_info_size()