Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/mtd/
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()
208 mtdblk->cache_offset == sect_start) { in do_cached_read()
/kernel/linux/linux-5.10/tools/perf/util/
Ddso.c849 u64 cache_offset = offset - cache->offset; in dso_cache__memcpy() local
850 u64 cache_size = min(cache->size - cache_offset, size); in dso_cache__memcpy()
853 memcpy(data, cache->data + cache_offset, cache_size); in dso_cache__memcpy()
855 memcpy(cache->data + cache_offset, data, cache_size); in dso_cache__memcpy()
888 u64 cache_offset = offset & DSO__DATA_CACHE_MASK; in dso_cache__populate() local
899 *ret = bpf_read(dso, cache_offset, cache->data); in dso_cache__populate()
903 *ret = file_read(dso, machine, cache_offset, cache->data); in dso_cache__populate()
910 cache->offset = cache_offset; in dso_cache__populate()