Lines Matching refs:reclen
107 urd->reclen = cdev->id.driver_info; in urdev_alloc()
208 int reclen) in alloc_chan_prog() argument
214 TRACE("alloc_chan_prog(%p, %i, %i)\n", ubuf, rec_count, reclen); in alloc_chan_prog()
229 cpa[i].count = reclen; in alloc_chan_prog()
230 kbuf = kmalloc(reclen, GFP_KERNEL | GFP_DMA); in alloc_chan_prog()
236 if (copy_from_user(kbuf, ubuf, reclen)) { in alloc_chan_prog()
240 ubuf += reclen; in alloc_chan_prog()
320 rc = sprintf(buf, "%zu\n", urd->reclen); in ur_attr_reclen_show()
325 static DEVICE_ATTR(reclen, 0444, ur_attr_reclen_show, NULL);
393 size_t count, size_t reclen, loff_t *ppos) in do_write() argument
398 cpa = alloc_chan_prog(udata, count / reclen, reclen); in do_write()
492 u16 reclen; in diag14_read() local
496 reclen = ((struct urfile *) file->private_data)->file_reclen; in diag14_read()
518 if (reclen && (copied == 0) && (*offs < PAGE_SIZE)) in diag14_read()
519 *((u16 *) &buf[FILE_RECLEN_OFFSET]) = reclen; in diag14_read()
727 urf->dev_reclen = urd->reclen; in ur_open()