/linux-6.6.21/drivers/hid/ |
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()
|
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()
|
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()
|
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()
|
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()
|
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()
|
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()
|
D | hid-roccat-common.h | 42 size_t real_size, uint command); 45 size_t real_size, uint command);
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/ |
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_SIZE); in mlx4_en_xmit() [all …]
|
/linux-6.6.21/fs/ |
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()
|
/linux-6.6.21/drivers/gpu/drm/i915/gt/uc/ |
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()
|
/linux-6.6.21/fs/isofs/ |
D | rock.h | 81 __u8 real_size[8]; member
|
D | rock.c | 572 real_size); in parse_rock_ridge_inode_internal()
|
/linux-6.6.21/fs/btrfs/ |
D | subpage.c | 160 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/ |
D | s3c-fb.c | 1082 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/ |
D | bts.c | 52 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/ |
D | kasan_test.c | 844 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/ |
D | mm_init.c | 1278 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()
|
D | vmalloc.c | 3243 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/ |
D | mac.c | 414 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/ |
D | prom_init.c | 896 __be32 real_size; member 1052 .real_size = cpu_to_be32(0xffffffff), 1141 u32 real_size; member 1193 .real_size = ~0U,
|