Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/misc/mei/
Dclient.c370 struct mei_cl_vtag *cl_vtag; in mei_cl_set_read_by_fp() local
372 list_for_each_entry(cl_vtag, &cl->vtag_map, list) { in mei_cl_set_read_by_fp()
373 if (cl_vtag->fp == fp) { in mei_cl_set_read_by_fp()
374 cl_vtag->pending_read = true; in mei_cl_set_read_by_fp()
1299 struct mei_cl_vtag *cl_vtag; in mei_cl_vtag_alloc() local
1301 cl_vtag = kzalloc(sizeof(*cl_vtag), GFP_KERNEL); in mei_cl_vtag_alloc()
1302 if (!cl_vtag) in mei_cl_vtag_alloc()
1305 INIT_LIST_HEAD(&cl_vtag->list); in mei_cl_vtag_alloc()
1306 cl_vtag->vtag = vtag; in mei_cl_vtag_alloc()
1307 cl_vtag->fp = fp; in mei_cl_vtag_alloc()
[all …]
Dmain.c290 struct mei_cl_vtag *cl_vtag; in mei_cl_vtag_by_fp() local
295 list_for_each_entry(cl_vtag, &cl->vtag_map, list) in mei_cl_vtag_by_fp()
296 if (cl_vtag->fp == fp) in mei_cl_vtag_by_fp()
297 return cl_vtag->vtag; in mei_cl_vtag_by_fp()
513 struct mei_cl_vtag *cl_vtag; in mei_ioctl_connect_vtag() local
557 cl_vtag = mei_cl_vtag_alloc(file, vtag); in mei_ioctl_connect_vtag()
558 if (IS_ERR(cl_vtag)) in mei_ioctl_connect_vtag()
561 list_add_tail(&cl_vtag->list, &cl->vtag_map); in mei_ioctl_connect_vtag()
Dbus.c647 struct mei_cl_vtag *cl_vtag; in mei_cl_bus_vtag_alloc() local
656 cl_vtag = mei_cl_vtag_alloc(NULL, 0); in mei_cl_bus_vtag_alloc()
657 if (IS_ERR(cl_vtag)) in mei_cl_bus_vtag_alloc()
660 list_add_tail(&cl_vtag->list, &cl->vtag_map); in mei_cl_bus_vtag_alloc()
673 struct mei_cl_vtag *cl_vtag; in mei_cl_bus_vtag_free() local
675 cl_vtag = mei_cl_bus_vtag(cl); in mei_cl_bus_vtag_free()
676 if (!cl_vtag) in mei_cl_bus_vtag_free()
679 list_del(&cl_vtag->list); in mei_cl_bus_vtag_free()
680 kfree(cl_vtag); in mei_cl_bus_vtag_free()