Searched refs:consumed (Results 1 – 5 of 5) sorted by relevance
1005 size_t consumed = buf->subbufs_consumed; in relay_file_read_avail() local1009 consumed = buf->subbufs_consumed; in relay_file_read_avail()1012 if (produced == consumed) in relay_file_read_avail()1017 if (unlikely(produced - consumed >= n_subbufs)) { in relay_file_read_avail()1018 consumed = produced - n_subbufs + 1; in relay_file_read_avail()1019 buf->subbufs_consumed = consumed; in relay_file_read_avail()1024 consumed = (consumed % n_subbufs) * subbuf_size + buf->bytes_consumed; in relay_file_read_avail()1026 if (consumed > produced) in relay_file_read_avail()1029 if (consumed == produced) { in relay_file_read_avail()1079 size_t consumed = buf->subbufs_consumed % n_subbufs; in relay_file_read_start_pos() local[all …]
392 unsigned int consumed; in __bpf_strtoull() local412 consumed = cur_buf - buf; in __bpf_strtoull()413 cur_len -= consumed; in __bpf_strtoull()432 consumed += cur_buf - str; in __bpf_strtoull()434 return consumed; in __bpf_strtoull()
70 static nokprobe_inline u32 update_data_loc(u32 loc, int consumed) in update_data_loc() argument75 return make_data_loc(maxlen - consumed, offset + consumed); in update_data_loc()
1042 int *consumed) in parse_synth_field() argument1057 *consumed = 3; in parse_synth_field()1060 *consumed = 2; in parse_synth_field()1326 int i, consumed = 0, n_fields = 0, ret = 0; in __create_synth_event() local1354 field = parse_synth_field(argc - i, &argv[i], &consumed); in __create_synth_event()1360 i += consumed - 1; in __create_synth_event()
319 can leverage information about the energy consumed by CPUs to make