Home
last modified time | relevance | path

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

12

/tools/include/linux/
Dbits.h6 #define BIT(nr) (1UL << (nr)) argument
7 #define BIT_ULL(nr) (1ULL << (nr)) argument
8 #define BIT_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) argument
9 #define BIT_WORD(nr) ((nr) / BITS_PER_LONG) argument
10 #define BIT_ULL_MASK(nr) (1ULL << ((nr) % BITS_PER_LONG_LONG)) argument
11 #define BIT_ULL_WORD(nr) ((nr) / BITS_PER_LONG_LONG) argument
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
/tools/include/asm-generic/bitops/
Datomic.h6 static inline void set_bit(int nr, unsigned long *addr) in set_bit()
11 static inline void clear_bit(int nr, unsigned long *addr) in clear_bit()
16 static __always_inline int test_bit(unsigned int nr, const unsigned long *addr) in test_bit()
/tools/perf/scripts/python/
Dfutex-contention.py25 nr, uaddr, op, val, utime, uaddr2, val3): argument
35 nr, ret): argument
/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/tests/
Ddso-data.c179 long nr = 0; in open_files_cnt() local
251 long nr_end, nr = open_files_cnt(); in test__dso_data_cache() local
308 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.c191 long nr = strtoul(argv[i], &end, 10); in perf_test__matches() local
/tools/perf/util/
Dbitmap.c27 int nr = BITS_TO_LONGS(bits); in __bitmap_or() local
Dcache.h48 #define ALLOC_GROW(x, nr, alloc) \ argument
Dthread_map.h15 int nr; member
Dcpumap.h13 int nr; member
Dheader.c290 long nr; in write_nrcpus() local
506 u32 nr, i; in build_cpu_topology() local
690 u32 nr, i, j; in write_numa_topology() local
910 int nr, i; in print_cmdline() local
924 int nr, i; in print_cpu_topology() local
973 u32 nre, sz, nr, i, j; in read_event_desc() local
1107 u32 nr, c, i; in print_numa_topology() local
1204 u32 nr = 0; in print_group_desc() local
1433 u32 nr; in process_nrcpus() local
1547 u32 nr, i, len = 0; in process_cmdline() local
[all …]
Dthread_map.c26 static void thread_map__reset(struct thread_map *map, int start, int nr) in thread_map__reset()
33 static struct thread_map *thread_map__realloc(struct thread_map *map, int nr) in thread_map__realloc()
Dcpumap.c213 struct cpu_map *cpu_map__empty_new(int nr) in cpu_map__empty_new()
290 int nr = cpus->nr; in cpu_map__build_map() local
/tools/lib/util/
Dfind_next_bit.c18 #define BITOP_WORD(nr) ((nr) / BITS_PER_LONG) argument
/tools/perf/
Dbuiltin-stat.c451 static void aggr_printout(struct perf_evsel *evsel, int id, int nr) in aggr_printout()
493 static void nsec_printout(int id, int nr, struct perf_evsel *evsel, double avg) in nsec_printout()
521 static void abs_printout(int id, int nr, struct perf_evsel *evsel, double avg) in abs_printout()
551 static void printout(int id, int nr, struct perf_evsel *counter, double uval) in printout()
573 int cpu, s, s2, id, nr; in print_aggr() local
1045 int nr; in perf_stat_init_aggr_mode() local
/tools/perf/util/include/linux/
Dbitmap.h54 static inline int test_and_set_bit(int nr, unsigned long *addr) in test_and_set_bit()
/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.c54 static void sig_handler(int nr) in sig_handler()
/tools/perf/bench/
Dsched-pipe.c32 int nr; member
/tools/testing/selftests/ptrace/
Dpeeksiginfo.c104 int check_direct_path(pid_t child, int shared, int nr) in check_direct_path()
/tools/virtio/linux/
Dscatterlist.h78 #define for_each_sg(sglist, sg, nr, __i) \ argument

12