Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/target/
Dtarget_core_alua.c856 unsigned char *md_buf, in core_alua_write_tpg_metadata() argument
867 ret = kernel_write(file, md_buf, md_buf_len, &pos); in core_alua_write_tpg_metadata()
877 unsigned char *md_buf; in core_alua_update_tpg_primary_metadata() local
884 md_buf = kzalloc(ALUA_MD_BUF_LEN, GFP_KERNEL); in core_alua_update_tpg_primary_metadata()
885 if (!md_buf) { in core_alua_update_tpg_primary_metadata()
890 len = snprintf(md_buf, ALUA_MD_BUF_LEN, in core_alua_update_tpg_primary_metadata()
903 rc = core_alua_write_tpg_metadata(path, md_buf, len); in core_alua_update_tpg_primary_metadata()
906 kfree(md_buf); in core_alua_update_tpg_primary_metadata()
1171 unsigned char *md_buf; in core_alua_update_tpg_secondary_metadata() local
1177 md_buf = kzalloc(ALUA_MD_BUF_LEN, GFP_KERNEL); in core_alua_update_tpg_secondary_metadata()
[all …]
/linux-6.12.1/drivers/staging/media/atomisp/pci/
Datomisp_ioctl.c698 struct atomisp_metadata_buf *md_buf = NULL, *_md_buf; in atomisp_alloc_css_stat_bufs() local
751 md_buf = kzalloc(sizeof(struct atomisp_metadata_buf), in atomisp_alloc_css_stat_bufs()
753 if (!md_buf) in atomisp_alloc_css_stat_bufs()
757 asd, stream_id, NULL, NULL, md_buf)) { in atomisp_alloc_css_stat_bufs()
758 kfree(md_buf); in atomisp_alloc_css_stat_bufs()
761 list_add_tail(&md_buf->list, &asd->metadata[i]); in atomisp_alloc_css_stat_bufs()
783 list_for_each_entry_safe(md_buf, _md_buf, &asd->metadata[i], in atomisp_alloc_css_stat_bufs()
785 atomisp_css_free_metadata_buffer(md_buf); in atomisp_alloc_css_stat_bufs()
786 list_del(&md_buf->list); in atomisp_alloc_css_stat_bufs()
787 kfree(md_buf); in atomisp_alloc_css_stat_bufs()
Datomisp_compat_css20.c1102 struct atomisp_metadata_buf *md_buf) in atomisp_css_allocate_stat_buffers() argument
1141 metadata_info.size && md_buf) { in atomisp_css_allocate_stat_buffers()
1142 md_buf->metadata = ia_css_metadata_allocate( in atomisp_css_allocate_stat_buffers()
1144 if (!md_buf->metadata) { in atomisp_css_allocate_stat_buffers()
1152 md_buf->md_vptr = hmm_vmap(md_buf->metadata->address, false); in atomisp_css_allocate_stat_buffers()
1191 struct atomisp_metadata_buf *md_buf, *_md_buf; in atomisp_css_free_stat_buffers() local
1250 list_for_each_entry_safe(md_buf, _md_buf, in atomisp_css_free_stat_buffers()
1252 atomisp_css_free_metadata_buffer(md_buf); in atomisp_css_free_stat_buffers()
1253 list_del(&md_buf->list); in atomisp_css_free_stat_buffers()
1254 kfree(md_buf); in atomisp_css_free_stat_buffers()
[all …]
Datomisp_compat.h103 struct atomisp_metadata_buf *md_buf);
Datomisp_cmd.c669 struct atomisp_metadata_buf *md_buf = NULL, *_md_buf_tmp, *md_iter; in atomisp_buf_done() local
735 md_buf = md_iter; in atomisp_buf_done()
741 if (md_buf) in atomisp_buf_done()
743 __func__, md_buf->metadata->exp_id); in atomisp_buf_done()
3986 struct atomisp_metadata_buf *md_buf = NULL, *_md_buf; in css_input_resolution_changed() local
4003 list_for_each_entry_safe(md_buf, _md_buf, &asd->metadata[i], in css_input_resolution_changed()
4005 atomisp_css_free_metadata_buffer(md_buf); in css_input_resolution_changed()
4006 list_del(&md_buf->list); in css_input_resolution_changed()
4007 kfree(md_buf); in css_input_resolution_changed()