Lines Matching refs:format
6 format,
141 &mut format!( in open_status()
148 pdata.append(&mut format!("\nstate:\t{}", pcb.state).as_bytes().to_owned()); in open_status()
149 pdata.append(&mut format!("\npid:\t{}", pcb.pid).as_bytes().to_owned()); in open_status()
151 &mut format!("\nPpid:\t{}", unsafe { *pcb.parent_pcb }.pid) in open_status()
155 pdata.append(&mut format!("\ncpu_id:\t{}", pcb.cpu_id).as_bytes().to_owned()); in open_status()
157 &mut format!("\npriority:\t{}", pcb.priority) in open_status()
162 &mut format!("\npreempt:\t{}", pcb.preempt_count) in open_status()
167 &mut format!("\nvrtime:\t{}", pcb.virtual_runtime) in open_status()
183 &mut format!("\nVmPeak:\t{} kB", hiwater_vm) in open_status()
187 pdata.append(&mut format!("\nVmData:\t{} kB", data).as_bytes().to_owned()); in open_status()
188 pdata.append(&mut format!("\nVmExe:\t{} kB\n", text).as_bytes().to_owned()); in open_status()
309 let pid_dir: Arc<dyn IndexNode> = proc.find(&format!("{}", pid))?; in unregister_pid()
317 proc.unlink(&format!("{}", pid))?; in unregister_pid()