Home
last modified time | relevance | path

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

/linux-6.1.9/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()
/linux-6.1.9/tools/perf/util/
Ddso.c877 u64 cache_offset = offset - cache->offset; in dso_cache__memcpy() local
878 u64 cache_size = min(cache->size - cache_offset, size); in dso_cache__memcpy()
881 memcpy(data, cache->data + cache_offset, cache_size); in dso_cache__memcpy()
883 memcpy(cache->data + cache_offset, data, cache_size); in dso_cache__memcpy()
916 u64 cache_offset = offset & DSO__DATA_CACHE_MASK; in dso_cache__populate() local
927 *ret = bpf_read(dso, cache_offset, cache->data); in dso_cache__populate()
933 *ret = file_read(dso, machine, cache_offset, cache->data); in dso_cache__populate()
940 cache->offset = cache_offset; in dso_cache__populate()