Searched refs:rem_info (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/infiniband/core/ |
H A D | iwpm_util.c | 214 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() 245 &rem_info->mapped_loc_sockaddr, in iwpm_add_remote_info() 246 &rem_info->mapped_rem_sockaddr); 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() 290 memcpy(remote_addr, &rem_info->remote_sockaddr, in iwpm_get_remote_info() 295 hlist_del_init(&rem_info->hlist_node); in iwpm_get_remote_info() [all …]
|
H A D | iwpm_msg.c | 624 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()
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_vma.c | 1191 if (rem_info->plane_alignment) 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() 1209 rem_info->plane[color_plane].dst_stride, in remap_color_plane_pages() 1252 obj->base.size, rem_info->plane[0].width, in intel_remap_pages() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_display.h | 442 unsigned int intel_remapped_info_size(const struct intel_remapped_info *rem_info);
|
H A D | intel_display.c | 509 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()
|