def _fetchDevAll(self, namestr, devlist, statsfunc):
for dev in devlist:<EOL><INDENT>stats = statsfunc(dev)<EOL>name = '<STR_LIT>' % namestr<EOL>if self.hasGraph(name):<EOL><INDENT>self.setGraphVal(name, dev + '<STR_LIT>', stats['<STR_LIT>'])<EOL>self.setGraphVal(name, dev + '<STR_LIT>', stats['<STR_LIT>'])<EOL><DEDENT>name = '<STR_LIT>' % namestr<EOL>if self.hasGraph(name):<EOL><INDENT>self.setGraphVal(name, dev + '<STR_LIT>', stats['<STR_LIT>'])<EOL>self.setGraphVal(name, dev + '<STR_LIT>', stats['<STR_LIT>'])<EOL><DEDENT>name = '<STR_LIT>' % namestr<EOL>if self.hasGraph(name):<EOL><INDENT>self.setGraphVal(name, dev, stats['<STR_LIT>'])<EOL><DEDENT><DEDENT>
Initialize I/O stats for devices.

        @param namestr:   Field name component indicating device type.
        @param devlist:   List of devices.
        @param statsfunc: Function for retrieving stats for device.