Home
last modified time | relevance | path

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

/kernel/
Drelay.c917 size_t consumed; in relay_file_read_avail() local
921 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 …]
/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.c706 int *consumed, int *field_version) in parse_synth_field() argument
722 *consumed += 3; in parse_synth_field()
725 *consumed += 2; in parse_synth_field()
1290 int consumed, cmd_version = 1, n_fields_this_loop; in __create_synth_event() local
1339 consumed = 0; in __create_synth_event()
1340 while (argc > consumed) { in __create_synth_event()
1343 field = parse_synth_field(argc - consumed, in __create_synth_event()
1344 argv + consumed, &consumed, in __create_synth_event()
1385 if (consumed < argc) { in __create_synth_event()
/kernel/bpf/
Dhelpers.c444 unsigned int consumed; in __bpf_strtoull() local
464 consumed = cur_buf - buf; in __bpf_strtoull()
465 cur_len -= consumed; in __bpf_strtoull()
484 consumed += cur_buf - str; in __bpf_strtoull()
486 return consumed; in __bpf_strtoull()
/kernel/kcsan/
Dcore.c465 bool consumed; in kcsan_found_watchpoint() local
500 consumed = try_consume_watchpoint(watchpoint, encoded_watchpoint); in kcsan_found_watchpoint()
505 if (consumed) { in kcsan_found_watchpoint()
/kernel/power/
DKconfig347 can leverage information about the energy consumed by devices to