Lines Matching refs:ctrlr_cookie
119 void *ctrlr_cookie; in nvme_notify() local
137 ctrlr_cookie = (*cons->ctrlr_fn)(ctrlr); in nvme_notify()
139 ctrlr_cookie = (void *)(uintptr_t)0xdeadc0dedeadc0de; in nvme_notify()
140 ctrlr->cons_cookie[cons->id] = ctrlr_cookie; in nvme_notify()
143 if (ctrlr_cookie == NULL) { in nvme_notify()
151 (*cons->fail_fn)(ctrlr_cookie); in nvme_notify()
164 (*cons->ns_fn)(ns, ctrlr_cookie); in nvme_notify()
205 void *ctrlr_cookie; in nvme_notify_async_consumers() local
211 (ctrlr_cookie = ctrlr->cons_cookie[i]) != NULL) { in nvme_notify_async_consumers()
212 (*cons->async_fn)(ctrlr_cookie, async_cpl, in nvme_notify_async_consumers()
222 void *ctrlr_cookie; in nvme_notify_fail_consumers() local
237 (ctrlr_cookie = ctrlr->cons_cookie[i]) != NULL) { in nvme_notify_fail_consumers()
240 cons->fail_fn(ctrlr_cookie); in nvme_notify_fail_consumers()
250 void *ctrlr_cookie; in nvme_notify_ns() local
264 (ctrlr_cookie = ctrlr->cons_cookie[i]) != NULL) in nvme_notify_ns()
265 ns->cons_cookie[i] = (*cons->ns_fn)(ns, ctrlr_cookie); in nvme_notify_ns()