Searched refs:BTRFS_LABEL_SIZE (Results 1 – 5 of 5) sorted by relevance
4598 char label[BTRFS_LABEL_SIZE]; in btrfs_ioctl_get_fslabel()4601 memcpy(label, fs_info->super_copy->label, BTRFS_LABEL_SIZE); in btrfs_ioctl_get_fslabel()4604 len = strnlen(label, BTRFS_LABEL_SIZE); in btrfs_ioctl_get_fslabel()4606 if (len == BTRFS_LABEL_SIZE) { in btrfs_ioctl_get_fslabel()4624 char label[BTRFS_LABEL_SIZE]; in btrfs_ioctl_set_fslabel()4633 if (strnlen(label, BTRFS_LABEL_SIZE) == BTRFS_LABEL_SIZE) { in btrfs_ioctl_set_fslabel()4636 BTRFS_LABEL_SIZE - 1); in btrfs_ioctl_set_fslabel()
798 if (p_len >= BTRFS_LABEL_SIZE) in btrfs_label_store()802 memset(fs_info->super_copy->label, 0, BTRFS_LABEL_SIZE); in btrfs_label_store()
1325 if (disk_super->label[0] && disk_super->label[BTRFS_LABEL_SIZE - 1]) in btrfs_read_disk_super()1326 disk_super->label[BTRFS_LABEL_SIZE - 1] = 0; in btrfs_read_disk_super()
264 char label[BTRFS_LABEL_SIZE];
27 #define BTRFS_LABEL_SIZE 256 macro
Completed in 43 milliseconds