Searched refs:BTRFS_LABEL_SIZE (Results 1 – 4 of 4) sorted by relevance
4107 char label[BTRFS_LABEL_SIZE]; in btrfs_ioctl_set_fslabel() 4110 memcpy(label, fs_info->super_copy->label, BTRFS_LABEL_SIZE); in btrfs_ioctl_set_fslabel() 4113 len = strnlen(label, BTRFS_LABEL_SIZE); in btrfs_ioctl_set_fslabel() 4115 if (len == BTRFS_LABEL_SIZE) { in btrfs_ioctl_set_fslabel() 4133 char label[BTRFS_LABEL_SIZE]; in btrfs_ioctl_set_fslabel() 4142 if (strnlen(label, BTRFS_LABEL_SIZE) == BTRFS_LABEL_SIZE) { in btrfs_ioctl_set_fslabel() 4145 BTRFS_LABEL_SIZE - 1);
992 if (p_len >= BTRFS_LABEL_SIZE) in btrfs_sinfo_periodic_reclaim_show() 996 memset(fs_info->super_copy->label, 0, BTRFS_LABEL_SIZE); in btrfs_sinfo_periodic_reclaim_store()
1412 if (super->label[0] && super->label[BTRFS_LABEL_SIZE - 1]) in btrfs_read_disk_super() 1413 super->label[BTRFS_LABEL_SIZE - 1] = 0; in btrfs_read_disk_super()
33 #define BTRFS_LABEL_SIZE 256 macro