Lines Matching refs:pdata
117 fn open_status(&self, pdata: &mut ProcfsFilePrivateData) -> Result<i64, SystemError> { 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()
182 pdata.append( 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()
191 self.trim_string(pdata); in open_status()
193 return Ok((pdata.len() * size_of::<u8>()) as i64); in open_status()