Searched refs:replace_len (Results 1 – 2 of 2) sorted by relevance
314 int replace_len = strlen(replace); in strreplace_chars() local327 new_s = malloc(strlen(haystack) + (num * (replace_len - 1) + 1)); in strreplace_chars()340 memcpy(to, replace, replace_len); in strreplace_chars()341 to += replace_len; in strreplace_chars()
2267 const u64 replace_len, in btrfs_insert_replace_extent() argument2278 if (replace_len == 0) in btrfs_insert_replace_extent()2302 btrfs_set_file_extent_num_bytes(leaf, extent, replace_len); in btrfs_insert_replace_extent()2309 replace_len); in btrfs_insert_replace_extent()2319 btrfs_update_inode_bytes(inode, replace_len, bytes_to_drop); in btrfs_insert_replace_extent()2478 u64 replace_len = drop_args.drop_end - in btrfs_replace_file_extents() local2482 extent_info, replace_len, in btrfs_replace_file_extents()2488 extent_info->data_len -= replace_len; in btrfs_replace_file_extents()2489 extent_info->data_offset += replace_len; in btrfs_replace_file_extents()2490 extent_info->file_offset += replace_len; in btrfs_replace_file_extents()