Searched refs:consumed (Results 1 – 5 of 5) sorted by relevance
999 size_t consumed = buf->subbufs_consumed; in relay_file_read_avail() local1003 consumed = buf->subbufs_consumed; in relay_file_read_avail()1006 if (produced == consumed) in relay_file_read_avail()1011 if (unlikely(produced - consumed >= n_subbufs)) { in relay_file_read_avail()1012 consumed = produced - n_subbufs + 1; in relay_file_read_avail()1013 buf->subbufs_consumed = consumed; in relay_file_read_avail()1018 consumed = (consumed % n_subbufs) * subbuf_size + buf->bytes_consumed; in relay_file_read_avail()1020 if (consumed > produced) in relay_file_read_avail()1023 if (consumed == produced) { in relay_file_read_avail()1075 size_t consumed = buf->subbufs_consumed % n_subbufs; in relay_file_read_start_pos() local[all …]
370 unsigned int consumed; in __bpf_strtoull() local390 consumed = cur_buf - buf; in __bpf_strtoull()391 cur_len -= consumed; in __bpf_strtoull()410 consumed += cur_buf - str; in __bpf_strtoull()412 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()
1010 int *consumed) in parse_synth_field() argument1025 *consumed = 3; in parse_synth_field()1028 *consumed = 2; in parse_synth_field()1294 int i, consumed = 0, n_fields = 0, ret = 0; in __create_synth_event() local1322 field = parse_synth_field(argc - i, &argv[i], &consumed); in __create_synth_event()1328 i += consumed - 1; in __create_synth_event()
319 can leverage information about the energy consumed by CPUs to make