Home
last modified time | relevance | path

Searched refs:bcache (Results 1 – 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/Documentation/admin-guide/
Dbcache.rst2 A block layer cache (bcache)
6 nice if you could use them as cache... Hence bcache.
8 The bcache wiki can be found at:
9 https://bcache.evilpiepirate.org
11 This is the git repository of bcache-tools:
12 https://git.kernel.org/pub/scm/linux/kernel/git/colyli/bcache-tools.git/
14 The latest bcache kernel code can be found from mainline Linux kernel:
26 doesn't even have a notion of a clean shutdown; bcache simply doesn't return
47 You'll need bcache util from the bcache-tools repository. Both the cache device
50 bcache make -B /dev/sdb
[all …]
Dindex.rst66 bcache
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-block-bcache1 What: /sys/block/<disk>/bcache/unregister
11 What: /sys/block/<disk>/bcache/clear_stats
17 What: /sys/block/<disk>/bcache/cache
22 the bcache/ dir of that cache.
24 What: /sys/block/<disk>/bcache/cache_hits
31 What: /sys/block/<disk>/bcache/cache_misses
37 What: /sys/block/<disk>/bcache/cache_hit_ratio
43 What: /sys/block/<disk>/bcache/sequential_cutoff
51 What: /sys/block/<disk>/bcache/bypassed
59 What: /sys/block/<disk>/bcache/writeback
[all …]
/kernel/liteos_a/fs/vfs/bcache/src/
Dbcache.c127 if ((disk->disk_status == STAT_INUSED) && (disk->bcache != NULL)) { in LOS_SetSyncThreadPrio()
128 ret = LOS_TaskPriSet(disk->bcache->syncTaskId, prio); in LOS_SetSyncThreadPrio()
968 if ((disk->disk_status == STAT_INUSED) && (disk->bcache != NULL)) { in OsSdSync()
969 ret = BcacheSync(disk->bcache); in OsSdSync()
1002 if ((disk->disk_status == STAT_INUSED) && (disk->bcache != NULL)) { in BcacheGetDirtyRatio()
1003 ret = (INT32)((disk->bcache->modifiedBlock * PERCENTAGE) / GetFatBlockNums()); in BcacheGetDirtyRatio()
1068 OsBcache *bcache = NULL; in BlockCacheInit() local
1084 bcache = (OsBcache *)zalloc(sizeof(OsBcache)); in BlockCacheInit()
1085 if (bcache == NULL) { in BlockCacheInit()
1102 bcache->rwBuffer = rwBuffer; in BlockCacheInit()
[all …]
/kernel/linux/linux-5.10/drivers/md/bcache/
DMakefile3 obj-$(CONFIG_BCACHE) += bcache.o
5 bcache-y := alloc.o bset.o btree.o closure.o debug.o extents.o\
DKconfig10 See Documentation/admin-guide/bcache.rst for details.
34 Add a sysfs file /sys/fs/bcache/register_async. Writing registering
/kernel/linux/linux-5.10/samples/bpf/
Dxsk_fwd.c244 struct bcache { struct
255 bcache_slab_size(struct bcache *bc) in bcache_slab_size() argument
262 static struct bcache *
265 struct bcache *bc; in bcache_init()
267 bc = calloc(1, sizeof(struct bcache)); in bcache_init()
291 bcache_free(struct bcache *bc) in bcache_free()
318 bcache_cons_check(struct bcache *bc, u32 n_buffers) in bcache_cons_check()
359 bcache_cons(struct bcache *bc) in bcache_cons()
370 bcache_prod(struct bcache *bc, u64 buffer) in bcache_prod()
442 struct bcache *bc;
/kernel/liteos_a/drivers/block/disk/src/
Ddisk.c905 if (disk->bcache != NULL) { in los_disk_read()
906 if (((UINT64)(disk->bcache->sectorSize) * count) > UINT_MAX) { in los_disk_read()
909 len = disk->bcache->sectorSize * count; in los_disk_read()
911 result = BlockCacheRead(disk->bcache, (UINT8 *)buf, &len, sector, useRead); in los_disk_read()
962 if (disk->bcache != NULL) { in los_disk_write()
963 if (((UINT64)(disk->bcache->sectorSize) * count) > UINT_MAX) { in los_disk_write()
966 len = disk->bcache->sectorSize * count; in los_disk_write()
967 result = BlockCacheWrite(disk->bcache, (const UINT8 *)buf, &len, sector); in los_disk_write()
1241 result = BcacheClearCache(disk->bcache); in los_disk_cache_clear()
1295 if (BcacheAsyncPrereadDeinit(disk->bcache) != LOS_OK) { in DiskCacheDeinit()
[all …]
/kernel/liteos_a/fs/vfs/bcache/
DBUILD.gn35 sources = [ "src/bcache.c" ]
41 include_dirs = [ "../include/bcache" ]
/kernel/liteos_a/fs/
DBUILD.gn44 "vfs/bcache",
53 "vfs/bcache:public",
/kernel/linux/linux-5.10/Documentation/translations/zh_CN/admin-guide/
Dindex.rst65 bcache
/kernel/liteos_a/tools/build/mk/
Dlos_config.mk288 LIB_SUBDIRS += fs/vfs/bcache
289 LITEOS_FAT_CACHE_INCLUDE += -I $(LITEOSTOPDIR)/fs/vfs/include/bcache
/kernel/liteos_a/drivers/block/disk/include/
Ddisk.h183 OsBcache *bcache; /* cache of the disk, shared in all partitions */ member
/kernel/linux/linux-5.10/drivers/md/
DMakefile44 obj-$(CONFIG_BCACHE) += bcache/
DKconfig197 source "drivers/md/bcache/Kconfig"
/kernel/linux/linux-5.10/include/trace/events/
Dbcache.h3 #define TRACE_SYSTEM bcache
/kernel/linux/linux-5.10/Documentation/block/
Dbiovecs.rst83 bcache) had some ugly workarounds for this.
/kernel/linux/linux-5.10/
DMAINTAINERS3139 L: linux-bcache@vger.kernel.org
3141 W: http://bcache.evilpiepirate.org
3142 C: irc://irc.oftc.net/bcache
3143 F: drivers/md/bcache/