Home
last modified time | relevance | path

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

/linux/drivers/hid/
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A 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()
H A Dhid-roccat-common.h42 size_t real_size, uint command);
45 size_t real_size, uint command);
/linux/drivers/gpu/drm/xe/
H A Dxe_guc_ads.c270 size_t total_size = 0, alloc_size, real_size; in calculate_golden_lrc_size() local
277 real_size = xe_gt_lrc_size(gt, class); in calculate_golden_lrc_size()
278 alloc_size = PAGE_ALIGN(real_size); in calculate_golden_lrc_size()
489 size_t alloc_size, real_size; in guc_golden_lrc_init() local
505 real_size = xe_gt_lrc_size(gt, class); in guc_golden_lrc_init()
506 alloc_size = PAGE_ALIGN(real_size); in guc_golden_lrc_init()
943 size_t total_size = 0, alloc_size, real_size; in guc_golden_lrc_populate() local
960 real_size = xe_gt_lrc_size(gt, class); in guc_golden_lrc_populate()
961 alloc_size = PAGE_ALIGN(real_size); in guc_golden_lrc_populate()
965 gt->default_lrc[class], real_size); in guc_golden_lrc_populate()
/linux/drivers/gpu/drm/i915/gt/uc/
H A Dintel_guc_ads.c533 u32 total_size = 0, alloc_size, real_size; in guc_prep_golden_context() local
567 real_size = intel_engine_context_size(gt, engine_class); in guc_prep_golden_context()
568 alloc_size = PAGE_ALIGN(real_size); in guc_prep_golden_context()
586 real_size - LRC_SKIP_SIZE(gt->i915)); in guc_prep_golden_context()
623 u32 addr_ggtt, total_size = 0, alloc_size, real_size; in guc_init_golden_context() local
643 real_size = intel_engine_context_size(gt, engine_class); in guc_init_golden_context()
644 alloc_size = PAGE_ALIGN(real_size); in guc_init_golden_context()
657 real_size - LRC_SKIP_SIZE(gt->i915)); in guc_init_golden_context()
663 offset, real_size); in guc_init_golden_context()
/linux/fs/
H A Dposix_acl.c896 ssize_t real_size, n; in vfs_posix_acl_to_xattr() local
900 real_size = posix_acl_xattr_size(acl->a_count); in vfs_posix_acl_to_xattr()
902 return real_size; in vfs_posix_acl_to_xattr()
903 if (real_size > size) in vfs_posix_acl_to_xattr()
931 return real_size; in vfs_posix_acl_to_xattr()
/linux/fs/isofs/
H A Drock.h77 __u8 real_size[8]; member
H A Drock.c585 real_size); in parse_rock_ridge_inode_internal()
/linux/drivers/video/fbdev/
H A 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/arch/x86/events/intel/
H A Dbts.c53 size_t real_size; /* multiple of BTS_RECORD_SIZE */ member
113 bb->real_size = size - size % BTS_RECORD_SIZE; in bts_buffer_setup_aux()
/linux/mm/
H A Dmm_init.c1333 unsigned long real_size; in calculate_node_totalpages() local
1344 real_size = spanned - absent; in calculate_node_totalpages()
1351 zone->present_pages = real_size; in calculate_node_totalpages()
1353 zone->present_early_pages = real_size; in calculate_node_totalpages()
1357 realtotalpages += real_size; in calculate_node_totalpages()
/linux/mm/kasan/
H A Dkasan_test_c.c889 size_t real_size; in ksize_unpoisons_memory() local
894 real_size = ksize(ptr); in ksize_unpoisons_memory()
895 KUNIT_EXPECT_GT(test, real_size, size); in ksize_unpoisons_memory()
907 KUNIT_EXPECT_KASAN_FAIL_READ(test, ((volatile char *)ptr)[real_size - 1]); in ksize_unpoisons_memory()
/linux/drivers/net/wireless/realtek/rtw88/
H A Dmac.c423 u32 real_size; in check_firmware_size() local
433 real_size = FW_HDR_SIZE + dmem_size + imem_size + emem_size; in check_firmware_size()
434 if (real_size != size) in check_firmware_size()
/linux/arch/powerpc/kernel/
H A Dprom_init.c896 __be32 real_size; member
1060 .real_size = cpu_to_be32(0xffffffff),
1149 u32 real_size; member
1201 .real_size = ~0U,