Home
last modified time | relevance | path

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

/linux-4.4.14/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()
296 oe->cur_alloc_size = 0; in ordered_events__init()
Dordered-events.h32 u64 cur_alloc_size; member
/linux-4.4.14/fs/btrfs/
Dinode.c929 u64 cur_alloc_size; in cow_file_range() local
980 cur_alloc_size = disk_num_bytes; in cow_file_range()
981 ret = btrfs_reserve_extent(root, cur_alloc_size, in cow_file_range()
1021 cur_alloc_size = ins.offset; in cow_file_range()
1023 ram_size, cur_alloc_size, 0); in cow_file_range()
1030 cur_alloc_size); in cow_file_range()
1035 if (disk_num_bytes < cur_alloc_size) in cow_file_range()
1052 disk_num_bytes -= cur_alloc_size; in cow_file_range()
1053 num_bytes -= cur_alloc_size; in cow_file_range()
1055 start += cur_alloc_size; in cow_file_range()