Home
last modified time | relevance | path

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

/linux/drivers/misc/mei/
H A 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 …]
H A 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()