Lines Matching refs:reclen
109 urd->reclen = cdev->id.driver_info; in urdev_alloc()
232 int reclen) in alloc_chan_prog() argument
238 TRACE("alloc_chan_prog(%p, %i, %i)\n", ubuf, rec_count, reclen); in alloc_chan_prog()
253 cpa[i].count = reclen; in alloc_chan_prog()
254 kbuf = kmalloc(reclen, GFP_KERNEL | GFP_DMA); in alloc_chan_prog()
260 if (copy_from_user(kbuf, ubuf, reclen)) { in alloc_chan_prog()
264 ubuf += reclen; in alloc_chan_prog()
344 rc = sprintf(buf, "%zu\n", urd->reclen); in ur_attr_reclen_show()
349 static DEVICE_ATTR(reclen, 0444, ur_attr_reclen_show, NULL);
417 size_t count, size_t reclen, loff_t *ppos) in do_write() argument
422 cpa = alloc_chan_prog(udata, count / reclen, reclen); in do_write()
516 u16 reclen; in diag14_read() local
520 reclen = ((struct urfile *) file->private_data)->file_reclen; in diag14_read()
542 if (reclen && (copied == 0) && (*offs < PAGE_SIZE)) in diag14_read()
543 *((u16 *) &buf[FILE_RECLEN_OFFSET]) = reclen; in diag14_read()
751 urf->dev_reclen = urd->reclen; in ur_open()