Searched refs:ts_buff (Results 1 – 2 of 2) sorted by relevance
2075 struct hl_ts_buff *ts_buff = buf->private; in ts_buff_release() local2077 vfree(ts_buff->kernel_buff_address); in ts_buff_release()2078 vfree(ts_buff->user_buff_address); in ts_buff_release()2079 kfree(ts_buff); in ts_buff_release()2084 struct hl_ts_buff *ts_buff = buf->private; in hl_ts_mmap() local2087 return remap_vmalloc_range(vma, ts_buff->user_buff_address, 0); in hl_ts_mmap()2092 struct hl_ts_buff *ts_buff = NULL; in hl_ts_alloc_buf() local2099 ts_buff = kzalloc(sizeof(*ts_buff), gfp); in hl_ts_alloc_buf()2100 if (!ts_buff) in hl_ts_alloc_buf()2109 ts_buff->user_buff_address = p; in hl_ts_alloc_buf()[all …]
3206 struct hl_ts_buff *ts_buff = buf->private; in ts_buff_get_kernel_ts_record() local3208 (struct hl_user_pending_interrupt *)ts_buff->kernel_buff_address + in ts_buff_get_kernel_ts_record()3211 (struct hl_user_pending_interrupt *)ts_buff->kernel_buff_address + in ts_buff_get_kernel_ts_record()3212 (ts_buff->kernel_buff_size / sizeof(struct hl_user_pending_interrupt)); in ts_buff_get_kernel_ts_record()3266 (u64 *) ts_buff->user_buff_address + ts_offset; in ts_buff_get_kernel_ts_record()