Searched refs:md_buf (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/drivers/target/ |
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 …]
|
/linux-6.1.9/drivers/staging/media/atomisp/pci/ |
D | atomisp_compat_css20.c | 1252 struct atomisp_metadata_buf *md_buf) in atomisp_css_allocate_stat_buffers() argument 1291 metadata_info.size && md_buf) { in atomisp_css_allocate_stat_buffers() 1292 md_buf->metadata = ia_css_metadata_allocate( in atomisp_css_allocate_stat_buffers() 1294 if (!md_buf->metadata) { in atomisp_css_allocate_stat_buffers() 1302 md_buf->md_vptr = hmm_vmap(md_buf->metadata->address, false); in atomisp_css_allocate_stat_buffers() 1341 struct atomisp_metadata_buf *md_buf, *_md_buf; in atomisp_css_free_stat_buffers() local 1400 list_for_each_entry_safe(md_buf, _md_buf, in atomisp_css_free_stat_buffers() 1402 atomisp_css_free_metadata_buffer(md_buf); in atomisp_css_free_stat_buffers() 1403 list_del(&md_buf->list); in atomisp_css_free_stat_buffers() 1404 kfree(md_buf); in atomisp_css_free_stat_buffers() [all …]
|
D | atomisp_cmd.c | 880 struct atomisp_metadata_buf *md_buf = NULL, *_md_buf_tmp, *md_iter; in atomisp_buf_done() local 953 md_buf = md_iter; in atomisp_buf_done() 959 if (md_buf) in atomisp_buf_done() 961 __func__, md_buf->metadata->exp_id); in atomisp_buf_done() 2407 struct atomisp_metadata_buf *md_buf; in atomisp_get_metadata() local 2447 md_buf = list_entry(asd->metadata_ready[md_type].next, in atomisp_get_metadata() 2449 md->exp_id = md_buf->metadata->exp_id; in atomisp_get_metadata() 2450 if (md_buf->md_vptr) { in atomisp_get_metadata() 2452 md_buf->md_vptr, in atomisp_get_metadata() 2455 hmm_load(md_buf->metadata->address, in atomisp_get_metadata() [all …]
|
D | atomisp_ioctl.c | 1008 struct atomisp_metadata_buf *md_buf = NULL, *_md_buf; in atomisp_alloc_css_stat_bufs() local 1061 md_buf = kzalloc(sizeof(struct atomisp_metadata_buf), in atomisp_alloc_css_stat_bufs() 1063 if (!md_buf) in atomisp_alloc_css_stat_bufs() 1067 asd, stream_id, NULL, NULL, md_buf)) { in atomisp_alloc_css_stat_bufs() 1068 kfree(md_buf); in atomisp_alloc_css_stat_bufs() 1071 list_add_tail(&md_buf->list, &asd->metadata[i]); in atomisp_alloc_css_stat_bufs() 1093 list_for_each_entry_safe(md_buf, _md_buf, &asd->metadata[i], in atomisp_alloc_css_stat_bufs() 1095 atomisp_css_free_metadata_buffer(md_buf); in atomisp_alloc_css_stat_bufs() 1096 list_del(&md_buf->list); in atomisp_alloc_css_stat_bufs() 1097 kfree(md_buf); in atomisp_alloc_css_stat_bufs()
|
D | atomisp_compat.h | 109 struct atomisp_metadata_buf *md_buf);
|