Lines Matching refs:alloc
76 let mut alloc = match from.copy_transaction_data( in new() localVariable
83 Ok(alloc) => alloc, in new()
91 let oneway_spam_detected = alloc.oneway_spam_detected; in new()
97 alloc.set_info_oneway_node(node_ref.node.clone()); in new()
100 alloc.set_info_clear_on_drop(); in new()
103 alloc.set_info_target_node(node_ref); in new()
104 let data_address = alloc.ptr; in new()
118 allocation <- kernel::new_spinlock!(Some(alloc.success()), "Transaction::new"), in new()
134 let mut alloc = match from.copy_transaction_data(to.clone(), tr, debug_id, allow_fds, None) in new_reply() localVariable
136 Ok(alloc) => alloc, in new_reply()
142 let oneway_spam_detected = alloc.oneway_spam_detected; in new_reply()
144 alloc.set_info_clear_on_drop(); in new_reply()
157 data_address: alloc.ptr, in new_reply()
158 allocation <- kernel::new_spinlock!(Some(alloc.success()), "Transaction::new"), in new_reply()
342 let mut alloc = self.allocation.lock().take().ok_or(ESRCH)?; in prepare_file_list() localVariable
344 match alloc.translate_fds() { in prepare_file_list()
346 *self.allocation.lock() = Some(alloc); in prepare_file_list()
351 drop(alloc); in prepare_file_list()
418 let mut alloc = self.allocation.lock().take().ok_or(ESRCH)?; in do_work() localVariable
426 alloc.set_info_close_on_free(close_on_free); in do_work()
429 alloc.keep_alive(); in do_work()