Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/misc/mei/
Dclient.c368 struct mei_cl_vtag *cl_vtag; in mei_cl_set_read_by_fp() local
370 list_for_each_entry(cl_vtag, &cl->vtag_map, list) { in mei_cl_set_read_by_fp()
371 if (cl_vtag->fp == fp) { in mei_cl_set_read_by_fp()
372 cl_vtag->pending_read = true; in mei_cl_set_read_by_fp()
1292 struct mei_cl_vtag *cl_vtag; in mei_cl_vtag_alloc() local
1294 cl_vtag = kzalloc(sizeof(*cl_vtag), GFP_KERNEL); in mei_cl_vtag_alloc()
1295 if (!cl_vtag) in mei_cl_vtag_alloc()
1298 INIT_LIST_HEAD(&cl_vtag->list); in mei_cl_vtag_alloc()
1299 cl_vtag->vtag = vtag; in mei_cl_vtag_alloc()
1300 cl_vtag->fp = fp; in mei_cl_vtag_alloc()
[all …]
Dbus.c524 struct mei_cl_vtag *cl_vtag; in mei_cl_bus_vtag_alloc() local
533 cl_vtag = mei_cl_vtag_alloc(NULL, 0); in mei_cl_bus_vtag_alloc()
534 if (IS_ERR(cl_vtag)) in mei_cl_bus_vtag_alloc()
537 list_add_tail(&cl_vtag->list, &cl->vtag_map); in mei_cl_bus_vtag_alloc()
550 struct mei_cl_vtag *cl_vtag; in mei_cl_bus_vtag_free() local
552 cl_vtag = mei_cl_bus_vtag(cl); in mei_cl_bus_vtag_free()
553 if (!cl_vtag) in mei_cl_bus_vtag_free()
556 list_del(&cl_vtag->list); in mei_cl_bus_vtag_free()
557 kfree(cl_vtag); in mei_cl_bus_vtag_free()
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()