Home
last modified time | relevance | path

Searched refs:consumed (Results 1 – 6 of 6) sorted by relevance

/kernel/
Drelay.c1005 size_t consumed; in relay_file_read_avail() local
1009 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 …]
/kernel/bpf/
Dhelpers.c422 unsigned int consumed; in __bpf_strtoull() local
442 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()
/kernel/trace/
Dtrace_probe.h69 static nokprobe_inline u32 update_data_loc(u32 loc, int consumed) in update_data_loc() argument
74 return make_data_loc(maxlen - consumed, offset + consumed); in update_data_loc()
Dtrace_events_synth.c583 int *consumed) in parse_synth_field() argument
602 *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() local
1239 field = parse_synth_field(argc - i, &argv[i], &consumed); in __create_synth_event()
1245 i += consumed - 1; in __create_synth_event()
/kernel/kcsan/
Dcore.c354 bool consumed; in kcsan_found_watchpoint() local
373 consumed = try_consume_watchpoint(watchpoint, encoded_watchpoint); in kcsan_found_watchpoint()
378 if (consumed) { in kcsan_found_watchpoint()
/kernel/power/
DKconfig331 can leverage information about the energy consumed by CPUs to make