/* * We approximate number of blocks, because we account bytes only. * A 'block' is 512 bytes
*/ staticinlineunsignedlong task_io_get_inblock(conststruct task_struct *p)
{ return p->ioac.read_bytes >> 9;
}
/* * We approximate number of blocks, because we account bytes only. * A 'block' is 512 bytes
*/ staticinlineunsignedlong task_io_get_oublock(conststruct task_struct *p)
{ return p->ioac.write_bytes >> 9;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung ist noch experimentell.