Searched refs:BCH_SB_LABEL_SIZE (Results 1 – 5 of 5) sorted by relevance
284 char label[BCH_SB_LABEL_SIZE]; in bch2_ioc_getlabel()286 BUILD_BUG_ON(BCH_SB_LABEL_SIZE >= FSLABEL_MAX); in bch2_ioc_getlabel()289 memcpy(label, c->disk_sb.sb->label, BCH_SB_LABEL_SIZE); in bch2_ioc_getlabel()292 len = strnlen(label, BCH_SB_LABEL_SIZE); in bch2_ioc_getlabel()293 if (len == BCH_SB_LABEL_SIZE) { in bch2_ioc_getlabel()310 char label[BCH_SB_LABEL_SIZE]; in bch2_ioc_setlabel()318 if (strnlen(label, BCH_SB_LABEL_SIZE) == BCH_SB_LABEL_SIZE) { in bch2_ioc_setlabel()321 BCH_SB_LABEL_SIZE - 1); in bch2_ioc_setlabel()330 strscpy(c->disk_sb.sb->label, label, BCH_SB_LABEL_SIZE); in bch2_ioc_setlabel()
5 #define BCH_SB_LABEL_SIZE 32 macro8 __u8 label[BCH_SB_LABEL_SIZE];
8 u8 label[BCH_SB_LABEL_SIZE];
270 if (!namelen || namelen > BCH_SB_LABEL_SIZE) in __bch2_disk_group_find()297 if (!namelen || namelen > BCH_SB_LABEL_SIZE) in __bch2_disk_group_add()
736 __u8 label[BCH_SB_LABEL_SIZE];