Home
last modified time | relevance | path

Searched refs:field (Results 1 – 25 of 49) sorted by relevance

12

/include/net/
Dsnmp.h121 #define __SNMP_INC_STATS(mib, field) \ argument
122 __this_cpu_inc(mib->mibs[field])
124 #define SNMP_INC_STATS_ATOMIC_LONG(mib, field) \ argument
125 atomic_long_inc(&mib->mibs[field])
127 #define SNMP_INC_STATS(mib, field) \ argument
128 this_cpu_inc(mib->mibs[field])
130 #define SNMP_DEC_STATS(mib, field) \ argument
131 this_cpu_dec(mib->mibs[field])
133 #define __SNMP_ADD_STATS(mib, field, addend) \ argument
134 __this_cpu_add(mib->mibs[field], addend)
[all …]
Dicmp.h29 #define ICMP_INC_STATS(net, field) SNMP_INC_STATS((net)->mib.icmp_statistics, field) argument
30 #define __ICMP_INC_STATS(net, field) __SNMP_INC_STATS((net)->mib.icmp_statistics, field) argument
31 #define ICMPMSGOUT_INC_STATS(net, field) SNMP_INC_STATS_ATOMIC_LONG((net)->mib.icmpmsg_statistics, argument
32 #define ICMPMSGIN_INC_STATS(net, field) SNMP_INC_STATS_ATOMIC_LONG((net)->mib.icmpmsg_statistics, argument
Dipv6.h206 #define _DEVINC(net, statname, mod, idev, field) \ argument
210 mod##SNMP_INC_STATS64((_idev)->stats.statname, (field));\
211 mod##SNMP_INC_STATS64((net)->mib.statname##_statistics, (field));\
215 #define _DEVINCATOMIC(net, statname, mod, idev, field) \ argument
219 SNMP_INC_STATS_ATOMIC_LONG((_idev)->stats.statname##dev, (field)); \
220 mod##SNMP_INC_STATS((net)->mib.statname##_statistics, (field));\
224 #define _DEVINC_ATOMIC_ATOMIC(net, statname, idev, field) \ argument
228 SNMP_INC_STATS_ATOMIC_LONG((_idev)->stats.statname##dev, (field)); \
229 SNMP_INC_STATS_ATOMIC_LONG((net)->mib.statname##_statistics, (field));\
232 #define _DEVADD(net, statname, mod, idev, field, val) \ argument
[all …]
Dudp.h399 #define UDP_INC_STATS(net, field, is_udplite) do { \ argument
400 if (is_udplite) SNMP_INC_STATS((net)->mib.udplite_statistics, field); \
401 else SNMP_INC_STATS((net)->mib.udp_statistics, field); } while(0)
402 #define __UDP_INC_STATS(net, field, is_udplite) do { \ argument
403 if (is_udplite) __SNMP_INC_STATS((net)->mib.udplite_statistics, field); \
404 else __SNMP_INC_STATS((net)->mib.udp_statistics, field); } while(0)
406 #define __UDP6_INC_STATS(net, field, is_udplite) do { \ argument
407 if (is_udplite) __SNMP_INC_STATS((net)->mib.udplite_stats_in6, field);\
408 else __SNMP_INC_STATS((net)->mib.udp_stats_in6, field); \
410 #define UDP6_INC_STATS(net, field, __lite) do { \ argument
[all …]
Dip.h285 #define IP_INC_STATS(net, field) SNMP_INC_STATS64((net)->mib.ip_statistics, field) argument
286 #define __IP_INC_STATS(net, field) __SNMP_INC_STATS64((net)->mib.ip_statistics, field) argument
287 #define IP_ADD_STATS(net, field, val) SNMP_ADD_STATS64((net)->mib.ip_statistics, field, val) argument
288 #define __IP_ADD_STATS(net, field, val) __SNMP_ADD_STATS64((net)->mib.ip_statistics, field, val) argument
289 #define IP_UPD_PO_STATS(net, field, val) SNMP_UPD_PO_STATS64((net)->mib.ip_statistics, field, val) argument
290 #define __IP_UPD_PO_STATS(net, field, val) __SNMP_UPD_PO_STATS64((net)->mib.ip_statistics, field, v… argument
291 #define NET_INC_STATS(net, field) SNMP_INC_STATS((net)->mib.net_statistics, field) argument
292 #define __NET_INC_STATS(net, field) __SNMP_INC_STATS((net)->mib.net_statistics, field) argument
293 #define NET_ADD_STATS(net, field, adnd) SNMP_ADD_STATS((net)->mib.net_statistics, field, adnd) argument
294 #define __NET_ADD_STATS(net, field, adnd) __SNMP_ADD_STATS((net)->mib.net_statistics, field, adnd) argument
/include/linux/
Dbitfield.h103 static __always_inline u64 field_multiplier(u64 field) in field_multiplier() argument
105 if ((field | (field - 1)) & ((field | (field - 1)) + 1)) in field_multiplier()
107 return field & -field; in field_multiplier()
109 static __always_inline u64 field_mask(u64 field) in field_mask() argument
111 return field / field_multiplier(field); in field_mask()
114 static __always_inline __##type type##_encode_bits(base v, base field) \
116 if (__builtin_constant_p(v) && (v & ~field_mask(field))) \
118 return to((v & field_mask(field)) * field_multiplier(field)); \
121 base val, base field) \
123 return (old & ~to(field)) | type##_encode_bits(val, field); \
[all …]
Dgenhd.h306 #define part_stat_get_cpu(part, field, cpu) \ argument
307 (per_cpu_ptr((part)->dkstats, (cpu))->field)
309 #define part_stat_get(part, field) \ argument
310 part_stat_get_cpu(part, field, smp_processor_id())
312 #define part_stat_read(part, field) \ argument
314 typeof((part)->dkstats->field) res = 0; \
317 res += per_cpu_ptr((part)->dkstats, _cpu)->field; \
347 #define part_stat_get(part, field) ((part)->dkstats.field) argument
348 #define part_stat_get_cpu(part, field, cpu) part_stat_get(part, field) argument
349 #define part_stat_read(part, field) part_stat_get(part, field) argument
[all …]
Dregmap.h86 #define regmap_field_write(field, val) \ argument
87 regmap_field_update_bits_base(field, ~0, val, NULL, false, false)
88 #define regmap_field_force_write(field, val) \ argument
89 regmap_field_update_bits_base(field, ~0, val, NULL, false, true)
90 #define regmap_field_update_bits(field, mask, val)\ argument
91 regmap_field_update_bits_base(field, mask, val, NULL, false, false)
92 #define regmap_field_force_update_bits(field, mask, val) \ argument
93 regmap_field_update_bits_base(field, mask, val, NULL, false, true)
95 #define regmap_fields_write(field, id, val) \ argument
96 regmap_fields_update_bits_base(field, id, ~0, val, NULL, false, false)
[all …]
Dcrash_core.h53 #define VMCOREINFO_OFFSET(name, field) \ argument
54 vmcoreinfo_append_str("OFFSET(%s.%s)=%lu\n", #name, #field, \
55 (unsigned long)offsetof(struct name, field))
Ddmi.h102 extern const char * dmi_get_system_info(int field);
106 extern bool dmi_get_date(int field, int *yearp, int *monthp, int *dayp);
120 static inline const char * dmi_get_system_info(int field) { return NULL; } in dmi_get_system_info() argument
124 static inline bool dmi_get_date(int field, int *yearp, int *monthp, int *dayp) in dmi_get_date() argument
Dhiddev.h43 void hiddev_hid_event(struct hid_device *hid, struct hid_field *field,
51 static inline void hiddev_hid_event(struct hid_device *hid, struct hid_field *field, in hiddev_hid_event() argument
Drbtree.h109 #define rbtree_postorder_for_each_entry_safe(pos, n, root, field) \ argument
110 for (pos = rb_entry_safe(rb_first_postorder(root), typeof(*pos), field); \
111 pos && ({ n = rb_entry_safe(rb_next_postorder(&pos->field), \
112 typeof(*pos), field); 1; }); \
/include/trace/
Dperf.h11 #define __get_dynamic_array(field) \ argument
12 ((void *)__entry + (__entry->__data_loc_##field & 0xffff))
15 #define __get_dynamic_array_len(field) \ argument
16 ((__entry->__data_loc_##field >> 16) & 0xffff)
19 #define __get_str(field) ((char *)__get_dynamic_array(field)) argument
22 #define __get_bitmask(field) (char *)__get_dynamic_array(field) argument
Dbpf_probe.h11 #define __get_dynamic_array(field) \ argument
12 ((void *)__entry + (__entry->__data_loc_##field & 0xffff))
15 #define __get_dynamic_array_len(field) \ argument
16 ((__entry->__data_loc_##field >> 16) & 0xffff)
19 #define __get_str(field) ((char *)__get_dynamic_array(field)) argument
22 #define __get_bitmask(field) (char *)__get_dynamic_array(field) argument
Dtrace_events.h262 #define __entry field
268 #define __get_dynamic_array(field) \ argument
269 ((void *)__entry + (__entry->__data_loc_##field & 0xffff))
272 #define __get_dynamic_array_len(field) \ argument
273 ((__entry->__data_loc_##field >> 16) & 0xffff)
276 #define __get_str(field) ((char *)__get_dynamic_array(field)) argument
279 #define __get_bitmask(field) \ argument
281 void *__bitmask = __get_dynamic_array(field); \
283 __bitmask_size = __get_dynamic_array_len(field); \
351 struct trace_event_raw_##call *field; \
[all …]
/include/media/
Dv4l2-mediabus.h115 pix_fmt->field = mbus_fmt->field; in v4l2_fill_pix_format()
137 mbus_fmt->field = pix_fmt->field; in v4l2_fill_mbus_format()
158 pix_mp_fmt->field = mbus_fmt->field; in v4l2_fill_pix_format_mplane()
178 mbus_fmt->field = pix_mp_fmt->field; in v4l2_fill_mbus_format_mplane()
Dvideobuf-core.h72 enum v4l2_field field; member
107 enum v4l2_field field);
142 enum v4l2_field field; member
190 enum v4l2_field field,
Dvideobuf-dma-contig.h21 enum v4l2_field field,
Dvideobuf-vmalloc.h34 enum v4l2_field field,
/include/media/davinci/
Dvpbe_display.h34 #define VPBE_DISPLAY_VALID_FIELD(field) ((V4L2_FIELD_NONE == field) || \ argument
35 (V4L2_FIELD_ANY == field) || (V4L2_FIELD_INTERLACED == field))
/include/trace/events/
Dv4l2.h38 #define show_field(field) \ argument
39 __print_symbolic(field, SHOW_FIELD)
111 __field(u32, field)
132 __entry->field = buf->field;
155 show_field(__entry->field),
188 __field(u32, field)
209 __entry->field = vbuf->field;
229 show_field(__entry->field),
/include/uapi/linux/
Dvideodev2.h109 #define V4L2_FIELD_HAS_TOP(field) \ argument
110 ((field) == V4L2_FIELD_TOP ||\
111 (field) == V4L2_FIELD_INTERLACED ||\
112 (field) == V4L2_FIELD_INTERLACED_TB ||\
113 (field) == V4L2_FIELD_INTERLACED_BT ||\
114 (field) == V4L2_FIELD_SEQ_TB ||\
115 (field) == V4L2_FIELD_SEQ_BT)
116 #define V4L2_FIELD_HAS_BOTTOM(field) \ argument
117 ((field) == V4L2_FIELD_BOTTOM ||\
118 (field) == V4L2_FIELD_INTERLACED ||\
[all …]
Dbcache.h11 #define BITMASK(name, type, field, offset, size) \ argument
13 { return (k->field >> offset) & ~(~0ULL << size); } \
17 k->field &= ~(~(~0ULL << size) << offset); \
18 k->field |= (v & ~(~0ULL << size)) << offset; \
29 #define KEY_FIELD(name, field, offset, size) \ argument
30 BITMASK(name, struct bkey, field, offset, size)
/include/linux/spi/
Dmxs-spi.h111 #define BF_SSP(value, field) (((value) << BP_SSP_##field) & BM_SSP_##field) argument
/include/video/
Dgbe.h88 #define GET_GBE_FIELD(reg, field, v) \ argument
89 GET((v), GBE_##reg##_##field##_MSB, GBE_##reg##_##field##_LSB)
90 #define SET_GBE_FIELD(reg, field, v, f) \ argument
91 SET((v), (f), GBE_##reg##_##field##_MSB, GBE_##reg##_##field##_LSB)

12