Lines Matching refs:alloc
65 let mut alloc = match from.copy_transaction_data( in new() localVariable
72 Ok(alloc) => alloc, in new()
80 let oneway_spam_detected = alloc.oneway_spam_detected; in new()
86 alloc.set_info_oneway_node(node_ref.node.clone()); in new()
89 alloc.set_info_clear_on_drop(); in new()
92 alloc.set_info_target_node(node_ref); in new()
93 let data_address = alloc.ptr; in new()
107 allocation <- kernel::new_spinlock!(Some(alloc.success()), "Transaction::new"), in new()
123 let mut alloc = match from.copy_transaction_data(to.clone(), tr, debug_id, allow_fds, None) in new_reply() localVariable
125 Ok(alloc) => alloc, in new_reply()
131 let oneway_spam_detected = alloc.oneway_spam_detected; in new_reply()
133 alloc.set_info_clear_on_drop(); in new_reply()
146 data_address: alloc.ptr, in new_reply()
147 allocation <- kernel::new_spinlock!(Some(alloc.success()), "Transaction::new"), in new_reply()
328 let mut alloc = self.allocation.lock().take().ok_or(ESRCH)?; in prepare_file_list() localVariable
330 match alloc.translate_fds() { in prepare_file_list()
332 *self.allocation.lock() = Some(alloc); in prepare_file_list()
337 drop(alloc); in prepare_file_list()
404 let mut alloc = self.allocation.lock().take().ok_or(ESRCH)?; in do_work() localVariable
412 alloc.set_info_close_on_free(close_on_free); in do_work()
415 alloc.keep_alive(); in do_work()