Home
last modified time | relevance | path

Searched refs:cur_alloc_size (Results 1 – 3 of 3) sorted by relevance

/linux-4.1.27/tools/perf/util/
Dordered-events.c65 if (oe->cur_alloc_size < oe->max_alloc_size) { in __dup_event()
68 oe->cur_alloc_size += event->header.size; in __dup_event()
83 oe->cur_alloc_size -= event->header.size; in free_dup_event()
107 } else if (oe->cur_alloc_size < oe->max_alloc_size) { in alloc_event()
117 oe->cur_alloc_size, size, oe->max_alloc_size); in alloc_event()
119 oe->cur_alloc_size += size; in alloc_event()
293 oe->cur_alloc_size = 0; in ordered_events__init()
Dordered-events.h32 u64 cur_alloc_size; member
/linux-4.1.27/fs/btrfs/
Dinode.c922 u64 cur_alloc_size; in cow_file_range() local
973 cur_alloc_size = disk_num_bytes; in cow_file_range()
974 ret = btrfs_reserve_extent(root, cur_alloc_size, in cow_file_range()
1014 cur_alloc_size = ins.offset; in cow_file_range()
1016 ram_size, cur_alloc_size, 0); in cow_file_range()
1023 cur_alloc_size); in cow_file_range()
1028 if (disk_num_bytes < cur_alloc_size) in cow_file_range()
1045 disk_num_bytes -= cur_alloc_size; in cow_file_range()
1046 num_bytes -= cur_alloc_size; in cow_file_range()
1048 start += cur_alloc_size; in cow_file_range()