Home
last modified time | relevance | path

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

/linux-6.12.1/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()
/linux-6.12.1/drivers/gpu/drm/i915/
Di915_vma.c1192 remap_color_plane_pages(const struct intel_remapped_info *rem_info, in remap_color_plane_pages() argument
1200 if (rem_info->plane_alignment) in remap_color_plane_pages()
1201 alignment_pad = ALIGN(*gtt_offset, rem_info->plane_alignment) - *gtt_offset; in remap_color_plane_pages()
1203 if (rem_info->plane[color_plane].linear) in remap_color_plane_pages()
1205 rem_info->plane[color_plane].offset, in remap_color_plane_pages()
1207 rem_info->plane[color_plane].size, in remap_color_plane_pages()
1213 rem_info->plane[color_plane].offset, in remap_color_plane_pages()
1215 rem_info->plane[color_plane].width, in remap_color_plane_pages()
1216 rem_info->plane[color_plane].height, in remap_color_plane_pages()
1217 rem_info->plane[color_plane].src_stride, in remap_color_plane_pages()
[all …]
/linux-6.12.1/drivers/gpu/drm/i915/display/
Dintel_display.h454 unsigned int intel_remapped_info_size(const struct intel_remapped_info *rem_info);
Dintel_display.c546 unsigned int intel_remapped_info_size(const struct intel_remapped_info *rem_info) in intel_remapped_info_size() argument
551 for (i = 0 ; i < ARRAY_SIZE(rem_info->plane); i++) { in intel_remapped_info_size()
554 if (rem_info->plane[i].linear) in intel_remapped_info_size()
555 plane_size = rem_info->plane[i].size; in intel_remapped_info_size()
557 plane_size = rem_info->plane[i].dst_stride * rem_info->plane[i].height; in intel_remapped_info_size()
562 if (rem_info->plane_alignment) in intel_remapped_info_size()
563 size = ALIGN(size, rem_info->plane_alignment); in intel_remapped_info_size()