Searched refs:BTRFS_LABEL_SIZE (Results 1 – 5 of 5) sorted by relevance
4970 char label[BTRFS_LABEL_SIZE]; in btrfs_ioctl_get_fslabel()4973 memcpy(label, fs_info->super_copy->label, BTRFS_LABEL_SIZE); in btrfs_ioctl_get_fslabel()4976 len = strnlen(label, BTRFS_LABEL_SIZE); in btrfs_ioctl_get_fslabel()4978 if (len == BTRFS_LABEL_SIZE) { in btrfs_ioctl_get_fslabel()4996 char label[BTRFS_LABEL_SIZE]; in btrfs_ioctl_set_fslabel()5005 if (strnlen(label, BTRFS_LABEL_SIZE) == BTRFS_LABEL_SIZE) { in btrfs_ioctl_set_fslabel()5008 BTRFS_LABEL_SIZE - 1); in btrfs_ioctl_set_fslabel()
951 if (p_len >= BTRFS_LABEL_SIZE) in btrfs_label_store()955 memset(fs_info->super_copy->label, 0, BTRFS_LABEL_SIZE); in btrfs_label_store()
1328 if (disk_super->label[0] && disk_super->label[BTRFS_LABEL_SIZE - 1]) in btrfs_read_disk_super()1329 disk_super->label[BTRFS_LABEL_SIZE - 1] = 0; in btrfs_read_disk_super()
279 char label[BTRFS_LABEL_SIZE];
27 #define BTRFS_LABEL_SIZE 256 macro