Searched refs:perrorf (Results 1 - 8 of 8) sorted by relevance

/freebsd-10.1-release/usr.sbin/nandtool/
H A Dnand_writeoob.c64 perrorf("Cannot open %s", dev);
69 perrorf("Cannot open %s", in);
75 perrorf("Cannot ioctl(NAND_IO_GET_CHIP_PARAM)");
82 perrorf("Cannot allocate %d bytes\n", chip_params.oob_size);
88 perrorf("Cannot read from %s", in);
98 perrorf("Cannot write OOB to %s", dev);
H A Dnand_readoob.c61 perrorf("Cannot open %s", out);
68 perrorf("Cannot open %s", dev);
74 perrorf("Cannot ioctl(NAND_IO_GET_CHIP_PARAM)");
81 perrorf("Cannot allocate %d bytes\n", chip_params.oob_size);
91 perrorf("Cannot read OOB from %s", dev);
H A Dnand_read.c55 perrorf("Cannot open %s for writing", out);
61 perrorf("Cannot open %s", dev);
67 perrorf("Cannot ioctl(NAND_IO_GET_CHIP_PARAM)");
101 perrorf("Cannot allocate buffer [size %x]",
112 perrorf("read error (read %d bytes)", ret);
120 perrorf("write error (written %d bytes)", ret);
H A Dnandtool.h44 void perrorf(const char *, ...);
H A Dnand_info.c54 perrorf("Cannot open %s", dev);
59 perrorf("Cannot ioctl(NAND_IO_GET_CHIP_PARAM)");
65 perrorf("Cannot ioctl(DIOCGMEDIASIZE)");
H A Dnand_write.c58 perrorf("Cannot open %s", dev);
63 perrorf("Cannot open file %s", file);
69 perrorf("Cannot ioctl(NAND_IO_GET_CHIP_PARAM)");
104 perrorf("Cannot allocate buffer [size %x]",
119 perrorf("Cannot read from %s", file);
H A Dnand_erase.c59 perrorf("Cannot open %s", dev);
64 perrorf("Cannot ioctl(NAND_IO_GET_CHIP_PARAM)");
103 perrorf("Cannot erase block %d - probably a bad block",
H A Dnandtool.c69 perrorf("Missing parameter %s", name);
95 perrorf("Invalid value for parameter %s", name);
199 perrorf(const char *format, ...) function

Completed in 57 milliseconds