Lines Matching refs:pdata
117 fn open_status(&self, pdata: &mut ProcfsFilePrivateData) -> Result<i64, i32> { in open_status()
131 let pdata: &mut Vec<u8> = &mut pdata.data; in open_status() localVariable
140 pdata.append( 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()
150 pdata.append( in open_status()
155 pdata.append(&mut format!("\ncpu_id:\t{}", pcb.cpu_id).as_bytes().to_owned()); in open_status()
156 pdata.append( in open_status()
161 pdata.append( in open_status()
166 pdata.append( in open_status()
180 pdata.append( in open_status()
185 pdata.append(&mut format!("\nVmData:\t{} kB", data).as_bytes().to_owned()); in open_status()
186 pdata.append(&mut format!("\nVmExe:\t{} kB\n", text).as_bytes().to_owned()); in open_status()
189 self.trim_string(pdata); in open_status()
191 return Ok((pdata.len() * size_of::<u8>()) as i64); in open_status()