Home
last modified time | relevance | path

Searched refs:recsize (Results 1 – 3 of 3) sorted by relevance

/linux/lib/
A Dkfifo.c406 if (--recsize) in __kfifo_peek_n()
428 if (recsize > 1) in __kfifo_poke_n()
439 unsigned int len, size_t recsize) in __kfifo_in_r() argument
447 fifo->in += len + recsize; in __kfifo_in_r()
485 fifo->out += n + recsize; in __kfifo_out_r()
495 fifo->out += n + recsize; in __kfifo_skip_r()
518 fifo->in += len + recsize; in __kfifo_from_user_r()
543 fifo->out += n + recsize; in __kfifo_to_user_r()
563 unsigned int len, size_t recsize) in __kfifo_dma_in_finish_r() argument
567 fifo->in += len + recsize; in __kfifo_dma_in_finish_r()
[all …]
/linux/include/linux/
A Dkfifo.h52 #define __STRUCT_KFIFO_COMMON(datatype, recsize, ptrtype) \ argument
57 char (*rectype)[recsize]; \
62 #define __STRUCT_KFIFO(type, size, recsize, ptrtype) \ argument
64 __STRUCT_KFIFO_COMMON(type, recsize, ptrtype); \
71 #define __STRUCT_KFIFO_PTR(type, recsize, ptrtype) \ argument
73 __STRUCT_KFIFO_COMMON(type, recsize, ptrtype); \
861 const void *buf, unsigned int len, size_t recsize);
864 void *buf, unsigned int len, size_t recsize);
868 size_t recsize);
877 unsigned int len, size_t recsize);
[all …]
/linux/fs/xfs/
A Dxfs_ioctl.c1499 size_t recsize) in xfs_getbmap_format() argument
1507 if (recsize < sizeof(struct getbmapx)) in xfs_getbmap_format()
1525 size_t recsize; in xfs_ioc_getbmap() local
1534 recsize = sizeof(struct getbmap); in xfs_ioc_getbmap()
1537 recsize = sizeof(struct getbmapx); in xfs_ioc_getbmap()
1543 if (copy_from_user(&bmx, arg, recsize)) in xfs_ioc_getbmap()
1548 if (bmx.bmv_count > ULONG_MAX / recsize) in xfs_ioc_getbmap()
1560 if (copy_to_user(arg, &bmx, recsize)) in xfs_ioc_getbmap()
1562 arg += recsize; in xfs_ioc_getbmap()
1565 if (!xfs_getbmap_format(buf + i, arg, recsize)) in xfs_ioc_getbmap()
[all …]

Completed in 11 milliseconds