/tools/firewire/ |
D | list.h | 46 #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/ |
D | list.h | 103 #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/ |
D | kernel.h | 11 #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/ |
D | kernel.h | 77 #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/ |
D | kernel.h | 26 #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/ |
D | perf-probe.txt | 139 …member (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/ |
D | builtin-lock.c | 205 #define SINGLE_KEY(member) \ argument 206 static int lock_stat_key_ ## member(struct lock_stat *one, \ 209 return one->member > two->member; \
|
D | design.txt | 267 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/ |
D | python.c | 38 #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), \
|