Home
last modified time | relevance | path

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

/linux-6.6.21/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.c187 loff_t off, size_t count, size_t real_size, uint command) in arvo_sysfs_write() argument
194 if (off != 0 || count != real_size) in arvo_sysfs_write()
198 retval = roccat_common2_send(usb_dev, command, buf, real_size); in arvo_sysfs_write()
201 return (retval ? retval : real_size); in arvo_sysfs_write()
206 size_t count, size_t real_size, uint command) in arvo_sysfs_read() argument
213 if (off >= real_size) in arvo_sysfs_read()
216 if (off != 0 || count != real_size) in arvo_sysfs_read()
220 retval = roccat_common2_receive(usb_dev, command, buf, real_size); in arvo_sysfs_read()
223 return (retval ? retval : real_size); in arvo_sysfs_read()
Dhid-roccat-koneplus.c83 size_t real_size, uint command) in koneplus_sysfs_read() argument
90 if (off >= real_size) in koneplus_sysfs_read()
93 if (off != 0 || count != real_size) in koneplus_sysfs_read()
97 retval = roccat_common2_receive(usb_dev, command, buf, real_size); in koneplus_sysfs_read()
103 return real_size; in koneplus_sysfs_read()
108 size_t real_size, uint command) in koneplus_sysfs_write() argument
115 if (off != 0 || count != real_size) in koneplus_sysfs_write()
120 buf, real_size); in koneplus_sysfs_write()
126 return real_size; in koneplus_sysfs_write()
Dhid-roccat-pyra.c85 size_t real_size, uint command) in pyra_sysfs_read() argument
92 if (off >= real_size) in pyra_sysfs_read()
95 if (off != 0 || count != real_size) in pyra_sysfs_read()
99 retval = roccat_common2_receive(usb_dev, command, buf, real_size); in pyra_sysfs_read()
105 return real_size; in pyra_sysfs_read()
110 size_t real_size, uint command) in pyra_sysfs_write() argument
117 if (off != 0 || count != real_size) in pyra_sysfs_write()
121 retval = roccat_common2_send_with_status(usb_dev, command, (void *)buf, real_size); in pyra_sysfs_write()
127 return real_size; in pyra_sysfs_write()
Dhid-roccat-kovaplus.c126 size_t real_size, uint command) in kovaplus_sysfs_read() argument
133 if (off >= real_size) in kovaplus_sysfs_read()
136 if (off != 0 || count != real_size) in kovaplus_sysfs_read()
140 retval = roccat_common2_receive(usb_dev, command, buf, real_size); in kovaplus_sysfs_read()
146 return real_size; in kovaplus_sysfs_read()
151 size_t real_size, uint command) in kovaplus_sysfs_write() argument
158 if (off != 0 || count != real_size) in kovaplus_sysfs_write()
163 buf, real_size); in kovaplus_sysfs_write()
169 return real_size; in kovaplus_sysfs_write()
Dhid-roccat-isku.c117 size_t real_size, uint command) in isku_sysfs_read() argument
124 if (off >= real_size) in isku_sysfs_read()
127 if (off != 0 || count > real_size) in isku_sysfs_read()
139 size_t real_size, uint command) in isku_sysfs_write() argument
146 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-6.6.21/drivers/net/ethernet/mellanox/mlx4/
Den_tx.c646 int real_size; in get_real_size() local
662 real_size = CTRL_SIZE + shinfo->nr_frags * DS_SIZE + in get_real_size()
668 real_size += DS_SIZE; in get_real_size()
681 real_size = inline_size(skb); in get_real_size()
683 real_size = CTRL_SIZE + in get_real_size()
687 return real_size; in get_real_size()
888 int real_size; in mlx4_en_xmit() local
908 real_size = get_real_size(skb, shinfo, dev, &lso_header_size, in mlx4_en_xmit()
910 if (unlikely(!real_size)) in mlx4_en_xmit()
914 desc_size = ALIGN(real_size, TXBB_SIZE); in mlx4_en_xmit()
[all …]
/linux-6.6.21/fs/
Dposix_acl.c840 int real_size, n; in posix_acl_to_xattr() local
842 real_size = posix_acl_xattr_size(acl->a_count); in posix_acl_to_xattr()
844 return real_size; in posix_acl_to_xattr()
845 if (real_size > size) in posix_acl_to_xattr()
869 return real_size; in posix_acl_to_xattr()
897 ssize_t real_size, n; in vfs_posix_acl_to_xattr() local
901 real_size = posix_acl_xattr_size(acl->a_count); in vfs_posix_acl_to_xattr()
903 return real_size; in vfs_posix_acl_to_xattr()
904 if (real_size > size) in vfs_posix_acl_to_xattr()
932 return real_size; in vfs_posix_acl_to_xattr()
/linux-6.6.21/drivers/gpu/drm/i915/gt/uc/
Dintel_guc_ads.c509 u32 total_size = 0, alloc_size, real_size; in guc_prep_golden_context() local
543 real_size = intel_engine_context_size(gt, engine_class); in guc_prep_golden_context()
544 alloc_size = PAGE_ALIGN(real_size); in guc_prep_golden_context()
562 real_size - LRC_SKIP_SIZE(gt->i915)); in guc_prep_golden_context()
599 u32 addr_ggtt, total_size = 0, alloc_size, real_size; in guc_init_golden_context() local
619 real_size = intel_engine_context_size(gt, engine_class); in guc_init_golden_context()
620 alloc_size = PAGE_ALIGN(real_size); in guc_init_golden_context()
633 real_size - LRC_SKIP_SIZE(gt->i915)); in guc_init_golden_context()
639 offset, real_size); in guc_init_golden_context()
/linux-6.6.21/fs/isofs/
Drock.h81 __u8 real_size[8]; member
Drock.c572 real_size); in parse_rock_ridge_inode_internal()
/linux-6.6.21/fs/btrfs/
Dsubpage.c160 unsigned int real_size; in btrfs_alloc_subpage() local
164 real_size = struct_size(ret, bitmaps, in btrfs_alloc_subpage()
166 ret = kzalloc(real_size, GFP_NOFS); in btrfs_alloc_subpage()
/linux-6.6.21/drivers/video/fbdev/
Ds3c-fb.c1082 unsigned int real_size, virt_size, size; in s3c_fb_alloc_memory() local
1088 real_size = windata->xres * windata->yres; in s3c_fb_alloc_memory()
1092 real_size, windata->xres, windata->yres, in s3c_fb_alloc_memory()
1095 size = (real_size > virt_size) ? real_size : virt_size; in s3c_fb_alloc_memory()
/linux-6.6.21/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-6.6.21/mm/kasan/
Dkasan_test.c844 size_t real_size; in ksize_unpoisons_memory() local
849 real_size = ksize(ptr); in ksize_unpoisons_memory()
850 KUNIT_EXPECT_GT(test, real_size, size); in ksize_unpoisons_memory()
862 KUNIT_EXPECT_KASAN_FAIL(test, ((volatile char *)ptr)[real_size - 1]); in ksize_unpoisons_memory()
/linux-6.6.21/mm/
Dmm_init.c1278 unsigned long real_size; in calculate_node_totalpages() local
1289 real_size = spanned - absent; in calculate_node_totalpages()
1296 zone->present_pages = real_size; in calculate_node_totalpages()
1298 zone->present_early_pages = real_size; in calculate_node_totalpages()
1302 realtotalpages += real_size; in calculate_node_totalpages()
Dvmalloc.c3243 unsigned long real_size = size; in __vmalloc_node_range() local
3253 real_size); in __vmalloc_node_range()
3276 size = ALIGN(real_size, 1UL << shift); in __vmalloc_node_range()
3280 area = __get_vm_area_node(real_size, align, shift, VM_ALLOC | in __vmalloc_node_range()
3287 real_size, (nofail) ? ". Retrying." : ""); in __vmalloc_node_range()
3337 area->addr = kasan_unpoison_vmalloc(area->addr, real_size, kasan_flags); in __vmalloc_node_range()
3356 size = real_size; in __vmalloc_node_range()
/linux-6.6.21/drivers/net/wireless/realtek/rtw88/
Dmac.c414 u32 real_size; in check_firmware_size() local
424 real_size = FW_HDR_SIZE + dmem_size + imem_size + emem_size; in check_firmware_size()
425 if (real_size != size) in check_firmware_size()
/linux-6.6.21/arch/powerpc/kernel/
Dprom_init.c896 __be32 real_size; member
1052 .real_size = cpu_to_be32(0xffffffff),
1141 u32 real_size; member
1193 .real_size = ~0U,