Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/core/
Diwpm_util.c244 struct iwpm_remote_info *rem_info; in free_reminfo_bucket() local
251 hlist_for_each_entry_safe(rem_info, tmp_hlist_node, in free_reminfo_bucket()
254 hlist_del_init(&rem_info->hlist_node); in free_reminfo_bucket()
255 kfree(rem_info); in free_reminfo_bucket()
267 void iwpm_add_remote_info(struct iwpm_remote_info *rem_info) in iwpm_add_remote_info() argument
275 &rem_info->mapped_loc_sockaddr, in iwpm_add_remote_info()
276 &rem_info->mapped_rem_sockaddr); in iwpm_add_remote_info()
278 hlist_add_head(&rem_info->hlist_node, hash_bucket_head); in iwpm_add_remote_info()
301 struct iwpm_remote_info *rem_info = NULL; in iwpm_get_remote_info() local
316 hlist_for_each_entry_safe(rem_info, tmp_hlist_node, in iwpm_get_remote_info()
[all …]
Diwpm_msg.c640 struct iwpm_remote_info *rem_info; in iwpm_remote_info_cb() local
673 rem_info = kzalloc(sizeof(struct iwpm_remote_info), GFP_ATOMIC); in iwpm_remote_info_cb()
674 if (!rem_info) { in iwpm_remote_info_cb()
678 memcpy(&rem_info->mapped_loc_sockaddr, mapped_loc_sockaddr, in iwpm_remote_info_cb()
680 memcpy(&rem_info->remote_sockaddr, remote_sockaddr, in iwpm_remote_info_cb()
682 memcpy(&rem_info->mapped_rem_sockaddr, mapped_rem_sockaddr, in iwpm_remote_info_cb()
684 rem_info->nl_client = nl_client; in iwpm_remote_info_cb()
686 iwpm_add_remote_info(rem_info); in iwpm_remote_info_cb()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
Dintel_ggtt.c1348 intel_remap_pages(struct intel_remapped_info *rem_info, in intel_remap_pages() argument
1351 unsigned int size = intel_remapped_info_size(rem_info); in intel_remap_pages()
1370 for (i = 0 ; i < ARRAY_SIZE(rem_info->plane); i++) { in intel_remap_pages()
1371 sg = remap_pages(obj, rem_info->plane[i].offset, in intel_remap_pages()
1372 rem_info->plane[i].width, rem_info->plane[i].height, in intel_remap_pages()
1373 rem_info->plane[i].stride, st, sg); in intel_remap_pages()
1385 obj->base.size, rem_info->plane[0].width, in intel_remap_pages()
1386 rem_info->plane[0].height, size); in intel_remap_pages()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_display.h526 unsigned int intel_remapped_info_size(const struct intel_remapped_info *rem_info);
Dintel_display.c2122 unsigned int intel_remapped_info_size(const struct intel_remapped_info *rem_info) in intel_remapped_info_size() argument
2127 for (i = 0 ; i < ARRAY_SIZE(rem_info->plane); i++) in intel_remapped_info_size()
2128 size += rem_info->plane[i].width * rem_info->plane[i].height; in intel_remapped_info_size()