Home
last modified time | relevance | path

Searched defs:n (Results 1 – 25 of 232) sorted by relevance

12345678910

/tools/include/linux/
Dlog2.h21 int __ilog2_u32(u32 n) in __ilog2_u32()
27 int __ilog2_u64(u64 n) in __ilog2_u64()
38 bool is_power_of_2(unsigned long n) in is_power_of_2()
47 unsigned long __roundup_pow_of_two(unsigned long n) in __roundup_pow_of_two()
56 unsigned long __rounddown_pow_of_two(unsigned long n) in __rounddown_pow_of_two()
71 #define ilog2(n) \ argument
151 #define roundup_pow_of_two(n) \ argument
168 #define rounddown_pow_of_two(n) \ argument
Dlist.h425 #define list_for_each_safe(pos, n, head) \ argument
435 #define list_for_each_prev_safe(pos, n, head) \ argument
520 #define list_for_each_entry_safe(pos, n, head, member) \ argument
536 #define list_for_each_entry_safe_continue(pos, n, head, member) \ argument
552 #define list_for_each_entry_safe_from(pos, n, head, member) \ argument
567 #define list_for_each_entry_safe_reverse(pos, n, head, member) \ argument
585 #define list_safe_reset_next(pos, n, member) \ argument
614 static inline void __hlist_del(struct hlist_node *n) in __hlist_del()
624 static inline void hlist_del(struct hlist_node *n) in hlist_del()
631 static inline void hlist_del_init(struct hlist_node *n) in hlist_del_init()
[all …]
Dbuild_bug.h20 #define __BUILD_BUG_ON_NOT_POWER_OF_2(n) \ argument
22 #define BUILD_BUG_ON_NOT_POWER_OF_2(n) \ argument
Drefcount.h56 #define REFCOUNT_INIT(n) { .refs = ATOMIC_INIT(n), } argument
58 static inline void refcount_set(refcount_t *r, unsigned int n) in refcount_set()
/tools/gpio/
Dgpio-utils.h51 static inline void gpiotools_set_bit(__u64 *b, int n) in gpiotools_set_bit()
56 static inline void gpiotools_change_bit(__u64 *b, int n) in gpiotools_change_bit()
61 static inline void gpiotools_clear_bit(__u64 *b, int n) in gpiotools_clear_bit()
66 static inline int gpiotools_test_bit(__u64 b, int n) in gpiotools_test_bit()
71 static inline void gpiotools_assign_bit(__u64 *b, int n, bool value) in gpiotools_assign_bit()
/tools/testing/selftests/powerpc/pmu/ebb/
Debb_handler.S60 #define GPR_SAVE(n) (XER_SAVE + 8 + (8 * n)) argument
63 #define VSR_SAVE(n) (VSCR_SAVE + 8 + (16 * n)) argument
65 #define SAVE_GPR(n) std n,GPR_SAVE(n)(r1) argument
66 #define REST_GPR(n) ld n,GPR_SAVE(n)(r1) argument
67 #define TRASH_GPR(n) lis n,0xaaaa argument
69 #define SAVE_VSR(n, b) li b, VSR_SAVE(n); stxvd2x n,b,r1 argument
70 #define LOAD_VSR(n, b) li b, VSR_SAVE(n); lxvd2x n,b,r1 argument
/tools/testing/selftests/bpf/
Dtcp_client.py11 def read(sock, n): argument
42 n = 0 variable
48 n = send(sock, buf) variable
49 n = read(sock, 500) variable
Dtcp_server.py11 def read(sock, n): argument
52 n = 0 variable
74 n = send(sock, buf) variable
/tools/perf/arch/x86/util/
Ddwarf-regs.c45 # define REG_OFFSET_NAME_64(n, r) {.name = n, .offset = offsetof(struct pt_regs, r)} argument
46 # define REG_OFFSET_NAME_32(n, r) {.name = n, .offset = -1} argument
48 # define REG_OFFSET_NAME_64(n, r) {.name = n, .offset = -1} argument
49 # define REG_OFFSET_NAME_32(n, r) {.name = n, .offset = offsetof(struct pt_regs, r)} argument
95 const char *get_arch_regstr(unsigned int n) in get_arch_regstr()
/tools/lib/perf/
Dlib.c10 static ssize_t ion(bool is_read, int fd, void *buf, size_t n) in ion()
36 ssize_t readn(int fd, void *buf, size_t n) in readn()
44 ssize_t writen(int fd, const void *buf, size_t n) in writen()
/tools/virtio/linux/
Duaccess.h31 unsigned long n) in volatile_memcpy()
38 unsigned long n) in copy_from_user()
46 unsigned long n) in copy_to_user()
/tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/
Dpercpu.h33 #define __this_cpu_sub(pcp, n) __this_cpu_add(pcp, -(typeof(pcp)) (n)) argument
37 #define this_cpu_sub(pcp, n) this_cpu_add(pcp, -(typeof(pcp)) (n)) argument
66 #define __this_cpu_add(pcp, n) \ argument
73 #define this_cpu_add(pcp, n) \ argument
Dworkqueues.h84 #define __WORK_INITIALIZER(n, f) { \ argument
91 #define __DELAYED_WORK_INITIALIZER(n, f, tflags) { \ argument
95 #define DECLARE_WORK(n, f) \ argument
98 #define DECLARE_DELAYED_WORK(n, f) \ argument
/tools/perf/util/
Ddwarf-regs.c28 #define __get_dwarf_regstr(tbl, n) (((n) < ARRAY_SIZE(tbl)) ? (tbl)[(n)] : NULL) argument
31 const char *get_dwarf_regstr(unsigned int n, unsigned int machine) in get_dwarf_regstr()
Dfncache.c30 struct fncache *n; in lookup_fncache() local
43 struct fncache *n = malloc(sizeof(struct fncache) + strlen(name) + 1); in update_fncache() local
Dperf_regs.h14 #define SMPL_REG(n, b) { .name = #n, .mask = 1ULL << (b) } argument
15 #define SMPL_REG2(n, b) { .name = #n, .mask = 3ULL << (b) } argument
Dperf_event_attr_fprintf.c30 #define bit_name(n) { PERF_SAMPLE_##n, #n } in __p_sample_type() argument
47 #define bit_name(n) { PERF_SAMPLE_BRANCH_##n, #n } in __p_branch_sample_type() argument
63 #define bit_name(n) { PERF_FORMAT_##n, #n } in __p_read_format() argument
Dcall-path.c40 struct call_path_block *pos, *n; in call_path_root__free() local
56 size_t n; in call_path__new() local
/tools/power/cpupower/utils/helpers/
Dbitmask.c15 #define longsperbits(n) howmany(n, bitsperlong) argument
24 struct bitmask *bitmask_alloc(unsigned int n) in bitmask_alloc()
62 static unsigned int _getbit(const struct bitmask *bmp, unsigned int n) in _getbit()
71 static void _setbit(struct bitmask *bmp, unsigned int n, unsigned int v) in _setbit()
175 unsigned int n; in bitmask_next() local
/tools/perf/trace/beauty/
Dsocket_type.c34 #define P_SK_TYPE(n) case SOCK_##n: printed = scnprintf(bf, size, "%s%s", show_prefix ? prefix : ""… in syscall_arg__scnprintf_socket_type() argument
47 #define P_SK_FLAG(n) \ in syscall_arg__scnprintf_socket_type() argument
Dstatx.c22 #define P_FLAG(n) \ in syscall_arg__scnprintf_statx_flags() argument
50 #define P_FLAG(n) \ in syscall_arg__scnprintf_statx_mask() argument
Dseccomp.c17 #define P_SECCOMP_SET_MODE_OP(n) case SECCOMP_SET_MODE_##n: printed = scnprintf(bf, size, "%s%s", s… in syscall_arg__scnprintf_seccomp_op() argument
40 #define P_FLAG(n) \ in syscall_arg__scnprintf_seccomp_flags() argument
/tools/testing/selftests/bpf/prog_tests/
Dcpu_mask.c8 static void validate_mask(int case_nr, const char *exp, bool *mask, int n) in validate_mask()
60 int i, err, n; in test_cpu_mask() local
/tools/arch/x86/lib/
Dinat.c30 int n; in inat_get_escape_attribute() local
49 int n; in inat_get_group_attribute() local
/tools/testing/nvdimm/test/
Diomap.c243 resource_size_t n) in nfit_test_release_region()
280 resource_size_t n, const char *name, int flags) in nfit_test_request_region()
348 resource_size_t start, resource_size_t n, const char *name, in __wrap___request_region()
373 resource_size_t n, const char *name) in __wrap___devm_request_region()
382 resource_size_t n) in __wrap___release_region()
390 resource_size_t start, resource_size_t n) in __wrap___devm_release_region()

12345678910