/include/net/ |
D | snmp.h | 126 #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 …]
|
D | icmp.h | 33 #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
|
D | udp.h | 275 #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 …]
|
D | ip.h | 191 #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 …]
|
D | ipv6.h | 124 #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/ |
D | perf.h | 10 #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
|
D | trace_events.h | 239 #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/ |
D | vpbe_display.h | 42 #define VPBE_DISPLAY_VALID_FIELD(field) ((V4L2_FIELD_NONE == field) || \ argument 43 (V4L2_FIELD_ANY == field) || (V4L2_FIELD_INTERLACED == field))
|
D | vpbe_venc.h | 33 int (*setup_pinmux)(u32 if_type, int field);
|
/include/media/ |
D | v4l2-mediabus.h | 95 pix_fmt->field = mbus_fmt->field; in v4l2_fill_pix_format() 108 mbus_fmt->field = pix_fmt->field; in v4l2_fill_mbus_format()
|
D | videobuf-core.h | 75 enum v4l2_field field; member 110 enum v4l2_field field); 145 enum v4l2_field field; member 193 enum v4l2_field field,
|
D | videobuf-dma-contig.h | 24 enum v4l2_field field,
|
D | videobuf-vmalloc.h | 37 enum v4l2_field field,
|
/include/linux/ |
D | rbtree.h | 120 #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; }); \
|
D | hiddev.h | 43 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
|
D | dmi.h | 100 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
|
D | genhd.h | 323 #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/ |
D | v4l2.h | 36 #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/ |
D | at91_pmc.h | 22 #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/ |
D | videodev2.h | 108 #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 …]
|
D | bcache.h | 10 #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/ |
D | mxs-spi.h | 120 #define BF_SSP(value, field) (((value) << BP_SSP_##field) & BM_SSP_##field) argument
|
/include/video/ |
D | gbe.h | 90 #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/ |
D | amdgpu_drm.h | 218 #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/ |
D | sctp.h | 180 #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
|