Lines Matching refs:fixup
1642 struct binder_txn_fd_fixup *fixup, *tmp; in binder_free_txn_fixups() local
1644 list_for_each_entry_safe(fixup, tmp, &t->fd_fixups, fixup_entry) { in binder_free_txn_fixups()
1645 fput(fixup->file); in binder_free_txn_fixups()
1646 if (fixup->target_fd >= 0) in binder_free_txn_fixups()
1647 put_unused_fd(fixup->target_fd); in binder_free_txn_fixups()
1648 list_del(&fixup->fixup_entry); in binder_free_txn_fixups()
1649 kfree(fixup); in binder_free_txn_fixups()
2361 struct binder_txn_fd_fixup *fixup; in binder_translate_fd() local
2397 fixup = kzalloc(sizeof(*fixup), GFP_KERNEL); in binder_translate_fd()
2398 if (!fixup) { in binder_translate_fd()
2402 fixup->file = file; in binder_translate_fd()
2403 fixup->offset = fd_offset; in binder_translate_fd()
2404 fixup->target_fd = -1; in binder_translate_fd()
2405 trace_binder_transaction_fd_send(t, fd, fixup->offset); in binder_translate_fd()
2406 list_add_tail(&fixup->fixup_entry, &t->fd_fixups); in binder_translate_fd()
2631 binder_uintptr_t fixup, size_t skip_size) in binder_add_fixup() argument
2640 pf->fixup_data = fixup; in binder_add_fixup()
4615 struct binder_txn_fd_fixup *fixup, *tmp; in binder_apply_fd_fixups() local
4618 list_for_each_entry(fixup, &t->fd_fixups, fixup_entry) { in binder_apply_fd_fixups()
4631 trace_binder_transaction_fd_recv(t, fd, fixup->offset); in binder_apply_fd_fixups()
4632 fixup->target_fd = fd; in binder_apply_fd_fixups()
4634 fixup->offset, &fd, in binder_apply_fd_fixups()
4640 list_for_each_entry_safe(fixup, tmp, &t->fd_fixups, fixup_entry) { in binder_apply_fd_fixups()
4641 fd_install(fixup->target_fd, fixup->file); in binder_apply_fd_fixups()
4642 list_del(&fixup->fixup_entry); in binder_apply_fd_fixups()
4643 kfree(fixup); in binder_apply_fd_fixups()