Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/hwtracing/stm/
Dcore.c487 struct stm_file *stmf; in stm_char_open() local
496 stmf = kzalloc(sizeof(*stmf), GFP_KERNEL); in stm_char_open()
497 if (!stmf) in stm_char_open()
501 stm_output_init(&stmf->output); in stm_char_open()
502 stmf->stm = to_stm_device(dev); in stm_char_open()
504 if (!try_module_get(stmf->stm->owner)) in stm_char_open()
507 file->private_data = stmf; in stm_char_open()
512 kfree(stmf); in stm_char_open()
522 struct stm_file *stmf = file->private_data; in stm_char_release() local
523 struct stm_device *stm = stmf->stm; in stm_char_release()
[all …]