Searched refs:cl_vtag (Results 1 – 3 of 3) sorted by relevance
369 struct mei_cl_vtag *cl_vtag; in mei_cl_set_read_by_fp() local371 list_for_each_entry(cl_vtag, &cl->vtag_map, list) { in mei_cl_set_read_by_fp()372 if (cl_vtag->fp == fp) { in mei_cl_set_read_by_fp()373 cl_vtag->pending_read = true; in mei_cl_set_read_by_fp()1297 struct mei_cl_vtag *cl_vtag; in mei_cl_vtag_alloc() local1299 cl_vtag = kzalloc(sizeof(*cl_vtag), GFP_KERNEL); in mei_cl_vtag_alloc()1300 if (!cl_vtag) in mei_cl_vtag_alloc()1303 INIT_LIST_HEAD(&cl_vtag->list); in mei_cl_vtag_alloc()1304 cl_vtag->vtag = vtag; in mei_cl_vtag_alloc()1305 cl_vtag->fp = fp; in mei_cl_vtag_alloc()[all …]
610 struct mei_cl_vtag *cl_vtag; in mei_cl_bus_vtag_alloc() local619 cl_vtag = mei_cl_vtag_alloc(NULL, 0); in mei_cl_bus_vtag_alloc()620 if (IS_ERR(cl_vtag)) in mei_cl_bus_vtag_alloc()623 list_add_tail(&cl_vtag->list, &cl->vtag_map); in mei_cl_bus_vtag_alloc()636 struct mei_cl_vtag *cl_vtag; in mei_cl_bus_vtag_free() local638 cl_vtag = mei_cl_bus_vtag(cl); in mei_cl_bus_vtag_free()639 if (!cl_vtag) in mei_cl_bus_vtag_free()642 list_del(&cl_vtag->list); in mei_cl_bus_vtag_free()643 kfree(cl_vtag); in mei_cl_bus_vtag_free()
288 struct mei_cl_vtag *cl_vtag; in mei_cl_vtag_by_fp() local293 list_for_each_entry(cl_vtag, &cl->vtag_map, list) in mei_cl_vtag_by_fp()294 if (cl_vtag->fp == fp) in mei_cl_vtag_by_fp()295 return cl_vtag->vtag; in mei_cl_vtag_by_fp()511 struct mei_cl_vtag *cl_vtag; in mei_ioctl_connect_vtag() local555 cl_vtag = mei_cl_vtag_alloc(file, vtag); in mei_ioctl_connect_vtag()556 if (IS_ERR(cl_vtag)) in mei_ioctl_connect_vtag()559 list_add_tail(&cl_vtag->list, &cl->vtag_map); in mei_ioctl_connect_vtag()