| /linux/drivers/hid/ |
| H A D | hid-roccat-common.c | 132 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 D | hid-roccat-lua.c | 28 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 D | hid-roccat-arvo.c | 187 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 D | hid-roccat-koneplus.c | 83 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 D | hid-roccat-pyra.c | 85 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 D | hid-roccat-kovaplus.c | 126 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 D | hid-roccat-isku.c | 117 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 D | hid-roccat-common.h | 42 size_t real_size, uint command); 45 size_t real_size, uint command);
|
| /linux/drivers/gpu/drm/i915/gt/uc/ |
| H A D | intel_guc_ads.c | 533 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/ntfs3/ |
| H A D | namei.c | 25 u16 data_size, real_size, aligned_size; in fill_name_de() local 56 real_size = data_size + sizeof(struct NTFS_DE); in fill_name_de() 58 if (aligned_size > real_size) in fill_name_de() 59 memset((char *)buf + real_size, 0, aligned_size - real_size); in fill_name_de()
|
| /linux/fs/ |
| H A D | posix_acl.c | 901 ssize_t real_size, n; in vfs_posix_acl_to_xattr() local 905 real_size = posix_acl_xattr_size(acl->a_count); in vfs_posix_acl_to_xattr() 907 return real_size; in vfs_posix_acl_to_xattr() 908 if (real_size > size) in vfs_posix_acl_to_xattr() 936 return real_size; in vfs_posix_acl_to_xattr()
|
| /linux/fs/isofs/ |
| H A D | rock.h | 77 __u8 real_size[8]; member
|
| /linux/arch/x86/events/intel/ |
| H A D | bts.c | 53 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/fs/btrfs/ |
| H A D | subpage.c | 93 unsigned int real_size; in btrfs_alloc_folio_state() local 97 real_size = struct_size(ret, bitmaps, in btrfs_alloc_folio_state() 100 ret = kzalloc(real_size, gfp); in btrfs_alloc_folio_state()
|
| /linux/drivers/net/wireless/realtek/rtw88/ |
| H A D | mac.c | 423 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()
|