Home
last modified time | relevance | path

Searched refs:old_blob (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_property.c701 struct drm_property_blob *old_blob = NULL; in drm_property_replace_global_blob() local
706 old_blob = *replace; in drm_property_replace_global_blob()
723 drm_property_blob_put(old_blob); in drm_property_replace_global_blob()
744 struct drm_property_blob *old_blob = *blob; in drm_property_replace_blob() local
746 if (old_blob == new_blob) in drm_property_replace_blob()
749 drm_property_blob_put(old_blob); in drm_property_replace_blob()
/kernel/linux/linux-5.10/fs/ceph/
Dxattr.c775 struct ceph_buffer *old_blob = NULL; in __ceph_build_xattrs_blob() local
806 old_blob = ci->i_xattrs.blob; in __ceph_build_xattrs_blob()
813 return old_blob; in __ceph_build_xattrs_blob()
1026 struct ceph_buffer *old_blob = NULL; in __ceph_setxattr() local
1101 ceph_buffer_put(old_blob); /* Shouldn't be required */ in __ceph_setxattr()
1109 old_blob = ci->i_xattrs.prealloc_blob; in __ceph_setxattr()
1125 ceph_buffer_put(old_blob); in __ceph_setxattr()
Dsnap.c482 struct ceph_buffer *old_blob = NULL; in ceph_queue_cap_snap() local
562 old_blob = __ceph_build_xattrs_blob(ci); in ceph_queue_cap_snap()
605 ceph_buffer_put(old_blob); in ceph_queue_cap_snap()
Dinode.c754 struct ceph_buffer *old_blob = NULL; in ceph_fill_inode() local
910 old_blob = ci->i_xattrs.blob; in ceph_fill_inode()
1053 ceph_buffer_put(old_blob); in ceph_fill_inode()
/kernel/linux/linux-5.10/drivers/gpu/drm/bridge/synopsys/
Ddw-hdmi.c2409 struct drm_property_blob *old_blob = old_state->hdr_output_metadata; in hdr_metadata_equal() local
2412 if (!old_blob || !new_blob) in hdr_metadata_equal()
2413 return old_blob == new_blob; in hdr_metadata_equal()
2415 if (old_blob->length != new_blob->length) in hdr_metadata_equal()
2418 return !memcmp(old_blob->data, new_blob->data, old_blob->length); in hdr_metadata_equal()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm.c5516 struct drm_property_blob *old_blob = old_state->hdr_output_metadata; in is_hdr_metadata_different() local
5519 if (old_blob != new_blob) { in is_hdr_metadata_different()
5520 if (old_blob && new_blob && in is_hdr_metadata_different()
5521 old_blob->length == new_blob->length) in is_hdr_metadata_different()
5522 return memcmp(old_blob->data, new_blob->data, in is_hdr_metadata_different()
5523 old_blob->length); in is_hdr_metadata_different()
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/
Dlinux-5.10.patch3746 - struct drm_property_blob *old_blob = old_state->hdr_output_metadata;
3749 - if (!old_blob || !new_blob)
3750 - return old_blob == new_blob;
3752 - if (old_blob->length != new_blob->length)
3755 - return !memcmp(old_blob->data, new_blob->data, old_blob->length);
4534 + struct drm_property_blob *old_blob = old_state->hdr_output_metadata;
4537 + if (!old_blob || !new_blob)
4538 + return old_blob == new_blob;
4540 + if (old_blob->length != new_blob->length)
4543 + return !memcmp(old_blob->data, new_blob->data, old_blob->length);