/openbmc/u-boot/fs/btrfs/ |
H A D | extent-io.c | 16 u32 clen, dlen, orig_size = size, res; in btrfs_read_extent_inline() local 37 if (dlen > orig_size) { in btrfs_read_extent_inline() 49 if (dlen > orig_size) { in btrfs_read_extent_inline() 59 if (dlen > orig_size) in btrfs_read_extent_inline() 68 u64 physical, clen, dlen, orig_size = size; in btrfs_read_extent_reg() local 97 if (dlen > orig_size) in btrfs_read_extent_reg() 109 if (dlen > orig_size) in btrfs_read_extent_reg()
|
/openbmc/u-boot/test/ |
H A D | compression.c | 302 ulong orig_size; member 318 printf("\torig_size:%lu\n", buf->orig_size); in run_test_internal() 320 errcheck(compress(uts, buf->orig_buf, buf->orig_size, in run_test_internal() 325 errcheck(buf->compressed_size < buf->orig_size); in run_test_internal() 335 errcheck(buf->uncompressed_size == buf->orig_size); in run_test_internal() 337 buf->orig_size) == 0); in run_test_internal() 342 buf->uncompressed_buf, buf->orig_size, in run_test_internal() 344 errcheck(buf->uncompressed_size == buf->orig_size); in run_test_internal() 346 buf->orig_size) == 0); in run_test_internal() 347 errcheck(((char *)buf->uncompressed_buf)[buf->orig_size] == 'A'); in run_test_internal() [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 125 | 175 for orig_size in 31k 33k; do 178 echo "--- Resizing image from $orig_size to $dst_size (preallocation=$prealloc) ---" 179 _make_test_img -F raw -b "$TEST_IMG.base" -o cluster_size=64k "$orig_size" 182 $QEMU_IO -c "read -q -P 1 0 ${orig_size}" "$TEST_IMG" 184 $QEMU_IO -c "read -q -P 0 ${orig_size} 63k" "$TEST_IMG"
|
/openbmc/qemu/util/ |
H A D | hbitmap.c | 59 uint64_t orig_size; member 204 if (start >= hb->orig_size || count == 0) { in hbitmap_next_dirty() 208 end = count > hb->orig_size - start ? hb->orig_size : start + count; in hbitmap_next_dirty() 231 if (start >= hb->orig_size || count == 0) { in hbitmap_next_zero() 235 end_bit = count > hb->orig_size - start ? in hbitmap_next_zero() 281 end = MIN(end, hb->orig_size); in hbitmap_next_dirty_area() 311 assert(start + count <= hb->orig_size); in hbitmap_status() 570 assert(QEMU_IS_ALIGNED(count, gran) || (start + count == hb->orig_size)); in hbitmap_reset() 800 hb->orig_size = size; in hbitmap_alloc() 831 hb->orig_size = size; in hbitmap_truncate() [all …]
|
H A D | qemu-config.c | 207 size_t orig_size, enum_size; in config_parse_qdict_section() local 213 orig_size = qdict_size(subqdict); in config_parse_qdict_section() 214 if (!orig_size) { in config_parse_qdict_section() 228 if (enum_size < orig_size && enum_size) { in config_parse_qdict_section()
|
/openbmc/linux/mm/ |
H A D | slub.c | 209 unsigned int orig_size; member 870 void *object, unsigned int orig_size) in set_orig_size() argument 884 if (kasan_metadata_size(s, true) > orig_size) in set_orig_size() 885 orig_size = s->object_size; in set_orig_size() 891 *(unsigned int *)p = orig_size; in set_orig_size() 1195 unsigned int orig_size; in check_object() local 1207 orig_size = get_orig_size(s, object); in check_object() 1209 if (s->object_size > orig_size && in check_object() 1211 "kmalloc Redzone", p + orig_size, in check_object() 1212 val, s->object_size - orig_size)) { in check_object() [all …]
|
H A D | slab.h | 293 int node, size_t orig_size, 728 unsigned int orig_size) in slab_post_alloc_hook() argument 746 zero_size = orig_size; in slab_post_alloc_hook()
|
H A D | slab.c | 3213 int nodeid, size_t orig_size, unsigned long caller) in slab_alloc_node() argument 3225 objp = kfence_alloc(cachep, orig_size, flags); in slab_alloc_node() 3244 size_t orig_size, unsigned long caller) in slab_alloc() argument 3246 return slab_alloc_node(cachep, lru, flags, NUMA_NO_NODE, orig_size, in slab_alloc() 3518 int nodeid, size_t orig_size, in __kmem_cache_alloc_node() argument 3522 orig_size, caller); in __kmem_cache_alloc_node()
|
/openbmc/linux/drivers/dma/ |
H A D | plx_dma.c | 100 u32 orig_size; member 150 res.residue = desc->orig_size - (flags & PLX_DESC_SIZE_MASK); in plx_dma_process_desc() 183 res.residue = desc->orig_size; in plx_dma_abort_desc() 277 plxdesc->orig_size = len; in plx_dma_prep_memcpy()
|
/openbmc/u-boot/lib/libavb/ |
H A D | avb_slot_verify.c | 938 size_t orig_size = avb_strlen(slot_data->cmdline); in load_and_verify_vbmeta() local 940 orig_size + 1 + kernel_cmdline_desc.kernel_cmdline_length + 1; in load_and_verify_vbmeta() 946 avb_memcpy(new_cmdline, slot_data->cmdline, orig_size); in load_and_verify_vbmeta() 947 new_cmdline[orig_size] = ' '; in load_and_verify_vbmeta() 948 avb_memcpy(new_cmdline + orig_size + 1, in load_and_verify_vbmeta()
|
/openbmc/linux/net/core/ |
H A D | sysctl_net_core.c | 130 unsigned int orig_size, size; in rps_sock_flow_sysctl() local 144 size = orig_size = orig_sock_table ? orig_sock_table->mask + 1 : 0; in rps_sock_flow_sysctl() 156 if (size != orig_size) { in rps_sock_flow_sysctl()
|
/openbmc/linux/arch/sh/mm/ |
H A D | pmb.c | 339 unsigned long orig_addr, orig_size; in pmb_bolt_mapping() local 351 orig_size = size; in pmb_bolt_mapping() 405 flush_cache_vmap(orig_addr, orig_addr + orig_size); in pmb_bolt_mapping()
|
/openbmc/linux/fs/orangefs/ |
H A D | inode.c | 711 loff_t orig_size; in orangefs_setattr_size() local 731 orig_size = i_size_read(inode); in orangefs_setattr_size() 736 if (iattr->ia_size > orig_size) in orangefs_setattr_size() 737 pagecache_isize_extended(inode, orig_size, iattr->ia_size); in orangefs_setattr_size() 761 if (orig_size != i_size_read(inode)) in orangefs_setattr_size()
|
/openbmc/linux/scripts/gdb/linux/ |
H A D | slab.py | 117 def add_location(loc_track, cache, track, orig_size): argument 121 waste = cache['object_size'] - int(orig_size)
|
/openbmc/linux/sound/core/ |
H A D | pcm_memory.c | 108 size_t orig_size = size; in preallocate_pcm_pages() local 124 substream->pcm->name, orig_size); in preallocate_pcm_pages()
|
/openbmc/linux/arch/x86/kernel/cpu/microcode/ |
H A D | amd.c | 505 size_t orig_size = size; in parse_container() 571 desc->size = orig_size - size; in parse_container() 576 return orig_size - size; 499 size_t orig_size = size; parse_container() local
|
/openbmc/qemu/system/ |
H A D | cpus.c | 802 uint64_t orig_addr = addr, orig_size = size; in qmp_memsave() local 827 " specified", orig_addr, orig_size); in qmp_memsave()
|
/openbmc/linux/drivers/gpu/drm/etnaviv/ |
H A D | etnaviv_mmu.c | 45 size_t orig_size = size; in etnaviv_context_map() local 67 etnaviv_context_unmap(context, orig_iova, orig_size - size); in etnaviv_context_map()
|
/openbmc/linux/net/tls/ |
H A D | tls_device.c | 435 size_t orig_size = size; in tls_push_data() local 486 size = orig_size; in tls_push_data() 562 if (orig_size - size > 0) in tls_push_data() 563 rc = orig_size - size; in tls_push_data()
|
H A D | tls_sw.c | 613 u32 orig_size = msg_opl->sg.size; in tls_split_open_record() local 661 msg_npl->sg.size = orig_size - bytes; in tls_split_open_record() 1025 int orig_size; in tls_sw_sendmsg_locked() local 1059 orig_size = msg_pl->sg.size; in tls_sw_sendmsg_locked() 1133 msg_pl->sg.size - orig_size); in tls_sw_sendmsg_locked() 1135 sk_msg_trim(sk, msg_pl, orig_size); in tls_sw_sendmsg_locked() 1194 tls_trim_both_msgs(sk, orig_size); in tls_sw_sendmsg_locked()
|
/openbmc/linux/drivers/media/dvb-frontends/ |
H A D | mxl5xx.c | 847 u32 orig_size = 0; in write_fw_segment() local 856 size = orig_size = (((u32)(data_count + block_size)) > total_size) ? in write_fw_segment() 859 if (orig_size & 3) in write_fw_segment() 860 size = (orig_size + 4) & ~3; in write_fw_segment() 863 memcpy((void *) w_buf_ptr, (void *) data_ptr, orig_size); in write_fw_segment()
|
/openbmc/qemu/hw/net/ |
H A D | e1000e_core.c | 1633 size_t size, orig_size; in e1000e_receive_internal() local 1655 orig_size = iov_size(iov, iovcnt); in e1000e_receive_internal() 1656 size = orig_size - iov_ofs; in e1000e_receive_internal() 1674 return orig_size; in e1000e_receive_internal() 1682 return orig_size; in e1000e_receive_internal() 1700 retval = orig_size; in e1000e_receive_internal()
|
/openbmc/qemu/block/ |
H A D | vpc.c | 80 uint64_t orig_size; member 1064 footer.orig_size = cpu_to_be64(total_size); in vpc_co_create()
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_ras_eeprom.c | 1074 const size_t orig_size = size; in amdgpu_ras_debugfs_table_read() local 1179 return res < 0 ? res : orig_size - size; in amdgpu_ras_debugfs_table_read()
|
/openbmc/linux/drivers/block/zram/ |
H A D | zram_drv.c | 1160 u64 orig_size, mem_used = 0; in mm_stat_show() local 1172 orig_size = atomic64_read(&zram->stats.pages_stored); in mm_stat_show() 1177 orig_size << PAGE_SHIFT, in mm_stat_show()
|