Searched refs:size_buf (Results 1 – 5 of 5) sorted by relevance
94 unsigned long long size_buf; /* Buffer size */ member127 if (count > image[minor].size_buf) in resource_to_user()128 count = image[minor].size_buf; in resource_to_user()144 if (count > image[minor].size_buf) in resource_from_user()145 count = image[minor].size_buf; in resource_from_user()165 if (*ppos >= image[minor].size_buf) in buffer_to_user()167 if (count > image[minor].size_buf - *ppos) in buffer_to_user()168 count = image[minor].size_buf - *ppos; in buffer_to_user()188 if (*ppos >= image[minor].size_buf) in buffer_from_user()190 if (count > image[minor].size_buf - *ppos) in buffer_from_user()[all …]
209 void btrfs_describe_block_groups(u64 bg_flags, char *buf, u32 size_buf) in btrfs_describe_block_groups() argument215 u32 size_bp = size_buf; in btrfs_describe_block_groups()251 if (size_bp < size_buf) in btrfs_describe_block_groups()252 buf[size_buf - size_bp - 1] = '\0'; /* remove last | */ in btrfs_describe_block_groups()4735 u32 size_buf) in describe_balance_args() argument4738 u32 size_bp = size_buf; in describe_balance_args()4821 if (size_bp < size_buf) in describe_balance_args()4822 buf[size_buf - size_bp - 1] = '\0'; /* remove last , */ in describe_balance_args()4829 u32 size_buf = 1024; in describe_balance_start_or_resume() local4833 u32 size_bp = size_buf; in describe_balance_start_or_resume()[all …]
783 void btrfs_describe_block_groups(u64 flags, char *buf, u32 size_buf);
5447 } __attribute__ ((packed)) size_buf = { 0 }; in _rbd_dev_v2_snap_size() local5452 &size_buf, sizeof(size_buf)); in _rbd_dev_v2_snap_size()5456 if (ret < sizeof (size_buf)) in _rbd_dev_v2_snap_size()5460 *order = size_buf.order; in _rbd_dev_v2_snap_size()5463 *snap_size = le64_to_cpu(size_buf.size); in _rbd_dev_v2_snap_size()
2319 struct array_buffer *size_buf, int cpu_id);