Home
last modified time | relevance | path

Searched defs:nr (Results 1 – 25 of 31) sorted by relevance

12

/tools/perf/util/include/linux/
Dbitops.h14 #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(long)) argument
15 #define BITS_TO_U64(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(u64)) argument
16 #define BITS_TO_U32(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE * sizeof(u32)) argument
17 #define BITS_TO_BYTES(nr) DIV_ROUND_UP(nr, BITS_PER_BYTE) argument
30 static inline void set_bit(int nr, unsigned long *addr) in set_bit()
35 static inline void clear_bit(int nr, unsigned long *addr) in clear_bit()
40 static __always_inline int test_bit(unsigned int nr, const unsigned long *addr) in test_bit()
51 #define BITOP_WORD(nr) ((nr) / BITS_PER_LONG) argument
/tools/virtio/linux/
Dvirtio.h10 #define BIT_WORD(nr) ((nr) / BITS_PER_LONG) argument
13 #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) argument
17 static inline void clear_bit(int nr, volatile unsigned long *addr) in clear_bit()
25 static inline int test_bit(int nr, const volatile unsigned long *addr) in test_bit()
Dscatterlist.h78 #define for_each_sg(sglist, sg, nr, __i) \ argument
/tools/perf/scripts/python/
Dfutex-contention.py25 nr, uaddr, op, val, utime, uaddr2, val3): argument
35 nr, ret): argument
/tools/perf/util/
Dthread_map.h8 int nr; member
Dbitmap.c27 int nr = BITS_TO_LONGS(bits); in __bitmap_or() local
Dcache.h48 #define ALLOC_GROW(x, nr, alloc) \ argument
Dcpumap.h11 int nr; member
Dheader.c659 long nr; in write_nrcpus() local
874 u32 nr, i; in build_cpu_topology() local
1042 u32 nr, i, j; in write_numa_topology() local
1248 int nr, i; in print_cmdline() local
1266 int nr, i; in print_cpu_topology() local
1307 u32 nre, sz, nr, i, j; in read_event_desc() local
1454 u32 nr, c, i; in print_numa_topology() local
1545 u32 nr = 0; in print_group_desc() local
1769 u32 nr; in process_nrcpus() local
1883 u32 nr, i; in process_cmdline() local
[all …]
Devent.h115 u64 nr; member
123 u64 nr; member
142 u64 nr; member
Dcallchain.h90 u64 nr; member
Dcpumap.c244 int nr = cpus->nr; in cpu_map__build_map() local
/tools/perf/tests/
Ddso-data.c165 long nr = 0; in open_files_cnt() local
237 long nr_end, nr = open_files_cnt(); in test__dso_data_cache() local
291 long nr_end, nr = open_files_cnt(); in test__dso_data_reopen() local
Dswitch-tracking.c63 union perf_event *event, const char *comm, int nr) in check_comm()
82 int i, nr = cpu + 1; in check_cpu() local
Dbuiltin-test.c183 long nr = strtoul(argv[i], &end, 10); in perf_test__matches() local
Dhists_cumulate.c167 u64 nr; member
/tools/lib/api/fd/
Darray.c21 int fdarray__grow(struct fdarray *fda, int nr) in fdarray__grow()
90 int fd, nr = 0; in fdarray__filter() local
Darray.h19 int nr; member
/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DUtil.py82 def strerror(nr): argument
DSchedGui.py79 def paint_rectangle_zone(self, nr, color, top_color, start, end): argument
/tools/testing/selftests/timers/
Dposix_timers.c51 static void sig_handler(int nr) in sig_handler()
/tools/perf/bench/
Dsched-pipe.c32 int nr; member
Dnuma.c708 static u64 do_work(u8 *__data, long bytes, int nr, int nr_max, int loop, u64 val) in do_work()
908 int nr; in calc_convergence() local
1710 int nr = ARRAY_SIZE(tests); in bench_all() local
/tools/testing/selftests/ptrace/
Dpeeksiginfo.c104 int check_direct_path(pid_t child, int shared, int nr) in check_direct_path()
/tools/perf/
Dbuiltin-stat.c703 static void aggr_printout(struct perf_evsel *evsel, int id, int nr) in aggr_printout()
736 static void nsec_printout(int id, int nr, struct perf_evsel *evsel, double avg) in nsec_printout()
951 static void abs_printout(int id, int nr, struct perf_evsel *evsel, double avg) in abs_printout()
1120 int cpu, s, s2, id, nr; in print_aggr() local

12