Home
last modified time | relevance | path

Searched refs:member (Results 1 – 9 of 9) sorted by relevance

/tools/firewire/
Dlist.h46 #define list_entry(link, type, member) \ argument
47 ((type *)((char *)(link)-(unsigned long)(&((type *)0)->member)))
49 #define list_head(list, type, member) \ argument
50 list_entry((list)->next, type, member)
52 #define list_tail(list, type, member) \ argument
53 list_entry((list)->prev, type, member)
55 #define list_next(elm, member) \ argument
56 list_entry((elm)->member.next, typeof(*elm), member)
58 #define list_for_each_entry(pos, list, member) \ argument
59 for (pos = list_head(list, typeof(*pos), member); \
[all …]
/tools/usb/usbip/libsrc/
Dlist.h103 #define list_entry(ptr, type, member) \ argument
104 container_of(ptr, type, member)
132 #define container_of(ptr, type, member) ({ \ argument
133 const typeof( ((type *)0)->member ) *__mptr = (ptr); \
134 (type *)( (char *)__mptr - offsetof(type,member) );})
/tools/lib/lockdep/uinclude/linux/
Dkernel.h11 #define container_of(ptr, type, member) ({ \ argument
12 const typeof(((type *)0)->member) * __mptr = (ptr); \
13 (type *)((char *)__mptr - offsetof(type, member)); })
/tools/virtio/linux/
Dkernel.h77 #define container_of(ptr, type, member) ({ \ argument
78 const typeof( ((type *)0)->member ) *__mptr = (ptr); \
79 (type *)( (char *)__mptr - offsetof(type,member) );})
/tools/perf/util/include/linux/
Dkernel.h26 #define container_of(ptr, type, member) ({ \ argument
27 const typeof(((type *)0)->member) * __mptr = (ptr); \
28 (type *)((char *)__mptr - offsetof(type, member)); })
/tools/perf/Documentation/
Dperf-probe.txt139member (e.g. var->field, var.field2), local array with fixed index (e.g. array[1], var->array[0], …
140 …. You can specify 'string' type only for the local variable or structure member which is an array …
/tools/perf/
Dbuiltin-lock.c205 #define SINGLE_KEY(member) \ argument
206 static int lock_stat_key_ ## member(struct lock_stat *one, \
209 return one->member > two->member; \
Ddesign.txt267 considered to be a group with only 1 member.)
271 put onto the CPU. This means that the values of the member counters
423 counters in the group will count. Enabling or disabling a member of a
/tools/perf/util/
Dpython.c38 #define member_def(type, member, ptype, help) \ argument
39 { #member, ptype, \
40 offsetof(struct pyrf_event, event) + offsetof(struct type, member), \
43 #define sample_member_def(name, member, ptype, help) \ argument
45 offsetof(struct pyrf_event, sample) + offsetof(struct perf_sample, member), \