| /OK3568_Linux_fs/kernel/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 | 189 loff_t off, size_t count, size_t real_size, uint command) in arvo_sysfs_write() argument 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() argument 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()
|
| H A D | hid-roccat-koneplus.c | 85 size_t real_size, uint command) in koneplus_sysfs_read() argument 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() argument 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()
|
| H A D | hid-roccat-pyra.c | 88 size_t real_size, uint command) in pyra_sysfs_read() argument 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() argument 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()
|
| H A D | hid-roccat-kovaplus.c | 128 size_t real_size, uint command) in kovaplus_sysfs_read() argument 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() argument 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()
|
| H A D | hid-roccat-isku.c | 119 size_t real_size, uint command) in isku_sysfs_read() argument 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() argument 148 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);
|
| /OK3568_Linux_fs/u-boot/common/ |
| H A D | attestation_key.c | 190 uint32_t real_size; in validate_ca_header() local 192 memcpy(&real_size, buf + 3 + sizeof(uint32_t), sizeof(uint32_t)); in validate_ca_header() 193 if (real_size <= 0 || real_size > data_size) { in validate_ca_header() 194 printf("invalide real_size:%d\n", real_size); in validate_ca_header() 279 uint32_t real_size; in load_attestation_key() local 281 memcpy(&real_size, ca_headr + 3 + sizeof(uint32_t), sizeof(uint32_t)); in load_attestation_key() 284 int real_block_num = real_size / ATTESTATION_DATA_BLOCK_SIZE; in load_attestation_key() 286 if (real_size % ATTESTATION_DATA_BLOCK_SIZE != 0) in load_attestation_key()
|
| /OK3568_Linux_fs/external/xserver/exa/ |
| H A D | exa_offscreen.c | 95 int avail, real_size; in exaFindAreaToEvict() local 112 real_size = size + (begin->base_offset + begin->size - size) % align; in exaFindAreaToEvict() 114 while (avail < real_size && end != NULL) { in exaFindAreaToEvict() 129 if (avail >= real_size && cost < best_cost) { in exaFindAreaToEvict() 168 int real_size = 0, largest_avail = 0; in exaOffscreenAlloc() local 201 real_size = size + (area->base_offset + area->size - size) % align; in exaOffscreenAlloc() 204 if (real_size <= area->size) in exaOffscreenAlloc() 222 real_size = size + (area->base_offset + area->size - size) % align; in exaOffscreenAlloc() 232 while (area->size < real_size) { in exaOffscreenAlloc() 239 if (real_size < area->size) { in exaOffscreenAlloc() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/rkflash/ |
| H A D | sfc_nand_mtd.c | 85 size_t page, off, real_size; in sfc_nand_read_mtd() local 100 real_size = min_t(u32, remaining, mtd->writesize - off); in sfc_nand_read_mtd() 102 ret = sfc_nand_read(page, (u32 *)data, off, real_size); in sfc_nand_read_mtd() 121 data += real_size; in sfc_nand_read_mtd() 122 ops->retlen += real_size; in sfc_nand_read_mtd() 123 remaining -= real_size; in sfc_nand_read_mtd() 124 from += real_size; in sfc_nand_read_mtd()
|
| H A D | rkflash_blk.c | 128 int real_size = 0; in rkflash_blk_proc_show() local 130 real_size = rknand_proc_ftlread(4096, ftl_buf); in rkflash_blk_proc_show() 131 if (real_size > 0) in rkflash_blk_proc_show()
|
| /OK3568_Linux_fs/buildroot/boot/grub2/ |
| H A D | 0016-relocator-Protect-grub_relocator_alloc_chunk_addr-in.patch | 43 + if (grub_add (ctx.real_size, efi_mmap_size, &sz)) 48 - (ctx.real_size + efi_mmap_size)); 68 real_size = setup_sects << GRUB_DISK_SECTOR_BITS; 70 - - real_size - GRUB_DISK_SECTOR_SIZE; 71 + if (grub_sub (grub_file_size (file), real_size, &grub_linux16_prot_size) ||
|
| /OK3568_Linux_fs/kernel/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_SIZE); in mlx4_en_xmit() [all …]
|
| /OK3568_Linux_fs/external/camera_engine_rkaiq/rkaiq/tools/j2s4b/src/j2s4b/ |
| H A D | j2s.cpp | 1039 size_t real_size = 0; in _j2s_json_to_obj() local 1040 *buf = (char *)j2s_alloc_data(ctx, str_len + 1, &real_size); in _j2s_json_to_obj() 1041 j2s_alloc_map_record(ctx, buf, *buf, real_size); in _j2s_json_to_obj() 1154 size_t real_size = 0; in _j2s_json_to_obj() local 1155 *buf = j2s_alloc_data(ctx, len * obj->elem_size, &real_size); in _j2s_json_to_obj() 1156 j2s_alloc_map_record(ctx, buf, *buf, real_size); in _j2s_json_to_obj() 1322 size_t real_size = 0; in j2s_json_to_bin() local 1325 *ptr = j2s_alloc_data(ctx, struct_size, &real_size); in j2s_json_to_bin()
|
| H A D | j2s4b_utils.cpp | 55 void *j2s_alloc_data(j2s_ctx *ctx, size_t size, size_t* real_size) { in j2s_alloc_data() argument 86 *real_size = offset; in j2s_alloc_data()
|
| H A D | j2s.h | 106 void *j2s_alloc_data(j2s_ctx *ctx, size_t size, size_t* real_size);
|
| /OK3568_Linux_fs/kernel/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()
|
| /OK3568_Linux_fs/kernel/fs/xfs/libxfs/ |
| H A D | xfs_inode_fork.c | 37 int mem_size = size, real_size = 0; in xfs_init_local_fork() local 51 real_size = roundup(mem_size, 4); in xfs_init_local_fork() 52 ifp->if_u1.if_data = kmem_alloc(real_size, KM_NOFS); in xfs_init_local_fork()
|
| /OK3568_Linux_fs/kernel/fs/isofs/ |
| H A D | rock.h | 81 __u8 real_size[8]; member
|
| /OK3568_Linux_fs/u-boot/arch/arm/cpu/armv8/ |
| H A D | cache_v8.c | 549 u64 real_size = size; in mmu_set_region_dcache_behaviour() local 591 flush_dcache_range(real_start, real_start + real_size); in mmu_set_region_dcache_behaviour()
|
| /OK3568_Linux_fs/kernel/drivers/video/fbdev/ |
| H A D | s3c-fb.c | 1083 unsigned int real_size, virt_size, size; in s3c_fb_alloc_memory() local 1089 real_size = windata->xres * windata->yres; in s3c_fb_alloc_memory() 1093 real_size, windata->xres, windata->yres, in s3c_fb_alloc_memory() 1096 size = (real_size > virt_size) ? real_size : virt_size; in s3c_fb_alloc_memory()
|
| /OK3568_Linux_fs/u-boot/tools/ |
| H A D | mxsimage.c | 441 long real_size, roundup_size; in sb_load_file() local 460 real_size = ftell(fp); in sb_load_file() 461 if (real_size < 0) in sb_load_file() 468 roundup_size = roundup(real_size, SB_BLOCK_SIZE); in sb_load_file() 473 size = fread(data, 1, real_size, fp); in sb_load_file() 474 if (size != (unsigned long)real_size) in sb_load_file()
|
| /OK3568_Linux_fs/kernel/arch/x86/events/intel/ |
| H A 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()
|
| /OK3568_Linux_fs/kernel/lib/ |
| H A D | test_kasan.c | 679 size_t size = 123, real_size; in ksize_unpoisons_memory() local 683 real_size = ksize(ptr); in ksize_unpoisons_memory() 689 KUNIT_EXPECT_KASAN_FAIL(test, ptr[real_size] = 'y'); in ksize_unpoisons_memory()
|