Lines Matching refs:size_bp

214 	u32 size_bp = size_buf;  in btrfs_describe_block_groups()  local
224 ret = snprintf(bp, size_bp, "%s|", (desc)); \ in btrfs_describe_block_groups()
225 if (ret < 0 || ret >= size_bp) \ in btrfs_describe_block_groups()
227 size_bp -= ret; \ in btrfs_describe_block_groups()
244 ret = snprintf(bp, size_bp, "0x%llx|", flags); in btrfs_describe_block_groups()
245 size_bp -= ret; in btrfs_describe_block_groups()
248 if (size_bp < size_buf) in btrfs_describe_block_groups()
249 buf[size_buf - size_bp - 1] = '\0'; /* remove last | */ in btrfs_describe_block_groups()
4254 u32 size_bp = size_buf; in describe_balance_args() local
4264 ret = snprintf(bp, size_bp, (a)); \ in describe_balance_args()
4265 if (ret < 0 || ret >= size_bp) \ in describe_balance_args()
4267 size_bp -= ret; \ in describe_balance_args()
4273 ret = snprintf(bp, size_bp, (a), (v1)); \ in describe_balance_args()
4274 if (ret < 0 || ret >= size_bp) \ in describe_balance_args()
4276 size_bp -= ret; \ in describe_balance_args()
4282 ret = snprintf(bp, size_bp, (a), (v1), (v2)); \ in describe_balance_args()
4283 if (ret < 0 || ret >= size_bp) \ in describe_balance_args()
4285 size_bp -= ret; \ in describe_balance_args()
4337 if (size_bp < size_buf) in describe_balance_args()
4338 buf[size_buf - size_bp - 1] = '\0'; /* remove last , */ in describe_balance_args()
4349 u32 size_bp = size_buf; in describe_balance_start_or_resume() local
4361 ret = snprintf(bp, size_bp, (a), (v1)); \ in describe_balance_start_or_resume()
4362 if (ret < 0 || ret >= size_bp) \ in describe_balance_start_or_resume()
4364 size_bp -= ret; \ in describe_balance_start_or_resume()
4390 if (size_bp < size_buf) in describe_balance_start_or_resume()
4391 buf[size_buf - size_bp - 1] = '\0'; /* remove last " " */ in describe_balance_start_or_resume()