Searched refs:EXT4_LABEL_MAX (Results 1 – 2 of 2) sorted by relevance
40 BUILD_BUG_ON(sizeof(es->s_volume_name) < EXT4_LABEL_MAX); in ext4_sb_setlabel()42 memcpy(es->s_volume_name, (char *)arg, EXT4_LABEL_MAX); in ext4_sb_setlabel()1109 char new_label[EXT4_LABEL_MAX + 1]; in ext4_ioctl_setlabel()1120 if (copy_from_user(new_label, user_label, EXT4_LABEL_MAX + 1)) in ext4_ioctl_setlabel()1123 len = strnlen(new_label, EXT4_LABEL_MAX + 1); in ext4_ioctl_setlabel()1124 if (len > EXT4_LABEL_MAX) in ext4_ioctl_setlabel()1130 memset(new_label + len, 0, EXT4_LABEL_MAX - len); in ext4_ioctl_setlabel()1144 char label[EXT4_LABEL_MAX + 1]; in ext4_ioctl_getlabel()1151 BUILD_BUG_ON(EXT4_LABEL_MAX >= FSLABEL_MAX); in ext4_ioctl_getlabel()1155 strncpy(label, sbi->s_es->s_volume_name, EXT4_LABEL_MAX); in ext4_ioctl_getlabel()
1294 #define EXT4_LABEL_MAX 16 macro1345 /*78*/ char s_volume_name[EXT4_LABEL_MAX]; /* volume name */