Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/hwtracing/stm/
Dcore.c354 struct stm_file *stmf; in stm_char_open() local
363 stmf = kzalloc(sizeof(*stmf), GFP_KERNEL); in stm_char_open()
364 if (!stmf) in stm_char_open()
368 stm_output_init(&stmf->output); in stm_char_open()
369 stmf->stm = to_stm_device(dev); in stm_char_open()
371 if (!try_module_get(stmf->stm->owner)) in stm_char_open()
374 file->private_data = stmf; in stm_char_open()
379 kfree(stmf); in stm_char_open()
389 struct stm_file *stmf = file->private_data; in stm_char_release() local
390 struct stm_device *stm = stmf->stm; in stm_char_release()
[all …]