• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/include/trace/

Lines Matching refs:item

8  *	<type>				<item>;
13 * The <type> <item> is created by the __field(type, item) macro or
15 * We simply do "type item;", and that will create the fields
42 #define __field(type, item) type item;
45 #define __field_ext(type, item, filter_type) type item;
48 #define __array(type, item, len) type item[len];
51 #define __dynamic_array(type, item, len) u32 __data_loc_##item;
54 #define __string(item, src) __dynamic_array(char, item, -1)
99 * The __dynamic_array() macro will create each u32 <item>, this is
101 * The size of an array is also encoded, in the higher 16 bits of <item>.
105 #define __field(type, item)
108 #define __field_ext(type, item, filter_type)
111 #define __array(type, item, len)
114 #define __dynamic_array(type, item, len) u32 item;
117 #define __string(item, src) __dynamic_array(char, item, -1)
279 #define __field_ext(type, item, filter_type) \
280 ret = trace_define_field(event_call, #type, #item, \
281 offsetof(typeof(field), item), \
282 sizeof(field.item), \
288 #define __field(type, item) __field_ext(type, item, FILTER_OTHER)
291 #define __array(type, item, len) \
293 ret = trace_define_field(event_call, #type "[" #len "]", #item, \
294 offsetof(typeof(field), item), \
295 sizeof(field.item), \
301 #define __dynamic_array(type, item, len) \
302 ret = trace_define_field(event_call, "__data_loc " #type "[]", #item, \
303 offsetof(typeof(field), __data_loc_##item), \
304 sizeof(field.__data_loc_##item), \
308 #define __string(item, src) __dynamic_array(char, item, -1)
340 #define __field(type, item)
343 #define __field_ext(type, item, filter_type)
346 #define __array(type, item, len)
349 #define __dynamic_array(type, item, len) \
350 __data_offsets->item = __data_size + \
352 __data_offsets->item |= (len * sizeof(type)) << 16; \
356 #define __string(item, src) __dynamic_array(char, item, strlen(src) + 1)
465 #define __field(type, item)
468 #define __array(type, item, len)
471 #define __dynamic_array(type, item, len) \
472 __entry->__data_loc_##item = __data_offsets.item;
475 #define __string(item, src) __dynamic_array(char, item, -1) \