Lines Matching refs:list
26 INIT_LIST_HEAD(&me_cl->list);
76 * __mei_me_cl_del - delete me client from the list and decrease
89 list_del_init(&me_cl->list);
94 * mei_me_cl_del - delete me client from the list and decrease
108 * mei_me_cl_add - add me client to the list
116 list_add(&me_cl->list, &dev->me_clients);
139 list_for_each_entry(me_cl, &dev->me_clients, list) {
188 list_for_each_entry(__me_cl, &dev->me_clients, list) {
219 list_for_each_entry(me_cl, &dev->me_clients, list) {
307 list_for_each_entry_safe(me_cl, next, &dev->me_clients, list)
322 list_del(&cb->list);
333 * @head: an instance of list to queue on
338 list_add_tail(&cb->list, head);
370 list_for_each_entry(cl_vtag, &cl->vtag_map, list) {
397 INIT_LIST_HEAD(&cb->list);
410 * @head: an instance of our list structure
418 list_for_each_entry_safe(cb, next, head, list) {
420 list_del_init(&cb->list);
430 * @head: An instance of our list structure
440 list_for_each_entry_safe(cb, next, head, list) {
447 * mei_io_list_free_fp - free cb from a list that matches file pointer
449 * @head: io list
456 list_for_each_entry_safe(cb, next, head, list)
470 cb = list_first_entry_or_null(&cl->rd_pending, struct mei_cl_cb, list);
533 list_add_tail(&cb->list, &cl->dev->ctrl_wr_list);
538 * mei_cl_read_cb - find this cl's callback in the read list
552 list_for_each_entry(cb, &cl->rd_completed, list)
578 cl_dbg(dev, cl, "remove list entry belonging to cl\n");
681 * mei_cl_unlink - remove host client from the list
868 list_move_tail(&cb->list, &dev->ctrl_rd_list);
881 * @cmpl_list: complete list.
903 list_move_tail(&cb->list, cmpl_list);
1031 list_for_each_entry(cb, &dev->ctrl_rd_list, list) {
1062 list_move_tail(&cb->list, &dev->ctrl_rd_list);
1073 * @cmpl_list: complete list
1098 list_move_tail(&cb->list, cmpl_list);
1298 INIT_LIST_HEAD(&cl_vtag->list);
1313 * * ERR_PTR(-ENOENT) if vtag is not found in the client vtag list
1319 list_for_each_entry(vtag_l, &cl->vtag_map, list)
1336 list_for_each_entry(vtag_l, &cl->vtag_map, list) {
1346 * in the vtag list
1354 list_for_each_entry(cl_vtag, &cl->vtag_map, list) {
1389 * mei_cl_add_rd_completed - add read completed callback to list with lock
1413 list_add_tail(&cb->list, &cl->rd_completed);
1466 * @cmpl_list: complete list.
1491 list_move_tail(&cb->list, cmpl_list);
1495 list_move_tail(&cb->list, &dev->ctrl_rd_list);
1550 list_move_tail(&cb->list, &dev->ctrl_rd_list);
1710 list_move_tail(&cb->list, &cl->rd_pending);
1794 * @cmpl_list: complete list.
1902 list_move_tail(&cb->list, &dev->write_waiting_list);
1910 list_move_tail(&cb->list, cmpl_list);