Home
last modified time | relevance | path

Searched refs:cache_offset (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/mtd/
H A Dmtdblock.c29 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 Ddso.c915 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 D0001-Replace-LFS64-interfaces-off64_t-and-lseek64.patch637 - 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;