Searched refs:SB_LABEL_SIZE (Results 1 – 3 of 3) sorted by relevance
/Linux-v5.4/drivers/md/bcache/ |
D | sysfs.c | 244 memcpy(buf, dc->sb.label, SB_LABEL_SIZE); in SHOW() 245 buf[SB_LABEL_SIZE + 1] = '\0'; in SHOW() 364 if (size > SB_LABEL_SIZE) in STORE() 367 if (size < SB_LABEL_SIZE) in STORE() 374 buf, SB_LABEL_SIZE); in STORE() 512 memcpy(buf, u->label, SB_LABEL_SIZE); in SHOW() 513 buf[SB_LABEL_SIZE + 1] = '\0'; in SHOW() 544 memcpy(u->label, buf, SB_LABEL_SIZE); in STORE()
|
D | super.c | 81 memcpy(sb->label, s->label, SB_LABEL_SIZE); in read_super() 224 memcpy(out->label, sb->label, SB_LABEL_SIZE); in __write_super() 923 char *buf = kmemdup_nul(dc->sb.label, SB_LABEL_SIZE, GFP_KERNEL); in bch_cached_dev_run() 1154 memcpy(u->label, dc->sb.label, SB_LABEL_SIZE); in bch_cached_dev_attach()
|
/Linux-v5.4/include/uapi/linux/ |
D | bcache.h | 152 #define SB_LABEL_SIZE 32 macro 171 __u8 label[SB_LABEL_SIZE];
|