/drivers/isdn/hardware/eicon/ |
H A D | istream.c | 64 does return amount of data written to stream. 65 'final' does indicate that piece of data to be written is 67 return 0 if zero lengh packet was written 78 int written = 0, to_write = -1; local 93 break; /* only part of message was written */ 106 written += to_write; 134 return (written); 139 Does return amount of data written to buffer
|
H A D | mntfunc.c | 246 int written = 0; local 268 pbuf[written++] = (byte) size; 269 pbuf[written++] = (byte) (size >> 8); 270 pbuf[written++] = 0; 271 pbuf[written++] = 0; 275 memcpy(&pbuf[written], pmsg, size); 277 written += size; 280 pbuf[written++] = 0; 281 pbuf[written++] = 0; 282 pbuf[written [all...] |
/drivers/mtd/tests/ |
H A D | mtd_test.c | 103 size_t written; local 106 err = mtd_write(mtd, addr, size, &written, buf); 107 if (!err && written != size)
|
H A D | subpagetest.c | 58 size_t written; local 63 err = mtd_write(mtd, addr, subpgsize, &written, writebuf); 64 if (unlikely(err || written != subpgsize)) { 67 if (written != subpgsize) { 69 pr_err(" written: %#zx\n", written); 77 err = mtd_write(mtd, addr, subpgsize, &written, writebuf); 78 if (unlikely(err || written != subpgsize)) { 81 if (written != subpgsize) { 83 pr_err(" written 93 size_t written; local [all...] |
H A D | torturetest.c | 61 MODULE_PARM_DESC(check, "if the written data should be checked"); 84 static void report_corrupt(unsigned char *read, unsigned char *written); 157 size_t written; local 165 err = mtd_write(mtd, addr, len, &written, buf); 167 pr_err("error %d while writing EB %d, written %zd" 168 " bytes\n", err, ebnum, written); 171 if (written != len) { 172 pr_info("written only %zd bytes of %zd, but no error" 173 " reported\n", written, len); 367 static void print_bufs(unsigned char *read, unsigned char *written, in 374 report_corrupt(unsigned char *read, unsigned char *written) argument 418 print_bufs(unsigned char *read, unsigned char *written, int start, int len) argument [all...] |
/drivers/mtd/devices/ |
H A D | bcm47xxsflash.c | 123 int written = 0; local 135 return 1; /* 1B written */ 142 written++; 152 written++; 161 return written; 171 int written = 0; local 197 written++; 204 return written; 211 int written; local 219 written [all...] |
/drivers/s390/char/ |
H A D | tape_char.c | 191 size_t written; local 222 written = 0; 235 written += block_size - request->rescnt; 243 * Ok, the device has no more space. It has NOT written 248 if (written > 0) 257 * Since process_eov positions the tape in front of the written 263 return rc ? rc : written;
|
H A D | monwriter.c | 219 size_t len, written; local 224 for (written = 0; written < count; ) { 226 len = min(count - written, monpriv->hdr_to_read); 229 if (copy_from_user(to, data + written, len)) { 234 written += len; 245 len = min(count - written, monpriv->data_to_read); 248 if (copy_from_user(to, data + written, len)) { 253 written += len; 263 return written; [all...] |
H A D | sclp_con.c | 166 int written; local 195 written = sclp_write(sclp_conbuf, (const unsigned char *) 197 if (written == count) 200 * Not all characters could be written to the current 207 message += written; 208 count -= written; 342 * written at start of each line by VM/CP
|
H A D | sclp_tty.c | 83 * will accept for queuing to be written. This number is subject 176 int written; local 201 written = sclp_write(sclp_ttybuf, str, count); 202 overall_written += written; 203 if (written == count) 206 * Not all characters could be written to the current 215 str += written; 216 count -= written; 255 * sclp_write() without final '\n' - will be written. 269 * This routine is called by the kernel after it has written [all...] |
/drivers/scsi/aic7xxx/ |
H A D | aic79xx_proc.c | 18 * from this software without specific prior written permission. 217 int written; local 220 written = -EINVAL; 262 written = length; 270 return (written);
|
H A D | aic7xxx_proc.c | 18 * from this software without specific prior written permission. 195 int written; local 198 written = -EINVAL; 275 written = length; 282 return (written);
|
/drivers/scsi/libsas/ |
H A D | sas_host_smp.c | 121 int written; local 128 written = i->dft->lldd_write_gpio(sas_ha, reg_type, reg_index, 131 if (written < 0) { 133 written = 0; 137 return written;
|
/drivers/char/ |
H A D | dcc_tty.c | 43 int written; local 52 : "=r" (written) 55 if (written) { 224 int written; 225 written = dcc_write(b, count); 226 if (written) { 227 b += written; 228 count -= written;
|
H A D | nwflash.c | 147 int written; local 179 written = 0; 220 count - written); 225 rc = write_block(p, buf, count - written); 250 written += rc; 254 printk(KERN_DEBUG "flash_write: written 0x%X bytes OK.\n", written); 259 return written; 423 * write_block will limit number of bytes written to the space in this block
|
/drivers/gpu/drm/ |
H A D | drm_sysfs.c | 250 int written = 0; local 253 written += snprintf(buf + written, PAGE_SIZE - written, "%s\n", 257 return written;
|
/drivers/md/bcache/ |
H A D | btree.h | 19 * (because they were written at different times), but in memory we never have 62 * it ensures that the dirty keys will be written at some point in the future. 93 * overwrite the data that was just written to the cache with stale data from 133 uint16_t written; /* would be nice to kill */ member in struct:btree
|
/drivers/media/rc/ |
H A D | lirc_dev.c | 665 int ret = 0, written = 0; local 705 while (written < length && ret == 0) { 707 /* According to the read(2) man page, 'written' can be 711 if (written) 739 ret = copy_to_user((void __user *)buffer+written, buf, 742 written += ir->buf->chunk_size; 759 return ret ? ret : written;
|
/drivers/misc/eeprom/ |
H A D | at25.c | 95 /* 8/16/24-bit address is written MSB first */ 154 unsigned written = 0; local 199 /* 8/16/24-bit address is written MSB first */ 258 written += segment; 265 return written ? written : status;
|
/drivers/char/xilinx_hwicap/ |
H A D | xilinx_hwicap.c | 235 * Create the data to be written to the ICAP. 269 * Create the data to be written to the ICAP. 441 ssize_t written = 0; local 479 buf + written, 486 if (copy_from_user(kbuf, buf + written, len)) { 506 written += len; 511 buf + written, left)) { 513 written += left; 519 status = written;
|
/drivers/media/dvb-frontends/ |
H A D | nxt200x.c | 426 u8 buf[3], written = 0, chunkpos = 0; local 447 if (written == 0) { 456 written++; 459 if ((written % 4) == 0) 464 if ((written == 255) || (position+1 == fw->size)) { 466 nxt200x_writebytes(state, chunkpos+4-(written %4), 467 &fw->data[position-(written %4) + 1], 468 written %4); 482 written = 0;
|
/drivers/mtd/ubi/ |
H A D | io.c | 85 * When the VID header is being written out, it shifts the VID header pointer 226 * of physical eraseblock @pnum. If all the data were successfully written, 231 * Note, in case of an error, it is possible that something was still written 238 size_t written; local 283 err = mtd_write(ubi->mtd, addr, len, &written, buf); 285 ubi_err("error %d while writing %d bytes to PEB %d:%d, written %zd bytes", 286 err, len, pnum, offset, written); 290 ubi_assert(written == len); 499 size_t written; local 524 err = mtd_write(ubi->mtd, addr, 4, &written, (voi [all...] |
/drivers/tty/ |
H A D | ehv_bytechan.c | 242 * a printk(). This function spins until all data is written. 465 unsigned int written = 0; local 482 written += len; 487 return written;
|
/drivers/tty/vt/ |
H A D | vc_screen.c | 380 long attr, size, written; local 410 written = 0; 432 if (written) 441 * Return data written up to now on failure. 445 if (written) 544 written += orig_count; 550 *ppos += written; 551 ret = written; 552 if (written)
|
/drivers/ata/ |
H A D | libata-transport.c | 491 int written; member in struct:ata_show_ering_arg 500 arg->written += sprintf(arg->buf + arg->written, 503 arg->written += get_ata_err_names(ent->err_mask, 504 arg->buf + arg->written); 516 return arg.written; 527 int written = 0, i = 0; local 532 written += snprintf(buf+written, 20, "%04x%c", 536 return written; 546 int written = 0, i = 0; local [all...] |