Lines Matching refs:list
121 * find_error_context() - locates a context by cookie on the error recovery list
133 list_for_each_entry(ctxi, &cfg->ctx_err_recovery, list)
194 * under the table/list lock to serialize with a remove
196 * table/list lock for a single context.
219 list_for_each_entry(lun_access, &ctxi->luns, list)
623 * recovery list. A context on the error recovery list is not known to the AFU
843 INIT_LIST_HEAD(&ctxi->list); /* initialize for list_empty() */
860 /* Remove context from table/error list */
867 if (!list_empty(&ctxi->list))
868 list_del(&ctxi->list);
935 list_for_each_entry_safe(lun_access, t, &ctxi->luns, list)
937 list_del(&lun_access->list);
1027 list_for_each_entry_safe(lun_access, t, &ctxi->luns, list)
1225 * cxlflash_mark_contexts_error() - move contexts to error state and list
1228 * A context is only moved over to the error list when there are no outstanding
1245 list_add(&ctxi->list, &cfg->ctx_err_recovery);
1369 list_for_each_entry(lun_access, &ctxi->luns, list)
1399 list_add(&lun_access->list, &ctxi->luns);
1458 list_add(&lun_access->list, &ctxi->luns);
1592 * Put context back in table (note the reinit of the context list);
1594 * order with the table/list mutex to avoid a deadlock - safe to do
1600 list_del_init(&ctxi->list);