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)
624 * recovery list. A context on the error recovery list is not known to the AFU
844 INIT_LIST_HEAD(&ctxi->list); /* initialize for list_empty() */
861 /* Remove context from table/error list */
868 if (!list_empty(&ctxi->list))
869 list_del(&ctxi->list);
936 list_for_each_entry_safe(lun_access, t, &ctxi->luns, list)
938 list_del(&lun_access->list);
1028 list_for_each_entry_safe(lun_access, t, &ctxi->luns, list)
1226 * cxlflash_mark_contexts_error() - move contexts to error state and list
1229 * A context is only moved over to the error list when there are no outstanding
1246 list_add(&ctxi->list, &cfg->ctx_err_recovery);
1370 list_for_each_entry(lun_access, &ctxi->luns, list)
1400 list_add(&lun_access->list, &ctxi->luns);
1459 list_add(&lun_access->list, &ctxi->luns);
1593 * Put context back in table (note the reinit of the context list);
1595 * order with the table/list mutex to avoid a deadlock - safe to do
1601 list_del_init(&ctxi->list);