Home
last modified time | relevance | path

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

/Linux-v6.1/lib/
Dkfifo.c382 unsigned int __kfifo_max_r(unsigned int len, size_t recsize) in __kfifo_max_r() argument
384 unsigned int max = (1 << (recsize << 3)) - 1; in __kfifo_max_r()
398 static unsigned int __kfifo_peek_n(struct __kfifo *fifo, size_t recsize) in __kfifo_peek_n() argument
406 if (--recsize) in __kfifo_peek_n()
421 static void __kfifo_poke_n(struct __kfifo *fifo, unsigned int n, size_t recsize) in __kfifo_poke_n() argument
428 if (recsize > 1) in __kfifo_poke_n()
432 unsigned int __kfifo_len_r(struct __kfifo *fifo, size_t recsize) in __kfifo_len_r() argument
434 return __kfifo_peek_n(fifo, recsize); in __kfifo_len_r()
439 unsigned int len, size_t recsize) in __kfifo_in_r() argument
441 if (len + recsize > kfifo_unused(fifo)) in __kfifo_in_r()
[all …]
/Linux-v6.1/include/linux/
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);
871 unsigned long len, unsigned int *copied, size_t recsize);
[all …]
/Linux-v6.1/drivers/firmware/efi/libstub/
Dsmbios.c25 const u8 *__efi_get_smbios_string(u8 type, int offset, int recsize) in __efi_get_smbios_string() argument
39 strtable = (u8 *)record + recsize; in __efi_get_smbios_string()
Defistub.h1004 const u8 *__efi_get_smbios_string(u8 type, int offset, int recsize);
/Linux-v6.1/fs/xfs/
Dxfs_ioctl.c1429 size_t recsize) in xfs_getbmap_format() argument
1437 if (recsize < sizeof(struct getbmapx)) in xfs_getbmap_format()
1455 size_t recsize; in xfs_ioc_getbmap() local
1464 recsize = sizeof(struct getbmap); in xfs_ioc_getbmap()
1467 recsize = sizeof(struct getbmapx); in xfs_ioc_getbmap()
1473 if (copy_from_user(&bmx, arg, recsize)) in xfs_ioc_getbmap()
1478 if (bmx.bmv_count >= INT_MAX / recsize) in xfs_ioc_getbmap()
1490 if (copy_to_user(arg, &bmx, recsize)) in xfs_ioc_getbmap()
1492 arg += recsize; in xfs_ioc_getbmap()
1495 if (!xfs_getbmap_format(buf + i, arg, recsize)) in xfs_ioc_getbmap()
[all …]