Home
last modified time | relevance | path

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

1234

/tools/include/asm-generic/bitops/
Dnon-atomic.h16 static inline void __set_bit(int nr, volatile unsigned long *addr) in __set_bit()
24 static inline void __clear_bit(int nr, volatile unsigned long *addr) in __clear_bit()
41 static inline void __change_bit(int nr, volatile unsigned long *addr) in __change_bit()
58 static inline int __test_and_set_bit(int nr, volatile unsigned long *addr) in __test_and_set_bit()
77 static inline int __test_and_clear_bit(int nr, volatile unsigned long *addr) in __test_and_clear_bit()
88 static inline int __test_and_change_bit(int nr, in __test_and_change_bit()
104 static inline int test_bit(int nr, const volatile unsigned long *addr) in test_bit()
Datomic.h8 static inline void set_bit(int nr, unsigned long *addr) in set_bit()
13 static inline void clear_bit(int nr, unsigned long *addr) in clear_bit()
/tools/perf/trace/beauty/
Dioctl.c21 static size_t ioctl__scnprintf_tty_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_tty_cmd()
47 static size_t ioctl__scnprintf_drm_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_drm_cmd()
58 static size_t ioctl__scnprintf_sndrv_pcm_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_sndrv_pcm_cmd()
69 static size_t ioctl__scnprintf_sndrv_ctl_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_sndrv_ctl_cmd()
80 static size_t ioctl__scnprintf_kvm_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_kvm_cmd()
91 static size_t ioctl__scnprintf_vhost_virtio_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_vhost_virtio_cmd()
104 static size_t ioctl__scnprintf_perf_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_perf_cmd()
115 static size_t ioctl__scnprintf_usbdevfs_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_usbdevfs_cmd()
131 nr = _IOC_NR(cmd), in ioctl__scnprintf_cmd() local
/tools/include/linux/
Dbits.h9 #define BIT_ULL(nr) (ULL(1) << (nr)) argument
10 #define BIT_MASK(nr) (UL(1) << ((nr) % BITS_PER_LONG)) argument
11 #define BIT_WORD(nr) ((nr) / BITS_PER_LONG) argument
12 #define BIT_ULL_MASK(nr) (ULL(1) << ((nr) % BITS_PER_LONG_LONG)) argument
13 #define BIT_ULL_WORD(nr) ((nr) / BITS_PER_LONG_LONG) argument
Dbitops.h18 #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(long)) argument
19 #define BITS_TO_U64(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(u64)) argument
20 #define BITS_TO_U32(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(u32)) argument
21 #define BITS_TO_BYTES(nr) DIV_ROUND_UP(nr, BITS_PER_TYPE(char)) argument
Dbitmap.h90 static inline int test_and_set_bit(int nr, unsigned long *addr) in test_and_set_bit()
107 static inline int test_and_clear_bit(int nr, unsigned long *addr) in test_and_clear_bit()
/tools/perf/util/
Dcputopo.c178 u32 nr, i, nr_addr; in cpu_topology__new() local
233 static int load_numa_node(struct numa_topology_node *node, int nr) in load_numa_node()
300 u32 nr, i; in numa_topology__new() local
Ddata.c21 static void close_dir(struct perf_data_file *files, int nr) in close_dir()
35 int perf_data__create_dir(struct perf_data *data, int nr) in perf_data__create_dir()
77 int nr = 0; in perf_data__open_dir() local
Dcputopo.h24 u32 nr; member
Dhelp-unknown-cmd.c34 unsigned int i, nr = cmds->cnt + old->cnt; in add_cmd_list() local
Dcpumap.c48 int nr, nbits = mask->nr * mask->long_size * BITS_PER_BYTE; in cpu_map__from_mask() local
81 struct perf_cpu_map *perf_cpu_map__empty_new(int nr) in perf_cpu_map__empty_new()
136 int nr = cpus->nr; in cpu_map__build_map() local
/tools/perf/scripts/python/
Dfutex-contention.py30 nr, uaddr, op, val, utime, uaddr2, val3): argument
41 nr, ret): argument
/tools/lib/perf/
Dthreadmap.c10 static void perf_thread_map__reset(struct perf_thread_map *map, int start, int nr) in perf_thread_map__reset()
18 struct perf_thread_map *perf_thread_map__realloc(struct perf_thread_map *map, int nr) in perf_thread_map__realloc()
/tools/include/vdso/
Dbits.h7 #define BIT(nr) (UL(1) << (nr)) argument
/tools/perf/tests/
Ddso-data.c182 long nr = 0; in open_files_cnt() local
254 long nr_end, nr = open_files_cnt(); in test__dso_data_cache() local
314 long nr_end, nr = open_files_cnt(); in test__dso_data_reopen() local
/tools/testing/selftests/kvm/
Ddirty_log_test.c42 # define test_bit_le(nr, addr) \ argument
44 # define set_bit_le(nr, addr) \ argument
46 # define clear_bit_le(nr, addr) \ argument
48 # define test_and_set_bit_le(nr, addr) \ argument
50 # define test_and_clear_bit_le(nr, addr) \ argument
/tools/lib/api/fd/
Darray.c21 int fdarray__grow(struct fdarray *fda, int nr) in fdarray__grow()
95 int fd, nr = 0; in fdarray__filter() local
Darray.h20 int nr; member
/tools/lib/perf/include/internal/
Dcpumap.h9 int nr; member
Dthreadmap.h16 int nr; member
/tools/testing/selftests/x86/
Dsyscall_numbering.c20 static void check_enosys(unsigned long nr, bool *ok) in check_enosys()
/tools/perf/ui/
Dprogress.c23 u64 nr = DIV_ROUND_UP(p->curr - last, p->step); in ui_progress__update() local
/tools/testing/selftests/vDSO/
Dvdso_standalone_test_x86.c38 static inline long x86_syscall3(long nr, long a0, long a1, long a2) in x86_syscall3()
/tools/testing/selftests/bpf/prog_tests/
Dresolve_btfids.c102 __u32 nr; in resolve_symbols() local
/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DUtil.py87 def strerror(nr): argument

1234