Searched refs:twcb (Results 1 – 2 of 2) sorted by relevance
| /linux/drivers/acpi/apei/ |
| H A D | ghes.c | 491 struct ghes_task_work *twcb = container_of(twork, struct ghes_task_work, twork); in memory_failure_cb() local 494 ret = memory_failure(twcb->pfn, twcb->flags); in memory_failure_cb() 495 gen_pool_free(ghes_estatus_pool, (unsigned long)twcb, sizeof(*twcb)); in memory_failure_cb() 501 twcb->pfn, current->comm, task_pid_nr(current)); in memory_failure_cb() 507 struct ghes_task_work *twcb; in ghes_do_memory_failure() local 516 twcb = (void *)gen_pool_alloc(ghes_estatus_pool, sizeof(*twcb)); in ghes_do_memory_failure() 517 if (!twcb) in ghes_do_memory_failure() 520 twcb->pfn = pfn; in ghes_do_memory_failure() 521 twcb->flags = flags; in ghes_do_memory_failure() 522 init_task_work(&twcb->twork, memory_failure_cb); in ghes_do_memory_failure() [all …]
|
| /linux/drivers/android/ |
| H A D | binder.c | 1994 struct binder_task_work_cb *twcb = container_of(twork, in binder_do_fd_close() local 1997 fput(twcb->file); in binder_do_fd_close() 1998 kfree(twcb); in binder_do_fd_close() 2010 struct binder_task_work_cb *twcb; in binder_deferred_fd_close() local 2012 twcb = kzalloc_obj(*twcb); in binder_deferred_fd_close() 2013 if (!twcb) in binder_deferred_fd_close() 2015 init_task_work(&twcb->twork, binder_do_fd_close); in binder_deferred_fd_close() 2016 twcb->file = file_close_fd(fd); in binder_deferred_fd_close() 2017 if (twcb->file) { in binder_deferred_fd_close() 2019 get_file(twcb->file); in binder_deferred_fd_close() [all …]
|