Home
last modified time | relevance | path

Searched refs:real_size (Results 1 – 20 of 20) sorted by relevance

/Linux-v5.10/drivers/hid/
Dhid-roccat-common.c132 size_t real_size, uint command) in roccat_common2_sysfs_read() argument
139 if (off >= real_size) in roccat_common2_sysfs_read()
142 if (off != 0 || count != real_size) in roccat_common2_sysfs_read()
146 retval = roccat_common2_receive(usb_dev, command, buf, real_size); in roccat_common2_sysfs_read()
149 return retval ? retval : real_size; in roccat_common2_sysfs_read()
155 size_t real_size, uint command) in roccat_common2_sysfs_write() argument
162 if (off != 0 || count != real_size) in roccat_common2_sysfs_write()
166 retval = roccat_common2_send_with_status(usb_dev, command, buf, real_size); in roccat_common2_sysfs_write()
169 return retval ? retval : real_size; in roccat_common2_sysfs_write()
Dhid-roccat-lua.c28 size_t real_size, uint command) in lua_sysfs_read() argument
35 if (off >= real_size) in lua_sysfs_read()
38 if (off != 0 || count != real_size) in lua_sysfs_read()
42 retval = roccat_common2_receive(usb_dev, command, buf, real_size); in lua_sysfs_read()
45 return retval ? retval : real_size; in lua_sysfs_read()
50 size_t real_size, uint command) in lua_sysfs_write() argument
57 if (off != 0 || count != real_size) in lua_sysfs_write()
61 retval = roccat_common2_send(usb_dev, command, buf, real_size); in lua_sysfs_write()
64 return retval ? retval : real_size; in lua_sysfs_write()
Dhid-roccat-arvo.c189 loff_t off, size_t count, size_t real_size, uint command) in arvo_sysfs_write() argument
196 if (off != 0 || count != real_size) in arvo_sysfs_write()
200 retval = roccat_common2_send(usb_dev, command, buf, real_size); in arvo_sysfs_write()
203 return (retval ? retval : real_size); in arvo_sysfs_write()
208 size_t count, size_t real_size, uint command) in arvo_sysfs_read() argument
215 if (off >= real_size) in arvo_sysfs_read()
218 if (off != 0 || count != real_size) in arvo_sysfs_read()
222 retval = roccat_common2_receive(usb_dev, command, buf, real_size); in arvo_sysfs_read()
225 return (retval ? retval : real_size); in arvo_sysfs_read()
Dhid-roccat-koneplus.c85 size_t real_size, uint command) in koneplus_sysfs_read() argument
92 if (off >= real_size) in koneplus_sysfs_read()
95 if (off != 0 || count != real_size) in koneplus_sysfs_read()
99 retval = roccat_common2_receive(usb_dev, command, buf, real_size); in koneplus_sysfs_read()
105 return real_size; in koneplus_sysfs_read()
110 size_t real_size, uint command) in koneplus_sysfs_write() argument
117 if (off != 0 || count != real_size) in koneplus_sysfs_write()
122 buf, real_size); in koneplus_sysfs_write()
128 return real_size; in koneplus_sysfs_write()
Dhid-roccat-pyra.c88 size_t real_size, uint command) in pyra_sysfs_read() argument
95 if (off >= real_size) in pyra_sysfs_read()
98 if (off != 0 || count != real_size) in pyra_sysfs_read()
102 retval = roccat_common2_receive(usb_dev, command, buf, real_size); in pyra_sysfs_read()
108 return real_size; in pyra_sysfs_read()
113 size_t real_size, uint command) in pyra_sysfs_write() argument
120 if (off != 0 || count != real_size) in pyra_sysfs_write()
124 retval = roccat_common2_send_with_status(usb_dev, command, (void *)buf, real_size); in pyra_sysfs_write()
130 return real_size; in pyra_sysfs_write()
Dhid-roccat-kovaplus.c128 size_t real_size, uint command) in kovaplus_sysfs_read() argument
135 if (off >= real_size) in kovaplus_sysfs_read()
138 if (off != 0 || count != real_size) in kovaplus_sysfs_read()
142 retval = roccat_common2_receive(usb_dev, command, buf, real_size); in kovaplus_sysfs_read()
148 return real_size; in kovaplus_sysfs_read()
153 size_t real_size, uint command) in kovaplus_sysfs_write() argument
160 if (off != 0 || count != real_size) in kovaplus_sysfs_write()
165 buf, real_size); in kovaplus_sysfs_write()
171 return real_size; in kovaplus_sysfs_write()
Dhid-roccat-isku.c119 size_t real_size, uint command) in isku_sysfs_read() argument
126 if (off >= real_size) in isku_sysfs_read()
129 if (off != 0 || count > real_size) in isku_sysfs_read()
141 size_t real_size, uint command) in isku_sysfs_write() argument
148 if (off != 0 || count > real_size) in isku_sysfs_write()
Dhid-roccat-common.h42 size_t real_size, uint command);
45 size_t real_size, uint command);
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx4/
Den_tx.c640 int real_size; in get_real_size() local
648 real_size = CTRL_SIZE + shinfo->nr_frags * DS_SIZE + in get_real_size()
654 real_size += DS_SIZE; in get_real_size()
667 real_size = inline_size(skb); in get_real_size()
669 real_size = CTRL_SIZE + in get_real_size()
673 return real_size; in get_real_size()
875 int real_size; in mlx4_en_xmit() local
896 real_size = get_real_size(skb, shinfo, dev, &lso_header_size, in mlx4_en_xmit()
898 if (unlikely(!real_size)) in mlx4_en_xmit()
902 desc_size = ALIGN(real_size, TXBB_SIZE); in mlx4_en_xmit()
[all …]
/Linux-v5.10/fs/
Dposix_acl.c802 int real_size, n; in posix_acl_to_xattr() local
804 real_size = posix_acl_xattr_size(acl->a_count); in posix_acl_to_xattr()
806 return real_size; in posix_acl_to_xattr()
807 if (real_size > size) in posix_acl_to_xattr()
831 return real_size; in posix_acl_to_xattr()
/Linux-v5.10/fs/isofs/
Drock.h81 __u8 real_size[8]; member
Drock.c574 real_size); in parse_rock_ridge_inode_internal()
/Linux-v5.10/fs/xfs/libxfs/
Dxfs_inode_fork.c37 int mem_size = size, real_size = 0; in xfs_init_local_fork() local
51 real_size = roundup(mem_size, 4); in xfs_init_local_fork()
52 ifp->if_u1.if_data = kmem_alloc(real_size, KM_NOFS); in xfs_init_local_fork()
/Linux-v5.10/lib/
Dtest_kasan.c467 size_t size = 123, real_size; in ksize_unpoisons_memory() local
471 real_size = ksize(ptr); in ksize_unpoisons_memory()
475 KUNIT_EXPECT_KASAN_FAIL(test, ptr[real_size] = 'y'); in ksize_unpoisons_memory()
/Linux-v5.10/drivers/video/fbdev/
Ds3c-fb.c1083 unsigned int real_size, virt_size, size; in s3c_fb_alloc_memory() local
1089 real_size = windata->xres * windata->yres; in s3c_fb_alloc_memory()
1093 real_size, windata->xres, windata->yres, in s3c_fb_alloc_memory()
1096 size = (real_size > virt_size) ? real_size : virt_size; in s3c_fb_alloc_memory()
/Linux-v5.10/arch/x86/events/intel/
Dbts.c52 size_t real_size; /* multiple of BTS_RECORD_SIZE */ member
112 buf->real_size = size - size % BTS_RECORD_SIZE; in bts_buffer_setup_aux()
/Linux-v5.10/drivers/net/wireless/realtek/rtw88/
Dmac.c367 u32 real_size; in check_firmware_size() local
377 real_size = FW_HDR_SIZE + dmem_size + imem_size + emem_size; in check_firmware_size()
378 if (real_size != size) in check_firmware_size()
/Linux-v5.10/arch/powerpc/kernel/
Dprom_init.c880 __be32 real_size; member
1029 .real_size = cpu_to_be32(0xffffffff),
1114 u32 real_size; member
1166 .real_size = ~0U,
/Linux-v5.10/mm/
Dvmalloc.c2547 unsigned long real_size = size; in __vmalloc_node_range() local
2553 area = __get_vm_area_node(real_size, align, VM_ALLOC | VM_UNINITIALIZED | in __vmalloc_node_range()
2575 "vmalloc: allocation failure: %lu bytes", real_size); in __vmalloc_node_range()
Dpage_alloc.c6636 unsigned long size, real_size; in calculate_node_totalpages() local
6648 real_size = size - absent; in calculate_node_totalpages()
6655 zone->present_pages = real_size; in calculate_node_totalpages()
6658 realtotalpages += real_size; in calculate_node_totalpages()