Searched refs:consumed (Results 1 – 6 of 6) sorted by relevance
1005 size_t 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 …]
422 unsigned int consumed; in __bpf_strtoull() local442 consumed = cur_buf - buf; in __bpf_strtoull()443 cur_len -= consumed; in __bpf_strtoull()462 consumed += cur_buf - str; in __bpf_strtoull()464 return consumed; in __bpf_strtoull()
69 static nokprobe_inline u32 update_data_loc(u32 loc, int consumed) in update_data_loc() argument74 return make_data_loc(maxlen - consumed, offset + consumed); in update_data_loc()
583 int *consumed) in parse_synth_field() argument602 *consumed = 3; in parse_synth_field()605 *consumed = 2; in parse_synth_field()1197 int i, consumed = 0, n_fields = 0, ret = 0; in __create_synth_event() local1239 field = parse_synth_field(argc - i, &argv[i], &consumed); in __create_synth_event()1245 i += consumed - 1; in __create_synth_event()
354 bool consumed; in kcsan_found_watchpoint() local373 consumed = try_consume_watchpoint(watchpoint, encoded_watchpoint); in kcsan_found_watchpoint()378 if (consumed) { in kcsan_found_watchpoint()
331 can leverage information about the energy consumed by CPUs to make