Searched refs:SB_LABEL_SIZE (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/drivers/md/bcache/ |
D | sysfs.c | 237 memcpy(buf, dc->sb.label, SB_LABEL_SIZE); in SHOW() 238 buf[SB_LABEL_SIZE + 1] = '\0'; in SHOW() 327 if (size > SB_LABEL_SIZE) in STORE() 330 if (size < SB_LABEL_SIZE) in STORE() 337 buf, SB_LABEL_SIZE); in STORE() 446 memcpy(buf, u->label, SB_LABEL_SIZE); in SHOW() 447 buf[SB_LABEL_SIZE + 1] = '\0'; in SHOW() 474 memcpy(u->label, buf, SB_LABEL_SIZE); in STORE()
|
D | super.c | 79 memcpy(sb->label, s->label, SB_LABEL_SIZE); in read_super() 220 memcpy(out->label, sb->label, SB_LABEL_SIZE); in __write_super() 908 char buf[SB_LABEL_SIZE + 1]; in bch_cached_dev_run() 916 memcpy(buf, dc->sb.label, SB_LABEL_SIZE); in bch_cached_dev_run() 917 buf[SB_LABEL_SIZE] = '\0'; in bch_cached_dev_run() 1122 memcpy(u->label, dc->sb.label, SB_LABEL_SIZE); in bch_cached_dev_attach()
|
/Linux-v4.19/include/uapi/linux/ |
D | bcache.h | 152 #define SB_LABEL_SIZE 32 macro 171 __u8 label[SB_LABEL_SIZE];
|