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/
Di915_vma.c1183 remap_color_plane_pages(const struct intel_remapped_info *rem_info, in remap_color_plane_pages() argument
1191 if (rem_info->plane_alignment) in remap_color_plane_pages()
1192 alignment_pad = ALIGN(*gtt_offset, rem_info->plane_alignment) - *gtt_offset; in remap_color_plane_pages()
1194 if (rem_info->plane[color_plane].linear) in remap_color_plane_pages()
1196 rem_info->plane[color_plane].offset, in remap_color_plane_pages()
1198 rem_info->plane[color_plane].size, in remap_color_plane_pages()
1204 rem_info->plane[color_plane].offset, in remap_color_plane_pages()
1206 rem_info->plane[color_plane].width, in remap_color_plane_pages()
1207 rem_info->plane[color_plane].height, in remap_color_plane_pages()
1208 rem_info->plane[color_plane].src_stride, in remap_color_plane_pages()
[all …]
/drivers/gpu/drm/i915/display/
Dintel_display.h442 unsigned int intel_remapped_info_size(const struct intel_remapped_info *rem_info);
Dintel_display.c509 unsigned int intel_remapped_info_size(const struct intel_remapped_info *rem_info) in intel_remapped_info_size() argument
514 for (i = 0 ; i < ARRAY_SIZE(rem_info->plane); i++) { in intel_remapped_info_size()
517 if (rem_info->plane[i].linear) in intel_remapped_info_size()
518 plane_size = rem_info->plane[i].size; in intel_remapped_info_size()
520 plane_size = rem_info->plane[i].dst_stride * rem_info->plane[i].height; in intel_remapped_info_size()
525 if (rem_info->plane_alignment) in intel_remapped_info_size()
526 size = ALIGN(size, rem_info->plane_alignment); in intel_remapped_info_size()