Searched refs:md_buf (Results 1 – 5 of 5) sorted by relevance
/openbmc/linux/drivers/target/ |
H A D | target_core_alua.c | 857 unsigned char *md_buf, in core_alua_write_tpg_metadata() argument 868 ret = kernel_write(file, md_buf, md_buf_len, &pos); in core_alua_write_tpg_metadata() 878 unsigned char *md_buf; in core_alua_update_tpg_primary_metadata() local 885 md_buf = kzalloc(ALUA_MD_BUF_LEN, GFP_KERNEL); in core_alua_update_tpg_primary_metadata() 886 if (!md_buf) { in core_alua_update_tpg_primary_metadata() 891 len = snprintf(md_buf, ALUA_MD_BUF_LEN, in core_alua_update_tpg_primary_metadata() 904 rc = core_alua_write_tpg_metadata(path, md_buf, len); in core_alua_update_tpg_primary_metadata() 907 kfree(md_buf); in core_alua_update_tpg_primary_metadata() 1172 unsigned char *md_buf; in core_alua_update_tpg_secondary_metadata() local 1178 md_buf = kzalloc(ALUA_MD_BUF_LEN, GFP_KERNEL); in core_alua_update_tpg_secondary_metadata() [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/ |
H A D | atomisp_ioctl.c | 924 struct atomisp_metadata_buf *md_buf = NULL, *_md_buf; in atomisp_alloc_css_stat_bufs() local 977 md_buf = kzalloc(sizeof(struct atomisp_metadata_buf), in atomisp_alloc_css_stat_bufs() 979 if (!md_buf) in atomisp_alloc_css_stat_bufs() 983 asd, stream_id, NULL, NULL, md_buf)) { in atomisp_alloc_css_stat_bufs() 984 kfree(md_buf); in atomisp_alloc_css_stat_bufs() 987 list_add_tail(&md_buf->list, &asd->metadata[i]); in atomisp_alloc_css_stat_bufs() 1009 list_for_each_entry_safe(md_buf, _md_buf, &asd->metadata[i], in atomisp_alloc_css_stat_bufs() 1011 atomisp_css_free_metadata_buffer(md_buf); in atomisp_alloc_css_stat_bufs() 1012 list_del(&md_buf->list); in atomisp_alloc_css_stat_bufs() 1013 kfree(md_buf); in atomisp_alloc_css_stat_bufs()
|
H A D | atomisp_compat_css20.c | 1120 struct atomisp_metadata_buf *md_buf) in atomisp_css_allocate_stat_buffers() argument 1159 metadata_info.size && md_buf) { in atomisp_css_allocate_stat_buffers() 1160 md_buf->metadata = ia_css_metadata_allocate( in atomisp_css_allocate_stat_buffers() 1162 if (!md_buf->metadata) { in atomisp_css_allocate_stat_buffers() 1170 md_buf->md_vptr = hmm_vmap(md_buf->metadata->address, false); in atomisp_css_allocate_stat_buffers() 1209 struct atomisp_metadata_buf *md_buf, *_md_buf; in atomisp_css_free_stat_buffers() local 1268 list_for_each_entry_safe(md_buf, _md_buf, in atomisp_css_free_stat_buffers() 1270 atomisp_css_free_metadata_buffer(md_buf); in atomisp_css_free_stat_buffers() 1271 list_del(&md_buf->list); in atomisp_css_free_stat_buffers() 1272 kfree(md_buf); in atomisp_css_free_stat_buffers() [all …]
|
H A D | atomisp_compat.h | 103 struct atomisp_metadata_buf *md_buf);
|
H A D | atomisp_cmd.c | 676 struct atomisp_metadata_buf *md_buf = NULL, *_md_buf_tmp, *md_iter; in atomisp_buf_done() local 743 md_buf = md_iter; in atomisp_buf_done() 749 if (md_buf) in atomisp_buf_done() 751 __func__, md_buf->metadata->exp_id); in atomisp_buf_done() 4001 struct atomisp_metadata_buf *md_buf = NULL, *_md_buf; in css_input_resolution_changed() local 4018 list_for_each_entry_safe(md_buf, _md_buf, &asd->metadata[i], in css_input_resolution_changed() 4020 atomisp_css_free_metadata_buffer(md_buf); in css_input_resolution_changed() 4021 list_del(&md_buf->list); in css_input_resolution_changed() 4022 kfree(md_buf); in css_input_resolution_changed()
|