Home
last modified time | relevance | path

Searched refs:replace_len (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/tools/perf/util/
Dstring.c314 int replace_len = strlen(replace); in strreplace_chars() local
327 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()
/linux-6.12.1/fs/btrfs/
Dfile.c2267 const u64 replace_len, in btrfs_insert_replace_extent() argument
2278 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() local
2482 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()