Searched refs:consumed (Results 1 – 6 of 6) sorted by relevance
917 size_t consumed; in relay_file_read_avail() local921 consumed = buf->subbufs_consumed; in relay_file_read_avail()924 if (produced == consumed) in relay_file_read_avail()929 if (unlikely(produced - consumed >= n_subbufs)) { in relay_file_read_avail()930 consumed = produced - n_subbufs + 1; in relay_file_read_avail()931 buf->subbufs_consumed = consumed; in relay_file_read_avail()936 consumed = (consumed % n_subbufs) * subbuf_size + buf->bytes_consumed; in relay_file_read_avail()938 if (consumed > produced) in relay_file_read_avail()941 if (consumed == produced) { in relay_file_read_avail()991 size_t consumed = buf->subbufs_consumed % n_subbufs; in relay_file_read_start_pos() local[all …]
690 int *consumed, int *field_version) in parse_synth_field() argument706 *consumed += 3; in parse_synth_field()709 *consumed += 2; in parse_synth_field()1275 int consumed, cmd_version = 1, n_fields_this_loop; in __create_synth_event() local1324 consumed = 0; in __create_synth_event()1325 while (argc > consumed) { in __create_synth_event()1328 field = parse_synth_field(argc - consumed, in __create_synth_event()1329 argv + consumed, &consumed, in __create_synth_event()1370 if (consumed < argc) { in __create_synth_event()
72 static nokprobe_inline u32 update_data_loc(u32 loc, int consumed) in update_data_loc() argument77 return make_data_loc(maxlen - consumed, offset + consumed); in update_data_loc()
465 bool consumed; in kcsan_found_watchpoint() local500 consumed = try_consume_watchpoint(watchpoint, encoded_watchpoint); in kcsan_found_watchpoint()505 if (consumed) { in kcsan_found_watchpoint()
451 unsigned int consumed; in __bpf_strtoull() local471 consumed = cur_buf - buf; in __bpf_strtoull()472 cur_len -= consumed; in __bpf_strtoull()491 consumed += cur_buf - str; in __bpf_strtoull()493 return consumed; in __bpf_strtoull()
346 can leverage information about the energy consumed by devices to