Home
last modified time | relevance | path

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

/linux/drivers/md/bcache/
H A Dbcache_ondisk.h156 #define SB_LABEL_SIZE 32 macro
175 __u8 label[SB_LABEL_SIZE];
237 __u8 label[SB_LABEL_SIZE];
H A Dsysfs.c266 memcpy(buf, dc->sb.label, SB_LABEL_SIZE); in SHOW()
267 buf[SB_LABEL_SIZE + 1] = '\0'; in SHOW()
405 if (size > SB_LABEL_SIZE) in STORE()
408 if (size < SB_LABEL_SIZE) in STORE()
415 buf, SB_LABEL_SIZE); in STORE()
558 memcpy(buf, u->label, SB_LABEL_SIZE); in SHOW()
559 buf[SB_LABEL_SIZE + 1] = '\0'; in SHOW()
590 memcpy(u->label, buf, SB_LABEL_SIZE); in STORE()
H A Dsuper.c186 memcpy(sb->label, s->label, SB_LABEL_SIZE); in read_super()
302 memcpy(out->label, sb->label, SB_LABEL_SIZE); in __write_super()
1054 char *buf = kmemdup_nul(dc->sb.label, SB_LABEL_SIZE, GFP_KERNEL); in bch_cached_dev_run()
1269 memcpy(u->label, dc->sb.label, SB_LABEL_SIZE); in bch_cached_dev_attach()