Home
last modified time | relevance | path

Searched refs:check_pos (Results 1 – 2 of 2) sorted by relevance

/linux/tools/testing/selftests/bpf/benchs/
H A Dbench_sockmap.c369 static void verify_data(int *check_pos, char *buf, int rcv) in verify_data() argument
372 if (buf[i] != snd_data[(*check_pos) % DATA_REPEAT_SIZE]) { in verify_data()
376 (*check_pos)++; in verify_data()
377 if (*check_pos >= FILE_SIZE) in verify_data()
378 *check_pos = 0; in verify_data()
385 int check_pos = 0; in consumer() local
427 verify_data(&check_pos, buf, rcv); in consumer()
/linux/tools/perf/pmu-events/
H A Djevents.py156 for check_pos in range(pos + 1, len(sorted_reversed_strings)):
157 if sorted_reversed_strings[check_pos].startswith(s):
158 best_pos = check_pos