Home
last modified time | relevance | path

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

12

/include/net/
Dsnmp.h126 #define SNMP_INC_STATS_BH(mib, field) \ argument
127 __this_cpu_inc(mib->mibs[field])
129 #define SNMP_INC_STATS_USER(mib, field) \ argument
130 this_cpu_inc(mib->mibs[field])
132 #define SNMP_INC_STATS_ATOMIC_LONG(mib, field) \ argument
133 atomic_long_inc(&mib->mibs[field])
135 #define SNMP_INC_STATS(mib, field) \ argument
136 this_cpu_inc(mib->mibs[field])
138 #define SNMP_DEC_STATS(mib, field) \ argument
139 this_cpu_dec(mib->mibs[field])
[all …]
Dicmp.h33 #define ICMP_INC_STATS(net, field) SNMP_INC_STATS((net)->mib.icmp_statistics, field) argument
34 #define ICMP_INC_STATS_BH(net, field) SNMP_INC_STATS_BH((net)->mib.icmp_statistics, field) argument
35 #define ICMPMSGOUT_INC_STATS(net, field) SNMP_INC_STATS_ATOMIC_LONG((net)->mib.icmpmsg_statistics, argument
36 #define ICMPMSGIN_INC_STATS_BH(net, field) SNMP_INC_STATS_ATOMIC_LONG((net)->mib.icmpmsg_statistics… argument
Dudp.h275 #define UDP_INC_STATS_USER(net, field, is_udplite) do { \ argument
276 if (is_udplite) SNMP_INC_STATS_USER((net)->mib.udplite_statistics, field); \
277 else SNMP_INC_STATS_USER((net)->mib.udp_statistics, field); } while(0)
278 #define UDP_INC_STATS_BH(net, field, is_udplite) do { \ argument
279 if (is_udplite) SNMP_INC_STATS_BH((net)->mib.udplite_statistics, field); \
280 else SNMP_INC_STATS_BH((net)->mib.udp_statistics, field); } while(0)
282 #define UDP6_INC_STATS_BH(net, field, is_udplite) do { \ argument
283 if (is_udplite) SNMP_INC_STATS_BH((net)->mib.udplite_stats_in6, field);\
284 else SNMP_INC_STATS_BH((net)->mib.udp_stats_in6, field); \
286 #define UDP6_INC_STATS_USER(net, field, __lite) do { \ argument
[all …]
Dip.h191 #define IP_INC_STATS(net, field) SNMP_INC_STATS64((net)->mib.ip_statistics, field) argument
192 #define IP_INC_STATS_BH(net, field) SNMP_INC_STATS64_BH((net)->mib.ip_statistics, field) argument
193 #define IP_ADD_STATS(net, field, val) SNMP_ADD_STATS64((net)->mib.ip_statistics, field, val) argument
194 #define IP_ADD_STATS_BH(net, field, val) SNMP_ADD_STATS64_BH((net)->mib.ip_statistics, field, val) argument
195 #define IP_UPD_PO_STATS(net, field, val) SNMP_UPD_PO_STATS64((net)->mib.ip_statistics, field, val) argument
196 #define IP_UPD_PO_STATS_BH(net, field, val) SNMP_UPD_PO_STATS64_BH((net)->mib.ip_statistics, field,… argument
197 #define NET_INC_STATS(net, field) SNMP_INC_STATS((net)->mib.net_statistics, field) argument
198 #define NET_INC_STATS_BH(net, field) SNMP_INC_STATS_BH((net)->mib.net_statistics, field) argument
199 #define NET_INC_STATS_USER(net, field) SNMP_INC_STATS_USER((net)->mib.net_statistics, field) argument
200 #define NET_ADD_STATS(net, field, adnd) SNMP_ADD_STATS((net)->mib.net_statistics, field, adnd) argument
[all …]
Dipv6.h124 #define _DEVINC(net, statname, modifier, idev, field) \ argument
128 SNMP_INC_STATS##modifier((_idev)->stats.statname, (field)); \
129 SNMP_INC_STATS##modifier((net)->mib.statname##_statistics, (field));\
133 #define _DEVINCATOMIC(net, statname, modifier, idev, field) \ argument
137 SNMP_INC_STATS_ATOMIC_LONG((_idev)->stats.statname##dev, (field)); \
138 SNMP_INC_STATS##modifier((net)->mib.statname##_statistics, (field));\
142 #define _DEVINC_ATOMIC_ATOMIC(net, statname, idev, field) \ argument
146 SNMP_INC_STATS_ATOMIC_LONG((_idev)->stats.statname##dev, (field)); \
147 SNMP_INC_STATS_ATOMIC_LONG((net)->mib.statname##_statistics, (field));\
150 #define _DEVADD(net, statname, modifier, idev, field, val) \ argument
[all …]
/include/trace/
Dperf.h10 #define __get_dynamic_array(field) \ argument
11 ((void *)__entry + (__entry->__data_loc_##field & 0xffff))
14 #define __get_dynamic_array_len(field) \ argument
15 ((__entry->__data_loc_##field >> 16) & 0xffff)
18 #define __get_str(field) (char *)__get_dynamic_array(field) argument
21 #define __get_bitmask(field) (char *)__get_dynamic_array(field) argument
Dtrace_events.h239 #define __entry field
245 #define __get_dynamic_array(field) \ argument
246 ((void *)__entry + (__entry->__data_loc_##field & 0xffff))
249 #define __get_dynamic_array_len(field) \ argument
250 ((__entry->__data_loc_##field >> 16) & 0xffff)
253 #define __get_str(field) (char *)__get_dynamic_array(field) argument
256 #define __get_bitmask(field) \ argument
258 void *__bitmask = __get_dynamic_array(field); \
260 __bitmask_size = __get_dynamic_array_len(field); \
312 struct trace_event_raw_##call *field; \
[all …]
/include/media/davinci/
Dvpbe_display.h42 #define VPBE_DISPLAY_VALID_FIELD(field) ((V4L2_FIELD_NONE == field) || \ argument
43 (V4L2_FIELD_ANY == field) || (V4L2_FIELD_INTERLACED == field))
Dvpbe_venc.h33 int (*setup_pinmux)(u32 if_type, int field);
/include/media/
Dv4l2-mediabus.h95 pix_fmt->field = mbus_fmt->field; in v4l2_fill_pix_format()
108 mbus_fmt->field = pix_fmt->field; in v4l2_fill_mbus_format()
Dvideobuf-core.h75 enum v4l2_field field; member
110 enum v4l2_field field);
145 enum v4l2_field field; member
193 enum v4l2_field field,
Dvideobuf-dma-contig.h24 enum v4l2_field field,
Dvideobuf-vmalloc.h37 enum v4l2_field field,
/include/linux/
Drbtree.h120 #define rbtree_postorder_for_each_entry_safe(pos, n, root, field) \ argument
121 for (pos = rb_entry_safe(rb_first_postorder(root), typeof(*pos), field); \
122 pos && ({ n = rb_entry_safe(rb_next_postorder(&pos->field), \
123 typeof(*pos), field); 1; }); \
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
Ddmi.h100 extern const char * dmi_get_system_info(int field);
106 extern bool dmi_get_date(int field, int *yearp, int *monthp, int *dayp);
118 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
Dgenhd.h323 #define __part_stat_add(cpu, part, field, addnd) \ argument
324 (per_cpu_ptr((part)->dkstats, (cpu))->field += (addnd))
326 #define part_stat_read(part, field) \ argument
328 typeof((part)->dkstats->field) res = 0; \
331 res += per_cpu_ptr((part)->dkstats, _cpu)->field; \
361 #define __part_stat_add(cpu, part, field, addnd) \ argument
362 ((part)->dkstats.field += addnd)
364 #define part_stat_read(part, field) ((part)->dkstats.field) argument
382 #define part_stat_add(cpu, part, field, addnd) do { \ argument
383 __part_stat_add((cpu), (part), field, addnd); \
[all …]
/include/trace/events/
Dv4l2.h36 #define show_field(field) \ argument
37 __print_symbolic(field, SHOW_FIELD)
109 __field(u32, field)
130 __entry->field = buf->field;
153 show_field(__entry->field),
186 __field(u32, field)
207 __entry->field = vbuf->field;
227 show_field(__entry->field),
/include/linux/clk/
Dat91_pmc.h22 #define at91_pmc_read(field) \ argument
23 readl_relaxed(at91_pmc_base + field)
25 #define at91_pmc_write(field, value) \ argument
26 writel_relaxed(value, at91_pmc_base + field)
/include/uapi/linux/
Dvideodev2.h108 #define V4L2_FIELD_HAS_TOP(field) \ argument
109 ((field) == V4L2_FIELD_TOP ||\
110 (field) == V4L2_FIELD_INTERLACED ||\
111 (field) == V4L2_FIELD_INTERLACED_TB ||\
112 (field) == V4L2_FIELD_INTERLACED_BT ||\
113 (field) == V4L2_FIELD_SEQ_TB ||\
114 (field) == V4L2_FIELD_SEQ_BT)
115 #define V4L2_FIELD_HAS_BOTTOM(field) \ argument
116 ((field) == V4L2_FIELD_BOTTOM ||\
117 (field) == V4L2_FIELD_INTERLACED ||\
[all …]
Dbcache.h10 #define BITMASK(name, type, field, offset, size) \ argument
12 { return (k->field >> offset) & ~(~0ULL << size); } \
16 k->field &= ~(~(~0ULL << size) << offset); \
17 k->field |= (v & ~(~0ULL << size)) << offset; \
28 #define KEY_FIELD(name, field, offset, size) \ argument
29 BITMASK(name, struct bkey, field, offset, size)
/include/linux/spi/
Dmxs-spi.h120 #define BF_SSP(value, field) (((value) << BP_SSP_##field) & BM_SSP_##field) argument
/include/video/
Dgbe.h90 #define GET_GBE_FIELD(reg, field, v) \ argument
91 GET((v), GBE_##reg##_##field##_MSB, GBE_##reg##_##field##_LSB)
92 #define SET_GBE_FIELD(reg, field, v, f) \ argument
93 SET((v), (f), GBE_##reg##_##field##_MSB, GBE_##reg##_##field##_LSB)
/include/uapi/drm/
Damdgpu_drm.h218 #define AMDGPU_TILING_SET(field, value) \ argument
219 (((value) & AMDGPU_TILING_##field##_MASK) << AMDGPU_TILING_##field##_SHIFT)
220 #define AMDGPU_TILING_GET(value, field) \ argument
221 (((value) >> AMDGPU_TILING_##field##_SHIFT) & AMDGPU_TILING_##field##_MASK)
/include/net/sctp/
Dsctp.h180 #define SCTP_INC_STATS(net, field) SNMP_INC_STATS((net)->sctp.sctp_statistics, field) argument
181 #define SCTP_INC_STATS_BH(net, field) SNMP_INC_STATS_BH((net)->sctp.sctp_statistics, field) argument
182 #define SCTP_INC_STATS_USER(net, field) SNMP_INC_STATS_USER((net)->sctp.sctp_statistics, field) argument
183 #define SCTP_DEC_STATS(net, field) SNMP_DEC_STATS((net)->sctp.sctp_statistics, field) argument

12