Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/md/bcache/
Dbcache_ondisk.h155 #define SB_LABEL_SIZE 32 macro
174 __u8 label[SB_LABEL_SIZE];
236 __u8 label[SB_LABEL_SIZE];
Dsysfs.c267 memcpy(buf, dc->sb.label, SB_LABEL_SIZE); in SHOW()
268 buf[SB_LABEL_SIZE + 1] = '\0'; in SHOW()
406 if (size > SB_LABEL_SIZE) in STORE()
409 if (size < SB_LABEL_SIZE) in STORE()
416 buf, SB_LABEL_SIZE); in STORE()
559 memcpy(buf, u->label, SB_LABEL_SIZE); in SHOW()
560 buf[SB_LABEL_SIZE + 1] = '\0'; in SHOW()
591 memcpy(u->label, buf, SB_LABEL_SIZE); in STORE()
Dsuper.c186 memcpy(sb->label, s->label, SB_LABEL_SIZE); in read_super()
303 memcpy(out->label, sb->label, SB_LABEL_SIZE); in __write_super()
1047 char *buf = kmemdup_nul(dc->sb.label, SB_LABEL_SIZE, GFP_KERNEL); in bch_cached_dev_run()
1262 memcpy(u->label, dc->sb.label, SB_LABEL_SIZE); in bch_cached_dev_attach()