Lines Matching refs:format
7 format,
162 &mut format!("Name:\t{}", pcb.basic().name()) in open_status()
178 pdata.append(&mut format!("\nState:\t{:?}", state).as_bytes().to_owned()); in open_status()
181 pdata.append(&mut format!("\nTgid:\t{}", pcb.tgid().into()).into()); in open_status()
185 &mut format!("\nPid:\t{}", pcb.pid().into()) in open_status()
192 &mut format!("\nPpid:\t{}", pcb.basic().ppid().into()) in open_status()
198 pdata.append(&mut format!("\nFDSize:\t{}", pcb.fd_table().read().fd_open_count()).into()); in open_status()
201 pdata.append(&mut format!("\nKthread:\t{}", pcb.is_kthread() as usize).into()); in open_status()
203 pdata.append(&mut format!("\ncpu_id:\t{}", cpu_id).as_bytes().to_owned()); in open_status()
204 pdata.append(&mut format!("\npriority:\t{:?}", priority).as_bytes().to_owned()); in open_status()
206 &mut format!("\npreempt:\t{}", pcb.preempt_count()) in open_status()
211 pdata.append(&mut format!("\nvrtime:\t{}", vrtime).as_bytes().to_owned()); in open_status()
223 &mut format!("\nVmPeak:\t{} kB", hiwater_vm) in open_status()
227 pdata.append(&mut format!("\nVmData:\t{} kB", data).as_bytes().to_owned()); in open_status()
228 pdata.append(&mut format!("\nVmExe:\t{} kB", text).as_bytes().to_owned()); in open_status()
232 &mut format!("\nflags: {:?}\n", pcb.flags().clone()) in open_status()
252 &mut format!("MemTotal:\t{} kB\n", usage.total().bytes() >> 10) in open_meminfo()
258 &mut format!("MemFree:\t{} kB\n", usage.free().bytes() >> 10) in open_meminfo()