/kernel/linux/linux-5.10/drivers/hid/ |
H A D | hid-roccat-common.c | 132 size_t real_size, uint command) in roccat_common2_sysfs_read() 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() 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() 130 roccat_common2_sysfs_read(struct file *fp, struct kobject *kobj, char *buf, loff_t off, size_t count, size_t real_size, uint command) roccat_common2_sysfs_read() argument 153 roccat_common2_sysfs_write(struct file *fp, struct kobject *kobj, void const *buf, loff_t off, size_t count, size_t real_size, uint command) roccat_common2_sysfs_write() argument
|
H A D | hid-roccat-lua.c | 28 size_t real_size, uint command) in lua_sysfs_read() 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() 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() 26 lua_sysfs_read(struct file *fp, struct kobject *kobj, char *buf, loff_t off, size_t count, size_t real_size, uint command) lua_sysfs_read() argument 48 lua_sysfs_write(struct file *fp, struct kobject *kobj, void const *buf, loff_t off, size_t count, size_t real_size, uint command) lua_sysfs_write() argument
|
H A D | hid-roccat-arvo.c | 189 loff_t off, size_t count, size_t real_size, uint command) in arvo_sysfs_write() 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() 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() 187 arvo_sysfs_write(struct file *fp, struct kobject *kobj, void const *buf, loff_t off, size_t count, size_t real_size, uint command) arvo_sysfs_write() argument 206 arvo_sysfs_read(struct file *fp, struct kobject *kobj, void *buf, loff_t off, size_t count, size_t real_size, uint command) arvo_sysfs_read() argument
|
H A D | hid-roccat-koneplus.c | 85 size_t real_size, uint command) in koneplus_sysfs_read() 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() 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() 83 koneplus_sysfs_read(struct file *fp, struct kobject *kobj, char *buf, loff_t off, size_t count, size_t real_size, uint command) koneplus_sysfs_read() argument 108 koneplus_sysfs_write(struct file *fp, struct kobject *kobj, void const *buf, loff_t off, size_t count, size_t real_size, uint command) koneplus_sysfs_write() argument
|
H A D | hid-roccat-kovaplus.c | 128 size_t real_size, uint command) in kovaplus_sysfs_read() 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() 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() 126 kovaplus_sysfs_read(struct file *fp, struct kobject *kobj, char *buf, loff_t off, size_t count, size_t real_size, uint command) kovaplus_sysfs_read() argument 151 kovaplus_sysfs_write(struct file *fp, struct kobject *kobj, void const *buf, loff_t off, size_t count, size_t real_size, uint command) kovaplus_sysfs_write() argument
|
H A D | hid-roccat-pyra.c | 88 size_t real_size, uint command) in pyra_sysfs_read() 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() 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() 86 pyra_sysfs_read(struct file *fp, struct kobject *kobj, char *buf, loff_t off, size_t count, size_t real_size, uint command) pyra_sysfs_read() argument 111 pyra_sysfs_write(struct file *fp, struct kobject *kobj, void const *buf, loff_t off, size_t count, size_t real_size, uint command) pyra_sysfs_write() argument
|
H A D | hid-roccat-isku.c | 119 size_t real_size, uint command) in isku_sysfs_read() 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() 148 if (off != 0 || count > real_size) in isku_sysfs_write() 117 isku_sysfs_read(struct file *fp, struct kobject *kobj, char *buf, loff_t off, size_t count, size_t real_size, uint command) isku_sysfs_read() argument 139 isku_sysfs_write(struct file *fp, struct kobject *kobj, void const *buf, loff_t off, size_t count, size_t real_size, uint command) isku_sysfs_write() argument
|
H A D | hid-roccat-common.h | 42 size_t real_size, uint command); 45 size_t real_size, uint command);
|
/kernel/linux/linux-6.6/drivers/hid/ |
H A D | hid-roccat-common.c | 132 size_t real_size, uint command) in roccat_common2_sysfs_read() 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() 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() 130 roccat_common2_sysfs_read(struct file *fp, struct kobject *kobj, char *buf, loff_t off, size_t count, size_t real_size, uint command) roccat_common2_sysfs_read() argument 153 roccat_common2_sysfs_write(struct file *fp, struct kobject *kobj, void const *buf, loff_t off, size_t count, size_t real_size, uint command) roccat_common2_sysfs_write() argument
|
H A D | hid-roccat-lua.c | 28 size_t real_size, uint command) in lua_sysfs_read() 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() 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() 26 lua_sysfs_read(struct file *fp, struct kobject *kobj, char *buf, loff_t off, size_t count, size_t real_size, uint command) lua_sysfs_read() argument 48 lua_sysfs_write(struct file *fp, struct kobject *kobj, void const *buf, loff_t off, size_t count, size_t real_size, uint command) lua_sysfs_write() argument
|
H A D | hid-roccat-koneplus.c | 83 size_t real_size, uint command) in koneplus_sysfs_read() 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() 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() 81 koneplus_sysfs_read(struct file *fp, struct kobject *kobj, char *buf, loff_t off, size_t count, size_t real_size, uint command) koneplus_sysfs_read() argument 106 koneplus_sysfs_write(struct file *fp, struct kobject *kobj, void const *buf, loff_t off, size_t count, size_t real_size, uint command) koneplus_sysfs_write() argument
|
H A D | hid-roccat-arvo.c | 187 loff_t off, size_t count, size_t real_size, uint command) in arvo_sysfs_write() 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() 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() 185 arvo_sysfs_write(struct file *fp, struct kobject *kobj, void const *buf, loff_t off, size_t count, size_t real_size, uint command) arvo_sysfs_write() argument 204 arvo_sysfs_read(struct file *fp, struct kobject *kobj, void *buf, loff_t off, size_t count, size_t real_size, uint command) arvo_sysfs_read() argument
|
H A D | hid-roccat-kovaplus.c | 126 size_t real_size, uint command) in kovaplus_sysfs_read() 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() 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() 124 kovaplus_sysfs_read(struct file *fp, struct kobject *kobj, char *buf, loff_t off, size_t count, size_t real_size, uint command) kovaplus_sysfs_read() argument 149 kovaplus_sysfs_write(struct file *fp, struct kobject *kobj, void const *buf, loff_t off, size_t count, size_t real_size, uint command) kovaplus_sysfs_write() argument
|
H A D | hid-roccat-pyra.c | 85 size_t real_size, uint command) in pyra_sysfs_read() 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() 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() 83 pyra_sysfs_read(struct file *fp, struct kobject *kobj, char *buf, loff_t off, size_t count, size_t real_size, uint command) pyra_sysfs_read() argument 108 pyra_sysfs_write(struct file *fp, struct kobject *kobj, void const *buf, loff_t off, size_t count, size_t real_size, uint command) pyra_sysfs_write() argument
|
H A D | hid-roccat-isku.c | 117 size_t real_size, uint command) in isku_sysfs_read() 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() 146 if (off != 0 || count > real_size) in isku_sysfs_write() 115 isku_sysfs_read(struct file *fp, struct kobject *kobj, char *buf, loff_t off, size_t count, size_t real_size, uint command) isku_sysfs_read() argument 137 isku_sysfs_write(struct file *fp, struct kobject *kobj, void const *buf, loff_t off, size_t count, size_t real_size, uint command) isku_sysfs_write() argument
|
H A D | hid-roccat-common.h | 42 size_t real_size, uint command); 45 size_t real_size, uint command);
|
/kernel/liteos_a/compat/posix/src/ |
H A D | malloc.c | 44 size_t real_size; in calloc() local 51 real_size = (size_t)(nitems * size); in calloc() 52 ptr = LOS_KernelMalloc((UINT32) real_size); in calloc() 54 (void) memset_s((void *) ptr, real_size, 0, real_size); in calloc()
|
/kernel/liteos_m/kal/posix/src/ |
H A D | malloc.c | 46 size_t real_size; in __wrap__calloc_r() local 53 real_size = (size_t)(nitems * size); in __wrap__calloc_r() 54 ptr = LOS_MemAlloc(OS_SYS_MEM_ADDR, real_size); in __wrap__calloc_r() 56 (void)memset_s(ptr, real_size, 0, real_size); in __wrap__calloc_r()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_tx.c | 640 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_SIZ in mlx4_en_xmit() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_tx.c | 646 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_SIZ in mlx4_en_xmit() [all...] |
/kernel/linux/linux-6.6/fs/ |
H A D | posix_acl.c | 840 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() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/uc/ |
H A D | intel_guc_ads.c | 509 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()
|
/kernel/linux/linux-5.10/fs/ |
H A D | posix_acl.c | 802 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()
|
/kernel/linux/linux-5.10/fs/isofs/ |
H A D | rock.h | 81 __u8 real_size[8]; member
|
/kernel/linux/linux-6.6/fs/isofs/ |
H A D | rock.h | 81 __u8 real_size[8]; member
|