Searched refs:copy_size (Results 1 – 7 of 7) sorted by relevance
/linux-2.4.37.9/drivers/usb/ |
D | usblcd.c | 114 unsigned long copy_size; in write_lcd() local 131 thistime = copy_size = in write_lcd() 133 if (copy_from_user(lcd->obuf, buffer, copy_size)) in write_lcd() 166 bytes_written += copy_size; in write_lcd() 167 count -= copy_size; in write_lcd() 168 buffer += copy_size; in write_lcd()
|
D | dc2xx.c | 235 unsigned long copy_size, thistime; in camera_write() local 240 thistime = copy_size = len; in camera_write() 241 if (copy_from_user (obuf, buf, copy_size)) { in camera_write() 284 bytes_written += copy_size; in camera_write() 285 len -= copy_size; in camera_write() 286 buf += copy_size; in camera_write()
|
D | rio500.c | 279 unsigned long copy_size; in write_rio() local 303 thistime = copy_size = in write_rio() 305 if (copy_from_user(rio->obuf, buffer, copy_size)) { in write_rio() 345 bytes_written += copy_size; in write_rio() 346 count -= copy_size; in write_rio() 347 buffer += copy_size; in write_rio()
|
/linux-2.4.37.9/fs/reiserfs/ |
D | resize.c | 33 int copy_size ; in reiserfs_resize() local 89 copy_size = bmap_nr_new < bmap_nr ? bmap_nr_new : bmap_nr ; in reiserfs_resize() 90 copy_size = copy_size * sizeof(struct reiserfs_list_bitmap_node *) ; in reiserfs_resize() 94 memcpy(jbitmap[i].bitmaps, jb->bitmaps, copy_size) ; in reiserfs_resize()
|
D | inode.c | 1899 int copy_size ; in map_block_for_writepage() local 1937 copy_size = ih_item_len(ih) - pos_in_item; in map_block_for_writepage() 1947 memcpy( B_I_PITEM(bh, ih) + pos_in_item, p + bytes_copied, copy_size) ; in map_block_for_writepage() 1950 bytes_copied += copy_size ; in map_block_for_writepage() 1957 set_cpu_key_k_offset(&key, cpu_key_k_offset(&key) + copy_size) ; in map_block_for_writepage()
|
/linux-2.4.37.9/drivers/char/ |
D | lp.c | 302 size_t copy_size = count; in lp_write() local 314 if (copy_size > LP_BUFFER_SIZE) in lp_write() 315 copy_size = LP_BUFFER_SIZE; in lp_write() 320 if (copy_from_user (kbuf, buf, copy_size)) { in lp_write() 339 written = parport_write (port, kbuf, copy_size); in lp_write() 341 copy_size -= written; in lp_write() 354 if (copy_size > 0) { in lp_write() 383 copy_size = count; in lp_write() 384 if (copy_size > LP_BUFFER_SIZE) in lp_write() 385 copy_size = LP_BUFFER_SIZE; in lp_write() [all …]
|
/linux-2.4.37.9/fs/jfs/ |
D | namei.c | 947 int copy_size = min(ssize, PSIZE); in jfs_symlink() local 957 memcpy(mp->data, name, copy_size); in jfs_symlink() 959 ssize -= copy_size; in jfs_symlink() 960 name += copy_size; in jfs_symlink()
|