Searched refs:cache_offset (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/mtd/ |
H A D | mtdblock.c | 29 unsigned long cache_offset; member 88 mtdblk->cache_offset, mtdblk->cache_size); in write_cached_data() 90 ret = erase_write (mtd, mtdblk->cache_offset, in write_cached_data() 144 mtdblk->cache_offset != sect_start) { in do_cached_write() 151 mtdblk->cache_offset != sect_start) { in do_cached_write() 161 mtdblk->cache_offset = sect_start; in do_cached_write() 212 mtdblk->cache_offset == sect_start) { in do_cached_read()
|
/openbmc/linux/tools/perf/util/ |
H A D | dso.c | 915 u64 cache_offset = offset - cache->offset; in dso_cache__memcpy() local 916 u64 cache_size = min(cache->size - cache_offset, size); in dso_cache__memcpy() 919 memcpy(data, cache->data + cache_offset, cache_size); in dso_cache__memcpy() 921 memcpy(cache->data + cache_offset, data, cache_size); in dso_cache__memcpy() 954 u64 cache_offset = offset & DSO__DATA_CACHE_MASK; in dso_cache__populate() local 965 *ret = bpf_read(dso, cache_offset, cache->data); in dso_cache__populate() 971 *ret = file_read(dso, machine, cache_offset, cache->data); in dso_cache__populate() 978 cache->offset = cache_offset; in dso_cache__populate()
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-kernel/trace-cmd/files/ |
H A D | 0001-Replace-LFS64-interfaces-off64_t-and-lseek64.patch | 637 - off64_t cache_offset = msg_handle->cache_start_offset; 639 + off_t cache_offset = msg_handle->cache_start_offset; 651 if (offset < cache_offset) 654 offset -= cache_offset; 663 return ret + cache_offset;
|