Home
last modified time | relevance | path

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

/Linux-v5.10/include/uapi/linux/
Dbcache.h155 #define SB_LABEL_SIZE 32 macro
174 __u8 label[SB_LABEL_SIZE];
236 __u8 label[SB_LABEL_SIZE];
/Linux-v5.10/drivers/md/bcache/
Dsysfs.c261 memcpy(buf, dc->sb.label, SB_LABEL_SIZE); in SHOW()
262 buf[SB_LABEL_SIZE + 1] = '\0'; in SHOW()
390 if (size > SB_LABEL_SIZE) in STORE()
393 if (size < SB_LABEL_SIZE) in STORE()
400 buf, SB_LABEL_SIZE); in STORE()
539 memcpy(buf, u->label, SB_LABEL_SIZE); in SHOW()
540 buf[SB_LABEL_SIZE + 1] = '\0'; in SHOW()
571 memcpy(u->label, buf, SB_LABEL_SIZE); in STORE()
Dsuper.c169 memcpy(sb->label, s->label, SB_LABEL_SIZE); in read_super()
272 memcpy(out->label, sb->label, SB_LABEL_SIZE); in __write_super()
1025 char *buf = kmemdup_nul(dc->sb.label, SB_LABEL_SIZE, GFP_KERNEL); in bch_cached_dev_run()
1254 memcpy(u->label, dc->sb.label, SB_LABEL_SIZE); in bch_cached_dev_attach()