Searched refs:cl_vtag (Results 1 – 3 of 3) sorted by relevance
370 struct mei_cl_vtag *cl_vtag; in mei_cl_set_read_by_fp() local372 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() local1301 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 …]
290 struct mei_cl_vtag *cl_vtag; in mei_cl_vtag_by_fp() local295 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() local557 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()
647 struct mei_cl_vtag *cl_vtag; in mei_cl_bus_vtag_alloc() local656 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() local675 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()