Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/md/bcache/
Dsysfs.c179 memcpy(buf, dc->sb.label, SB_LABEL_SIZE); in SHOW()
180 buf[SB_LABEL_SIZE + 1] = '\0'; in SHOW()
241 if (size > SB_LABEL_SIZE) in STORE()
244 if (size < SB_LABEL_SIZE) in STORE()
251 buf, SB_LABEL_SIZE); in STORE()
351 memcpy(buf, u->label, SB_LABEL_SIZE); in SHOW()
352 buf[SB_LABEL_SIZE + 1] = '\0'; in SHOW()
378 memcpy(u->label, buf, SB_LABEL_SIZE); in STORE()
Dsuper.c106 memcpy(sb->label, s->label, SB_LABEL_SIZE); in read_super()
247 memcpy(out->label, sb->label, SB_LABEL_SIZE); in __write_super()
871 char buf[SB_LABEL_SIZE + 1]; in bch_cached_dev_run()
879 memcpy(buf, dc->sb.label, SB_LABEL_SIZE); in bch_cached_dev_run()
880 buf[SB_LABEL_SIZE] = '\0'; in bch_cached_dev_run()
1024 memcpy(u->label, dc->sb.label, SB_LABEL_SIZE); in bch_cached_dev_attach()
/linux-4.1.27/include/uapi/linux/
Dbcache.h149 #define SB_LABEL_SIZE 32 macro
168 __u8 label[SB_LABEL_SIZE];