Searched refs:BTRFS_LABEL_SIZE (Results 1 – 4 of 4) sorted by relevance
4024 char label[BTRFS_LABEL_SIZE]; in btrfs_ioctl_get_fslabel()4027 memcpy(label, fs_info->super_copy->label, BTRFS_LABEL_SIZE); in btrfs_ioctl_get_fslabel()4030 len = strnlen(label, BTRFS_LABEL_SIZE); in btrfs_ioctl_get_fslabel()4032 if (len == BTRFS_LABEL_SIZE) { in btrfs_ioctl_get_fslabel()4050 char label[BTRFS_LABEL_SIZE]; in btrfs_ioctl_set_fslabel()4059 if (strnlen(label, BTRFS_LABEL_SIZE) == BTRFS_LABEL_SIZE) { in btrfs_ioctl_set_fslabel()4062 BTRFS_LABEL_SIZE - 1); in btrfs_ioctl_set_fslabel()
1105 if (p_len >= BTRFS_LABEL_SIZE) in btrfs_label_store()1109 memset(fs_info->super_copy->label, 0, BTRFS_LABEL_SIZE); in btrfs_label_store()
715 char label[BTRFS_LABEL_SIZE];
33 #define BTRFS_LABEL_SIZE 256 macro