Searched refs:SB_LABEL_SIZE (Results 1 – 3 of 3) sorted by relevance
/drivers/md/bcache/ |
D | bcache_ondisk.h | 155 #define SB_LABEL_SIZE 32 macro 174 __u8 label[SB_LABEL_SIZE]; 236 __u8 label[SB_LABEL_SIZE];
|
D | sysfs.c | 267 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() 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()
|
D | super.c | 187 memcpy(sb->label, s->label, SB_LABEL_SIZE); in read_super() 304 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() 1272 memcpy(u->label, dc->sb.label, SB_LABEL_SIZE); in bch_cached_dev_attach()
|